gitlab-org--gitlab-foss/spec
Douwe Maan 130c8a5198 Merge branch 'feature/precalculate-authorized-projects' into 'master'
Precalculate authorized projects in database

## What does this MR do?
It caches user's authorized projects in database instead of using multiple unions, which should simplify and speed-up things since this operation (getting authorized projects) is used a lot.

## Are there points in the code the reviewer needs to double check?
Did we miss a scenario where we need to refresh the list of projects?

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~
- [ ] ~~API support added~~
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?
#23150 

See merge request !6839
2016-11-18 19:42:17 +00:00
..
bin DRY up the specs for bin/changelog 2016-11-03 17:35:06 +00:00
config Make mail_room idle_timeout option configurable. 2016-11-16 12:46:37 +01:00
controllers Remove duplication of implementations 2016-11-17 21:34:23 +01:00
factories Add most of specs for chat names 2016-11-17 21:34:23 +01:00
features Merge branch 'less-intrusive-system-note' into 'master' 2016-11-18 18:11:02 +00:00
finders Precalculate user's authorized projects in database 2016-11-18 20:25:45 +02:00
fixtures add parsing support for incoming html email 2016-11-17 11:59:44 +09:00
helpers Use `Gitlab.config.gitlab.host` over `'localhost'` 2016-11-18 20:17:10 +08:00
initializers Give priority to environment variables 2016-08-03 15:48:48 +01:00
javascripts explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
lib Merge branch 'zj-slash-commands-mattermost' into 'master' 2016-11-18 18:06:36 +00:00
mailers Use `Gitlab.config.gitlab.host` over `'localhost'` 2016-11-18 20:17:10 +08:00
models Merge branch 'feature/precalculate-authorized-projects' into 'master' 2016-11-18 19:42:17 +00:00
policies Added tests for IssuePolicy 2016-11-07 12:49:24 +01:00
requests Merge branch 'zj-slash-commands-mattermost' into 'master' 2016-11-18 18:06:36 +00:00
routing Fix routing spec for group controller 2016-11-08 15:54:17 +02:00
serializers fix spec failures 2016-11-18 08:13:34 +01:00
services Merge branch 'feature/precalculate-authorized-projects' into 'master' 2016-11-18 19:42:17 +00:00
support Merge branch 'feature/precalculate-authorized-projects' into 'master' 2016-11-18 19:42:17 +00:00
tasks/gitlab Introduce better credential and error checking to `rake gitlab:ldap:check` 2016-11-08 15:46:10 -06:00
uploaders
views Merge branch '23205-information-about-environments-build-page' into 'master' 2016-11-18 15:49:19 +00:00
workers Merge branch 'feature/precalculate-authorized-projects' into 'master' 2016-11-18 19:42:17 +00:00
factories_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
rails_helper.rb
rake_helper.rb Add Rake task to create/repair GitLab Shell hooks symlinks 2016-11-01 14:52:59 -05:00
simplecov_env.rb Bump SimpleCov merge timeout to 365 days 2016-08-22 13:44:14 +02:00
spec_helper.rb Refine specs for build show page with environments 2016-11-09 19:40:25 +01:00
teaspoon_env.rb Add test coverage analysis for CoffeeScript (!5052) 2016-08-07 21:52:37 +02:00