summaryrefslogtreecommitdiff
path: root/app/controllers/profiles
Commit message (Collapse)AuthorAgeFilesLines
* Send notifications to group-specific email addressWei-Meng Lee2019-05-311-0/+24
| | | | | | - Select notification email by walking up group/subgroup path - Add settings UI to set group email notification address - Add tests
* Merge branch 'i18n-Two_Factor_Authentication-of-user-profile' into 'master'Bob Van Landuyt2019-05-312-4/+4
|\ | | | | | | | | Externalize strings of Two-Factor Authentication page in user profile See merge request gitlab-org/gitlab-ce!28749
| * Externalize strings of Two-Factor Authentication page in user profileantonyliu2019-05-312-4/+4
| |
* | Externalize strings of password page in user profileantonyliu2019-05-291-5/+5
|/
* Externalize strings of notifications page in user profileantony liu2019-05-281-2/+2
|
* Added user time settings fields to profileEzekiel Kigbo2019-05-071-1/+3
| | | | | | Udpated user_edit_profile_spec with time preferences Minor update form fields
* Merge branch 'forbid-the-usage-of-reload' into 'master'Lin Jen-Shin2019-04-151-1/+1
|\ | | | | | | | | | | | | Forbid the usage of reload Closes #60218 See merge request gitlab-org/gitlab-ce!27125
| * Forbid the use of `#reload` and prefer `#reset`forbid-the-usage-of-reloadKamil Trzciński2019-04-151-1/+1
| | | | | | | | | | | | | | The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case.
* | Added write_repository scope for personal access tokenHoratiu Eugen Vlad2019-04-151-1/+1
|/
* Externalize strings in flash messagesMartin Wortschack2019-04-084-12/+12
| | | | | - Externalize strings in controllers - Update PO file
* Merge branch 'create-identity-provider-policy' into 'master'Nick Thomas2019-03-201-1/+1
|\ | | | | | | | | Move out link\unlink ability checks to a policy See merge request gitlab-org/gitlab-ce!26278
| * Move out link\unlink ability checks to a policyPavel Shutsin2019-03-191-1/+1
| | | | | | | | We can extend the policy in EE for additional behavior
* | Add additional link to 2fa pageGosia Ksionek2019-03-201-11/+14
|/
* Remove ability to revoke active sessionImre Farkas2019-02-271-9/+0
| | | | | | Session ID is used as a parameter for the revoke session endpoint but it should never be included in the HTML as an attacker could obtain it via XSS.
* Filter active sessions belonging to an admin impersonating the userImre Farkas2019-02-271-1/+1
|
* Move language setting to preferencesFabian Schneider2019-02-201-1/+9
|
* Add setting for first day of the weekFabian Schneider2019-02-061-1/+1
|
* Make parameters list more easily changeableGilbert Roulot2019-02-051-7/+5
|
* Remove content disposition attachment displaying all ssh keysFrancisco Javier López2018-12-181-1/+0
|
* Merge branch 'ce-jej/group-saml-unlink-from-account' into 'master'Stan Hu2018-12-041-1/+7
|\ | | | | | | | | [CE] Backport GroupSAML unlink changes See merge request gitlab-org/gitlab-ce!23536
| * Replace @user with current_user on Account pageJames Edwards-Jones2018-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | Previously we used @user, but this changed to local_assigns[:user] so we could pass a second variable to the view from an EE module Since we were already using current_user librally there it makes sense to replace the remaining usages. See: https://docs.gitlab.com/ee/development/module_with_instance_variables.html
| * Backport GroupSAML unlink changesJames Edwards-Jones2018-12-041-1/+7
| | | | | | | | | | | | | | | | | | - Improves spacing between account buttons on Profile - AccountsController#show uses locals instead of instance variables - New `display_providers_on_profile?` helper method - Adds `render_if_exists` for GroupSAMl unlink buttons See: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8682
* | Fix deprecation: render :text is deprecated because it does not actually ↵Jasper Maes2018-11-291-2/+2
|/ | | | render a text/plain response
* Set content disposition attachment to several endpointsFrancisco Javier López2018-11-231-1/+2
|
* Make getting a user by the username case insensitiveWilliam George2018-10-181-1/+1
|
* Enable more frozen string in app/controllers/gfyoung2018-09-2314-1/+29
| | | | | | | | | | | | | | | | Enables frozen string for the following: * app/controllers/dashboard/**/*.rb * app/controllers/explore/**/*.rb * app/controllers/google_api/**/*.rb * app/controllers/groups/**/*.rb * app/controllers/import/**/*.rb * app/controllers/instance_statistics/**/*.rb * app/controllers/ldap/**/*.rb * app/controllers/oauth/**/*.rb * app/controllers/profiles/**/*.rb Partially addresses #47424.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-113-0/+6
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Updates from `rubocop -a`Lin Jen-Shin2018-07-097-8/+8
|
* Introduce a new Keys::DestroyService serviceRémy Coutable2018-05-161-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Display and revoke active sessionsAlexis Reigel ( 🌴 may 2nd - may 9th 🌴 )2018-05-021-0/+14
|
* Removing the two factor check when the user sets a new passwordFrancisco Javier López2018-03-011-0/+1
|
* Fix new personal access token showing up in a flash message40754-fix-flash-usage-with-personal-access-tokenEric Eastwood2017-12-071-1/+3
|
* Allow password authentication to be disabled entirelyMarkus Koller2017-11-231-1/+1
|
* Merge branch 'refactor-services-for-audit-events-ce' into 'master'Grzegorz Bizon2017-11-031-8/+2
|\ | | | | | | | | | | | | [CE] Refactor controller calls into services Closes gitlab-ee#3544 See merge request gitlab-org/gitlab-ce!15023
| * uypdated keys controller logicJames Lopez2017-10-311-8/+2
| |
* | Add sudo API scopeDouwe Maan2017-11-021-1/+1
|/
* Render GPG subkeys on index pageRubén Dávila2017-10-051-1/+1
|
* Merge branch 'master' into ↵Douwe Maan2017-10-058-14/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | digitalmoksha/gitlab-ce-feature/verify_secondary_emails # Conflicts: # app/controllers/admin/users_controller.rb # app/controllers/confirmations_controller.rb # app/controllers/profiles/emails_controller.rb # app/models/user.rb # app/services/emails/base_service.rb # app/services/emails/destroy_service.rb # app/views/devise/mailer/confirmation_instructions.html.haml # lib/api/users.rb # spec/services/emails/destroy_service_spec.rb
| * Set default scope on PATs that don't have one set to allow them to be revokeddm-pat-revokeDouwe Maan2017-10-031-1/+1
| |
| * refactor emails servicerefactor-servicesJames Lopez2017-09-281-2/+2
| |
| * refactor users update serviceJames Lopez2017-09-285-9/+9
| |
| * refactor keys controllerJames Lopez2017-09-281-1/+7
| |
| * refactor services to match EE signatureJames Lopez2017-09-286-11/+11
| |
* | spacing and small optimisationsAlexandra2017-10-011-1/+2
| |
* | fixes for rubocopBrett Walker2017-09-231-2/+1
| |
* | optimized the email servicesBrett Walker2017-09-231-5/+9
| |
* | tweaks for rubocopBrett Walker2017-09-231-1/+1
| |
* | add verified/unverified labels to profile emails.Brett Walker2017-09-231-0/+10
| | | | | | | | added "Resend confirmation email" for unverified emails
* | Send a confirmation email when the user adds a secondary email address. ↵Brett Walker2017-09-231-4/+1
|/ | | | Utilizes the Devise `confirmable` capabilities. Issue #37385
* Merge branch '37789-followup-for-read-registry-change' into 'master'Rémy Coutable2017-09-181-1/+1
|\ | | | | | | | | | | | | Clean up read_registry scope changes Closes #37789 See merge request gitlab-org/gitlab-ce!14307