- 21 6月, 2018 2 次提交
-
-
由 Mike Greiling 提交于
-
由 blackst0ne 提交于
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
-
- 20 6月, 2018 2 次提交
-
-
由 Jacob Vosmaer (GitLab) 提交于
-
由 blackst0ne 提交于
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
-
- 18 6月, 2018 1 次提交
-
-
由 Douwe Maan 提交于
-
- 15 6月, 2018 1 次提交
-
-
由 blackst0ne 提交于
Update the monkey-patch to make it work in Rails 5.
-
- 14 6月, 2018 1 次提交
-
-
由 Jarka Kadlecová 提交于
Use data_source_exists? where possible instead of table_exists? in order to be Rails5 compatible
-
- 13 6月, 2018 1 次提交
-
-
由 blackst0ne 提交于
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) ```
-
- 12 6月, 2018 2 次提交
-
-
由 blackst0ne 提交于
Resolve "[Rails5] `ActionView::MissingTemplate` in spec/features/projects/wiki/user_views_wiki_page_spec.rb"
-
由 Stan Hu 提交于
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
-
- 11 6月, 2018 1 次提交
-
-
由 Lukas Eipert 提交于
-
- 10 6月, 2018 1 次提交
-
-
由 Jan Provaznik 提交于
In Rails 5 IndexDefinition contains also `:comment` attribute.
-
- 08 6月, 2018 2 次提交
-
-
由 Mike Greiling 提交于
-
由 Mike Greiling 提交于
-
- 07 6月, 2018 3 次提交
-
-
由 Annabel Gray 提交于
-
由 Imre Farkas 提交于
Enforce UTF-8 encoding on user input in LogrageWithTimestamp formatter and filter out file content from logs
-
由 Stan Hu 提交于
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
-
- 06 6月, 2018 12 次提交
-
-
由 Shinya Maeda 提交于
-
由 Bob Van Landuyt 提交于
- 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
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
由 Joshua Lambert 提交于
-
由 Nick Thomas 提交于
-
由 Nick Thomas 提交于
-
- 05 6月, 2018 6 次提交
-
-
由 Alexis Reigel 提交于
-
由 Alexis Reigel 提交于
-
由 Alexis Reigel 提交于
`#send_file` won't properly set the favicon's content type otherwise.
-
由 Alexis Reigel 提交于
-
由 Jasper Maes 提交于
-
由 Kamil Trzciński 提交于
-
- 04 6月, 2018 1 次提交
-
-
由 Kamil Trzciński 提交于
-
- 03 6月, 2018 1 次提交
-
-
由 Marc Shaw 提交于
-
- 02 6月, 2018 2 次提交
-
-
由 Stan Hu 提交于
attr_encrypted does different things with `key` depending on what mode you are using: 1. In `:per_attribute_iv_and_salt` mode, it generates a hash with the salt: https://github.com/attr-encrypted/encryptor/blob/c3a62c4a9e74686dd95e0548f9dc2a361fdc95d1/lib/encryptor.rb#L77. There is no need to truncate the key to 32 bytes here. 2. In `:per_attribute_iv` mode, it sets the key directly to the password, so truncation to 32 bytes is necessary. Closes #47166
-
由 Stan Hu 提交于
[ci skip]
-
- 01 6月, 2018 1 次提交
-
-
由 Jacob Vosmaer (GitLab) 提交于
-