Subject: CVS commit: pkgsrc/www/py-mezzanine
From: Adam Ciarcinski
Date: 2018-10-26 11:27:09
Message id: 20181026092709.6D5BEFBEE@cvs.NetBSD.org

Log Message:
py-mezzanine: updated to 4.3.1

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

Files:
RevisionActionfile
1.2modifypkgsrc/www/py-mezzanine/ALTERNATIVES
1.11modifypkgsrc/www/py-mezzanine/Makefile
1.3modifypkgsrc/www/py-mezzanine/PLIST
1.4modifypkgsrc/www/py-mezzanine/distinfo
1.2removepkgsrc/www/py-mezzanine/MESSAGE
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_blog_migrations_0003__auto__20170411__0504.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_blog_templatetags_blog__tags.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_core_auth__backends.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_core_managers.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_core_models.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_core_templatetags_mezzanine__tags.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_generic_migrations_0003__auto__20170411__0504.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_generic_templatetags_comment__tags.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_generic_templatetags_rating__tags.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_generic_tests.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_pages_migrations_0004__auto__20170411__0504.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_pages_templatetags_pages__tags.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_template_____init____.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-mezzanine_utils_email.py
1.1removepkgsrc/www/py-mezzanine/patches/patch-setup.py