Commit graph

23 commits

Author SHA1 Message Date
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Lin Jen-Shin
4ee08b77bc Updates from rubocop -a 2018-07-09 21:13:08 +08: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
James Lopez
f15466bd5b refactor code based on feedback 2017-05-05 18:18:39 +02:00
James Lopez
6ecf16b8f7 refactor code based on feedback 2017-05-05 18:01:33 +02:00
James Lopez
cf002738e7 refactor a few things based on feedback 2017-05-04 18:11:28 +02:00
James Lopez
264bf22927 add propagate service worker and updated spec and controller 2017-05-03 17:20:12 +02:00
Lin Jen-Shin
f5c9a40989 Simplify the code 2016-09-01 02:15:43 +08:00
Felipe Artur
323d796a0e Refactor service settings view 2016-07-20 12:11:37 -03:00
Felipe Artur
ede048b930 Add project service documentation and update integration documentation 2016-07-19 20:59:00 -03:00
Felipe Artur
8bd520d70e Allow slack service to send messages on different channels 2016-07-19 20:57:59 -03:00
Alex Lossent
98e666ab6a Improve invalidation of stored service password if the endpoint URL is changed
Password can now be specified at the same time as the new URL, and the service
template admin pages now work.
2015-10-15 12:07:59 +02:00
Valery Sizov
b83a18a55c Revert "Improve invalidation of stored service password if the endpoint URL is changed"
This reverts commit b463975480.
2015-10-14 19:21:27 +03:00
Alex Lossent
b463975480 Improve invalidation of stored service password if the endpoint URL is changed
It now allows to specify a password at the same time as the new URL, and works
on the service template admin pages.
2015-10-14 15:27:59 +02:00
Stan Hu
2f04599751 Fix bug where Slack service channel was not saved in admin template settings.
Consolidate allowed parameters in one place to avoid these kinds of bugs in the future.

Closes https://github.com/gitlabhq/gitlabhq/issues/9181
2015-04-24 08:33:24 -07:00
Jeroen van Baarsen
5a4ebfb47a Fixed the Rails/ActionFilter cop
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Stan Hu
a3daead1b0 Include missing events and fix save functionality in admin service template settings form
Closes #1275
2015-03-23 05:51:38 -07:00
Douwe Maan
85af3e82bf Add option to disable code diffs to EmailOnPush.
See #1950
2015-02-25 14:29:49 +01:00
Douwe Maan
e0c186c357 Add option to send EmailsOnPush from committer email if domain matches.
See #1809.
2015-02-25 14:20:35 +01:00
Marin Jankovski
e8271226b1 Use the service_name. 2015-02-12 10:57:08 -08:00
Marin Jankovski
9f33898f7a All services can have templates. 2015-02-12 09:19:55 -08:00
Marin Jankovski
6b4ddf2cc1 Add admin services templates. 2015-02-11 17:55:33 -08:00