Commit graph

19 commits

Author SHA1 Message Date
dineshpanda
20111b045d Avoid calling freeze on already frozen strings in app/models 2019-09-01 01:27:00 +05:30
gfyoung
32af384adf Enable frozen string in rest of app/models/**/*.rb
Partially addresses #47424.
2018-08-10 00:51:01 -07:00
Francisco Javier López
840f80d48b Add validation to webhook and service URLs to ensure they are not blocked because of SSRF 2018-06-01 11:43:53 +00:00
Douwe Maan
95ced3bb5f Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6'
Server Side Request Forgery in Services and Web Hooks

See merge request gitlab/gitlabhq!2337
2018-03-21 14:39:21 +00:00
Jarka Kadlecova
33d82ccb45 simplify test&save actions when setting a service integration 2017-06-01 07:47:15 +02:00
Douwe Maan
b7d8df503c Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
Tiago Botelho
4b6e583ce0 adds test suite 2017-01-22 00:02:29 +00:00
Tiago Botelho
cd51af1a99 adds events to services api deserialization 2017-01-22 00:02:29 +00:00
Robert Speicher
e75b1f1105 Merge branch '24185-legacy-ci-status-reactive-cache' into 'security'
Use ReactiveCaching to update external CI status asynchronously

See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2055
2017-01-12 17:39:46 -05:00
Robert Schilling
593c912151 Grapify the service API 2016-12-09 17:20:12 +01:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382
2016-05-09 18:00:28 +02:00
Zeger-Jan van de Weg
47da013cf8 Annotate the models 2016-05-06 08:27:46 +02:00
Rémy Coutable
ef340f6e77 Ensure URL in all Service subclasses are valid
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-25 15:28:24 -04:00
Stan Hu
79c0e7212a Annotate models 2016-01-06 13:09:55 +00:00
Valery Sizov
162cd0099c fix deprecation messages in tests 2015-12-03 10:33:43 +02:00
Valery Sizov
600d6eeff3 Fix CI status in the MR page 2015-09-18 18:02:29 +03:00
Valery Sizov
bafffb2d14 Enable SSL verification for Webhooks 2015-08-26 15:48:31 +03:00
Robert Speicher
307962a046 Rename last uses of Buildbox to Buildkite 2015-04-11 14:05:22 -04:00
Robert Speicher
93b1767799 Move buildbox_service files to buildkite_service 2015-04-11 14:05:22 -04:00
Renamed from app/models/project_services/buildbox_service.rb (Browse further)