summaryrefslogtreecommitdiff
path: root/spec/controllers/profiles
Commit message (Collapse)AuthorAgeFilesLines
* Make /profile/keys/new redirects to /profile/keys for back-compatRémy Coutable2016-04-151-1/+11
| | | | | | Report: https://github.com/gitlabhq/gitlabhq/issues/10138 Signed-off-by: Rémy Coutable <remy@rymai.me>
* Revert "Merge branch 'avatar-cropping' into 'master' "revert-avatar-croppingRémy Coutable2016-03-151-1/+1
| | | | | This reverts commit 01160fc06182de89c400af174861f6545ad6ceb8, reversing changes made to 4bff9daf8b6d85e9c78565e21cfaa3f6d36f0282.
* Add `:with_avatar` trait to User factoryRobert Speicher2016-02-241-1/+1
|
* Move a few controller specs to their correct locationsrs-move-controller-specsRobert Speicher2016-02-181-0/+70
|
* Bump devise-two-factor to 2.0.0rs-bump-two-factorRobert Speicher2015-09-191-2/+2
| | | | | | Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2605 See https://github.com/tinfoil/devise-two-factor/pull/43
* Add User#disable_two_factor!rs-disable-2faRobert Speicher2015-07-101-10/+3
| | | | | This method encapsulates all the logic for disabling 2FA on a specific User model.
* Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher2015-06-221-1/+1
| | | | These fixes were performed automatically by Rubocop's `-a` flag.
* Use User#two_factor_enabled instead of otp_required_for_loginrs-dev-issue-2415Robert Speicher2015-06-191-4/+4
|
* Spec the failure cases for PreferencesController#updateRobert Speicher2015-06-131-2/+18
|
* Add `dashboard` attribute to User modelRobert Speicher2015-06-131-0/+2
|
* Add Profiles::PreferencesControllerRobert Speicher2015-06-131-0/+70
|
* Bump secret key length to 32rs-manual-2fa-entryRobert Speicher2015-05-231-1/+1
|
* Add support for manually entering 2FA detailsRobert Speicher2015-05-231-2/+5
|
* Merge branch 'fix-avatar-removal' into 'master'Hannes Rosenögger2015-05-121-0/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | Fix bug where avatar filenames were not actually deleted from the database during removal This would result in a 404 error in certain views. The `save` call was being rolled back due to an error in the validation step. Relax the validation step so that this works. Closes #1570 See merge request !620
| * Fix bug where avatar filenames were not actually deleted from the database ↵Stan Hu2015-05-071-0/+17
| | | | | | | | | | | during removal. This would result in a 404 error in certain views. The `save` call was being rolled back due to an error in the validation step. Relax the validation step so that this works. Closes #1570
* Clear all 2FA-related fields when user disables the featureRobert Speicher2015-05-091-0/+126