Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 21, 2014
  1. @pbsbamboo

    Updated CHANGELOG.rst

    pbsbamboo authored
  2. @zoliszeredi
Commits on Oct 16, 2014
  1. @laurafeier

    Merge pull request #32 from pbs/LUN-1869

    laurafeier authored
    LUN-1869: Since we are managing the state of the current site id, it is ...
  2. @pianas
Commits on Oct 15, 2014
  1. @pianas

    Update middleware.py

    pianas authored
    LUN-1869: Make sure the default templates for the current request are set (even if 404 is raised).
Commits on Oct 9, 2014
  1. @pianas

    LUN-1869: Small improvement

    pianas authored
  2. @pianas

    LUN-1869: Set CMS_TEMPLATES only on exceptional case in SiteIdPatchMi…

    pianas authored
    …ddleware and don't care about interfering in the exception flow (a 404 could possibly be transformed into a 500)
  3. @pianas

    LUN-1869: Since we are managing the state of the current site id, it …

    pianas authored
    …is important to sync the CMS_TEMPLATES variables as sooner as possible in the request/response cycle, so that even on early middleware chain breaking, the error page will be displayed correctly with respect to the current site. This fix also ensures that we are able to show the CMS error page even if there is an early exception raised in the middleware chain
Commits on Sep 9, 2014
  1. @pbsbamboo

    Updated CHANGELOG.rst

    pbsbamboo authored
  2. @pianas
  3. @titusnicolae

    Merge pull request #31 from pbs/LUN-1805

    titusnicolae authored
    LUN-1805: allow other permission checks than the ones from cms.
Commits on Aug 29, 2014
  1. @laurafeier
Commits on Aug 7, 2014
  1. @pbsbamboo

    Updated CHANGELOG.rst

    pbsbamboo authored
  2. @titusnicolae
  3. @bhodorog

    Merge pull request #30 from pbs/fix-cms-templates-shorthand

    bhodorog authored
    Remove CMS_TEMPLATES shorthand ...
Commits on Jul 24, 2014
  1. @titusnicolae
Commits on Jul 23, 2014
  1. @titusnicolae

    Remove CMS_TEMPLATES shorthand ...

    titusnicolae authored
    ...so it won't end up referencing to a different object when
    tests asign to settings.__class__.CMS_TEMPLATES a different object.
    
    Warning:
    - a test in lunchbox/tests_admin.py that took advantage of the
      previous behaviour will fail unless LUN-1661 is integrated.
    
    The problem
    - The inital implementaion assumed settings.__class__.CMS_TEMPLATES
      would be initialized only once.
    - DBTemplatesMiddleware uses the CMS_TEMPLATES shorthand for
      settings.__class__.CMS_TEMPLATES.
    - When a test modifies settings.__class__.CMS_TEMPLATES, the
      CMS_TEMPLATES is NOT updated, it will reference the old object.
    - When another test creates Template.objects.all() = [ stuff ], calls
      self.client.get('/admin/') it expects the middleware to put those
      templates in settings.__class__.CMS_TEMPLATES.value
    - What actually happens is that the templates end up only in the
      CMS_TEMPLATES shorthand.
Commits on Jun 23, 2014
  1. @pbsbamboo

    Updated CHANGELOG.rst

    pbsbamboo authored
Commits on Jun 19, 2014
  1. @laurafeier

    Merge pull request #29 from pbs/LUN-1672

    laurafeier authored
    LUN-1672
  2. @titusnicolae
Commits on Jun 18, 2014
  1. @laurafeier

    Merge pull request #28 from pbs/LUN-1654

    laurafeier authored
    LUN-1654 Dissalow user without roles from any model admin.
  2. @titusnicolae
Commits on Jun 16, 2014
  1. @laurafeier

    Merge pull request #27 from pbs/LUN-1649

    laurafeier authored
    LUN-1649 change site to current only if allowed
  2. @titusnicolae

    change site to current only if allowed

    titusnicolae authored
    otherwise change to the first allowed site
Commits on Jun 13, 2014
  1. @pbsbamboo

    Updated CHANGELOG.rst

    pbsbamboo authored
Commits on Jun 10, 2014
  1. @linkyndy
Commits on Jun 6, 2014
  1. @bhodorog

    Merge pull request #26 from pbs/LUN-1544

    bhodorog authored
    LUN-1544: If the current site (active site of a certain session) is deleted...
  2. @pianas
Commits on Jun 5, 2014
  1. @pianas

    LUN-1544: If the current site (active site of a certain session) is d…

    pianas authored
    …eleted by another user, the user needs to be notified in a nice way (HTTP 404) that the site is not there anymore
Commits on Apr 17, 2014
  1. @pbsbamboo

    Updated CHANGELOG.rst

    pbsbamboo authored
Commits on Mar 31, 2014
  1. @linkyndy

    Changed dependency_links egg versions

    linkyndy authored
    So that dependency versions are fulfilled whilst specifying the dev version
  2. @linkyndy

    Merge branch 'tox'

    linkyndy authored
  3. @linkyndy

    (tox) Movedm full.log

    linkyndy authored
Commits on Mar 28, 2014
  1. @linkyndy
  2. @bhodorog

    Merge pull request #25 from pbs/tox

    bhodorog authored
    Tox stuff
Something went wrong with that request. Please try again.