Commit Graph

14 Commits

Author SHA1 Message Date
James Lopez 9cb9a86f37 fix typo 2017-11-02 14:33:56 +01:00
James Lopez 32ef7ed7d6 fix specs 2017-11-02 13:14:56 +01:00
James Lopez 37eb00ce5b fix specs 2017-11-02 08:49:36 +01:00
James Lopez 232bdd47d9 refactor code 2017-10-31 09:03:59 +01:00
James Lopez 72b7b10d52 add applications controller logic 2017-10-31 09:03:59 +01:00
James Lopez 4a6ec7c947 refactor some controllers to make them EE friendly 2017-09-28 08:46:39 +02:00
Oswaldo Ferreira f837cd6611 Use params#require instead params[] access 2017-07-27 12:09:46 -04:00
Oswaldo Ferreira e561b142fa Backport gitlab-ee!2456 2017-07-27 12:09:46 -04:00
blackst0ne a544e46bb0 Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00
Markus Koller 789db2cc19 Make sure scopes are loaded in admin OAuth application form 2017-03-07 14:54:36 +01:00
Timothy Andrew 4d6da770de Implement minor changes from @dbalexandre's review.
- 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.
2016-12-16 16:29:31 +05:30
Timothy Andrew 6c809dfae8 Allow creating personal access tokens / OAuth applications with scopes. 2016-12-16 15:08:10 +05:30
Dmitriy Zaporozhets a81081aa72 Small improvements to CI 2015-01-17 16:17:34 -08:00
Valery Sizov 20028523b5 Application admin scaffold 2015-01-17 15:40:09 -08:00