| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|/ |
|
| |
|
|
|
|
| |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| | |
spec/features/projects/wiki/user_views_wiki_page_spec.rb"
|
|\ \
| | |
| | |
| | |
| | | |
Set `max_old_space_size` option of node to 3.5GB during compile:assets
See merge request gitlab-org/gitlab-ce!19624
|
| | | |
|
|/ /
| |
| |
| | |
In Rails 5 IndexDefinition contains also `:comment` attribute.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'5974-geo-unauthenticated-rate-limits-should-not-block-geo-requests' into 'master'
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5876/
Closes #5974
See merge request gitlab-org/gitlab-ce!19189
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'master'
Resolve "Upgrade Monaco editor and remove CopyWebpackPlugin"
Closes #44331
See merge request gitlab-org/gitlab-ce!17813
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Update NGINX error rate to a percentage
See merge request gitlab-org/gitlab-ce!19471
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Customizable favicon
Closes #15661
See merge request gitlab-org/gitlab-ce!14497
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
`#send_file` won't properly set the favicon's content type otherwise.
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Stop logging email information when emails are disabled
Closes #44790
See merge request gitlab-org/gitlab-ce!18521
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Enforce UTF-8 encoding on user input in LogrageWithTimestamp formatter
Closes #45505
See merge request gitlab-org/gitlab-ce!19244
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
filter out file content from logs
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Log response body to production_json.log when a controller responds with a 422 status
See merge request gitlab-org/gitlab-ce!19473
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
422 status
We have a number of import errors occurring with 422 errors, and
it's hard to determine why they are happening. This change will
surface the errors in the log lines.
Relates to #47365
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Live trace: Rescue stale live trace
See merge request gitlab-org/gitlab-ce!18680
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
RescueStaleLiveTraceWorker.
|
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- All definitions have been replaced by classes:
http://graphql-ruby.org/schema/class_based_api.html
- Authorization & Presentation have been refactored to work in the
class based system
- Loaders have been replaced by resolvers
- Times are now coersed as ISO 8601
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Support rails5 in postgres indexes function and fix some migrations
Closes #46236
See merge request gitlab-org/gitlab-ce!19400
|
| | | | |
|
| | | | |
|
|/ / / |
|