Permalink
Commits on Feb 27, 2013
  1. Fix error in Blowfish, SHA1 password strategies

    * Bug report:
      #222
    * Remove duplication in spec suite.
    * Extract `fake_model_with_password_strategy` spec helper method.
    croaky committed Feb 13, 2013
  2. Replace email regex with EmailValidator gem

    * Use Rails 3 `validates` method.
    * Use Ruby 1.9 hash syntax.
    croaky committed Feb 24, 2013
Commits on Feb 25, 2013
  1. Rename i18n keys for password email

    * Take off _paragraph prefix because text does not contian <p> tags
    * Change password text copy to be more clear.
    * Sort i18n keys alphabetically.
    * Resolves #248
    gylaz committed with croaky Feb 24, 2013
  2. Fix broken links in README

    * GitHub changed how links work in Markdown files:
      https://github.com/blog/1395-relative-links-in-markup-files
    * Link to i18n translations in README so it is clear what the key
      hierarchy is that can be overriden.
    * Break long lines after 80 characters.
    * Order lists alphabetically.
    croaky committed Feb 24, 2013
Commits on Feb 23, 2013
  1. Include certain helpers only for controller specs

    Travis CI was failing because of the conflict between the `sign_out` method
    meant for integration tests and the `sign_out` method used for controller specs.
    
    Example failure: https://travis-ci.org/thoughtbot/clearance/jobs/4730477
    gylaz committed Feb 23, 2013
Commits on Feb 22, 2013
  1. Move password email delivery to private method

    * The password email delivery can now be overridden
    salbertson committed Feb 22, 2013
  2. Removes duplicated sign up and forgot password links

    Galen Frechette committed with croaky Feb 16, 2013
  3. Make PasswordsController#create case-insensitive

    * Centralize email normalization logic in `User.normalize_email`.
    * Implement `User.find_by_normalized_email`.
    agraves committed with croaky Feb 12, 2013
Commits on Feb 21, 2013
  1. Add psych as development dependency

    * Eliminates warnings and errors when psych is installed
    jferris committed Feb 21, 2013
Commits on Feb 14, 2013
  1. Improve UX of password reset

    As reported on:
    
    #250
    
    By default, the text on the password reset page read:
    
    > We will email you a link to reset your password.
    
    This implies that the system is already in the process of sending an
    email,
    and that no further action is required by the user. We have had multiple
    users of our application fail to complete the password reset flow
    because of
    this confusion.
    
    Here's how these users got stuck:
    
    * Visit the login page.
    * Enter their email address and an incorrect password.
    * The application denies login with "Bad email or password" error.
    * User gives up and clicks "Forgot password?" link.
    * Reset password page loads with the text "We will email you a link to
     reset your password.". User thinks they are done. (After all, they
     already provided their email address on the login page.)
    * User never completes the reset password form. Telephones support
     complaining their password is not being reset.
    
    Our fix was to change the password reset text to:
    
    > To be emailed a link to reset your password, please enter your email
    > address.
    croaky committed Feb 14, 2013
  2. Improve readability of locales

    croaky committed Feb 13, 2013
Commits on Feb 13, 2013
  1. Persis BCrypt password during SHA1 migration

    A full description of the issue this resolves is here:
    
    #236
    edouard committed with croaky Nov 15, 2012
  2. Prepare Clearance for Rails 4

    * Change routes to use `get` instead of `match`.
    * Don't allow multiline strings for email format.
    * Rails 4 issues an exception when validates_format_of encounters regex
      that uses ^ and $ rather than /A and /Z. See this pull request:
      rails/rails#6569
    * `sign_out` should use DELETE, not GET.
    * Remove irrelevant spec for testing regex.
    * Test against latest security-patched Rails versions.
    geoffharcourt committed with croaky Jan 31, 2013
  3. Add "#clearance" wrapper to markup

    Galen Frechette committed with croaky Feb 11, 2013
  4. Improve markup and style sheets

    * Fixes inconsistency with input wrapper classes.
    * Improves markup for secondary links. Adds sign in link to sign up form
      for better navigation.
    
    #252
    Galen Frechette committed with croaky Feb 11, 2013
Commits on Jan 29, 2013
Commits on Jan 18, 2013
  1. Strip whitespace from User#email

    * Rename downcase_email to normalize_email.
    amrit committed with croaky Dec 29, 2012
Commits on Jan 4, 2013
  1. Update rails gem versions in Appraisals to use latest stable releases…

    …: 3.2.10, 3.1.9, 3.0.18
    mjankowski committed Jan 4, 2013
Commits on Jan 3, 2013
  1. In order for clearance integration tests to work on linux systems (as…

    … used by tddium) you need to include all the integration helper files explicity since the sort order on the linux systems is not the same as on mac systems, and without it all specs will fail.
    narath committed with mike-burns Dec 7, 2012
Commits on Nov 30, 2012
Commits on Nov 9, 2012
  1. Get Travis CI passing

    * Point Travis to gemfiles that exist
    * Relax bundler requirement for Travis
    * Create/migrate database before running tests for Travis
    Gabe Berke-Williams committed Oct 26, 2012
Commits on Oct 30, 2012
  1. Bump to 1.0.0.rc4

    Gabe Berke-Williams committed Oct 30, 2012
Commits on Oct 18, 2012
Commits on Oct 17, 2012
  1. Move all application text to locales

    + Updated views, and flashes to use I18n
    + Updated News file
    + Updated specs to use I18n
    harlow committed Oct 17, 2012
  2. Bump to 1.0.0.rc3

    croaky committed Oct 17, 2012
Commits on Oct 16, 2012
  1. Grammar

    Gabe Berke-Williams committed Oct 16, 2012
  2. Removed cucumber features

    harlow committed Oct 16, 2012