Skip to content
This repository

Feb 25, 2014

  1. Derek Prior

    Sort and format i18n yaml file

    * remove unnecessary quoting
    * apply consistent sorting of keys
    derekprior authored
  2. Derek Prior

    Remove sign up link from sign in flash error

    There is a configuration option that allows for sign up to easily be
    disabled. With this enabled, the `sign_up_path` route helper is not
    defined. This causes a 500 when a user login fails because the default
    I18n message uses `sign_up_path` for interpolation.
    I opted to remove the interpolation, and thus the sign up link, from the
    default sign in failure message. This is perhaps somewhat less helpful,
    but it makes for a working out of the box experience for people who
    disable sign up.
    An alternative would be to add another flash message specifically for
    this case and add conditionals to `DefaultSignInGuard` (or a helper
    object) to handle it. I felt that the increased complexity of that
    solution wasn't worth it.
    derekprior authored

Jan 26, 2014

  1. Joël Quenneville

    Allow sign up to be disabled via configuration

    There are many instances where you don't want users to be able to sign
    up (e.g. admin-only system). Clearance can now disable sign up by
        Clearance.configure do |config|
          # other configuration options
          config.allow_sign_up = false
    in `config/initializers/clearance.rb`.
    JoelQ authored derekprior committed

Aug 16, 2013

  1. Greg Lazarev

    Make "users" title translation consitent

    gylaz authored

Aug 14, 2013

  1. Nikolay Burlov

    Use translation helper in app/views/users/new

    kohgpat authored

Jul 05, 2013

  1. Greg Lazarev

    Remove redundant route helpers

    * remove `new_user`, `new_session` and :delete to `new_sessions`
    * these are superceded by `sign_in`, `sign_out` and * `sign_up`
    * these helpers were not documented
    gylaz authored

Jun 28, 2013

  1. Greg Lazarev

    Fix i18n keys for sessions

    gylaz authored

Feb 25, 2013

  1. Greg Lazarev

    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 authored croaky committed

Feb 14, 2013

  1. Dan Croak

    Improve UX of password reset

    As reported on:
    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
    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 authored
  2. Dan Croak

    Improve readability of locales

    croaky authored

Feb 13, 2013

  1. Geoff Harcourt

    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:
    * `sign_out` should use DELETE, not GET.
    * Remove irrelevant spec for testing regex.
    * Test against latest security-patched Rails versions.
    geoffharcourt authored croaky committed
  2. Galen Frechette

    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.
    frechg authored croaky committed

Oct 17, 2012

  1. Harlow Ward

    Move all application text to locales

    + Updated views, and flashes to use I18n
    + Updated News file
    + Updated specs to use I18n
    harlow authored

Jul 22, 2012

  1. Dan Croak

    Apply style guidelines

    * Use single quotes unless interpolating.
    * Do not align tokens.
    * Add a newline between lines of code and blocks.
    * Alphabetize methods and lists of attributes.
    Additional refactoring:
    * Refactor new_indexes to more appropriately use a Hash.
    * Refactor collections to use Symbol#to_proc to shorten lines.
    * Use consistent naming patterns (existing_*, new_*).
    * Remove `each` naming convention on enumerators.
    * Remove now unnecessary GOALS file.
    croaky authored

Dec 22, 2010

  1. Remove email confirmations

    Mike Burns and Harold Giménez authored Harold Giménez committed

Sep 04, 2010

  1. Vít Krchov

    UsersController has only new and create actions

    vita authored qrush committed

Jul 27, 2010

  1. Changed routes to use Rails 3 DSL. This removes a deprecation warning…

    … triggered by the block parameter.
    Jeremy Weiskotten authored

Jun 09, 2010

  1. convert to a rails 3 engines, routes, etc.

    Chad Pytel authored

Jan 19, 2010

  1. Dan Croak

    remove old routing hack. replace with Clearance::Routes.draw(map) to …

    …give more control to the application developer.
    croaky authored

Jun 14, 2009

  1. Dan Croak

    adding sign_up, sign_in, sign_out named routes

    croaky authored

Apr 21, 2009

  1. Nick Quaranto

    Revert "Removing namespaces for controllers"

    This reverts commit e2601db.
    qrush authored
  2. Nick Quaranto

    Removing namespaces for controllers

    qrush authored

Apr 10, 2009

  1. Nick Quaranto

    Modifying load_routes! so it loads clearance routes after rails routes

    qrush authored

Apr 02, 2009

  1. Dan Croak

    fixing accounts controller test to meet new should_deny_access_on int…

    …erface, changing routes to meet groupies experience.
    croaky authored

Mar 26, 2009

  1. Dan Croak

    use :only option for clearance routes

    croaky authored
  2. Joe Ferris

    Namespaced the users controller

    jferris authored
  3. Joe Ferris

    Namespaced the sessions controller

    jferris authored
  4. Joe Ferris

    Namespaced the passwords controller

    jferris authored
  5. Joe Ferris

    Namespaced the confirmations controller

    jferris authored
  6. Joe Ferris

    Moved routes into the engine

    jferris authored
Something went wrong with that request. Please try again.