Commit graph

16 commits

Author SHA1 Message Date
Robert Speicher
bc10afb600 Merge branch 'dm-go-get-xss' into 'security-9-3'
Fix XSS issue in go-get handling

See merge request !2128
2017-09-07 20:22:16 -04:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Robert Speicher
9513bd18c4 Ensure all project factories use :repository trait or :empty_project 2017-08-01 14:51:52 -04:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Robert Speicher
a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
Douwe Maan
359f04e8a1 Fix go-get support for projects in nested groups 2017-03-07 19:40:19 -06:00
Jacob Vosmaer
4ec259fd36 Inject ::UploadedFile from Multipart middleware
I mistakenly concluded Rack::Multipart injects File instances into the
params. These should be UploadedFile instances. This reuses a mock
UploadedFile class we already had in GitLab.
2016-12-21 13:07:53 +01:00
Sean McGivern
8feba01708 Fix specs in Ruby 2.1
Ruby 2.1 requires a basename argument to `Tempfile.open`, so just call
it something that makes sense in context for the spec.
2016-12-16 11:29:16 +00:00
Jacob Vosmaer
6731ab5d76 Add Gitlab::Middleware::Multipart 2016-12-15 12:26:36 +01:00
Lin Jen-Shin
9c4e0d6445 Use Gitlab.config.gitlab.host over 'localhost'
This would fix long standing failures running tests on
my development machine, which set `Gitlab.config.gitlab.host`
to another host because it's not my local computer. Now I
finally cannot withstand it and decided to fix them once and
for all.
2016-11-18 20:17:10 +08:00
Jacob Vosmaer
2bd0ed4a5c Fix typo in gitlab-workhorse header 2016-08-19 12:25:52 +02:00
Jacob Vosmaer
5771114f9b Rename metric to 'rails queue duration' 2016-05-26 17:53:21 +02:00
Jacob Vosmaer
6ec2730fb3 Test ProxyFlightTime middleware 2016-05-25 16:37:18 +02:00
Stan Hu
74d7de8196 Revert "Revert "Merge branch 'support-go-subpackages' into 'master' ""
This reverts commit 5a586f364c
2016-03-12 21:05:23 +00:00
Douwe Maan
5a586f364c Revert "Merge branch 'support-go-subpackages' into 'master' "
This reverts merge request !3191
2016-03-12 17:42:51 +00:00
Stan Hu
b23a05d09b Add spec for go-import middleware 2016-03-12 08:10:38 -08:00