An error occurred fetching the project authors.
- 24 Jul, 2020 2 commits
-
-
Pirate Praveen authored
-
Pirate Praveen authored
-
- 22 Jul, 2020 1 commit
-
-
Stan Hu authored
This brings in the changes to override `MmapedDict#inspect` to avoid the string explosion seen in https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/10886.
-
- 21 Jul, 2020 1 commit
-
-
Pirate Praveen authored
-
- 20 Jul, 2020 1 commit
-
-
Pirate Praveen authored
-
- 18 Jul, 2020 1 commit
-
-
Pirate Praveen authored
-
- 16 Jul, 2020 3 commits
-
-
Markus Koller authored
-
Marc Shaw authored
-
Stan Hu authored
We don't need these for tests, and excluding better_errors and binding_of_caller from the list might get rid of the mysterious seg faults. rblineprof is used by `spec/lib/gitlab/sherlock/line_profiler_spec.rb`, so we need to keep it for testing. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/11951
-
- 15 Jul, 2020 2 commits
-
-
Nick Thomas authored
-
Stan Hu authored
Grape v1.4.0 fixes a memory leak that was present in v1.3.3 (https://github.com/ruby-grape/grape/pull/2084). Full list of changes: * https://github.com/ruby-grape/grape/blob/master/CHANGELOG.md * https://github.com/ruby-grape/grape/compare/v1.3.3..v1.4.0
-
- 13 Jul, 2020 1 commit
-
-
Doug Stull authored
- for new cop to be enabled later
-
- 10 Jul, 2020 1 commit
-
-
Robert May authored
This adds Oj support to Gitlab::Json, alongside a refactor, greater error handling, and test coverage.
-
- 09 Jul, 2020 3 commits
-
-
Robert May authored
This reverts merge request !35527
-
Robert May authored
This can be updated later to swap to Oj, but for now we need to explicitly swap it away from the :oj option it will pick up automatically.
-
Robert May authored
Adds the `oj` gem for faster JSON handling in the `Gitlab::Json` class. This is the first area in which this is being introduced, before we look at enabling support elsewhere.
-
- 08 Jul, 2020 2 commits
-
-
Kamil Trzciński authored
We need to require `rack/timeout/base` according to documentation to not preload Rack::Timeout. This allows us to configure Rack::Timeout on our own.
-
Kamil Trzciński authored
This moves `rack-timeout` to be required gems, as there's code requiring usage of `Rack::Timeout`
-
- 07 Jul, 2020 1 commit
-
-
Sean McGivern authored
This reverts merge request !36071
-
- 06 Jul, 2020 1 commit
-
-
Kamil Trzciński authored
This moves `rack-timeout` to be required gems, as there's code requiring usage of `Rack::Timeout`
-
- 02 Jul, 2020 1 commit
-
-
Pirate Praveen authored
-
- 29 Jun, 2020 1 commit
-
-
Stan Hu authored
This brings back many of the changes in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27276. This was reverted due to some failures in the QA tests with nil parameters. Grape v1.3.3 brings in Ruby 2.7 support and a number of fixes: https://github.com/ruby-grape/grape/blob/master/CHANGELOG.md 1. Move all inherited `Grape::API` -> `Grape::API::Instance` 2. Remove use of Virtus since this has been removed from Grape. 3. Extract `Rack::Response` from API error 4. Grape v1.2.3 pulled in a fix used in `SafeFile`: https://github.com/ruby-grape/grape/pull/1844, so we no longer need to maintain our custom type. 5. Adapt `WorkhorseFile` with the latest changes to make custom types work with Grape and dry-types. 6. Ensure `Array[String]` is coerced properly. The change from Virtus to dry-types now requires all strings to be coerced to arrays. Before this was done within Virtus. 7. Coerce `Array[Integer]` types to arrays of integers 8. Use a new helper, `coerce_nil_params_to_array!`, that coerces nil Array inputs to empty arrays to preserve previous behavior. If you have a parameter of type `Array[String]`, for example, Grape used to coerce a provided `nil` value to `[]`. Grape no longer does this for us, so we need a helper method that will automatically do this if the parameter is present. This merge request also introduces two Rubocop rules for Grape v1.3: 1. `Grape::API::Instance` instead of `Grape::API` is required, unless we solve https://gitlab.com/gitlab-org/gitlab/-/issues/215230. 2. Grape parameters defined with `Array` types (e.g. `Array[String]`, `Array[Integer]`) must have a `coerce_with` block or they will fail to parse properly. See https://github.com/ruby-grape/grape/blob/master/UPGRADING.md for more details.
-
- 26 Jun, 2020 1 commit
-
-
Catalin Irimie authored
-
- 25 Jun, 2020 2 commits
-
-
Stan Hu authored
Filenames that contained special pathspec characters (see https://css-tricks.com/git-pathspecs-and-how-to-use-them) would not return a valid last commit or properly load in the repository browser. For example, `:wq` would cause the GraphQL endpoint to return a null `lastCommit`, and a file `:wq/test.txt` would not show the commit information in the repository browser. This requires https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2303 to work.
-
Pirate Praveen authored
-
- 23 Jun, 2020 1 commit
-
-
Fabio Huser authored
-
- 20 Jun, 2020 1 commit
-
-
Stan Hu authored
By default, Git allows the pathspec to have glob patterns (https://css-tricks.com/git-pathspecs-and-how-to-use-them), but the LastCommitForPath RPC now supports a `literal_pathspec` to disable this (https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2285). We now use this whenever we look up specific files in the repository. Closes https://gitlab.com/gitlab-org/gitaly/-/issues/2857
-
- 18 Jun, 2020 1 commit
-
-
Brett Walker authored
using kramdown - Initial attmpt at using kramdown for ADF to kramdown conversion - Additional specs for marks code and link - Add support for strikethrough, superscipt and subscript - Add underline and textColor - Added blockquote, bull_list, heading, and rule - Add inlineCard and orderedList support - Added support for panel - Add codeBlock support - Added hardBreak and initial table support - Add emoji support - Add icons to panels - Add support for mediaSingle and mediaGroup - Add support for mentions - Fix mention and complex document md - Add handling of tables - Remove unnecessary guard - Added specs for invalid situations Add link to CommonMark spec for clarification and other minor changes Use `add_text` method and other minor changes Use a blockquote for panels instead of <hr> separation Correctly set the raw test for headings Adjust how mentions are generated and changes for other review comments Return original source for invalid documents
-
- 17 Jun, 2020 1 commit
-
-
charlieablett authored
-
- 10 Jun, 2020 1 commit
-
-
Roger Meier authored
-
- 05 Jun, 2020 1 commit
-
-
Hordur Freyr Yngvason authored
The list of valid TLDs has been expanded significantly since validates_hostname was last updated, see e.g. https://gitlab.com/gitlab-org/gitlab/-/issues/208860 for a user complaint.
-
- 04 Jun, 2020 1 commit
-
-
Adrien Kohlbecker authored
Add support for IAP
-
- 03 Jun, 2020 1 commit
-
-
Thong Kuah authored
Previously approved in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32486
-
- 30 May, 2020 1 commit
-
-
Stan Hu authored
This was introduced in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/32991 and used in app/validators/json_schema_validator.rb, so we need it as a production gem instead of a test gem. This caused https://gitlab.com/gitlab-com/gl-infra/production/-/issues/2207
-
- 29 May, 2020 2 commits
-
-
Thong Kuah authored
This reverts merge request !32486
-
Pavlo Strokov authored
As the new version of Gitaly server is used we can update current version of gem to get support of the new features and fields exposed by the new version of the server.
-
- 28 May, 2020 1 commit
-
-
Doug Stull authored
- make use of new cops and gitlab-styles updates
-
- 22 May, 2020 1 commit
-
-
Kartikey Tanna authored
-
- 21 May, 2020 1 commit
-
-
Igor Drozdov authored
Bullet gem helps to detect N+1 problems for SQL queries. It mostly recognized the simple cases, but even those are regularly encountered in our code base. In order to enable the gem, one should ENABLE_BULLET=1. Then bullet notifications will appear in the js console. Unfortunately, js console messages don't call to action. What about putting the notifications in the Performance bar?
-
- 19 May, 2020 1 commit
-