Permalink
Commits on Apr 1, 2016
  1. Add spec for archive temp users rake task

    karenc authored and jpslav committed Mar 31, 2016
  2. Add rake task to archive temp users

    karenc authored and jpslav committed Mar 30, 2016
    (1) Find the `state == 'temp'` users, making sure as a sanity check that
        they have only `authentications` and `contact_infos`, no other
        associations (no `application_users` etc).
    
    (2) save off information about temp Users (including their profile
        information, user ID, UUID, email address (and whether verified),
        authentication information (provider and UID), and Identity fields if
        present).  The data could just be a JSON file (build up an array of
        nested hashes, call `to_json`, write to a file, print location of file),
        and it'd also be convenient to separately store a list of all verified
        email addresses (so we can contact people to tell them their temp
        accounts are gone), and...
    
    (3) Delete these temp users (`DestroyUser`), making sure their relations
        go as well.
Commits on Mar 29, 2016
  1. Add spec for adding another social sign in option

    karenc committed Mar 29, 2016
  2. Add data (e.g. email) from social networks when adding auths on profile

    karenc committed Mar 29, 2016
Commits on Mar 28, 2016
  1. Add error when user tries to sign in with email linked to multiple users

    karenc committed Mar 28, 2016
  2. Remove most of the specs in registration controller specs

    karenc authored and jpslav committed Mar 25, 2016
    They should already be covered somewhere else
  3. Re-enable sessions callback specs

    karenc authored and jpslav committed Mar 25, 2016
    - Only return authentication_taken if the user linked to the
      authentication is activated
    - If authentication is linked to the current user and the user is
      already signed in, there's nothing to do
    - If the user linked to the authentication is not activated, transfer
      the authentication to the signed in user and delete the other user
  4. Re-enable user manages emails feature specs

    karenc authored and jpslav committed Mar 24, 2016
  5. Add "last login" check sign on sign in page

    karenc authored and jpslav committed Mar 23, 2016
  6. Change sign in instructions email to work for social network users

    karenc authored and jpslav committed Mar 20, 2016
    If the user doesn't have a password account, don't include the reset
    password link, show the list of social networks they have used to sign
    in instead.
  7. Remove spec for hiding "sign up" from cnx users

    karenc authored and jpslav committed Mar 20, 2016
    This has been removed in 6850436.
  8. Store email on social signup form if social network didn't give us one

    karenc authored and jpslav committed Mar 19, 2016
    For example, if I log in using twitter, twitter doesn't return an
    email address, I put in an email address on the social signup form, that
    email address will be saved and unverified.
    
    If I log in using facebook, facebook returns an email address, that
    email address is saved and verified.
  9. Update reset password email subject

    karenc authored and jpslav committed Mar 18, 2016
Commits on Mar 23, 2016
  1. Only match users with verified emails when importing users

    karenc committed Mar 23, 2016
  2. Change import users from csv to generate username if it's missing

    karenc committed Mar 22, 2016
    This is for importing users from legacy osc site.
Commits on Feb 26, 2016
  1. Merge pull request #257 from openstax/reset-without-verification

    karenc committed Feb 26, 2016
    Allow resetting password without verified emails
Commits on Feb 9, 2016
  1. Quote full name in "to" header in emails

    karenc committed Feb 9, 2016
    When user has a full name that includes certain characters like commas,
    we need to quote it.
    
    Fix `AWS::SES Response Error: InvalidParameterValue`
Commits on Jan 30, 2016
  1. Disallow spaces in email addresses

    karenc committed Jan 30, 2016
    To fix this error occured in identities#forgot_password:
    
    ```
    data: {:error_id=>"074289",
       :class=>"AWS::SES::ResponseError",
       :message=>
        "InvalidParameterValue - Local address contains control or whitespace",
       :first_line_of_backtrace=>
        "/home/ostaccounts/src/accounts-a4650b5/vendor/bundle/ruby/1.9.1/gems/aws-ses-0.6.0/lib/aws/ses/base.rb:175:in `request'",
       :cause=>nil,
       :dns_name=>"unknown",
       :extras=>{}}
    ```
Commits on Jan 29, 2016
  1. Update fine_print gem to 3.1.0

    karenc committed Jan 29, 2016
    Close #193
Commits on Jan 27, 2016
  1. Add test for csv importing users with same usernames different cases

    karenc committed Jan 27, 2016
    This is a test to make sure it's possible to import cnx plone users
    after the change in user validation.