- 17 Sep, 2018 1 commit
-
-
Marcel Amirault authored
-
- 14 Sep, 2018 1 commit
-
-
Lukas Eipert authored
-
- 13 Sep, 2018 1 commit
-
-
Nick Thomas authored
-
- 12 Sep, 2018 2 commits
-
-
Jan Provaznik authored
-
Jan Provaznik authored
The reason for removing this gem is that it's not being maintained anymore. It uses `alias_method_chain` which is deprecated in rails 5 (and removed in 5.1), the issue is pending upstream (including a fix) - https://github.com/suranyami/peek-sidekiq/issues/3 for a while. Peek-sidekiq is used in performance bar for displaying sidekiq statistics.
-
- 11 Sep, 2018 4 commits
-
-
Stan Hu authored
Rails does a partial match for strings in the filter_parameters configuration, so the parameter "key" causes "key_id" to be filtered even though it's a useful parameter for debugging internal API issues. We now revise this filter to make any parameter ending with "key" is filtered. Relates to https://gitlab.com/gitlab-com/gl-infra/production/issues/463
-
Winnie Hellmann authored
-
Jan Provaznik authored
Fixes rails 5 deprecation warnings in `config/` files
-
Lin Jen-Shin authored
-
- 07 Sep, 2018 2 commits
-
-
Stan Hu authored
When a container registry has many tags, it's easy for the DELETE call to take more than 60 seconds and fail. This can also leave the registry in a bad state with null bytes since some of the images have been deleted with tags still pointing to them. In addition, we have to prevent users from accidentally initiating the delete multiple times or this could leave the registry with orphaned tags. This commit also adds a flash message to notify the user the registry is scheduled for deletion. Closes #49926, #51063
-
Dennis Tang authored
-
- 06 Sep, 2018 5 commits
-
-
Mayra Cabrera authored
-
Samuele Kaplun authored
* (Suf)fix #51085 :-) Signed-off-by:
Samuele Kaplun <kaplun@protonmail.com>
-
Kamil Trzciński authored
-
Kamil Trzciński authored
-
Stan Hu authored
There were several issues: 1. With Google Cloud Storage, we can't override the Content-Type with Response-Content-Type once it is set. Setting the value to `application/octet-stream` doesn't buy us anything. GCS defaults to `application/octet-stream`, and AWS uses `binary/octet-stream`. Just remove this `Content-Type` when we upload new files. 2. CarrierWave and fog-google need to support query parameters: https://github.com/fog/fog-google/pull/409/files, https://github.com/carrierwaveuploader/carrierwave/pull/2332/files. CarrierWave has been monkey-patched until an official release. 3. Workhorse also needs to remove the Content-Type header in the request (https://gitlab.com/gitlab-org/gitlab-workhorse/blob/ef80978ff89e628c8eeb66556720e30587d3deb6/internal/objectstore/object.go#L66), or we'll get a 403 error when uploading due to signed URLs not matching the headers. Upgrading to Workhorse 6.1.0 for https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/297 will make Workhorse use the headers that are used by Rails. Closes #49957
-
- 05 Sep, 2018 2 commits
-
-
Stan Hu authored
This will help production gain more visibility which browsers may be having issues.
-
Balasankar "Balu" C authored
-
- 04 Sep, 2018 2 commits
-
-
Olivier Gonzalez authored
-
Kamil Trzciński authored
This MR backports PrometheusMetric model to CE and adds: common, identifier to figure out what kind of metric is used.
-
- 03 Sep, 2018 2 commits
-
-
Jasper Maes authored
-
Winnie Hellmann authored
-
- 31 Aug, 2018 2 commits
-
-
Stan Hu authored
GitLab already has its own session store, so this extra Sidekiq session is unnecessary. In addition, the GitLab session store properly sets the Secure flag, unlike the default Rack session. CSRF protection in the Sidekiq /admin page continues to work with the existing GitLab session. See https://github.com/mperham/sidekiq/pull/3183 for more details. Part of #49120
-
Stan Hu authored
Users who have their system clocks configured inconsistently due to Daylight Savings may see a GitLab session cookie that immediately expires, resulting in a 422 error. To avoid these errors, we can bump the unauthenticated session time from 1 hour to 2 hours so they have time to login and get the default 7-day session. Closes #50393
-
- 30 Aug, 2018 1 commit
-
-
Winnie Hellmann authored
-
- 29 Aug, 2018 1 commit
-
-
Jasper Maes authored
-
- 28 Aug, 2018 1 commit
-
-
Francisco Javier López authored
-
- 24 Aug, 2018 1 commit
-
-
Francisco Javier López authored
-
- 21 Aug, 2018 2 commits
-
-
Stan Hu authored
This is needed to support query parameters in `Fog::Storage::Google`. See https://github.com/fog/fog-google/pull/409. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/49957
-
Mario de la Ossa authored
-
- 16 Aug, 2018 3 commits
-
-
🌴🇿🇦 Lukas Eipert (OOO until Summit) authored
-
Shinya Maeda authored
-
Jasper Maes authored
-
- 07 Aug, 2018 2 commits
-
-
Kamil Trzciński authored
This backports the https://github.com/rails/rails/pull/26815 and enables that for non-Rails5 and non-production environments.
-
Phil Hughes authored
This enables JavaScripts projects to have live previews straight in the browser without requiring any local configuration. This uses the CodeSandbox package `sandpack` to compile it all inside of an iframe. This feature is off by default and can be toggled on in the admin settings. Only projects with a `package.json` and a `main` key are supported. Updates happen in real-time with hot-reloading. We just watch for changes to files and then send them to `sandpack` to allow it to reload the iframe. The iframe includes a very simple navigation bar, the text bar is `readonly` to stop users navigating away from the preview and the back and forward buttons just pop/splice the navigation stack which is tracked by a listener on `sandpack` There is a button inside the iframe which allows the user to open the projects inside of CodeSandbox. This button is only visible on **public** projects. On private or internal projects this button get hidden to protect private code being leaked into an external public URL. Closes #47268
-
- 06 Aug, 2018 1 commit
-
-
Felipe Artur authored
-
- 03 Aug, 2018 4 commits
-
-
Filipa Lacerda authored
Use object.assign for default option
-
Filipa Lacerda authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-