Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-06Adds the Rubocop ReturnNil copAndrew Newdigate
This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
2019-01-22Adds inter-service OpenTracing propagationAndrew Newdigate
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.
2018-12-19Update specs to rails5 formatblackst0ne
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 }`
2018-12-13Added Cop for injecting EE modulesYorick Peterse
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.
2018-11-21Enable Rubocop on lib/gitlabgfyoung
This should wrap up frozen string enablement for gitlab-ce. xref gitlab-org/gitlab-ce#47424.
2018-10-26Merge branch 'qa-59-ldap-ssl-scenario' into 'master'Stan Hu
E2E Test - LDAP login with SSL Closes gitlab-qa#59 See merge request gitlab-org/gitlab-ce!22574
2018-10-26Put EE routes in EE files under EE directoriesLin Jen-Shin
2018-10-25Rename SSL to TLSSanad Liaquat
2018-10-24Fix rubocop issuesSanad Liaquat
2018-10-11Merge branch 'even-more-frozen-string-lib' into 'master'Rémy Coutable
Enable even more frozen string in lib/**/*.rb See merge request gitlab-org/gitlab-ce!22206
2018-10-11Initial commitSanad Liaquat
Use ACCEPT_INSECURE_CERTS env var and fix step Simplify saml signin Fix rubo cop offence Add missing # frozen_string_literal: true
2018-10-09Inline RSpec/FilePath rubocop ruleJames Edwards-Jones
Moves RSpec/FilePath cop from gitlab-styles, so we can specify filepaths to ignore without hardcoding them in the gem.
2018-10-08Enable even more frozen string in lib/**/*.rbgfyoung
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.
2018-09-28Check frozen string in style buildsgfyoung
2018-09-21Correct Gitlab Capitalization in code filesMarcel Amirault
2018-08-14Move N_ calls into separate filesMark Chao
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
2018-08-10Explicitly disable the Style/SafeNavigation copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-25Enable rubocop for db/**/* and ee/db/**/*Lin Jen-Shin
2018-03-21Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6'Douwe Maan
Server Side Request Forgery in Services and Web Hooks See merge request gitlab/gitlabhq!2337
2018-03-08[CE] Add Naming/FileName rule checking expected class/module per filenameGabriel Mazetto
2018-02-26Exclude plugins dir from rubocop and codeclimate configDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-02-13Port some RuboCop and doc changes from EERémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-25Cache rubocop cache for CILin Jen-Shin
2017-12-26Require our own custom cops; Remove missing copsLin Jen-Shin
Also try to use the same config from EE
2017-12-22Use gitlab-stylesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-15Backport changes from EELin Jen-Shin
2017-11-22Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
2017-10-22Decrease ABC threshold to 54.28Maxim Rydkin
2017-10-20Decrease Perceived Complexity threshold to 14Maxim Rydkin
2017-09-12Decrease Perceived Complexity threshold to 15Maxim Rydkin
2017-09-12Decrease Cyclomatic Complexity threshold to 13Maxim Rydkin
2017-09-07refactor `app/helpers/projects_helper.rb:21:3`Maxim Rydkin
2017-08-31Decrease ABC threshold to 55.25Maxim Rydkin
2017-08-31Decrease Metrics/PerceivedComplexity threshold to 17Maxim Rydkin
2017-08-29Merge branch '31362_decrease_cyclomatic_complexity_threshold_step2' into ↵Robert Speicher
'master' Decrease Metrics/CyclomaticComplexity threshold to 15 See merge request !13905
2017-08-29Decrease Metrics/CyclomaticComplexity threshold to 15Maxim Rydkin
2017-08-29exclude spec/ and features/ from `Style/PredicateName` copMaxim Rydkin
2017-08-28Update rubocop-gitlab-security to 0.1.0Robert Speicher
2017-08-16Merge branch 'rs-more-public-send-whitelists' into 'master'Rémy Coutable
Whitelist or fix additional `Gitlab/PublicSend` cop violations See merge request !13467
2017-08-15Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher
2017-08-14Whitelist or fix additional `Gitlab/PublicSend` cop violationsRobert Speicher
An upcoming update to rubocop-gitlab-security added additional violations.
2017-08-11Fix cop descriptionRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-11Enable the RSpec/HookArgument cop and auto-correct offensesRobert Speicher
2017-08-09Enable the Layout/SpaceBeforeBlockBraces copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-08Re-enable SqlInjection and CommandInjectionBrian Neel
2017-08-03Disable the Rails/Delegate copRémy Coutable
See https://gitlab.com/gitlab-org/gitlab-ce/issues/35869 for the rationale. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-01Bump rubocop to 0.49.1 and rubocop-rspec to 1.15.1Takuya Noguchi
2017-07-24Decrease ABC threshold to 56.96Maxim Rydkin
2017-06-30Disable RSpec/BeforeAfterAll and enable RSpec/ImplicitExpect copsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon