Commit Graph

38 Commits

Author SHA1 Message Date
GitLab Bot c972699d39 Add latest changes from gitlab-org/gitlab@master 2023-06-20 21:09:21 +00:00
GitLab Bot 5e448ff063 Add latest changes from gitlab-org/gitlab@master 2023-06-06 03:07:26 +00:00
GitLab Bot ae1b3d9824 Add latest changes from gitlab-org/gitlab@master 2023-02-10 15:11:01 +00:00
GitLab Bot 8228f6e154 Add latest changes from gitlab-org/gitlab@master 2022-12-07 09:07:12 +00:00
GitLab Bot 983f6954d1 Add latest changes from gitlab-org/gitlab@master 2022-11-02 18:10:05 +00:00
GitLab Bot 42afc4d656 Add latest changes from gitlab-org/gitlab@master 2022-03-03 15:16:42 +00:00
GitLab Bot 520f317866 Add latest changes from gitlab-org/gitlab@master 2020-08-20 15:10:18 +00:00
GitLab Bot 4f5c8572e9 Add latest changes from gitlab-org/gitlab@master 2020-06-16 18:09:01 +00:00
GitLab Bot 4a3ba3e5f2 Add latest changes from gitlab-org/gitlab@master 2020-05-22 09:08:09 +00:00
GitLab Bot 619d0b6922 Add latest changes from gitlab-org/gitlab@master 2020-02-26 18:09:24 +00:00
GitLab Bot 6b9d3a4e83 Add latest changes from gitlab-org/gitlab@master 2020-01-29 18:08:47 +00:00
GitLab Bot e08eba1838 Add latest changes from gitlab-org/gitlab@master 2019-09-28 00:06:20 +00:00
Rémy Coutable aa0d8b4cba Merge branch 'frozen_string_spec_features' into 'master'
Add frozen_string_literal to spec/features

See merge request gitlab-org/gitlab-ce!31131
2019-07-29 08:29:43 +00:00
Thong Kuah 73e848850c Add frozen_string_literal to spec/features
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:23:30 +12:00
Matija Čupić 7cee6139c0
Find build by sha from ref
Adds ability to find builds by sha when only specifying a ref.
2019-07-23 20:55:59 +02:00
Filipa Lacerda 1cb82c4de9 Fixes link in artifacts breadcrumb
The link to the job page was not set properly,
with this commit it links to the correct job page.
2019-03-27 11:14:33 +00:00
Stan Hu 41b51c0656 Encode Content-Disposition filenames
Users downloading non-ASCII attachments would see garbled characters.
When used with object storage, AWS S3 would return an InvalidArgument
error: Header value cannot be represented using ISO-8859-1.

Per RFC 5987 and RFC 6266, Content-Disposition should be encoded
properly. This commit takes the Rails 6 implementation of
ActiveSuppport::Http::ContentDisposition
(https://github.com/rails/rails/pull/33829) and ports it here.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/47673
2019-02-04 23:12:44 -08:00
Vladimir Shushlin d6b4b33c0d Show CI artifacts size with 3 significant digits 2019-01-17 14:25:14 +00:00
Filipa Lacerda 32ccde8ccd Use Vue component for job artifacts, Commit and Trigger Variables 2018-09-25 08:07:47 +00:00
Winnie Hellmann 3db2f32759 Enable Capybara/FeatureMethods cop 2018-07-05 06:32:05 +00:00
blackst0ne d550211eb1 Replace the `project/builds/artifacts.feature` spinach test with an rspec analog 2018-05-07 23:39:37 +00:00
Mike Greiling 20f1b823d1
remove unnecessary use of url_blacklist override 2017-10-26 18:15:09 +02:00
Mike Greiling 1ad8a42eff
remove unnecessary :js option in download_spec 2017-10-23 17:37:58 +03:00
Zeger-Jan van de Weg e4d07f12b6
Test against public projects 2017-10-05 12:41:22 +02:00
Eric Eastwood 8640b294fa Add extra assertions about how the link will open 2017-10-04 11:32:56 -05:00
Zeger-Jan van de Weg 6a40c21675
Update tests for new implementation 2017-10-03 13:25:41 +02:00
Eric Eastwood bca86c858b Add test for external HTML artifact 2017-10-03 00:33:13 -05:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Robert Speicher 1a0064dceb Use `empty_project` where possible in spec/features/projects 2017-07-27 13:12:16 -04:00
Keifer Furzland 7e113b6824 Remove superfluous type defs in specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:52 +02:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Rémy Coutable 448fc23e47
Let PhantomJS load local images
This change fix a memory leak due to a Webkit bug:
https://github.com/ariya/phantomjs/issues/12903

Also:

- Whitelist only localhost and 127.0.0.1 in Capybara + JS specs
- Blacklist all requests to media such as images, videos, PDFs, CSVs etc.
- Log all the requests made.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-12 19:00:03 +02:00
Lin Jen-Shin c94db0c290 Use - as the prefix so we don't conflict with namespaces
The decision was made around:
https://gitlab.com/gitlab-org/gitlab-ce/issues/26407#note_30624641
2017-05-26 23:06:20 +08:00
Lin Jen-Shin 70eb0c6a88 Merge remote-tracking branch 'upstream/master' into rename-builds-controller
* upstream/master: (307 commits)
  Address feedback
  Add small update for the i18n guide.
  update webpack to v2.6.1 patch release to fix "Can't find variable: Promise" error
  update webpack-bundle-analyzer past v2.4.1 to support NamedChunksPlugin
  name all webpack chunks to improve long term cacheability
  add NameAllModulesPlugin to cover shortcomings of NamedModulesPlugin
  upgrade to latest webpack version
  Only use DROP INDEX CONCURRENTLY on postgreql 9.2+
  Provide default for calculating label text color (!11681)
  Add failing test for #32728
  Bugfix: Always use the default language when generating emails.
  Remove unecessary commit pattern check
  Add regexp_for_value helper method
  Remove shared example and improve sub_group_issuables_spec.rb
  Remove 'should' from scenario in has_subgroup_title_spec.rb
  Cartfile git and binary methods cannot take a GitHub repo
  Fix terminals support for Kubernetes service
  Add review comments to compare_spec.rb
  Fix transient error clicking dropdown items in compare_spec.rb
  Use non-global jQuery reference within raven bundle
  ...
2017-05-26 18:25:32 +08:00
Oswaldo Ferreira 2338785ec9 Use wait_for_requests to wait all JS request 2017-05-22 20:39:49 -03:00
Lin Jen-Shin fb3077e67b Complete all legacy builds URL. Tests are added 2017-05-19 00:57:37 +08:00
Lin Jen-Shin 71777a4a18 Rename BuildsController to JobsController
Rename other URL generators

admin_builds_path -> admin_jobs_path

Fix tests and more renaming

Fix more tests

Also change build_id to job_id in the controller
2017-05-17 20:17:30 +08:00
Douwe Maan 0f58eb6bde Add artifact file page that uses the blob viewer 2017-05-04 08:50:12 -05:00