Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on May 14, 2013
  1. @peterbe

    Merge pull request #165 from Osmose/fix-backend

    peterbe authored
    Ensure backend attribute exists on user objects.
  2. Ensure backend attribute exists on user objects.

    A user's email is only included in the browserid_info div if it was
    authenticated by the BrowserIDBackend, which is signified by the
    backend attribute on the user object. However, if a user is retrieved
    from the session, the backend attribute isn't set by default.
    In that case, the user object is retrieved by the get_user method
    on the backend that first logged the user in. This commit updates that
    method so that it sets the backend attribute on the user object, 
    ensuring that it will always have that attribute and can be correctly
    identified as being authed by the BrowserIDBackend.
    Oh, and I also added Python 3.3 to the allowed failures list in Travis
    until we figure out why lxml doesn't want to install on it.
Commits on May 13, 2013
  1. @peterbe
Commits on May 10, 2013
  1. @graingert

    Fix #148: Add experimental support for Python 3.3 and 3.2.

    graingert authored committed
  2. Fix #141: Remove email from browserid_info if user authed normally.

    If the user authenticates using a different method than BrowserID, the
    browserid_info function should not include the user's email for use
    by the JavaScript.
Commits on May 8, 2013
Commits on May 7, 2013
  1. @richardmansfield

    Include css in package data

    richardmansfield authored
    Makes the persona-buttons.css file available when installed using pip.
Commits on May 5, 2013
  1. Fix up the docs a bit.

  2. Fix #116: Add CSS for pretty Persona buttons.

    Kalail authored committed
Commits on Apr 23, 2013
  1. @willkg

    Merge pull request #156 from peterbe/workaround-for-python-bug-issue1…

    willkg authored
    workaround for python bug issue15881
  2. @peterbe
  3. @peterbe
  4. @peterbe

    issue 53 - Allow SITE_URL to be a string or a list

    Kalail authored peterbe committed
Commits on Apr 18, 2013
  1. @peterbe

    Merge pull request #154 from Osmose/lazy-request-args

    peterbe authored
    Add support for lazily-evaluated BROWSERID_REQUEST_ARGS.
Commits on Apr 16, 2013
  1. Add support for lazily-evaluated BROWSERID_REQUEST_ARGS.

    Updates our use of BROWSERID_REQUEST_ARGS to support Django Promises.
    This is primarily useful for translating strings in the request args
    using lazy translation, as well as reversing URLs using reverse_lazy.
Commits on Apr 11, 2013
  1. Add a small JS API.

    Adds a global variable to browserid.js (django_browserid) that has 3
    useful methods: login and logout for manually triggering BrowserID,
    and isUserAuthenticated for checking if the current user is 
Commits on Apr 5, 2013
  1. @graingert

    Fix #146: Support running tests with python test.

    graingert authored committed
    Removes dependency on Fabric.
Commits on Apr 1, 2013
  1. @willkg

    Fix typo

    willkg authored
Commits on Mar 8, 2013
  1. @willkg

    Issue 138. Fix login failure auto-login

    willkg authored
    If you have BROWSERID_CREATE_USER = False, then try to log in with a valid
    account on Persona, but not on the site, then you end up in this endless
    loop of going to a page on the site and being redirected to the login
    failure page immediately.
    This fixes that.
Commits on Mar 5, 2013
  1. 0.8 release, w00t!

Commits on Mar 4, 2013
  1. Fix #97: Raise BrowserIDException on service errors and handle in view.

    - Adds BrowserIDException and updates verify to raise it when there is 
      an issue connecting to the remote verification service.
    - Update the Verify view to catch the raised BrowserIDException and 
      redirect to the login failure page when it is raised.
  2. @peterbe

    Merge pull request #134 from Osmose/redirect-security

    peterbe authored
    Fix #125: Add security checks to Verify view.
  3. Drop support for Django 1.3.

  4. Make browserid_info a function to fix the form CSRF.

    Django's CSRF protection is difficult to use outside of a view. When
    browserid_info was being generated in the context processor, it couldn't
    get the {% csrf_token %} tag to output a CSRF token.
    To fix this, we change browserid_info to a function that executes when
    the template is rendered. By that point, the Django CSRF plumbing has
    sorted itself out and {% csrf_token %} now outputs a token correctly.
    This also has the side benefit of making the API a bit more consistent.
  5. Update docs and changelog.

  6. Replace browserid_button with browserid_login and browserid_logout.

    - Move template helpers to and replace browserid_button
      with browserid_login and browserid_logout instead.
    - Add login form to browserid_info to avoid issues with having a form 
      tag inside an inline element.
    - Simplify Verify view redirect to look directly for the `next` 
    - Update browserid.js to work with the new single-login form.
Commits on Feb 27, 2013
  1. @willkg
  2. @tuxcanfly @willkg

    added jquery to the complete example

    tuxcanfly authored willkg committed
  3. @willkg

    Add Javed to AUTHORS

    willkg authored
  4. @tuxcanfly @willkg

    highlight django code blocks

    tuxcanfly authored willkg committed
Something went wrong with that request. Please try again.