summaryrefslogtreecommitdiff
path: root/app/controllers/admin/application_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-05-111-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* Check instance cluster feature at policy levelJames Fargher2019-05-071-5/+2
| | | | Try to simplify feature flag checks by using policies
* Enable frozen string in app/controllers/**/*.rbrepo-forks/gitlab-ce-frozen-string-app-controllergfyoung2018-09-181-0/+2
| | | | | | | | | | | | Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
* Add read-only banner to all pagesToon Claes2018-03-221-14/+0
| | | | | | | When the database is in a read-only state, display a banner on each page informing the user they cannot write to that GitLab instance. Closes gitlab-org/gitlab-ce#43937.
* Create idea of read-only databasetc-geo-read-only-ideaToon Claes2017-10-061-0/+14
| | | | | | | | | | | | In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo secondary node). But in GitLab CE it also might be useful to have the "read-only" idea around. So port it back to GitLab CE. Also having the principle of read-only in GitLab CE would hopefully lead to less errors introduced, doing write operations when there aren't allowed for read-only calls. Closes gitlab-org/gitlab-ce#37534.
* Remove the User#is_admin? methodblackst0ne2017-04-091-1/+1
|
* Fix issue with impersonationDouwe Maan2016-04-221-7/+1
|
* refactor login as to be impersonation with better login/logoutJames Newton2015-10-291-0/+6
| | | | | | Modifies the existing "login as" feature to be called impersonation, as well as keeping track of who is impersonating to revert back to that user without having to log out.
* Add helpers for header title and sidebar, and move setting those from ↵Douwe Maan2015-05-011-7/+1
| | | | controllers to layouts.
* Add a page title to every page.Douwe Maan2015-04-301-1/+7
|
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-1/+1
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Added the correct hierarchy of controllers for the administrative partAndrey Kumanyaev2013-01-241-0/+11