Commit graph

13 commits

Author SHA1 Message Date
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
Valery Sizov
b0a9a7cf5e [Multiple issue assignee]: reslving some conflicts 2017-05-04 17:22:24 +03:00
Valery Sizov
387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Alexander Randa
c4be3460c2 Fix API group/issues default state filter 2017-03-28 17:43:55 +03:00
Adam Niedzielski
8ab347b392 Return 404 in project issues API endpoint when project cannot be found
Closes #29631
2017-03-20 18:03:29 +01:00
Rémy Coutable
63360adeae
Add requirements: { id: %r{[^/]+} } for all projects and groups namespaced API routes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16 18:00:24 +01:00
Bob Van Landuyt
92f8277390 Make API v3 work with the new param name 2017-03-13 08:27:52 +01:00
Bob Van Landuyt
40be92e74c Make API v3 compatible with the changes in Issues::CreateService 2017-03-13 08:27:51 +01:00
Robert Schilling
c280acb00b Backport API to V3 2017-02-28 08:32:39 +01:00
Oswaldo Ferreira
2ace39f242 Spam check and reCAPTCHA improvements 2017-02-21 13:32:49 -03:00
mhasbini
7362fd6fdf add a :iids param to IssuableFinder 2017-02-17 20:28:32 +02:00
Robert Schilling
626e79b6f5 Split V3 entities into a separate file 2017-02-07 12:20:00 +01:00
Oswaldo Ferreira
c2d64d6702 Remove deprecated MR and Issue endpoints and preserve V3 namespace 2017-02-06 10:12:20 -02:00