Commit graph

16 commits

Author SHA1 Message Date
gfyoung
be42c05054 Enable more frozen string in app/controllers/
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.
2018-09-23 12:48:02 -07:00
James Lopez
67d06dee30 refactor users update service 2017-09-28 08:46:39 +02:00
James Lopez
9621dd0c9d refactor services to match EE signature 2017-09-28 08:46:39 +02:00
Annabel Dunstone Gray
9b177bb7c9 Revert "Merge branch 'revert-f2421b2b' into 'master'"
This reverts merge request !14148
2017-09-11 15:44:42 +00:00
Rubén Dávila
52a2423e37 Revert "Merge branch '35012-navigation-add-option-to-change-navigation-color-palette' into 'master'"
This reverts merge request !13619
2017-09-08 14:48:44 +00:00
Rubén Dávila
6c49a62800 Restore some changes from !9199 2017-09-06 12:54:09 -05:00
James Lopez
b804db2648 refactor update user service not to do auth checks 2017-06-23 11:41:43 +02:00
James Lopez
04bb82c8b8 update preferences controller 2017-06-23 11:41:41 +02:00
Rémy Coutable
3db37e0562 Enable the Style/TrailingCommaInArguments cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Annabel Dunstone Gray
0667d1aa7f Drop theme ID from users table 2017-02-15 13:31:18 -06:00
Peter Göbel
e2c5d08e7e added user preference to change layout width 2015-10-05 17:22:47 +02:00
Dmitriy Zaporozhets
5f34759ecb
Allow user to specify content he wants to see on project page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-13 18:24:15 +02:00
Robert Speicher
1562f017b6 Spec the failure cases for PreferencesController#update 2015-06-13 17:59:12 -04:00
Robert Speicher
2bc4fd2d04 Add dashboard attribute to User model 2015-06-13 17:59:11 -04:00
Robert Speicher
0c0c31ff34 Move the "Design" templates and logic to Preferences 2015-06-13 17:58:16 -04:00
Robert Speicher
821fc4b034 Add Profiles::PreferencesController 2015-06-13 17:58:15 -04:00