Mezzanine v1.3.0 Release Notes
Release Date: 2012-12-26 // over 11 years ago-
- added dob field to list of form fields - mmuk2
- Update url templatetags for Django 1.5. See
https://docs.djangoproject.com/en/1.4/releases/1.3/#changes-to-url-and-ssi
. "{% load url from future %}" is omitted in favour of a global import in.boot/__init__.py
- Alex Hill - Bring templates in line with latest master - Alex Hill
- Move forward compatibility code to
utils/conf.py
- Alex Hill - Assume development server if command is "harvest". Lettuce uses the "harvest" command to run a development server. See
http://lettuce.it/recipes/django-lxml.html#lettuce-run-the-tests
. Note that if this isn't set, then media will not be served correctly. when testing with lettuce - Lorin Hochstein - Bump versions:
filebrowser_safe
>= 0.2.12,grappelli_safe
>= 0.2.10 - Stephen McDonald - Use non-minified
jquery.tools
andjquery.ba-resize
- Per Andersson - Render admin "add" link if no change permission. Handle the case where a non-superuser staff member has "add". permission but not "change" permission - Lorin Hochstein
- Escape backticks in python task in fabfile. Closes #396 - Stephen McDonald
- Ensure last output line is used to determine remote
STATIC_URL
in fabfile, since warnings may occur in output - Stephen McDonald - add
related_posts
for blog - Dmitry Falk - fix
related_posts
in template - Dmitry Falk - Allow users to sign up with capital letters in their username - David Novakovic
- Update
mezzanine/core/admin.py
. Add some stuff to OwnableAdmin to make its use more obvious to new users - David Novakovic - Filter urls that use https - Eduardo Rivas
- Added mezzanine-polls to third party apps - Stephen McDonald
- Update
mezzanine/accounts/__init__.py
. Display more informative error if this exception is thrown. This exception handler can hide informative errors about model unrelated model declaration. - David Novakovic - Update
mezzanine/accounts/__init__.py
. Even better checks for the profile model string - David Novakovic - Fix unfiltered RSS feeds for Django 1.3 - Stephen McDonald
- Use tag slugs for tag RSS feeds - Stephen McDonald
- Fix unicode handling for slugs in Django 1.5 - Stephen McDonald
- Fix urls in mobile search include for Django 1.5 - Stephen McDonald
- Fix mobile tests for Django 1.5 - Stephen McDonald
- Handle invalid images in thumbnail tag. Closes #410 - Stephen McDonald
- Use Page URLs without trailing slash when
settings.APPEND_SLASH
is False - Kenneth Falck - Full support for
APPEND_SLASH
is False - Stephen McDonald - Removing initial content from createdb when --nodata parameter is present - Sean Voss
- Added
TWITTER_STRIP_HIGH_MULTIBYTE
setting to strip mb3/mb4 characters in Tweets (mainly Emoji), which cause problems with MySQL UTF-8 collation - Kenneth Falck - Added the setting
SSL_FORCED_PREFIXES_ONLY
, which defaults to True and controls whether URLs not matched bySSL_FORCE_URL_PREFIXES
are redirected back to HTTP if accessed over HTTPS - Stephen McDonald - Added the
COMMENT_FILTER
setting for controlling how comments are rendered. Works the same as theRICHTEXT_FILTER
setting. Closes #416 - Stephen McDonald - Added
has_children_in_menu
andnum_children_in_menu
attributes to page objects in thepage_menu
template tag, for determining valid children in the context of a menu and thein_emnus
field. Closes #413 - Stephen McDonald - Added automated hg tagging for versions in changelog generation. Closes #259 - Stephen McDonald
- Fixed misspelling of argument in
send_verification_mail
- Zean Tsoi - Framework to allow
EXTRA_FORM_FIELDS
- Sean Voss - Allow subclasses to define their own ProfileFieldsForm - David Novakovic
- patches to be jython compatible - Donneker
- Fixes #427: Disqus comment counts are now pulled in on the blog post detail page, if available - cato
- Fix incorrect status on quick-blog form. Closes #429 - Stephen McDonald
- Make form fixtures optional and remove old fixtures - Stephen McDonald
- Use createdb --nodata in fabfile - Stephen McDonald
- Use actual keyword instances in blog listing. Closes #431 - Stephen McDonald
- Put block tags into all blog templates so they can be overridden. Closes #443. This resulted in the splitting of the editable field for the title and. publication date in the list page into two editable fields, so they. could be two separate blocks. I notice that the blog detail page. doesn't have an editable field for the publish date at all, which I. shall address separately. block tags are namespaced by
blog_post_detail_
andblog_post_list_
. respectively, and inside the list page, the blocks related to an. individual post are namespaced withblog_post_list_post_
- Penny Leach - Made publication date an editable field in the blog post detail template - Penny Leach
- Remove selection disabling in
page_tree.js
- causing issues with latest Firefox - Stephen McDonald - Added some missing calls to
richtext_filter
. Closes #438 - Stephen McDonald - Correctly handle empty password in login form. Closes #439 - Stephen McDonald
- Move error templates into custom paths so that Django's tests can trigger errors using its own error templates, since Mezzanine's urlpatterns aren't used which its error templates depend on - Stephen McDonald
- Add some extra comments and validation for the new
FORMS_EXTRA_FIELDS
setting - Stephen McDonald - Allow LoginForm to be inherited and extended - Renyi Khor
- Slugged model now uses
self.title
to generate slug. Fixes #445 - Andrey Shipilov - Update
mezzanine/blog/models.py
. wrong keyword argument passed toblog_post_list_category
inget_absolute_url
for the BlogCategory model. This results in an empty url when using Link to my Category. The problem was that theblog/urls.py
uses 'category' as the keyword and theget_absolute_url
used 'slug' as the keyword. I changed it withinget_absolute_url
because I guess changing it withinblog/urls.py
may break backwards compatibility - Andre Graf - Port gallery expose to updated jquerytools version. On overlay load, expose the
.image-overlay
. Fixes bug where every other image was not exposed due to timing issue. when #exposeMask fades out when already switched to next image - Per Andersson - Use local copies of instead of cdn. * html5shiv. * jquery mobile - Per Andersson
- Move
html5shiv.js
outside of Mezzanine's js directory, since it's not required by Mezzanine itself (eg it's project specific and can be removed per project) - Stephen McDonald - Update
blog_recent_posts
to allow an optional slug. If the slug is specified returned blog posts will be restricted to being in the category matching the slug. If the slug does not match a category, posts will be returned as normal - joshcartme - Added support for keyword args in the
as_tag
template tag wrapper - Stephen McDonald - Fix for issue #450:
home_slug
with prefix - uli - Fix bad semicolon in
gallery.js
- Stephen McDonald - Use
PROJECT_NAME
fabric setting asCACHE_MIDDLEWARE_KEY_PREFIX
inlive_settings.py
- Stephen McDonald - Update twitter bootstrap to
v2.2.1
- Ivan Teoh - Inverse the top navbar from white to black - Ivan Teoh
- Superusers should be able to select any site - Josh Cartmell
- Disable front end editing for users who don't have access to a site - Josh Cartmell
- Include AdminProfileInline so that it is not lost if the user enables Mezzanine accounts - Josh Cartmell
- Check if the user
is_staff
first to avoid unecessarily reversing admin:index on every request - Josh Cartmell - Only load and display inline editor if the user has access to the current site's admin - Josh Cartmell
- Only check if a user has access to the current site in the middleware. Save the result on
request.user
and use this elsewhere - Josh Cartmell - Added the setting
OWNABLE_MODELS_ALL_EDITABLE
which allows a sequence ofapp_label.model_name
models to be defined, that are Ownable subclasses which won't have their change-list admin views filtered by user - Stephen McDonald - Updated signal to only automatically create admin profiles for staff and not break the User add view if a site is selected - Josh Cartmell
- Fix for issue #470: Right subclass instance in BaseGenericRelation - Thomas Jetzinger
- Add homepage url to
sitemap.xml
- Stephen McDonald - Add handling for multi-tenancy in
sitemap.xml
- Stephen McDonald - Check for published objects in
Orderable.next/previous
and allow kwargs to be used - Stephen McDonald - Fixed margins on user-panel buttons - Stephen McDonald
- Added Displayable methods
get_next/previous_by_publish_date
, and used in blog post templates for next/previous blog posts - Stephen McDonald - More accurate template block name for blog post prev/next links - Stephen McDonald
- Fix showstopper on first comment due to url being clobbered and never reset - Grant Warren-Robertson
- No need to log user out for invalid admin - Stephen McDonald
- Check for login form instead of user perms when choosing which js to load in admin's base template - Stephen McDonald
- Still log user out for invalid admin access - Stephen McDonald
- add environment setting to
supervisor.conf
to ensure locale is set correctly for gunicorn subprocesses - Doug Evenhouse - modify environment setting to inject locale specified in FABRIC setting - Doug Evenhouse
- Allows regular link Cmd+Click behaviour on OS X. - Regular click behaviour still applies. - Tested to work in OS X Chrome 24 beta and Firefox 16 beta. - TODO: test on other platforms - Matt Stevenson
- Document how to run unit tests - Lorin Hochstein
- Don't run view functions from page middleware when no page can be found, just pass through. Closes #476 - Stephen McDonald
- Update jquery-ui to full 1.9.1, and include smoothness theme. This allows other apps to use a single version of jquery-ui that is. known to be compatible with Mezzanine's version of jquery. This is
jquery-ui-1.9.1.all
, so all widgets are available and no. additional jquery code is needed. Also, the full smoothness theme. is included. Third-party apps may include other themes - Ahmad Khayyat - Added Django < 1.5's adminmedia tag lib for 1.5 compatibility - Stephen McDonald
- Clean up dev server check - Stephen McDonald
- Allow category/tag titles to be used in
blog_post_recent
tag - Stephen McDonald - Bump grappelli safe version to 0.2.11 - Stephen McDonald
- Bump filebrowser safe version to 0.2.13 - Stephen McDonald
- Added the setting
UPLOAD_TO_HANDLERS
for configuring theupload_to
arg per file field. Closes #480 - Stephen McDonald - Added missing word in Blogger import notes - Matt Stevenson
- Change feedparser URL to authoritative fork. - The original author's website(s) returns HTTP 410. - Refer to:
http://en.wikipedia.org/wiki/Mark_Pilgrim_(software_developer)
- Matt Stevenson - Resolves html entity output re: #482 - Matt Stevenson
- Generate better meta descriptions from markdown content. By using the newline character as the first pattern in the generation of the meta description, markdown content (which normally lacks closing
</p>
tags) is processed correctly - Eduardo Rivas - Parse content with
rich_text
filter - Eduardo Rivas - Moved import inside method - Eduardo Rivas
- Added optional parameters to search view - Eduardo Rivas
- Request filters: specified using
REQUEST_FILTERS
insettings.py
- Chris Ravenscroft - Added default setting for
REQUEST_FILTERS
- Chris Ravenscroft - Works better with the proper values in
settings.py
- Chris F Ravenscroft - Escape miscellaneous percent symbols in deployment templates; fixes #494 - Olivier Harris
- spam filter code moved back to
views.py;
using mezzanine's module import mechanism - Chris Ravenscroft - Added newline at the end of
search_form.html
- Eduardo Rivas - JavaScript localization added for
mezzanine.forms
application - Oleg Churkin - Correct varible name in single model search - Eduardo Rivas
- Fix site perms template error in admin logout - Stephen McDonald
- Update notes in the
project_template's
urls.py
describing how the homepage object should not be assigned to any menu templates - Stephen McDonald - Add new field
Displayable.in_sitemap
which appears in the meta data section of each admin form, and controls whether the object appears insitemap.xml
. Closes #499 - Stephen McDonald - Added {%
search_form
%} section to the docs - Eduardo Rivas - Update
mezzanine/pages/admin.py
. Remove a blank line so tests will pass - Kenneth Love - Don't assume {form, gallery} apps are installed. Importing these in
core.management.__init__
causes problems when they. aren't installed. Instead, import them in the function where they're. used - Gavin Wahl - Adds the ability to move a page under a page with no children. I switched to using the jQuery nestedSortable plugin instead of the. sortable plugin provided by jQuery UI, because Pages actually being in a. tree structure, they need a tree editor. This commit temporarily breaks. some functionality such as remembering which pages were open and closed - Rocky Meza
- fixed pagetree hiding of subpages - Rocky Meza
- Provide Mezzanine's settings object to the
COMPRESS_OFFLINE_CONTEXT
setting for django-compressor. Closes #505 - Stephen McDonald - Fix the bugs that we had with nestedSortable - Gavin Wahl
- only
.nestedSortable()
the first ol - Gavin Wahl - Fix front-end editing links for elements not positioned relative to the document. Use visibility hidden and jquery offset function to ensure edit links are always positioned relative to the document and not relative to a positioned ancestor - Jonathan Potter
- Clean up the new page sorting view - Stephen McDonald
- Remove old hack for initial page tree click bug that no longer exists. Closes #509 - Stephen McDonald
- Fix null handling in page sorting view - Stephen McDonald
- Specify widget for keywords field so it can be overridden properly. Closes #421 - Stephen McDonald
- Bug fix for wrong argument ordering for ssl cert handling in
fabfile.py
- David Hess - Remove some commented out editable settings from the project template's
settings.py
module, since defining these at the Python level can be confusing once the settings form in the admin is updated. Also made a note of this scenario in the settings docs. Closes #515 - Stephen McDonald - Add ssl port to
nginx.conf
. Closes #514 - Stephen McDonald - Bump filebrowser-safe version to 0.2.14 - Stephen McDonald
- Don't run redirects tests for Django 1.5 - Stephen McDonald
- More commit log filtering for changelog - Stephen McDonald