gitlab-org--gitlab-foss/app/controllers
Timothy Andrew e805a64700 Backport changes from gitlab-org/gitlab-ee!581 to CE.
!581 has a lot of changes that would cause merge conflicts if not
properly backported to CE. This commit/MR serves as a better
foundation for gitlab-org/gitlab-ee!581.

= Changes =

1. Move from `has_one {merge,push}_access_level` to `has_many`, with the
   `length` of the association limited to `1`. This is _effectively_ a
   `has_one` association, but should cause less conflicts with EE, which
   is set to `has_many`. This has a number of related changes in the
   views, specs, and factories.

2. Make `gon` variable loading more consistent (with EE!581) in the
   `ProtectedBranchesController`. Also use `::` to prefix the
   `ProtectedBranches` services, because this is required in EE.

3. Extract a `ProtectedBranchAccess` concern from the two access level
   models. This concern only has a single `humanize` method here, but
   will have more methods in EE.

4. Add `form_errors` to the protected branches creation form. This is
   not strictly required for EE compatibility, but was an oversight
   nonetheless.
2016-08-16 11:05:14 +05:30
..
admin Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
ci Enable Style/SpaceAfterColon Rubocop cops 2016-06-29 15:16:04 +02:00
concerns Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
dashboard Recover usage of Todos counter cache 2016-08-12 18:21:36 +02:00
explore Replace reject_blocked with reject_blocked! in callbacks. 2016-07-27 13:56:30 -06:00
groups Exclude requesters from Project#members, Group#members and User#members 2016-07-01 17:44:46 +02:00
import using shared path for project import uploads and refactored gitlab remove export worker 2016-08-04 12:51:55 +02:00
oauth Fix endless redirections when accessing user OAuth applications when they are disabled 2016-06-08 05:52:04 -07:00
profiles Avoid to show the original password field when password is automatically seted 2016-08-08 13:55:57 -03:00
projects Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
sherlock Added Sherlock, a custom profiling tool for GitLab 2015-11-09 14:29:10 +01:00
abuse_reports_controller.rb Autofill abuse message text with user url. Closes #2838 2016-01-16 10:47:12 -05:00
application_controller.rb State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
autocomplete_controller.rb Allow skipping users in autocomplete 2016-07-27 14:10:49 +01:00
confirmations_controller.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
dashboard_controller.rb Restrict starred projects to viewable ones 2016-05-10 18:13:52 +01:00
emojis_controller.rb Update award_emoji test 2016-02-23 19:37:15 -06:00
groups_controller.rb Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
health_check_controller.rb Support token header for health check token, and general cleanup of the health_check feature. 2016-05-11 17:27:08 -07:00
help_controller.rb Replace reject_blocked with reject_blocked! in callbacks. 2016-07-27 13:56:30 -06:00
invites_controller.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
jwt_controller.rb Improve Gitlab::Auth method names 2016-06-10 14:51:16 +02:00
namespaces_controller.rb Prevent projects to have higher visibility than groups 2016-03-10 10:38:36 -03:00
notification_settings_controller.rb merge master into issue_3359_3 2016-06-29 11:04:18 -03:00
omniauth_callbacks_controller.rb Added tests for 2FA check on OAuth request 2016-07-04 11:00:34 -05:00
passwords_controller.rb Allow the initial admin to set a password 2016-03-04 17:37:57 -05:00
profiles_controller.rb Merge branch 'master' into issue_7959 2016-03-22 11:13:27 -05:00
projects_controller.rb Rename `markdown_preview` routes to `preview_markdown` 2016-08-11 15:54:18 +02:00
registrations_controller.rb Enable Style/SpaceAroundEqualsInParameterDefault cop 2016-08-06 04:03:01 +02:00
root_controller.rb Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences. 2016-03-24 19:59:54 +01:00
search_controller.rb Replace reject_blocked with reject_blocked! in callbacks. 2016-07-27 13:56:30 -06:00
sent_notifications_controller.rb #can_unsubscribe? -> #?unsubscribable? 2016-01-11 14:23:45 +01:00
sessions_controller.rb Remove provider path, replace with dynamic path. 2016-08-03 11:50:38 -06:00
snippets_controller.rb user routings refactor 2016-05-08 15:27:33 +07:00
uploads_controller.rb Branded login page also in CE 2016-02-26 15:50:51 +01:00
users_controller.rb Group the contributing calendar by day 2016-05-16 12:22:17 +01:00