Permalink
Commits on Jan 17, 2012
  1. Fixed bug where an empty list stored in ContentItem.used_on_pages_dat…

    …a was being ignored.
    
    This resulted in lots of UPDATE queries for unused ContentItems being
    generated every time a page was viewed when logged in.
    committed Jan 17, 2012
  2. Optimized Page.get_ancestors for the case where we have already retri…

    …eved the chain of ancestors
    
    This has big effects on the number of queries produced due to the page_info context_processor,
    especially if the items in 'current_pages' have 'get_absolute_url' called (e.g. bread crumb).
    committed Jan 17, 2012
Commits on Jan 16, 2012
  1. Removed some unnecessary queries due to PageManager methods.

    PageManager.public_for_user:
    
    First, doing 'obj in qs' is *extremely* inefficient if, as in this case in
    the context processor, you are discarding the results of qs.
    
    Second, an additional query here was not helpful, since the objects had
    already been fully fetched from the database.  An object-level method was
    therefore preferable, and since PageManager.public_for_user() was not used
    elsewhere, this was removed and replaced with Page.is_public_for_user()
    
    PageManager.shown_in_menu_for_user:
    
    Similar to above, in the context of show_menu, using this method
    just does additional unnecessary queries, when all the needed
    information has already been fetched.
    
    In addition, shown_in_menu_for_user() had a bug - for staff users it showed
    all Pages in the menu, even if they had 'show_in_menu = False', which surely
    was not intended.
    
    Since shown_in_menu_for_user was not used elsewhere, it was removed, and
    also PageManager since its only two methods have been removed.
    committed Jan 16, 2012
Commits on Jan 10, 2012
  1. Merge pull request #44 from nbadoux/master

    Added field to ContentItem model
    dbunskoek committed Jan 10, 2012
  2. fixed migrating numbering due to merge conflict

    Nick Badoux committed Jan 10, 2012
  3. Updated translations (Dutch).

    bheesink committed Jan 10, 2012
  4. Added "is_public" field to Pages.

    Added migration.
    Updated PageManager.
    Styling non public pages.
    Added page-no-public icon.
    Moved page icons from ckeditor to image folder.
    bheesink committed Jan 10, 2012
Commits on Jan 4, 2012
  1. Bumped version to 0.9.5.2

    dbunskoek committed Jan 4, 2012
  2. Don't append slashes to absolute URLs

    This prevented instant redirects to media files by specifying absolute media file URLs
    dbunskoek committed Jan 4, 2012
Commits on Nov 24, 2011
  1. Bumped version to 0.9.5.1

    dbunskoek committed Nov 24, 2011
  2. Added overridable stylesSet setting to CKEditor

    - added usage instructions
    - moved (old) comment to the correct location
    dbunskoek committed Nov 24, 2011
Commits on Nov 22, 2011
Commits on Nov 9, 2011
Commits on Nov 8, 2011
Commits on Nov 3, 2011
  1. Bumped version to 0.9.4.19

    dbunskoek committed Nov 3, 2011
  2. Added admin-extra.js which can be used to override / init admin JavaS…

    …cript
    
    - currently this can be used to override the default CKEDITOR settings, by adding these variables (window.CKEDITOR_CONFIG_TOOLBAR, window.CKEDITOR_CONFIG_FORMAT_TAGS) in a custom admin-extra.js in a separate app which should be placed before 'fiber' in INSTALLED_APPS
    dbunskoek committed Nov 3, 2011
Commits on Nov 2, 2011
Commits on Oct 25, 2011
  1. Bumped version to 0.9.4.18

    dbunskoek committed Oct 25, 2011