fc112453dc
Version 4.3.1: * Allow fabfile to be importable when building docs * Remove top-level __init__.py from new projects. * Fix HTML escaping. Version 4.3.0: * Added explicit on_delete arguments for all ForeignKey models * Only generate thumbnails in RichText when absolute width/height used. * Removed null attribute from slug CharField * Converted all template.render calls to pass a dict instead of a Context object * Fixed MezzanineBackend.authenticate backend to accept a request argument, added in Django 1.11 * Fixed test_multiple_comment_forms to be agnostic of the order of HTML attributes * Altered annotation behaviour of search results. Previously this was done implicitly in the SearchQuerySet.iterator() method,. which Django would call internally when evaluating the queryset. Django 1.11 changed its behaviour to use a ModelIterator class instead of. just calling iterator() on the queryset. Rather than suppy a custom. ModelIterator, we just make the annotate explicit * Updated setup and test configuration to include Django 1.11 * password reset: 'http' -> request.schema. This fixes a potential security vulnerability in which the password. reset url is exposed to untrusted intermediary nodes in the network. * Add explicit on_delete arguments to foreign keys in migrations * Use TextField for Field.label and Field.help_text. Now length limits for user-defined labels and help_texts are enforced in the admin instead of the DB, which should prevent any further migrations * Get rid of max_length settings for mezzanine.forms * Timezone aware blog months. * Test and simplify blog_months * Weigh search results by age. Weigh search results by their age by default. Add a new setting,. SEARCH_AGE_SCALE_FACTOR, controlling how much emphasis to put on the. age when ranking results (set this to 0 to revert to the old behavior) * Split dev and prod ALLOWED_HOSTS. Django started checking ALLOWED_HOSTS when DEBUG=True a few releases back. * Update docs related to ALLOWED_HOSTS * Fix the old url parsing in import wordpress * Use Django's six module * Don't warn Mezzanine about itself * Looser check for LocalMiddleware. * Modified the blog homepage pattern to a working version. Added import it requires * Remove explicit show_banner argument from inner_run. This broke --noreload for me. * Handle MIDDLEWARE_CLASSES -> MIDDLEWARE * Don't use lazy static loading when Django's ManifestStaticFilesStorage is configured. * Link to Pillow docs for dependencies * Adding new site to site list. Adding "The National: New Australian Art" to the site list. https://the-national.com.au * Doesn't convert JPG/JPEG images to RGBA. * Remove all device-detection features * Remove mentions of device handling from docs * Use template loaders instead of middlware for host-based template swapping * Add docs on upgrading from TemplateForHostMiddleware * Create __init__.py so Python can find directory * Properly parse positional args. As demonstrated by using call_command, the positional args not. processed. This may be a left-over from optarg migration. Usage property is no longer necessary * Fix build fail while in here * Added more tests por pages * Update page_not_found view args. * Rename Displayable is_public to published * Test Nginx config before restarting. This way the configuration won't be updated if it's broken, and you also get an error message in the terminal explaining why it's broken (instead of just telling you to check service status/journal) * Enable browser-native spell checking in WYSIWYG tinymce editor, which got wiped in 82339b0 . Previously introduced in 86f6ef6 * Fixing the support for external links which are moved to child categories in the menu hierarchy * Update LOGOUT_URL to make use of ACCOUNT_URL * Ensure template vars for form defaults are properly escaped * Fix drag-n-drop for Form field inlines. Inherit from DynamicInlineAdminForm to inject the necessary JS files * Fix failing tests that assume threadlocals have been set up * Pulled out middleware present check into its own function. And fixed Python 3 compat * Made all middleware installation checking consistent. All check by string first, and then for classes and subclasses,. correctly ignoring things that aren't classes * Fix failing tests that assume threadlocals have been set up * Fix keywords widget for Django 1.11. * Fix sense of SITE_PERMISSION_MIDDLEWARE check. Issue introduced by commit 00f4a63c * Fix sense of other check for SITE_PERMISSION_MIDDLEWARE. Issue introduced by commit 00f4a63 * Added basic tests for TemplateSettings. The tests follow the existing functionality * Gave TemplateSettings a useful __repr__. Previously it just returned '{}' always, from super()s empty dict * Don't emit warning when doing force_text(TestSettings()). This is to fix the behaviour of getting lots of instances of: UserWarning: __unicode__ is not in TEMPLATE_ACCESSIBLE_SETTINGS. if you have django-debug-tool installed * Prevent changes to FORMS_EXTRA_FIELDS setting creating new migrations * Support access to related model on Django 2+ * Fix safe string handling in richtext filters * Fix some test warnings * Add deprecation handling for mark_safe as decorator * Fix SplitSelectDateTimeWidget which Django 1.9 broke. * Fix usage of request.scheme in password reset email * Make thumbnail tag recognize .PNG and .GIF. Files with the upper case extensions .PNG and .GIF are now recognized by. the thumbnail template tag as being PNG- and GIF images, respectively,. instead of being treated as JPEG images * Added gcc and rsync for the full deployment on the freshly installed Debian (eg. on OVH) * Support SelectDateWidget in django 1.8 and django 2.x * Narrow exception handling to ImportError only
38 lines
1.6 KiB
Makefile
38 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2018/10/26 09:27:09 adam Exp $
|
|
|
|
DISTNAME= Mezzanine-4.3.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mezzanine/}
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= http://mezzanine.jupo.org/
|
|
COMMENT= Open source content management platform on Django
|
|
LICENSE= 2-clause-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
|
|
DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.5.3:../../www/py-beautifulsoup4
|
|
DEPENDS+= ${PYPKGPREFIX}-bleach>=2.0:../../www/py-bleach
|
|
DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
|
|
DEPENDS+= ${PYPKGPREFIX}-django>=1.8:../../www/py-django
|
|
DEPENDS+= ${PYPKGPREFIX}-django-contrib-comments-[0-9]*:../../www/py-django-contrib-comments
|
|
DEPENDS+= ${PYPKGPREFIX}-filebrowser_safe>=0.5.0:../../www/py-filebrowser_safe
|
|
DEPENDS+= ${PYPKGPREFIX}-future>=0.9.0:../../devel/py-future
|
|
DEPENDS+= ${PYPKGPREFIX}-grappelli_safe>=0.5.0:../../www/py-grappelli_safe
|
|
DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
|
|
DEPENDS+= ${PYPKGPREFIX}-requests-oauthlib>=0.4.0:../../security/py-requests-oauthlib
|
|
DEPENDS+= ${PYPKGPREFIX}-tzlocal>=1.0:../../time/py-tzlocal
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-flakes>=0.6.1:../../devel/py-flakes
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-pep8>=1.4.1:../../devel/py-pep8
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
REPLACE_PYTHON= mezzanine/project_template/manage.py
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} mezzanine-project mezzanine-project-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|