summaryrefslogtreecommitdiff
path: root/config/initializers
Commit message (Collapse)AuthorAgeFilesLines
* Don't reuse gRPC channelsJacob Vosmaer2017-05-151-2/+4
| | | | | | It seems that bad things happen when two gRPC stubs share one gRPC channel so let's stop doing that. The downside of this is that we create more gRPC connections; one per stub.
* Allow disabling usage ping in `gitlab.yml`Sean McGivern2017-05-111-0/+1
| | | | | | | | | Setting `usage_ping_enabled` to false in `gitlab.yml`: 1. Disables the usage ping, regardless of the value stored in the database. 2. Prevents the usage ping from being enabled through the admin panel. It can only be enabled by either removing the line from `gitlab.yml` and configuring through the admin panel, or setting it to true in `gitlab.yml`.
* Enable the Style/TrailingCommaInArguments copRémy Coutable2017-05-103-5/+5
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use relative paths for group/project/user avatarsblackst0ne2017-05-101-1/+1
|
* Merge branch 'revert-58d1cd6b' into 'master' Stan Hu2017-05-071-1/+1
|\ | | | | | | | | Revert "Merge branch 'fix-rspec_profiling-establish_connection-string-deprecation' into 'master'" See merge request !11153
| * Revert "Merge branch ↵revert-58d1cd6bStan Hu2017-05-071-1/+1
| | | | | | | | | | 'fix-rspec_profiling-establish_connection-string-deprecation' into 'master'" This reverts merge request !11150
* | Add Pipeline Schedules that supersedes experimental Trigger ScheduleZeger-Jan van de Weg2017-05-071-3/+3
|/
* Cast ENV['RSPEC_PROFILING_POSTGRES_URL'] to symbol in establish_connection ↵fix-rspec_profiling-establish_connection-string-deprecationLuke "Jared" Bennett2017-05-071-1/+1
| | | | call of rspec_profiling.rb
* Use an absolute path for locale path in FastGettext configuse-absolute-path-for-gettext-configRuben Davila2017-05-051-1/+1
| | | | Unicorn was unable to start due to this bad config on Omnibus.
* Merge branch 'mrchrisw-import-shell-timeout'Sean McGivern2017-05-051-0/+1
|\
| * Add configurable timeout for git fetch and clone operationsmrchrisw-import-shell-timeoutChris Wilson2017-04-271-0/+1
| | | | | | | | | | | | | | GitLab uses the import_project method in GitLab Shell, This method uses a timeout for the operation, hardcoded to 800 seconds. With this MR the timeout is now configurable in the gitlab_shell settings.
* | First round of updates from the code review.Ruben Davila2017-05-021-1/+3
| |
* | Merge branch 'master' into 28433-internationalise-cycle-analytics-pageRuben Davila2017-05-024-9/+12
|\ \
| * \ Merge branch 'remove-unused-initializer' into 'master' Douwe Maan2017-05-021-5/+0
| |\ \ | | | | | | | | | | | | | | | | Remove unused initializer See merge request !11036
| | * | Remove unused initializerremove-unused-initializerSean McGivern2017-05-021-5/+0
| | | | | | | | | | | | | | | | We don't appear to have an `active_record_query_trace` dependency any more.
| * | | Update Carrierwave and fog-coreZeger-Jan van de Weg2017-05-011-0/+2
| |/ /
| * | Resolve "rspec_profiling is enabled for MySQL"Rémy Coutable2017-04-281-4/+4
| | |
| * | Merge branch 'test-pg' into 'master' Rémy Coutable2017-04-241-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Test both PostgreSQL and MySQL for the win Closes #2582 See merge request !10156
| | * | Set profiler only for postgresql not mysqlLin Jen-Shin2017-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812609
| * | | Make location of gitlab_workhorse_secret configurableJakub Jirutka2017-04-191-0/+6
| | |/ | |/| | | | | | | | | | | | | Hard-coding location of configuration files is very bad practice. This patch applies the same approach as currently used for gitlab_shell_secret file.
* | | Fix Rubocop complains.Ruben Davila2017-05-021-1/+0
| | |
* | | Adjust regex used in order to parse inline content.Ruben Davila2017-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | | e.g: %h4 {{ __('foo') }} Problem was it was being parsed as: %h4 = _('foo') And the correct content should be: %h4= _('foo')
* | | Adjust the patch for the gettext_i18n_rails and gettext_i18n_rails_js gems.Ruben Davila2017-04-261-24/+3
| | | | | | | | | | | | | | | This is more simple now given we're using the recommended code to annotate content to be translated.
* | | Add ability to parse *.vue files through the `ruby gettext:find` scriptRuben Davila2017-04-251-0/+15
| | |
* | | Parse translate filters from JS files.Ruben Davila2017-04-251-2/+29
| | |
* | | Parse the translate-plural filter in HAML viewsRuben Davila2017-04-241-0/+4
| | |
* | | Merge branch 'js-translations' into 28433-internationalise-cycle-analytics-pageRuben Davila2017-04-241-1/+0
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: config/initializers/gettext_rails_i18n_patch.rb
| * | | Revert line being commented outjs-translationsPhil Hughes2017-04-211-12/+12
| | | |
| * | | Merge remote-tracking branch ↵Phil Hughes2017-04-212-1/+17
| |\ \ \ | | | | | | | | | | | | | | | 'origin/28433-internationalise-cycle-analytics-page' into js-translations
| | * | | Monkey patch gettext_i18n_rails so it can parse content in Mustache formatRuben Davila2017-04-201-0/+17
| | | | |
* | | | | Monkey patch gettext_i18n_rails so it can parse content in Mustache formatRuben Davila2017-04-241-0/+19
| |/ / / |/| | |
* | | | Some small fixes for the current I18n implementationRuben Davila2017-04-201-1/+1
|/ / /
* | | Merge branch 'master' into 28433-internationalise-cycle-analytics-pageRuben Davila2017-04-191-7/+23
|\ \ \ | |/ / | | | | | | | | | Conflicts: db/schema.rb
| * | Don't use `send` in settings initializerSean McGivern2017-04-141-6/+6
| | |
| * | Remove unused user activities codeSean McGivern2017-04-141-2/+2
| | |
| * | Add new ScheduleUpdateUserActivityWorker and UpdateUserActivityWorkerRémy Coutable2017-04-141-0/+5
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | Port 'Add EE usage ping' to CESean McGivern2017-04-141-0/+11
| |/ | | | | | | CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/557
* | Fix Rubocop complains plus some small refactorRuben Davila2017-04-191-1/+1
| |
* | Add missing initializer for FastGettextRuben Davila2017-04-121-0/+3
|/
* Change configuration in gitlab.com as trigger_schedule_worker will perform ↵Shinya Maeda2017-04-061-1/+1
| | | | twice a day 2
* Rename ScheduledTrigger to TriggerSchedule. Because table structure changed.Shinya Maeda2017-04-061-3/+3
|
* Add config for workerShinya Maeda2017-04-061-0/+3
|
* Merge branch 'fix/gh-import-status-check' into 'master' Sean McGivern2017-04-061-0/+3
|\ | | | | | | | | | | | | Periodically mark projects that are stuck in importing as failed Closes #17709 See merge request !10207
| * Periodically mark projects that are stuck in importing as failedJames Lopez2017-04-051-0/+3
| | | | | | | | | | | | Adds import jid to projects Refactor middleware to set custom expiration time via sidekiq options Add completed_jids option to sidekiq status and a few other changes
* | Deal with Rails autoload instance variable resetsJacob Vosmaer2017-04-051-13/+1
|/ | | | | | | | Rails auto-load (a development feature) can end up resetting instance variables on classes. This breaks Gitlab::GitalyClient, which uses instance variables to keep global hashes to look up channels and addresses. This change adds code that regenerates the hashes if they suddenly become nil.
* Enable the `bullet_logger` setting; enable `raise` in test environmentrs-bullet-raiseRobert Speicher2017-04-031-4/+9
|
* Add support for Gitaly calls over TCP connectionfeature/support-grpc-calls-over-tcp-connAhmad Sherif2017-04-031-1/+1
| | | | Closes gitaly#166
* Merge branch '24784-system-notes-meta-data' into 'master' Sean McGivern2017-03-301-1/+1
|\ | | | | | | | | Add metadata for system notes See merge request !9964
| * Add system_note_metadata modelJarka Kadlecova2017-03-281-1/+1
| |