summaryrefslogtreecommitdiff
path: root/config/initializers
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
* 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
| |
* | Merge branch 'gitaly-socket-per-shard' into 'master' Sean McGivern2017-03-292-13/+38
|\ \ | |/ |/| | | | | One Gitaly connection per storage shard See merge request !10150
| * Change socket_path to gitaly_addressJacob Vosmaer2017-03-291-3/+17
| |
| * Expand relative paths in storagesJacob Vosmaer2017-03-291-10/+19
| |
| * Separate GRPC channels per repository storageJacob Vosmaer2017-03-292-2/+4
| |
* | RSpec profiling: Prepend the branch name with `ce` or `ee`Rémy Coutable2017-03-241-1/+5
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Added Gitlab::Database.configYorick Peterse2017-03-171-1/+1
| | | | | | | | This returns the ActiveRecord configuration for the current environment. While CE doesn't use this very often, EE will use it in a few places for the database load balancing code. I'm adding this to CE so we don't end up with merge conflicts in this file.
* Merge branch 'pages-multiple-ips-doc' into 'master' Kamil Trzciński2017-03-161-2/+2
|\ | | | | | | | | The GitLab Pages external-http and external-https arguments can be specified multiple times See merge request !9812
| * The GitLab Pages external-http and external-https arguments can be specified ↵Nick Thomas2017-03-081-2/+2
| | | | | | | | multiple times
* | Futher rename the CI variableszj-rename-ci-varsZ.J. van de Weg2017-03-161-1/+1
| |
* | Merge branch '29389-fix-already-initialized-constants' into 'master' Robert Speicher2017-03-142-9/+6
|\ \ | | | | | | | | | | | | | | | | | | Remove explicit `require` calls, and use `require_dependency` when needed Closes #29389 See merge request !9899
| * | Remove explicit `require` calls, and use `require_dependency` when needed29389-fix-already-initialized-constantsRémy Coutable2017-03-132-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | See http://guides.rubyonrails.org/autoloading_and_reloading_constants.html for more info. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch '25515-delegate-single-discussion-to-new-issue' into 'master' Douwe Maan2017-03-131-7/+11
|\ \ \ | |/ / |/| | | | | | | | Create a new issue for a single discussion See merge request !8266
| * | Don't instrument `app/services/concerns`Bob Van Landuyt2017-03-131-7/+11
| | |
* | | Merge branch 'backport-cache-middleware-fix' into 'master' Rémy Coutable2017-03-131-0/+24
|\ \ \ | |/ / |/| | | | | | | | Backport cache middleware fix See merge request !9867
| * | Try out the monkey patch to fix the middlewarebackport-cache-middleware-fixLin Jen-Shin2017-03-111-0/+24
| | | | | | | | | | | | | | | | | | | | | which isn't properly cleaning up whenever something is thrown, not raised. See: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1402#note_25128108
* | | Execute inflections initializer earlierfix/execute-inflections-initializer-earlyDouglas Barbosa Alexandre2017-03-101-0/+0
|/ /
* | Enable snippets for new projects by defaultenable-snippets-by-defaultSean McGivern2017-03-101-1/+1
| | | | | | | | | | If there is an existing gitlab.yml file with snippets explicitly disabled, they won't be enabled with this change.
* | Improve storage validation after configuration structure updatestorage-validation-improvementAlejandro Rodríguez2017-03-081-6/+10
|/ | | | | | | | | | Besides improving the error message to specify what exactly you need to do to solve the error, we now don't skip all storage validations on the test environment, so that you also get a nice error message if you're running tests. Now if conditions are met to skip valitaions (test env or env variable) we still make sure the settings _look_ sane, we just skip verifying the paths exists and meet the given conditions.
* Clear AR connections before starting SidekiqYorick Peterse2017-03-081-0/+6
| | | | | | | This should ensure that connections obtained before starting Sidekiq are not leaked, leading to connection timeouts. Fixes gitlab-com/infrastructure#1139
* Merge branch '29005-rspec-profiling-errors-to-warnings' into 'master' Robert Speicher2017-03-071-9/+28
|\ | | | | | | | | | | | | Swallow collection errors in RspecProfiling Closes #29005 See merge request !9765
| * Swallow collection errors in RspecProfilingNick Thomas2017-03-071-9/+28
| |
* | Merge branch '28447-hybrid-repository-storages' into 'master' Sean McGivern2017-03-072-9/+26
|\ \ | | | | | | | | | | | | Update storage settings to allow extra values per shard See merge request !9597
| * | Update storage settings to allow extra values per shard28447-hybrid-repository-storagesAlejandro Rodríguez2017-03-032-9/+26
| | | | | | | | | | | | | | | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility
* | | Merge branch 'rfr-20170307-change-default-project-number-limit' into 'master' James Lopez2017-03-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Change project count limit from 10 to 100000 See merge request !9767
| * | | Change project count limit from 10 to 100000rfr-20170307-change-default-project-number-limitRegis Freyd2017-03-071-1/+1
| | |/ | |/|
* | | Add specs for Doorkeeper resource_owner_authenticatorMarkus Koller2017-03-071-2/+2
| | |
* | | Implement OpenID Connect identity providerMarkus Koller2017-03-073-2/+48
|/ /
* | Merge branch 'backup_storage_class' into 'master' Rémy Coutable2017-03-061-0/+1
|\ \ | | | | | | | | | | | | Add storage class configuration option for Amazon S3 remote backups See merge request !9599
| * | Add storage class configuration option for Amazon S3 remote backupsJon Keys2017-02-281-0/+1
| | |
* | | Merge branch '27523-make-stuck-build-detection-more-performant' into 'master' Kamil Trzciński2017-03-061-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make stuck builds detection more performant Closes #27523 See merge request !9025
| * | | Renable StuckCiBuildsWorker to StucjCiJobsWorker27523-make-stuck-build-detection-more-performantTomasz Maczukin2017-03-031-3/+3
| | | |
| * | | Update default configuration of stuck_ci_builds_worker cron intervalTomasz Maczukin2017-03-011-1/+1
| |/ /
* | | Make Warden set_user hook validate user ip uniqunessPawel Chojnacki2017-03-061-0/+5
| | | | | | | | | | | | + rename shared context
* | | Remove unecessary calls to limit_user!, UniqueIps Middleware, and address MR ↵Pawel Chojnacki2017-03-061-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | review - cleanup formating in haml - clarify time window is in seconds - cleanup straneous chunks in db/schema - rename count_uniqe_ips to update_and_return_ips_count - other
* | | Allow limiting logging in users from too many different IPs.Pawel Chojnacki2017-03-062-2/+7
| | |