summaryrefslogtreecommitdiff
path: root/spec/features/users_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add email and password confirmation fields to registration formDrew Blessing2017-01-031-8/+10
| | | | | | | | | | | It's too easy to mistype an email or password when signing up. The support team is receiving an increasing number of requests because users mistype their email. We can eliminate this problem by requiring users to confirm the email before registering. The same issue can occur for the password field so we should add this, too. We should note that password confirmation is part of the default Devise forms. I don't know why/when GitLab removed it.
* Allow registering users where the username contains dots (.).Timothy Andrew2016-11-181-3/+16
| | | | | | | | | | | | | | | | | | Javascript does not support the negative lookbehind assertion (?<!) used in the Ruby regex (to disallow usernames ending in `.git` or `.atom`. Getting the client side code to fully support this format is non-trivial, since we'd either have to heavily complicate the regex used, or modify the frontend code to support more complex validation schemes (it currently uses HTML5 validations). The pragmatic choice is to create a `Gitlab::Regex::NAMESPACE_REGEX_STR_SIMPLE` regex to serve as a Javascript-compatible version of `NAMESPACE_REGEX_STR`. The client-side code will not display an error for usernames ending in `.git` and `.atom`, but these will be caught by the server-side validation.
* Merge branch 'dz-rename-user-routes' into 'master'Robert Speicher2016-10-171-0/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Rename users routing from /u/:username to /users/:username for consistency with other routes Renames /u/:username to /users/:username To follow consistency with other routes (like groups) and UsersController name. Now when you can use `/:username` for accessing user page there is no need in shortcut like `/u/` See merge request !6851
| * Update users routing specDmitriy Zaporozhets2016-10-131-0/+12
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Don't use member properties in users_spec, and remove loading ref.Bryce Johnson2016-10-151-5/+2
| |
* | Shush rubocop.Bryce Johnson2016-10-151-2/+2
| |
* | Get tests passing.Bryce Johnson2016-10-151-4/+5
| |
* | Make UX upgrades to SignIn/Register views.Bryce Johnson2016-10-151-3/+29
|/ | | | | | | - Tab between register and sign in forms - Add individual input validation error messages - Validate username - Update many styles for all login-box forms
* Fix users feature specDmitriy Zaporozhets2016-10-061-13/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Change user & group landing page routing from /u/:name & /groups/:name to /:nameDmitriy Zaporozhets2016-10-061-0/+22
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Improve uniqueness of field names on the signup formrs-unique-signup-fieldsRobert Speicher2016-04-191-8/+8
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15075
* Streamline the "Report button"rymai/gitlab-ce-disable-report-button-if-already-reportedRémy Coutable2015-09-291-35/+1
| | | | | | This simplifies the "Report button" to not use open a dropdown and adds a tooltip on this button. This also removes an extra spec and adds missing specs.
* Disable the "Report abuse" button if a user has already been reportedRémy Coutable2015-09-291-2/+36
|
* Add `feature` tag to feature specsRobert Speicher2015-07-061-1/+1
| | | | | Not to be confused with the RSpec `type: :feature` tag, this tag is used by the `spec:feature` Rake task for filtering/grouping specs.
* Fix duplicate 'Email has already been taken' message when creating a userswellard2015-06-161-0/+21
|
* Specs don't need to set default_url_options anymoreRobert Speicher2015-04-271-7/+0
|
* Upon successful login, clear `reset_password_token` fieldRobert Speicher2015-04-081-10/+33
| | | | Closes #1942
* Redirect signup page to signin page.Douwe Maan2015-02-051-9/+4
| | | | Resolves #1916.
* Remove password strength indicatorJacob Vosmaer2015-01-151-1/+1
| | | | | | | | We were having the following issues: - the indicator would sometimes stay red even if the password that was entered was long enough; - the indicator had a middle yellow signal: what does that mean? - the red/green backgrounds were not color-blind-friendly.
* Finally fix stuff related to dynamic configDmitriy Zaporozhets2015-01-081-1/+1
|
* Updated the IDs of the fields, so that it wouldn't mess with many testsPatricio Cano2014-10-221-1/+1
| | | | Updated some tests to match new IDs
* Split feature tests out to different build jobJeroen van Baarsen2014-04-131-1/+1
|
* Fixing rspec after upgrade to capybara pt1Dmitriy Zaporozhets2013-02-211-0/+19