Age | Commit message (Collapse) | Author |
|
|
|
Resolve "Undefined omniauth_authorize_path when omniauth_enabled not enabled"
Closes #48677
See merge request gitlab-org/gitlab-ce!20302
|
|
|
|
Resolve "Add Metrics to Operations Tab"
Closes #45739
See merge request gitlab-org/gitlab-ce!20025
|
|
Resolve "Change new cluster page design to use tabs"
Closes #43446 and #46304
See merge request gitlab-org/gitlab-ce!18963
|
|
Add workhorse authorize method for project/group uploads
Closes #44663
See merge request gitlab-org/gitlab-ce!19717
|
|
Bump Carrierwave gem to 1.2.3 (which contains the monkey patch for memory consumption)
Closes #46182
See merge request gitlab-org/gitlab-ce!20287
|
|
This adds Keyset pagination to GraphQL lists. PoC for that is
pipelines on merge requests and projects.
When paginating a list, the base-64 encoded id of the ordering
field (in most cases the primary key) can be passed in the `before` or
`after` GraphQL argument.
|
|
|
|
Prune web hook logs older than one month
Closes #46120
See merge request gitlab-org/gitlab-ce!20183
|
|
This adds a recurring Sidekiq job that removes up to 50 000 old web hook
logs per hour, if they are older than 90 days. This will prevent the
web_hook_logs table from growing indefinitely.
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/46120
|
|
it also means we're using omniauth, so we need to set it up.
|
|
This is stale and no longer used. Object storage is now configured
in each specific gitlab.yml section (e.g. uploads, lfs, etc.).
Part of gitlab-org/omnibus-gitlab#3641
|
|
|
|
|
|
|
|
Don't hash user ID in OIDC subject claim
Closes #47791
See merge request gitlab-org/gitlab-ce!19784
|
|
|
|
|
|
|
|
The RepositoryCheck::DispatchWorker will start a
RepositoryCheck::BatchWorker for each healthy shard.
Closes gitlab-org/gitlab-ce#48042
|
|
|
|
|
|
|
|
Don't try to load omniauth if not enabled
Closes gitlab-ee#6591
See merge request gitlab-org/gitlab-ce!20132
|
|
[Rails5] Fix MysqlDateTimeWithTimeZone in rails 5
Closes #46275
See merge request gitlab-org/gitlab-ce!19613
|
|
|
|
|
|
Enable webpack nodeEnv optimization
See merge request gitlab-org/gitlab-ce!20075
|
|
* `MysqlDateTimeWithTimeZone` inherits from `ActiveRecord::Type::DateTime`
(`MysqlDateTime` is not present in Rails 5)
* explicitly set `NULL` default value for `merge_request_diff_files`'s
`diff` column (otherwise empty string is used in a migration) and
empty string is not allowed for text/blob fields in Mysql
* disable NO_ZERO_DATE mode for all Mysql DB connections, otherwise
SQL queries fail on inserting `0` value for `created_at` column
|
|
|
|
|
|
|
|
|
|
The original MR [1] fixed red specs for Rails 5.
But while the failed specs were fixed, that changes brought new failed
specs which weren't caught up in [1].
This commit just fixes the fix. :)
New errors are like these:
```
Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: keep-alive, HTTP_UPGRADE: )
Finished "/-/boards/1/lists"[non-WebSocket] for 127.0.0.1 at 2018-06-20 18:09:26 +0200
```
[1]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20015
|
|
'blackst0ne-rails5-found-new-routes-that-could-cause-conflicts-with-existing-namespaced-routes' into 'master'
Resolve "[Rails5] Found new routes that could cause conflicts with existing namespaced routes"
Closes #48010
See merge request gitlab-org/gitlab-ce!20015
|
|
|
|
Since Rails 5.0 the new framework has been added. It's called ActionCable.
It brings WebSockets support to rails applications.
By default the mountpoint of WebSocket requests is `/cable` [1].
GitLab allows using top level names as namespaces or usernames.
For example, `gitlab.com/cable` at this moment leads to a user with the
nickname `cable`.
This commit changes ActionCable's mountpoint to a reserved top level
word `-`.
This is just a stub and should not be be used in real work.
Please set correct mountpoints for each environments when configuring
ActionCable for real using.
[1]: https://github.com/rails/rails/blob/5-0-stable/actioncable/lib/action_cable.rb#L38
|
|
|
|
|
|
|
|
This method can be used by workhorse to get presigned
URLs used for direct upload of files.
|
|
Update the monkey-patch to make it work in Rails 5.
|
|
Fix table_exists? to be Rails5 compatible
Closes #45107
See merge request gitlab-org/gitlab-ce!19418
|
|
Use data_source_exists? where possible instead of table_exists? in order to be Rails5 compatible
|
|
It fixes Rails 5.0 deprecation flooding like:
```
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"::Gitlab::Middleware::ReadOnly" => Gitlab::Middleware::ReadOnly
(called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"ActionDispatch::Static" => ActionDispatch::Static
(called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"Gitlab::Testing::RequestBlockerMiddleware" => Gitlab::Testing::RequestBlockerMiddleware
(called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"ActionDispatch::Static" => ActionDispatch::Static
(called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"Gitlab::Testing::RequestInspectorMiddleware" => Gitlab::Testing::RequestInspectorMiddleware
(called from <top (required)> at /builds/gitlab-org/gitlab-ce/config/environment.rb:11)
```
|
|
Clean up stale Prometheus metrics in before_exec unicorn hook
See merge request gitlab-org/gitlab-ce!19683
|
|
spec/features/projects/wiki/user_views_wiki_page_spec.rb"
|
|
Issuing a SIGUSR2 to a unicorn involves a dance where new workers are
spun up before the old ones are shut down. To ensure Prometheus
.db files aren't deleted after the new workers are shut down, we
need to clean these files up before the unicorn process is run.
Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/2582
|
|
Set `max_old_space_size` option of node to 3.5GB during compile:assets
See merge request gitlab-org/gitlab-ce!19624
|