gitlab-org--gitlab-foss/app/controllers/projects
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
..
application_controller.rb Unify check branch name exist 2016-06-20 21:44:21 +02:00
artifacts_controller.rb Just give regular 404, feedback: 2016-07-11 20:04:46 +08:00
avatars_controller.rb
badges_controller.rb Add method for coverage badge in badges controller 2016-08-15 14:39:46 +02:00
blame_controller.rb
blob_controller.rb Prevents accidental overwrites of commits from UI 2016-08-15 02:34:55 +00:00
branches_controller.rb Fix branches page dropdown sort initial state 2016-08-10 14:36:16 -05:00
builds_controller.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
commit_controller.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
commits_controller.rb
compare_controller.rb Make Compare#diffs diff_options a regular argument 2016-08-03 09:32:01 -07:00
container_registry_controller.rb
deploy_keys_controller.rb Namespace EnableDeployKeyService under Projects 2016-08-08 20:59:51 +02:00
environments_controller.rb Minor fixes in the Env API endpoints 2016-08-01 08:42:09 +02:00
find_file_controller.rb
forks_controller.rb
git_http_client_controller.rb Add LFS controllers 2016-07-22 17:54:04 +02:00
git_http_controller.rb Remove duplicate method reintroduced by merge 2016-08-09 12:35:36 +02:00
graphs_controller.rb
group_links_controller.rb
hooks_controller.rb
imports_controller.rb
issues_controller.rb Allow Issue to be submitted as spam 2016-08-15 13:18:15 -05:00
labels_controller.rb
lfs_api_controller.rb Rename lfs_enabled helper method 2016-08-10 16:48:21 +02:00
lfs_storage_controller.rb Improve validation of X-Gitlab-Lfs-Tmp header 2016-08-10 17:40:20 +02:00
merge_requests_controller.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
milestones_controller.rb
network_controller.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
notes_controller.rb Add Discussion model to represent MR/diff discussion 2016-07-20 16:18:18 -06:00
pipelines_controller.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
pipelines_settings_controller.rb Expose coverage report badge in pipeline settings 2016-08-15 14:39:46 +02:00
project_members_controller.rb Exclude requesters from Project#members, Group#members and User#members 2016-07-01 17:44:46 +02:00
protected_branches_controller.rb Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
raw_controller.rb
refs_controller.rb Create PipelinesSettingsController for showing settings page 2016-07-20 14:39:06 +02:00
releases_controller.rb
repositories_controller.rb
runner_projects_controller.rb Use Ability to check pre-requisite. Change back to 403 because: 2016-06-29 19:04:06 +08:00
runners_controller.rb Rename according to: 2016-06-20 16:52:05 +08:00
services_controller.rb Refactor service settings view 2016-07-20 12:11:37 -03:00
snippets_controller.rb Fix snippets comments not displayed 2016-07-01 18:39:19 +02:00
tags_controller.rb Show release notes in tag list 2016-07-26 16:31:25 +01:00
todos_controller.rb Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
tree_controller.rb
triggers_controller.rb
uploads_controller.rb First support of videos in issues, MRs and notes 2016-07-19 18:51:09 +02:00
variables_controller.rb
wikis_controller.rb Rename markdown_preview routes to preview_markdown 2016-08-11 15:54:18 +02:00