gitlab-org--gitlab-foss/spec
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
..
config Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
controllers Merge branch 'akismet-submittable' into 'master' 2016-08-15 22:59:47 +00:00
factories Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
features Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
finders Add a spec for ProjectsFinder project_ids_relation option 2016-08-15 12:49:31 +02:00
fixtures Merge branch '13333-consider-updating-http-parser-rb-to-0-6-0' into 'master' 2016-08-11 11:23:53 +00:00
helpers Show member roles to all users on members page 2016-08-11 11:08:07 -05:00
initializers Give priority to environment variables 2016-08-03 15:48:48 +01:00
javascripts Merge branch 'date-time-to-day-tests' into 'master' 2016-08-05 19:38:05 +00:00
lib Merge branch 'akismet-submittable' into 'master' 2016-08-15 22:59:47 +00:00
mailers adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
models Merge branch 'akismet-submittable' into 'master' 2016-08-15 22:59:47 +00:00
requests Further refactor and syntax fixes. 2016-08-15 17:20:57 -05:00
routing Rename markdown_preview routes to preview_markdown 2016-08-11 15:54:18 +02:00
services Backport changes from gitlab-org/gitlab-ee!581 to CE. 2016-08-16 11:05:14 +05:30
support New AccessRequests API endpoints for Group & Project 2016-08-10 19:07:05 +02:00
tasks/gitlab Use File::exist? instead of File::exists? 2016-08-11 13:54:45 +03:00
uploaders Remove VideoJS and clean the integration 2016-07-20 11:36:42 +02:00
views Method names changed to #includes_commit? 2016-08-12 10:43:04 +02:00
workers Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
factories_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
rails_helper.rb
simplecov_env.rb Introduce SimpleCovEnv singleton helper and use it 2016-07-21 12:46:49 +02:00
spec_helper.rb Add a method in Project to return a cached value of total count of projects 2016-08-09 16:08:03 -07:00
teaspoon_env.rb Add test coverage analysis for CoffeeScript (!5052) 2016-08-07 21:52:37 +02:00