Commit graph

12 commits

Author SHA1 Message Date
Felipe Artur
9946d0813c Address review comments 2018-03-05 14:30:56 -03:00
Felipe Artur
dd071c4b6e Bring one group board to CE 2018-03-03 12:56:17 -03:00
Bob Van Landuyt
148816cd67 Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
Yorick Peterse
cca61980d5
Track and act upon the number of executed queries
This ensures that we have more visibility in the number of SQL queries
that are executed in web requests. The current threshold is hardcoded to
100 as we will rarely (maybe once or twice) change it.

In production and development we use Sentry if enabled, in the test
environment we raise an error. This feature is also only enabled in
production/staging when running on GitLab.com as it's not very useful to
other users.
2018-02-01 17:00:46 +01:00
Oswaldo Ferreira
d2699aea57 Add issue sidebar and toggle_subscription endpoint in board issues data 2017-11-20 12:38:53 -02:00
Toon Claes
d13669716a Create idea of read-only database
In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo
secondary node). But in GitLab CE it also might be useful to have the
"read-only" idea around. So port it back to GitLab CE.

Also having the principle of read-only in GitLab CE would hopefully
lead to less errors introduced, doing write operations when there
aren't allowed for read-only calls.

Closes gitlab-org/gitlab-ce#37534.
2017-10-06 22:37:40 +02:00
micael.bergeron
b376e5c80e fix another N+1 query for label priorities
added a QueryRecorder for IssuesController#index.json
2017-09-12 15:49:01 -04:00
micael.bergeron
449455941e add association preloading for issue boards 2017-09-12 13:57:23 -04:00
Felipe Artur
f9fbae2e27 Finish backports and fix specs 2017-09-06 11:17:06 -03:00
Felipe Artur
aa997e4297 Small fixes 2017-08-31 16:34:57 -03:00
Felipe Artur
8077b728bc Continue BE backport 2017-08-31 14:48:57 -03:00
Felipe Artur
f2a43ff5b7 Group boards CE backport 2017-08-28 18:56:49 -03:00