Commit Graph

15 Commits

Author SHA1 Message Date
GitLab Bot 982c486da4 Add latest changes from gitlab-org/gitlab@master 2022-05-03 06:11:51 +00:00
GitLab Bot d67ccb290a Add latest changes from gitlab-org/gitlab@master 2021-11-02 12:12:25 +00:00
GitLab Bot fe890c45c2 Add latest changes from gitlab-org/gitlab@master 2020-09-16 00:09:37 +00:00
GitLab Bot 5f0e3773e9 Add latest changes from gitlab-org/gitlab@master 2020-05-06 21:10:00 +00:00
GitLab Bot 66d4203791 Add latest changes from gitlab-org/gitlab@master 2020-02-26 09:08:47 +00:00
gfyoung f93f8f569d Enable even more frozen string for lib/gitlab
Enables frozen string for the following:

* lib/gitlab/patch/**/*.rb
* lib/gitlab/popen/**/*.rb
* lib/gitlab/profiler/**/*.rb
* lib/gitlab/project_authorizations/**/*.rb
* lib/gitlab/prometheus/**/*.rb
* lib/gitlab/query_limiting/**/*.rb
* lib/gitlab/quick_actions/**/*.rb
* lib/gitlab/redis/**/*.rb
* lib/gitlab/request_profiler/**/*.rb
* lib/gitlab/search/**/*.rb
* lib/gitlab/sherlock/**/*.rb
* lib/gitlab/sidekiq_middleware/**/*.rb
* lib/gitlab/slash_commands/**/*.rb
* lib/gitlab/sql/**/*.rb
* lib/gitlab/template/**/*.rb
* lib/gitlab/testing/**/*.rb
* lib/gitlab/utils/**/*.rb
* lib/gitlab/webpack/**/*.rb

Partially addresses gitlab-org/gitlab-ce#47424.
2018-11-19 18:24:22 -08:00
Filipa Lacerda 32ccde8ccd Use Vue component for job artifacts, Commit and Trigger Variables 2018-09-25 08:07:47 +00:00
🙈 jacopo beschi 🙉 729f05f0e3 Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
Mike Greiling 787ef979ad
fix bracket styling 2017-11-02 10:20:11 -05:00
Mike Greiling 5445f839e8
allow inspect_request to inject request headers in order to test Sendfile requests in jobs_spec.rb 2017-10-30 15:14:25 -05:00
Mike Greiling f44665c893
slow down requests for dropzone uploads to avoid race conditions 2017-10-24 16:25:04 +03:00
Mike Greiling 6d0045d267
fix rubocop violations 2017-10-24 10:47:03 +03:00
Mike Greiling a92693df77
add InspectRequests helper 2017-10-23 17:00:42 +03:00
Mike Greiling b612bcfc64
implement basic request inspector for use in Capybara tests 2017-10-23 17:00:41 +03:00
Rémy Coutable 645a55f19b Introduce a new middleware for the test environment that can block requests
The idea is that after each feature spec example, we block all incoming
requests at the Rack level, go to the 'about:blank' page, and wait until
the current requests reach 0.

This should solve the problem where a request would end after database
cleaner performed the database truncation. The problem was that a GET
request can still lead to records creation (e.g. namespaces or routes).

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-22 19:45:21 +01:00