summaryrefslogtreecommitdiff
path: root/lib/file_size_validator.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable more frozen string in lib/**/*.rbgfyoung2018-10-061-0/+2
| | | | | | | | | | | | | Enables frozen for the following: * lib/*.rb * lib/banzai/**/*.rb * lib/bitbucket/**/*.rb * lib/constraints/**/*.rb * lib/container_registry/**/*.rb * lib/declarative_policy/**/*.rb Partially addresses #47424.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* 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.
* Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelistsRobert Speicher2017-08-141-2/+2
| | | | | An upcoming update to rubocop-gitlab-security added additional violations.
* Enable Style/ClassCheckDouwe Maan2017-02-231-2/+2
|
* Get rid of more requires, which causes warnings when code is reloaded15139-fix-constants-redefinition-warningsRémy Coutable2016-04-191-4/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Define constants only if not defined yet and freeze themRémy Coutable2016-04-191-4/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Support configurable attachment size via Application SettingsStan Hu2015-04-021-2/+10
| | | | | | Fix bug where error messages from Dropzone would not be displayed on the issues page Closes #1258
* Fully embrace Ruby 1.9 hash syntaxRobert Speicher2012-08-101-2/+2
| | | | Didn't bother with files in db/, config/, or features/
* clean-up codeNihad Abbasov2011-10-261-2/+2
| | | | | | * Remove trailing whitespace * Converts hard-tabs into two-space soft-tabs * Remove consecutive blank lines
* init commitgitlabhq2011-10-091-0/+65