Switch branches/tags
Commits on Sep 11, 2015
  1. Release 1.6.1

    Georges Dubus committed Sep 11, 2015
  2. Release 1.6

    Georges Dubus committed Sep 11, 2015
Commits on Sep 10, 2015
  1. Merge pull request #20 from ismail-s/master

    Switch to SignedCookieSessionFactory
    committed Sep 10, 2015
  2. Fix failing tests

    ismail-s committed Sep 10, 2015
  3. Switch to SignedCookieSessionFactory

    SignedCookieSessionFactory is new in pyramid version 1.5 and replaces UnencryptedCookieSessionFactoryConfig which is now deprecated.
    ismail-s committed Sep 10, 2015
Commits on Jan 20, 2014
  1. Merge pull request #17 from leplatrem/optional_came_from

    Optional came_from parameter on login/logout
    committed Jan 20, 2014
Commits on Nov 12, 2013
  1. Merge pull request #14 from LostProperty/set_came_from_value_on_query…

    Allow setting came_from value with url parameter.
    This give more customization options for the forbidden page.
    committed Nov 12, 2013
Commits on Nov 11, 2013
  1. Add example of overriding the pyramid_person forbidden view

    Indicate how to either simply use a different template or how to redirect non-authenticated users to the login page
    rob-b committed Nov 11, 2013
Commits on Nov 10, 2013
  1. Added the missing dependency to MarkupSafe

    It used to be a dependency of pyramid, but not any more, so it should be state explicitly.
    committed Nov 10, 2013
  2. Allow setting came_from value with url parameter

    The current behaviour is to set `came_from` to the value of the current
    url which works well when returning 403 pages. For non-logged in users I
    would prefer to redirect them to the login page (while keeping the 403
    response for logged in users) and so would like to be able to set a url
    parameter which indicates which page to return to.
        def forbidden(request):
            if authenticated_userid(request):
                request.response.status = 403
                return {}
            url = request.route_url('login', _query={'came_from': request.path})
            return HTTPSeeOther(url)
    With the change to `utils.js` the above works alongside the current
    I added an additional setting so that a user can define what querystring
    parameter to use although I default to `came_from`. Feel free to change the
    setting name as I'm not completely happy with it.
    rob-b committed Nov 10, 2013
Commits on Sep 12, 2013
Commits on Aug 5, 2013
  1. Preparations for release 1.5.

    committed Aug 5, 2013
Commits on Jul 19, 2013
  1. Added support for the new backgroundColor option, to change the color…

    … of the login dialog.
    committed Jul 19, 2013
Commits on May 30, 2013
  1. Added `success` to the login view response, to state whether the logi…

    …n attempt was successful, and whether the user should be considered as logged-in.
    committed May 30, 2013
Commits on May 23, 2013
  1. Preparations for release 1.4.

    committed May 23, 2013
  2. Fixed a bug that caused a crash on python 3.

    I was erasing the default response headers, which contained the
    encoding. Then caused the json renderer to crash on python 3 because
    webob denied access to response.text.
    committed May 23, 2013
  3. Added tox config file

    committed May 23, 2013
Commits on May 22, 2013
  1. Dropped 3.2 testing from travis because markupsafe dropped it.

    pyramid_persona is still usable with 3.2 with an older markupsafe
    committed May 22, 2013
Commits on May 21, 2013
  1. Changed the login call to ajax. This fixes #12.

    Also changed the login view to return some json containing the address
    to where the user should be redirected. Updated the customization
    process in the docs to take that into account.
    Added an example of login customization in the demo.
    committed May 21, 2013
Commits on Jan 20, 2013
Commits on Jan 19, 2013
  1. Preparations for release 1.3.

    committed Jan 19, 2013
Commits on Dec 24, 2012
  1. Reintroduced dependency to pyramid>=1.4 now it is released.

    Cleaned up the code accordingly.
    committed Dec 24, 2012
  2. Fixed tests.

    committed Dec 24, 2012
  3. Removed the pinned requests version for travis now that the packaging…

    … problem is fixed in requests.
    committed Dec 24, 2012
Commits on Dec 4, 2012
  1. Updated the readme now we have some docs.

    The docs aren't perfect yet, but now I can extend them without
    bloating my readme. Fixes #9.
    committed Dec 4, 2012
  2. Added the docs.

    committed Dec 4, 2012