- 16 11月, 2018 1 次提交
-
-
由 Stan Hu 提交于
This significantly improves performance and reduces memory consumption when parsing XML files. On a test with 124 JUnit files from a CE build, there was about a 4x reduction in processing time. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54068
-
- 14 11月, 2018 1 次提交
-
-
由 Jan Provaznik 提交于
* updates Gemfile * uses Rails 5 unless explicitly disabled
-
- 01 11月, 2018 1 次提交
-
-
由 Lukas Eipert 提交于
-
- 21 9月, 2018 1 次提交
-
-
由 Marcel Amirault 提交于
-
- 19 9月, 2018 1 次提交
-
-
由 Filipa Lacerda 提交于
Manually includes the xterm custom colors on the 3 files that will need it: job log page, job terminal page, environment terminal page Reduces main CSS bundle
-
- 12 9月, 2018 2 次提交
-
-
由 Stan Hu 提交于
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
-
由 Jan Provaznik 提交于
Fixes rails 5 deprecation warnings in `config/` files
-
- 03 8月, 2018 2 次提交
-
-
由 Filipa Lacerda 提交于
Use object.assign for default option
-
由 Filipa Lacerda 提交于
-
- 29 7月, 2018 2 次提交
-
-
由 Stan Hu 提交于
-
由 Stan Hu 提交于
The previous implementation would hit the database each time and provide a dummy response. If the database goes down, this means all application workers would be taken out of service. Simplify this check by using a Rails middleware that intercepts this endpoint and returns a 200 response.
-
- 26 7月, 2018 2 次提交
-
-
由 Tim Zallmann 提交于
-
由 Bob Van Landuyt 提交于
This is mainly the setup of mutations for GraphQL. Including authorization and basic return type-structure.
-
- 25 7月, 2018 1 次提交
-
-
由 Lin Jen-Shin 提交于
-
- 09 7月, 2018 1 次提交
-
-
由 Lin Jen-Shin 提交于
-
- 04 7月, 2018 1 次提交
-
-
由 Bob Van Landuyt 提交于
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.
-
- 22 6月, 2018 1 次提交
-
-
由 Jan Provaznik 提交于
* `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
-
- 21 6月, 2018 1 次提交
-
-
由 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 1 次提交
-
-
由 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
-
- 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) ```
-
- 07 6月, 2018 1 次提交
-
-
由 Imre Farkas 提交于
Enforce UTF-8 encoding on user input in LogrageWithTimestamp formatter and filter out file content from logs
-
- 01 6月, 2018 1 次提交
-
-
由 Paul Slaughter 提交于
-
- 03 5月, 2018 1 次提交
-
-
由 Tim Zallmann 提交于
-
- 22 3月, 2018 1 次提交
-
-
由 Lin Jen-Shin 提交于
Same strategy with: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17810 See: https://stackoverflow.com/a/29710188/1992201 Frankly I don't really understand how this works and I don't really care either. However I tried it and it does the job. To try this, make sure you have pending migrations, and run the server, hit the site. It would tell you that there's pending migrations, and then run migrations, and then hit the site again. Without this patch, Rails would complain that "A copy of ...", with this patch, it works without problems.
-
- 20 3月, 2018 1 次提交
-
-
由 Matija Čupić 提交于
This reverts commit ddeefbdd.
-
- 17 3月, 2018 1 次提交
-
-
由 Matija Čupić 提交于
-
- 14 3月, 2018 1 次提交
-
-
由 Stan Hu 提交于
This reverts merge request !17159
-
- 10 3月, 2018 1 次提交
-
-
由 Mike Greiling 提交于
-
- 09 3月, 2018 1 次提交
-
-
由 blackst0ne 提交于
-
- 06 3月, 2018 1 次提交
-
-
由 Francisco Javier López 提交于
-
- 28 2月, 2018 1 次提交
-
-
由 haseeb 提交于
-
- 26 2月, 2018 2 次提交
-
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
由 Dmitriy Zaporozhets 提交于
Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 16 2月, 2018 1 次提交
-
-
由 Stan Hu 提交于
Right now Project::VariablesController users the `value` parameter to send the secret variable value. `value` is a pretty generic term and could be used in other controllers, but for now it's better to err on the side of caution and filter this out. Closes #43313
-
- 10 2月, 2018 1 次提交
-
-
由 Brett Walker 提交于
This fixes an issue where the Rails autoload system would throw various `Unable to autoload constant` errors (such as `Unable to autoload constant EE::ProjectsHelper`) when using the autoload system (such with `spring` or `reload!` in the rails console. This error was specifically ocurring in the EE code, however, it's seems reasonable to place the fix in CE as a general innoculation.
-
- 26 1月, 2018 1 次提交
-
-
由 Lin Jen-Shin 提交于
-
- 25 1月, 2018 1 次提交
-
-
由 Rémy Coutable 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 12 1月, 2018 2 次提交
-
-
由 🙈 jacopo beschi 🙉 提交于
-
由 Stan Hu 提交于
-
- 22 12月, 2017 1 次提交
-
-
由 Jose Ivan Vargas 提交于
-