summaryrefslogtreecommitdiff
path: root/spec/features/profiles
Commit message (Collapse)AuthorAgeFilesLines
* Remove sleeping and replace escaped text.Connor Shea2016-08-131-2/+2
|
* Updated testsPhil Hughes2016-08-131-0/+4
|
* Avoid to show the original password field when password is automatically setedCarlos Ribeiro2016-08-081-0/+45
|
* Implement @DouweM's feedback.Timothy Andrew2016-06-161-0/+1
| | | | | | | | | | | | | - Extract a duplicated `redirect_to` - Fix a typo: "token", not "certificate" - Have the "Expires at" datepicker be attached to a text field, not inline - Have both private tokens and personal access tokens verified in a single "authenticate_from_private_token" method, both in the application and API. Move relevant logic to `User#find_by_personal_access_token` - Remove unnecessary constants relating to API auth. We don't need a separate constant for personal access tokens since the param is the same as for private tokens.
* Merge remote-tracking branch 'origin/master' into 2979-personal-access-tokensTimothy Andrew2016-06-141-3/+5
|\
| * Fix preferences_spec test18417-nav-offscreenAnnabel Dunstone2016-06-101-3/+5
| |
* | Implement second round of comments from @jschatz1.Timothy Andrew2016-06-101-1/+1
| | | | | | | | | | | | | | - Just use a link for the clipboard button. Having a non-clickable container (that looks like a button) is confusing. - Use `text-danger` for the "you won't be able to access it again" message. - Highlight the created token so people know to look there.
* | Implement @jschatz1's comments.Timothy Andrew2016-06-091-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - No hardcoded colors in any SCSS file except `variables.scss` - Don't allow choosing a date in the past - Use the same table as in the "Applications" tab - The button should say "Create Personal Access Token" - Float the revoke button to the right of the table cell - Change the revocation message to be more explicit. - Date shouldn't look selected on page load - Don't use a panel for the created token - Use a normal flash for "Your new personal access token has been created" - Show the input (with the token) below it full width. - Put the "Make sure you save it - you won't be able to access it again." message near the input - Have the created token's input highlight all on single click
* | Add tests for errors while creating/revoking personal access tokens.Timothy Andrew2016-06-031-2/+31
| |
* | Don't use `natve['innerHTML']` in the feature spec.Timothy Andrew2016-06-031-11/+11
| | | | | | | | - The `have_text` matcher works fine.
* | Only show a personal access token right after its creation.Timothy Andrew2016-06-021-12/+20
| |
* | Address @DouweM's feedback on !3749.Timothy Andrew2016-04-281-7/+11
| | | | | | | | | | | | | | | | - Use `TokenAuthenticatable` to generate the personal access token - Remove a check for `authenticity_token` in application controller; this should've been `authentication_token`, maybe, and doesn't make any sense now. - Have the datepicker appear inline
* | Add feature specs for personal access token management.Timothy Andrew2016-04-281-0/+52
|/
* Add spec for deletion of authorized OAuth2 applicationStan Hu2016-04-141-0/+39
| | | | | | Closes #14370 Move gon function into its own helper
* Use new routing helperDouwe Maan2015-09-081-1/+1
|
* 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 features syntaxRobert Speicher2015-06-221-1/+1
|
* Add `allowing_for_delay` helper method for feature specsRobert Speicher2015-06-141-6/+8
|
* Add feature specs for default dashboard preferenceRobert Speicher2015-06-131-9/+48
|
* Simplify the javascript behavior for Preference updatingRobert Speicher2015-06-131-0/+8
|
* Add Gitlab::Themes module; remove Gitlab::ThemeRobert Speicher2015-06-131-3/+3
| | | | | | | Now we can simply loop through all themes, among other things. This also removes the `dark_theme` / `light_theme` classes and the `theme_type` helper, since they weren't used anywhere.
* Move the "Design" templates and logic to PreferencesRobert Speicher2015-06-131-0/+33