summaryrefslogtreecommitdiff
path: root/app/controllers/admin/applications_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-10-stable-eev15.10.0-rc42GitLab Bot2023-03-201-13/+16
|
* Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42GitLab Bot2022-09-191-3/+8
|
* Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42GitLab Bot2022-08-181-1/+0
|
* Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42GitLab Bot2022-05-191-4/+1
|
* Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot2021-11-181-0/+3
|
* Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot2021-09-201-5/+11
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-221-1/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-171-1/+1
|
* Optimize /admin/applications so that it does not timeoutsh-fix-oauth-application-pageStan Hu2019-09-091-1/+3
| | | | | | | | | | | | | | | | | | On our dev instance, /admin/applications as not loading because: 1. There was an unindexed query by `application_id`. 2. There was an expensive query that attempted to load 1 million unique entries via ActiveRecord just to find the unique count. We fix the first issue by adding an index for that column. We fix the second issue with a simple SELECT COUNT(DISTINCT resource_owner_id) SQL query. In addition, we add pagination to avoid loading more than 20 applications at once. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67228
* Externalize strings in admin controllersMartin Wortschack2019-03-211-2/+2
| | | - Update PO file
* Remove useless braces !22296JB Vasseur2018-10-181-1/+1
|
* Use ApplicationsFinder !22296JB Vasseur2018-10-181-6/+2
|
* 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.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+4
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* fix typorefactor-services-for-audit-events-ceJames Lopez2017-11-021-1/+1
|
* fix specsJames Lopez2017-11-021-1/+1
|
* fix specsJames Lopez2017-11-021-1/+1
|
* refactor codeJames Lopez2017-10-311-1/+1
|
* add applications controller logicJames Lopez2017-10-311-10/+5
|
* refactor some controllers to make them EE friendlyJames Lopez2017-09-281-2/+8
|
* Use params#require instead params[] accessOswaldo Ferreira2017-07-271-1/+1
|
* Backport gitlab-ee!2456Oswaldo Ferreira2017-07-271-1/+1
|
* Add a rubocop rule to check if a method 'redirect_to' is used without ↵31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-statusblackst0ne2017-06-071-1/+1
| | | | explicitly set 'status' in 'destroy' actions of controllers
* Make sure scopes are loaded in admin OAuth application formMarkus Koller2017-03-071-1/+1
|
* Implement minor changes from @dbalexandre's review.Timothy Andrew2016-12-161-2/+1
| | | | | | | | | | | - Mainly whitespace changes. - Require the migration adding the `scope` column to the `personal_access_tokens` table to have downtime, since API calls will fail if the new code is in place, but the migration hasn't run. - Minor refactoring - load `@scopes` in a `before_action`, since we're doing it in three different places.
* Allow creating personal access tokens / OAuth applications with scopes.Timothy Andrew2016-12-161-1/+5
|
* Small improvements to CIDmitriy Zaporozhets2015-01-171-1/+1
|
* Application admin scaffoldValery Sizov2015-01-171-0/+52