Subject: CVS commit: pkgsrc/www/py-mezzanine
From: Adam Ciarcinski
Date: 2017-12-30 14:44:21
Message id: 20171230134421.77ECCFB40@cvs.NetBSD.org

Log Message:
py-mezzanine: updated to 4.2.3

Version 4.2.3:
* Test MultiChoiceField.validate when invalid. For the record, this raises a \ 
TypeError prior to Simen's commit
* Test MultiChoiceField.validate when valid. Also, I realized that the choices \ 
kwarg needs to be a nested list
* Ensure createdb command passes on the exepcted options to base class
* Workaround for Django bug with templates field and empty values
* Update travis django versions.
* Subclass Django's redirect admin to filter by site
* Remove "Overriding vs. Extending" Docs. I know we discussed this a \ 
little bit somewhere and rewriting this. section was suggested. However, I don't \ 
see any reason to keep it. around. This was always a django issue but we \ 
provided a. mezzanine-specific solution. Now that there's a django solution, \ 
why. clutter our docs with it?
* Fix SSLRedirectMiddleware.__init__ signature. As reported on the mailing list. \ 
(https://groups.google.com/d/msg/mezzanine-users/d5mcAMOVcnk/uqw61LyjAwAJ),. \ 
this raised a TypeError because the get_response argument is optional
* Move “required” from field help text to template. The forms app used to \ 
set “required” as the help text for fields that. are required and didn’t \ 
have a help text already. Move this text into. the template instead, making it \ 
easier to override
* Use call_command() instead of execute()
* Remove the no_color handling in createdb management command
* Fix example in profile docs
* Remove outdated message regarding auto-reload. Since local_settings.py is \ 
added to sys.modules, the autoreload is working as expected.
* Document static_lazy's purpose.
* Update contributing guidelines to reflect practice. The language here is too \ 
broad and has caused several users to submit. high quality bug reports or \ 
patches to the mailing list when it's. actually easier to deal with them in the \ 
tracker
* Fix TinyMCE support in dynamic inlines.
* Fix TinyMCE support in dynamic inlines. Use TinyMCE’s jQuery plugin to \ 
initialise our editors, and handle. Django’s formset:added event to initialise \ 
editors in dynamically added. forms. * Tidy up TinyMCE initialisation code. * \ 
Call out changes to jquery.tinymce.min.js more visibly
* Warn when editing admin users without permissions.
* Move contributing guidelines to CONTRIBUTING.rst. This will present itself \ 
before people open issues which should cut down. on a lot of the erroneous ones
* Fix short URL generation
* Add support for importing via blogml
* Clean up blogml importer
* Added python 3.6
* Deprecate as_tag templatetag shortcut. It isn't documented but folks may be \ 
using it anyway. We can't switch. over to simple_tag internally yet until we \ 
drop support for django-1.8
* Restore tinymce support in front-end editing.
* Fix caching editable settings forever when no request
* Blog RSS feed - set length property for images (enclosure)
* Blog RSS - add mime_type for images (enclosure)
* Blog Atom feed - add "updatedate" property
* Fix issue with PyPy2. Under PyPy2 you can't do u"foo" == \ 
lazy(static, str)("bar") because the. code assumes dir(str) is a \ 
strict subset of dir(unicode), which isn't. true on PyPy2. The other way around \ 
is no problem however, and the. other strings in the static assets lists are \ 
unicode anyway
* Fix issue 1710. During user validation, only save POST data in session if it \ 
is a POST. request, otherwise saved comment may be overwritten by GET request \ 
that. results from redirect if user verification is required
* Re-order JavaScript loading to ensure TinyMCE has access to correct variables.
* Nicer way to import and register checks. The previous way meant every check \ 
gets mentioned 3 times (def, import,. register), with this way it is just once, \ 
and all the django.core.checks. are together
* Converted SitePermissionMiddleware warning to a Django check.
* Added hashbangs/permission bits to make scripts more easily runnable
* Made it easier to run individual tests
* Documented how to run tests
* Fixed pyflakes errors for .checks imports
* Fixed login form to not use request.REQUEST. This is not available in Django \ 
1.9 and greater, so without this fix the. forms are (slightly) broken. There \ 
doesn't seem to be any reason to use. REQUEST instead of POST - the form is a \ 
POST one, and the parameters are not. used elsewhere in the code base to \ 
construct a querystring
* Fixed search forms to use request.GET instead of request.REQUEST. \ 
request.REQUEST is not available in Django 1.9 and greater
* Support latest bleach, BS, html5lib.

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