summaryrefslogtreecommitdiff
path: root/config/initializers/1_settings.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add Puma samplerJan Provaznik2019-05-291-0/+1
| | | | | This sampler gathers Puma-specific metrics which can be used by Prometheus then.
* Allow Sentry client-side DSN to be passed on gitlab.ymlDouglas Barbosa Alexandre2019-05-011-0/+1
|
* Merge branch 'feat/sentry-environment' into 'master'Douglas Barbosa Alexandre2019-04-301-0/+8
|\ | | | | | | | | feat: add option to define the Sentry Environment See merge request gitlab-org/gitlab-ce!27091
| * feat: allow Sentry configuration to be passed on gitlab.ymlRoger Meier2019-04-301-0/+8
| |
* | Merge branch '60965-referencing-issues-or-epics-by-url-fails-with-404' into ↵Douglas Barbosa Alexandre2019-04-301-0/+2
|\ \ | |/ |/| | | | | | | | | | | | | 'master' Resolve "Referencing issues or epics by URL fails with 404" Closes #61099 and #60965 See merge request gitlab-org/gitlab-ce!27827
| * Don't allow a relative_url_root of '/'Sean McGivern2019-04-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This will fail in a few ways: 1. We might end up having a path (not a URL) starting with `//`, which will be interpreted by browsers as a protocol-relative URL. 2. Issue, MR, snippet, etc. reference parsing will look for URLs at `http://gitlab.example.com//project/...`, with the double slash preventing single slashes from working. In general, it doesn't seem like there's a valid case for this.
* | Remove disabled pages domainsVladimir Shushlin2019-04-301-0/+4
|/ | | | | Domain will be removed by verification worker after 1 week of being disabled
* Add part of needed codeGosia Ksionek2019-04-051-0/+1
| | | | | | | | | | | | | | | | | Add columns to store project creation settings Add project creation level column in groups and default project creation column in application settings Remove obsolete line from schema Update migration with project_creation_level column existence check Rename migrations to avoid conflicts Update migration methods Update migration method
* Allow external diffs to be used conditionallyNick Thomas2019-03-271-0/+5
| | | | | | | | | | Since external diffs are likely to be a bit slower than in-database ones, add a mode that makes diffs external after they've been obsoleted by events. This should strike a balance between performance and disk space. A background cron drives the majority of migrations, since diffs become outdated through user actions.
* Integrate Gitlab::Keys with Gitlab::ShellPatrick Bajao2019-03-191-0/+1
| | | | | | | | | | | In this commit, some methods that aren't being used are removed from `Gitlab::Shell`. They are the ff: - `#remove_keys_not_found_in_db` - `#batch_read_key_ids` - `#list_key_ids` The corresponding methods in `Gitlab::Keys` have been removed as well.
* Allow raw `tls_options` to be passed in LDAP configurationDrew Blessing2019-03-041-0/+18
| | | | | | | We've previously exposed ca_file and ssl_version but there are many possible options that can be used inside tls_options. Instead of exposing individual ones, simply expose the entire hash so it can be passed in and we won't have to add things in the future.
* Prepare test suite for switch to Gitaly-embedded Git hooksJacob Vosmaer2019-02-271-1/+1
|
* Allow MR diffs to be placed into an object storeNick Thomas2019-02-051-0/+8
|
* Add SSE-C key configuration option for Amazon S3 remote backupsPepijn Van Eeckhoudt2019-01-091-0/+1
|
* Remove RemoveOldWebHookLogsWorkerDouwe Maan2018-12-071-4/+0
|
* Add config to disable impersonationImre Farkas2018-11-291-0/+1
| | | | | | | | Adds gitlab.impersonation_enabled config option defaulting to true to keep the current default behaviour. Only the act of impersonation is modified, impersonation token management is not affected.
* Make GitLab pages support access controlTuomo Ala-Vannesluoma2018-10-051-0/+1
|
* Enable omniauth by defaultNick Thomas2018-09-131-1/+1
|
* Fix closing issue default patternSamuele Kaplun2018-09-061-1/+1
| | | | | | * (Suf)fix #51085 :-) Signed-off-by: Samuele Kaplun <kaplun@protonmail.com>
* Bump unauthenticated session time from 1 hour to 2 hoursStan Hu2018-08-311-1/+1
| | | | | | | | | | Users who have their system clocks configured inconsistently due to Daylight Savings may see a GitLab session cookie that immediately expires, resulting in a 422 error. To avoid these errors, we can bump the unauthenticated session time from 1 hour to 2 hours so they have time to login and get the default 7-day session. Closes #50393
* Disables Rack Attack by defaultTiago Botelho2018-07-251-1/+1
|
* Make ObjectStoreSettings use more explicit and add specsdz-refactor-object-store-settingsDmitriy Zaporozhets2018-07-241-6/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Create class responsible for default object store settingsDmitriy Zaporozhets2018-07-231-24/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch '43312-remove_user_activity_workers' into 'master'Rémy Coutable2018-07-191-4/+0
|\ | | | | | | | | | | | | Delete UserActivities and related workers Closes #43312 See merge request gitlab-org/gitlab-ce!20597
| * Delete UserActivities and related workers43312-remove_user_activity_workersImre Farkas2018-07-181-4/+0
| |
* | Limit the TTL for anonymous sessions to 1 hourStan Hu2018-07-181-0/+1
|/ | | | | | | | | | | By default, all sessions are given the same expiration time configured in the session store (e.g. 1 week). However, unauthenticated users can generate a lot of sessions, primarily for CSRF verification. It makes sense to reduce the TTL for unauthenticated to something much lower than the default (e.g. 1 hour) to limit Redis memory. In addition, Rails creates a new session after login, so the short TTL doesn't even need to be extended. Closes #48101
* Update issue closing patternGeorge Tsiolis2018-07-111-1/+1
|
* Prune web hook logs older than 90 daysYorick Peterse2018-07-021-0/+4
| | | | | | | | This adds a recurring Sidekiq job that removes up to 50 000 old web hook logs per hour, if they are older than 90 days. This will prevent the web_hook_logs table from growing indefinitely. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/46120
* Add RepositoryCheck::DispatchWorker to start worker per shardToon Claes2018-06-271-1/+1
| | | | | | | The RepositoryCheck::DispatchWorker will start a RepositoryCheck::BatchWorker for each healthy shard. Closes gitlab-org/gitlab-ce#48042
* Migrate storage nesting check to GitalyJacob Vosmaer (GitLab)2018-06-271-1/+1
|
* More gitaly disk access blocksJacob Vosmaer (GitLab)2018-06-201-0/+1
|
* Rename worker to ArchiveTracesCronWorkerShinya Maeda2018-06-061-3/+3
|
* Fix name of worker for cron worker specShinya Maeda2018-06-061-1/+1
|
* Rename find_stale. Fix worker name in declaration.Shinya Maeda2018-06-061-3/+3
|
* Changed cron interval to every 17 minuteShinya Maeda2018-06-061-1/+1
|
* Change cron period to per hourShinya Maeda2018-06-061-1/+1
|
* Simplify RescueStaleLiveTraceWorkerShinya Maeda2018-06-061-2/+2
|
* Added flush-to-db process for the cron worker. Rename to ↵Shinya Maeda2018-06-061-3/+3
| | | | RescueStaleLiveTraceWorker.
* Rescue stale live tracesShinya Maeda2018-06-061-0/+3
|
* Add "deny disk access" Gitaly feature (tripswitch)Jacob Vosmaer (GitLab)2018-06-011-2/+4
|
* Don't expire the current ApplicationSetting in config/initializers/1_settings.rbRémy Coutable2018-05-231-3/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add gitlab-pages admin ping rake taskJacob Vosmaer (GitLab)2018-04-271-0/+3
|
* Do not preload settingsKamil Trzciński2018-04-241-1/+1
|
* Get rid of config/initializers/2_app.rb and define Gitlab in lib/gitlab.rbRémy Coutable2018-04-231-1/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Move Settings to its own file, isolate it from Rails and introduce Gitlab.rootRémy Coutable2018-04-231-128/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'master' into 'stuartnelson3/gitlab-ce-stn/issue-due-email'Sean McGivern2018-04-101-0/+8
|\ | | | | | | # Conflicts: # db/schema.rb
| * Merge branch 'direct-upload-of-artifacts' into 'master'Grzegorz Bizon2018-04-051-0/+1
| |\ | | | | | | | | | | | | Direct upload of artifacts See merge request gitlab-org/gitlab-ce!18160
| | * Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-051-0/+1
| | |
| * | Merge branch 'direct-upload-of-uploads' into 'master'Grzegorz Bizon2018-04-051-0/+1
| |\ \ | | |/ | | | | | | | | | Allow to store uploads by default on Object Storage See merge request gitlab-org/gitlab-ce!18156
| | * Allow to store uploads by default on Object Storagedirect-upload-of-uploadsKamil Trzciński2018-04-041-0/+1
| | | | | | | | | | | | Introduce `direct_upload` option for `uploads` which is gonna set a default storage to Object Storage and use Unicorn to save data