Mezzanine v1.4.0 Release Notes
Release Date: 2013-02-17 // about 11 years ago-
- Added a
has_home
variable to templates for thepage_menu
template tag, which indicates whether a homepage object exists, and can be used for checking whether a hard-coded homepage link should exist in the menu template - Stephen McDonald - Update the default twitter query since it's been flooded by movie tweets - Stephen McDonald
- Add a deprecation layer for settings in templates, and deprecate the
PAGES_MENU_SHOW_ALL
setting since it's too specific for a setting and can be implemented in one line in a template - Stephen McDonald - Added an example to the page menu docs of rendering a tree representing the current section of a site being viewed - Stephen McDonald
- Don't need to uncheck
in_menus
for an editable homepage anymore, so remove the comment describing that - Stephen McDonald - Correctly handle file uploads in profile forms - Stephen McDonald
- Alpha-sort options for the search form - Stephen McDonald
- Remove Nimbis Services link for now. We haven't deployed our Mezzanine-based Nimbis Services site. into production yet (the old link was to a testing site that is only. used internally). We'll add this back in once we go live with our Mezzanine site - Lorin Hochstein
- Also check
BLOG_USE_FEATURED_IMAGE
in templates when displaying blog post's featured image - Stephen McDonald - Added a
sort_by
template filter for general use - Stephen McDonald - Removed
Slugged.Meta.ordering
since it'll generally always be nuked by Meta on a subclass - and added correct ordering to BlogCategory - Stephen McDonald - Move
clean_content
to new DisplayableAdminForm - Alex Hill - Fix parent of Team and History pages in fixtures. Assign the Team and History pages to the About page (id 2) instead of the Blog page (id 1) in Page fixtures - Alex Hill
- Fix generating descriptions when saving page instances directly, as their content type subclass fields weren't available for the description - Stephen McDonald
- Allow for no content model in
Page.description_from_content
- Stephen McDonald - Fixed duplicate home IDs in menu templates and add some missing IDs - Stephen McDonald
- Check
has_home
to avoid duplicates. Updatedfooter_tree.html
to behave the same as the other menu templates, checkinghas_home
so that a page that is also the home doesn't end up in the menus twice - joshcartme - Strip language prefix from request path, before trying to match it against pages slugs - wrwrwr
- Drupal blog importer for mezzanine blog - #issue 527 - Bryden Frizzell
- Fixed
import_posterous
for module requestsv1.0.1
and above. - issue #528 - Skooch - Restore permission check for editable JS/CSS - Stephen McDonald
- Added handling for model field defaults in dynamic inlines. Closes #526 - Stephen McDonald
- Precedence of conflicting page processor context. The order of execution of page processors was reversed in #315 so that custom page processors returning an HttpResponse would bypass the default processors. That had the side-effect of making context variables in default processors overwrite those in custom processors, which isn't very intuitive. This change restores the original behaviour of context variables, while retaining the reversed execution order - Alex Hill
- Added a welcome message and quick links for getting started, for new developers, to the default homepage template - Stephen McDonald
- Fixed conditional context updates in page processors for Python < 2.7 - Stephen McDonald
- Fix handling of non-alpha search terms in SearchableQuerySet - Stephen McDonald
- Fixed support for automatically adding custom ManyToMany fields in PageAdmin. Closes #534 - Stephen McDonald
- Improved some of the messages shown through installation (createdb/syncdb signals) - Stephen McDonald
- Clarify requirements for
search_fields
in the search api docs - Stephen McDonald - Hide the help text for the slug field for Link pages in the admin - Stephen McDonald
- Fix JS/CSS file names in base mobile template. Closes #537 - Stephen McDonald
- use
AUTH_USER_MODEL
if available - Ben Wilson - Fix Manager MRO issue where
search_fields
param threw errors - David Novakovic - Test for SearchableManager in DisplayableManager - David Novakovic
- Hopefully fix MRO regression - David Novakovic
- Fix MRO issues and avoid regression at the same time - David Novakovic
- Protect sequences provided or generated for the default value of
MenusField
from being forced to unicode (as for example u'[1, 2, 3]'). Django forces fields defaults to unicode unless they're callable (seeField.get_default
). This is done to prevent problems that could arise from setting the same mutable object as a default for many fields (see Django ticket #18478) - wrwrwr - add fa and
fa_IR
locales - Mahdi Bornazadeh - Clean up use of
AUTH_USER_MODEL
- Stephen McDonald - Database-prepare tuples in the same way lists are handled in
MultiChoiceField
- wrwrwr - Allow pages to be dragged out of a subtree to the root level in page admin - wrwrwr
- Check that setting a new page parent won't cause a cycle in the parent-child graph. Such cycles lead to an infinite loop in
Page.save
(e.g
. python process consuming all resources) - wrwrwr - Altered git
repo_url
checks to allow ssh hosted git repositories - Travis Nickles - Fixed indentation issue and PEP-8 issue with fabfile mods - Travis Nickles
- Don't try to create any pages if the models it uses aren't installed - Gavin Wahl
- Support for Django 1.5 custom user models. Uses
get_user_model
for every reference to User, and provides a default. implementation ofget_user_model
for Django <= 1.4 - Gavin Wahl - Clean up hg/git checks in fabfile - Stephen McDonald
- Move RSS url parsing code from the drupal importer into the main RSS blog importer, and remove the drupal importer since it isn't specific to drupal - Stephen McDonald
- Fix import error message in rss importer - Stephen McDonald
- Don't use Bootstrap's navbar-inverse class by default, for better theme compatibility. Closes #551 - Stephen McDonald
- Fix some missing imports and settings import errors for the new user model hooks - Stephen McDonald
- Added possibility to set custom menu titles for models in
ADMIN_MENU_ORDER
, using the same notation as for views(e.g
.(_("News")
,"blog.BlogPost"))
- wrwrwr - Avoid fixing parent slug in
Page.set_parent
if the page had no slug to start with - wrwrwr - Use
current_page
instead of request foris_current
. Since we already have the 'current page' object, we can compare it. against ourself to find if we are current - Gavin Wahl - Replace the rating form with a message after user casts a vote - wrwrwr
- Use
content_model
not the base Page in PageAdmin. When calling methods on a page, they should be called on the subclass,. not the base Page. This allows page types to override them - Gavin Wahl - The usage of reversion can now be disabled for DisplayableAdmin - uli
- Update admin menu docs to mention labels for regaulr models - Stephen McDonald
- Change new reversion setting to be opt-in instead of opt-out - Stephen McDonald
- Moved the
MEDIA_LIBRARY_PER_SITE
setting fromfilebrowser_safe
into Mezzanine so it's documented. It allows per-site filebrowser root directories - Stephen McDonald
- Added a