Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Exclude ee/bin from Naming/FileName coptc-move-geo-cursor-bin-ce | Toon Claes | 2019-04-18 | 1 | -0/+1 |
| | | | | | Related issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/6565 | ||||
* | Forbid the use of `#reload` and prefer `#reset`forbid-the-usage-of-reload | Kamil Trzciński | 2019-04-15 | 1 | -0/+6 |
| | | | | | | | The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case. | ||||
* | Document ApplicationRecord / pluck_primary_key | Nick Thomas | 2019-03-29 | 1 | -0/+14 |
| | | | | We also enable the rubocop that makes it mandatory | ||||
* | Update rubocop target ruby version | Nick Thomas | 2019-03-13 | 1 | -0/+6 |
| | |||||
* | Adds the Rubocop ReturnNil cop | Andrew Newdigate | 2019-03-06 | 1 | -0/+3 |
| | | | | | This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points | ||||
* | Adds inter-service OpenTracing propagation | Andrew Newdigate | 2019-01-22 | 1 | -0/+1 |
| | | | | | | | | | | | | | | This change allows the GitLab rails and sidekiq components to receive tracing spans from upstream services such as Workhorse and pass these spans on to downstream services including Gitaly and Sidekiq. This change will also emit traces for incoming and outgoing requests using the propagated trace information. This will allow operators and engineers to view traces across the Workhorse, GitLab Rails, Sidekiq and Gitaly components. Additional intra-service instrumentation will be added in future changes. | ||||
* | Update specs to rails5 formatblackst0ne-convert-specs-rails5-style | blackst0ne | 2018-12-19 | 1 | -1/+1 |
| | | | | | | | | | | Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }` | ||||
* | Added Cop for injecting EE modules | Yorick Peterse | 2018-12-13 | 1 | -0/+6 |
| | | | | | | | This Cop enforces the rule that injecting EE modules (using prepend, include, or extend) is done by placing the injection on the last line of a file, instead of somewhere in the middle. By placing these lines at the very end, merge conflicts will not happen. | ||||
* | Enable Rubocop on lib/gitlab | gfyoung | 2018-11-20 | 1 | -1/+0 |
| | | | | | | | This should wrap up frozen string enablement for gitlab-ce. xref gitlab-org/gitlab-ce#47424. | ||||
* | Merge branch 'qa-59-ldap-ssl-scenario' into 'master' | Stan Hu | 2018-10-26 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | E2E Test - LDAP login with SSL Closes gitlab-qa#59 See merge request gitlab-org/gitlab-ce!22574 | ||||
| * | Rename SSL to TLS | Sanad Liaquat | 2018-10-25 | 1 | -2/+2 |
| | | |||||
| * | Fix rubocop issues | Sanad Liaquat | 2018-10-24 | 1 | -0/+3 |
| | | |||||
* | | Put EE routes in EE files under EE directories | Lin Jen-Shin | 2018-10-26 | 1 | -0/+1 |
|/ | |||||
* | Merge branch 'even-more-frozen-string-lib' into 'master' | Rémy Coutable | 2018-10-11 | 1 | -1/+2 |
|\ | | | | | | | | | Enable even more frozen string in lib/**/*.rb See merge request gitlab-org/gitlab-ce!22206 | ||||
| * | Enable even more frozen string in lib/**/*.rb | gfyoung | 2018-10-08 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables frozen string for the following files: * lib/generators/**/*.rb * lib/gitaly/**/*.rb * lib/google_api/**/*.rb * lib/haml_lint/**/*.rb * lib/json_web_token/**/*.rb * lib/mattermost/**/*.rb * lib/microsoft_teams/**/*.rb * lib/object_storage/**/*.rb * lib/omni_auth/**/*.rb * lib/peek/**/*.rb * lib/rouge/**/*.rb * lib/rspec_flaky/**/*.rb * lib/system_check/**/*.rb Partially addresses #47424. | ||||
* | | Initial commit | Sanad Liaquat | 2018-10-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | Use ACCEPT_INSECURE_CERTS env var and fix step Simplify saml signin Fix rubo cop offence Add missing # frozen_string_literal: true | ||||
* | | Inline RSpec/FilePath rubocop rule | James Edwards-Jones | 2018-10-09 | 1 | -1/+10 |
|/ | | | | | Moves RSpec/FilePath cop from gitlab-styles, so we can specify filepaths to ignore without hardcoding them in the gem. | ||||
* | Check frozen string in style builds | gfyoung | 2018-09-28 | 1 | -0/+19 |
| | |||||
* | Correct Gitlab Capitalization in code files | Marcel Amirault | 2018-09-21 | 1 | -1/+1 |
| | |||||
* | Move N_ calls into separate files | Mark Chao | 2018-08-14 | 1 | -0/+2 |
| | | | | | | These are dynamic translations, so has to be marked explicitly using `N_`, but they are not used in runtime, so can exist in separate file. https://github.com/grosser/gettext_i18n_rails#unfound-translations-with-rake-gettextfind | ||||
* | Explicitly disable the Style/SafeNavigation cop | Rémy Coutable | 2018-08-10 | 1 | -0/+4 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Enable rubocop for db/**/* and ee/db/**/*49582-enable-cops-for-db | Lin Jen-Shin | 2018-07-25 | 1 | -2/+4 |
| | |||||
* | Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6' | Douwe Maan | 2018-03-21 | 1 | -0/+3 |
| | | | | | Server Side Request Forgery in Services and Web Hooks See merge request gitlab/gitlabhq!2337 | ||||
* | [CE] Add Naming/FileName rule checking expected class/module per filename | Gabriel Mazetto | 2018-03-08 | 1 | -0/+72 |
| | |||||
* | Exclude plugins dir from rubocop and codeclimate config | Dmitriy Zaporozhets | 2018-02-26 | 1 | -0/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Port some RuboCop and doc changes from EE | Rémy Coutable | 2018-02-13 | 1 | -2/+26 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Cache rubocop cache for CI42338-rubocop-cache | Lin Jen-Shin | 2018-01-25 | 1 | -0/+1 |
| | |||||
* | Require our own custom cops; Remove missing cops41480-require-custom-cops | Lin Jen-Shin | 2017-12-26 | 1 | -0/+3 |
| | | | | Also try to use the same config from EE | ||||
* | Use gitlab-styles | Rémy Coutable | 2017-12-22 | 1 | -1212/+4 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Backport changes from EE | Lin Jen-Shin | 2017-12-15 | 1 | -2/+2 |
| | |||||
* | Move ModuleWithInstanceVariables to Gitlab namespace | Lin Jen-Shin | 2017-11-22 | 1 | -1/+14 |
| | | | | | And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude. | ||||
* | Decrease ABC threshold to 54.28 | Maxim Rydkin | 2017-10-22 | 1 | -1/+1 |
| | |||||
* | Decrease Perceived Complexity threshold to 14 | Maxim Rydkin | 2017-10-20 | 1 | -1/+1 |
| | |||||
* | Decrease Perceived Complexity threshold to 15 | Maxim Rydkin | 2017-09-12 | 1 | -1/+1 |
| | |||||
* | Decrease Cyclomatic Complexity threshold to 13 | Maxim Rydkin | 2017-09-12 | 1 | -1/+1 |
| | |||||
* | refactor `app/helpers/projects_helper.rb:21:3` | Maxim Rydkin | 2017-09-07 | 1 | -1/+1 |
| | |||||
* | Decrease ABC threshold to 55.25 | Maxim Rydkin | 2017-08-31 | 1 | -1/+1 |
| | |||||
* | Decrease Metrics/PerceivedComplexity threshold to 17 | Maxim Rydkin | 2017-08-31 | 1 | -1/+1 |
| | |||||
* | Merge branch '31362_decrease_cyclomatic_complexity_threshold_step2' into ↵ | Robert Speicher | 2017-08-29 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | 'master' Decrease Metrics/CyclomaticComplexity threshold to 15 See merge request !13905 | ||||
| * | Decrease Metrics/CyclomaticComplexity threshold to 15 | Maxim Rydkin | 2017-08-29 | 1 | -1/+1 |
| | | |||||
* | | exclude spec/ and features/ from `Style/PredicateName` cop | Maxim Rydkin | 2017-08-29 | 1 | -0/+12 |
|/ | |||||
* | Update rubocop-gitlab-security to 0.1.0rs-update-rubocop-gitlab-security | Robert Speicher | 2017-08-28 | 1 | -0/+4 |
| | |||||
* | Merge branch 'rs-more-public-send-whitelists' into 'master' | Rémy Coutable | 2017-08-16 | 1 | -5/+9 |
|\ | | | | | | | | | Whitelist or fix additional `Gitlab/PublicSend` cop violations See merge request !13467 | ||||
| * | Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelists | Robert Speicher | 2017-08-14 | 1 | -5/+9 |
| | | | | | | | | | | An upcoming update to rubocop-gitlab-security added additional violations. | ||||
* | | Enable Layout/TrailingWhitespace cop and auto-correct offenses | Robert Speicher | 2017-08-15 | 1 | -0/+4 |
|/ | |||||
* | Fix cop description | Rémy Coutable | 2017-08-11 | 1 | -3/+2 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Enable the RSpec/HookArgument cop and auto-correct offenses | Robert Speicher | 2017-08-10 | 1 | -0/+5 |
| | |||||
* | Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-cop | Rémy Coutable | 2017-08-09 | 1 | -0/+7 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Re-enable SqlInjection and CommandInjection | Brian Neel | 2017-08-08 | 1 | -0/+33 |
| | |||||
* | Disable the Rails/Delegate cop | Rémy Coutable | 2017-08-03 | 1 | -1/+2 |
| | | | | | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/35869 for the rationale. Signed-off-by: Rémy Coutable <remy@rymai.me> |