summaryrefslogtreecommitdiff
path: root/lib/system_check
Commit message (Collapse)AuthorAgeFilesLines
* Sanitize LDAP output in Rake tasksDrew Blessing2019-06-211-2/+7
| | | | | | | | | | The various LDAP check Rake tasks have long supported a SANITIZE environment variable. When present, identifiable information is obscured such as user names and project/group names. Until now, the LDAP check did not honor this. Now it will only say how many users were found. This should at least give the indication that the LDAP configuration found something, but will not leak what it is. Resolves #56131
* Fix typos in the whole gitlab-ce projectYoginth2019-05-201-1/+1
|
* Bump required Ruby version check to 2.5.3Stan Hu2019-04-181-1/+1
| | | | | | Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/58079 Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60704
* Update preflight check to require 2.21zj-git-2.21-testsZeger-Jan van de Weg2019-04-161-1/+1
|
* Adds the Rubocop ReturnNil copAndrew Newdigate2019-03-061-1/+1
| | | | | This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
* chore(rubocop): fix Style/TrivialAccessors issuesSemyon Pupkov2019-01-161-6/+2
|
* Extract system check rake task logicMichael Kozono2018-12-0317-1/+474
| | | | | These changes make the code more reusable, testable, and most importantly, overrideable.
* Merge branch ↵Douwe Maan2018-11-221-1/+1
|\ | | | | | | | | | | | | | | | | '46950-systemcheck-use-gem-ruby-instead-of-hardcoding-ruby-version' into 'master' SystemCheck: Use a more reliable way to detect current Ruby version Closes #46950 See merge request gitlab-org/gitlab-ce!23291
| * Use a more reliable way to detect current Ruby version46950-systemcheck-use-gem-ruby-instead-of-hardcoding-ruby-version46950-systemcheck-ruby-versionGabriel Mazetto2018-11-211-1/+1
| |
* | Upgraded minimum Git version to 2.18.0Francisco Javier López2018-11-211-1/+1
|/
* Enable even more frozen string in lib/**/*.rbgfyoung2018-10-0828-0/+56
| | | | | | | | | | | | | | | | | | | | 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.
* Fix grammar (setup to set-up) in code comments, spec, views, etc.Marcel Amirault2018-09-171-1/+1
|
* Deny repository disk access in development and testJacob Vosmaer (GitLab)2018-06-141-7/+9
|
* Bring changes from EE for lib/system_check/simple_executor.rbunify-simple_executorLin Jen-Shin2018-06-141-5/+25
|
* Find and mark more Git disk access locations, part 2Jacob Vosmaer2018-06-121-7/+9
|
* Route path lookups through legacy_disk_pathmark-legacy-git-accessJacob Vosmaer2018-03-212-4/+6
|
* Use Project#full_name instead of name_with_namespaceDmitriy Zaporozhets2018-03-071-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* [ci skip] Fix example commands to refer to the correct versionsAlejandro Rodríguez2018-01-311-1/+1
|
* Eliminate the warnings from task helpersLin Jen-Shin2018-01-261-2/+0
|
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+1
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Remove an exception from the git user default SSH config checkNick Thomas2017-11-021-2/+2
|
* Upgrade Ruby to 2.3.5Zeger-Jan van de Weg2017-10-311-1/+1
| | | | Part of gitlab-org/gitlab-ce#38040
* Create idea of read-only databasetc-geo-read-only-ideaToon Claes2017-10-061-2/+2
| | | | | | | | | | | | In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo secondary node). But in GitLab CE it also might be useful to have the "read-only" idea around. So port it back to GitLab CE. Also having the principle of read-only in GitLab CE would hopefully lead to less errors introduced, doing write operations when there aren't allowed for read-only calls. Closes gitlab-org/gitlab-ce#37534.
* Whitelist authorized_keys.lock in the gitlab:check rake taskNick Thomas2017-10-021-0/+1
|
* Fixed few gitlab:check tasks that were failing with exception38280-undefined-run_command-when-running-rake-gitlab-checkGabriel Mazetto2017-09-252-2/+2
|
* Fix rake gitlab:incoming_email:check and make it38197-fix-ImapAuthenticationCheckLin Jen-Shin2017-09-221-17/+28
| | | | report error properly, so that we know what's really wrong.
* Refactor on namespace and repository checks and added specsGabriel Mazetto2017-09-122-32/+67
|
* Detect orphaned repositories and namespaces in any storageGabriel Mazetto2017-09-122-0/+87
|
* Merge branch 'system-checks-incoming-email' into 'master'Sean McGivern2017-09-067-15/+179
|\ | | | | | | | | Move Incoming Email checks to System Checks See merge request !14028
| * Refactored Incoming Email checks to use SystemCheck librarysystem-checks-incoming-emailGabriel Mazetto2017-09-044-0/+143
| |
| * Refactored app/init script check to use dynamic skip reasonGabriel Mazetto2017-09-041-13/+15
| |
| * Added dynamic skip reason to SystemCheckGabriel Mazetto2017-09-042-2/+21
| |
* | Add a system check for the git user's custom SSH configurationNick Thomas2017-09-041-0/+69
|/
* replace `is_multi_check?` with `multi_check?`Maxim Rydkin2017-08-292-2/+2
|
* replace `is_gitlab_user?` with `gitlab_user?`Maxim Rydkin2017-08-291-1/+1
|
* Make the SimpleExecutor rescue exceptions in the executing ChecksGabriel Mazetto2017-06-271-0/+2
|
* Refactor and move things around to improve in YAGNI perspectiveGabriel Mazetto2017-05-312-25/+23
|
* Fix BasicExecutor specsGabriel Mazetto2017-05-311-11/+0
|
* Fixed and improved some existing checks and SystemCheck libraryGabriel Mazetto2017-05-318-54/+44
|
* Fix codestyleGabriel Mazetto2017-05-314-12/+8
|
* Improve Specs and some fixesGabriel Mazetto2017-05-312-7/+9
|
* Add ActiveUsers CheckGabriel Mazetto2017-05-311-0/+17
|
* Refactor gitlab:app:checks to use SystemCheckGabriel Mazetto2017-05-3120-49/+737
|
* Fix a few method signature checksGabriel Mazetto2017-05-311-1/+1
|
* Some code-style fixes and documentationGabriel Mazetto2017-05-313-14/+62
|
* WIP SystemCheck library for executing checks from a rake taskGabriel Mazetto2017-05-313-0/+94