summaryrefslogtreecommitdiff
path: root/app/controllers/oauth
Commit message (Collapse)AuthorAgeFilesLines
* Implement minor changes from @dbalexandre's review.Timothy Andrew2016-12-161-5/+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-0/+6
|
* Fix endless redirections when accessing user OAuth applications when they ↵Stan Hu2016-06-081-1/+1
| | | | | | | | are disabled Also hides the "Applications" nav button if OAuth applications are disabled by the admin. Closes #14770
* Include GonHelper separately and remove created_at in factoryStan Hu2016-04-141-0/+1
|
* Add spec for deletion of authorized OAuth2 applicationStan Hu2016-04-141-0/+1
| | | | | | Closes #14370 Move gon function into its own helper
* Merge branch 'fix/gitlab-omniauth-issue' into 'master' Douwe Maan2016-03-191-0/+1
|\ | | | | | | | | | | | | attempting to fix omniauth problem Attempt to fix https://gitlab.com/gitlab-org/gitlab-ce/issues/3361 See merge request !2876
| * another attempt to fix oauth issueJames Lopez2016-02-191-1/+1
| |
| * attempting to fix omniauth problemJames Lopez2016-02-181-0/+1
| |
* | Let `oauth/applications#index` handle the `profiles#applications` routeapplication-settingsRobert Speicher2016-03-131-14/+14
| | | | | | | | | | | | | | | | Previously we were doing all of kinds of code gymnastics and flash abuse in order to work with a Doorkeeper controller but have it _appear_ at the `/profile/applications` path. Fortunately we can just tell Rails to use a different controller to handle that route, and we get the best of both worlds.
* | Fixed Ruby style errorPhil Hughes2016-03-041-1/+1
| |
* | Applications tab on profile settingsPhil Hughes2016-03-041-1/+5
|/ | | | Closes #13855
* Move helpers back to original directoryDmitriy Zaporozhets2015-09-092-3/+3
|
* Groundwork for merging CI into CEDouwe Maan2015-08-252-2/+2
|
* Correctly show anonymous authorized applications under Profile > Applications.Douwe Maan2015-07-021-1/+6
|
* Add option to disallow users from registering any application to use GitLab ↵user-oauth-applicationsDouwe Maan2015-05-291-0/+8
| | | | as an OAuth provider
* Add helpers for header title and sidebar, and move setting those from ↵Douwe Maan2015-05-013-23/+9
| | | | controllers to layouts.
* before_action > before_filter.Douwe Maan2015-04-301-1/+1
|
* Add a page title to every page.Douwe Maan2015-04-303-3/+23
|
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-202-3/+3
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Application admin scaffoldValery Sizov2015-01-171-4/+2
|
* Fix tests and add message if no oauth appsDmitriy Zaporozhets2014-12-251-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rework oauth2 featureDmitriy Zaporozhets2014-12-253-3/+12
| | | | | | | | * improve UI * add authorization * add separate page for oauth applications Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve code styleDmitriy Zaporozhets2014-12-253-11/+18
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Doorkeeper integrationValery Sizov2014-12-243-0/+90