Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
AgeCommit message (Collapse)Author
2019-07-17Merge branch 'rs-zz-metrics' into 'master'Lin Jen-Shin
Add EE-only class instrumentation See merge request gitlab-org/gitlab-ce!30802
2019-07-16Rename Redactor classes to ReferenceRedactorSarah Yasonik
2019-07-16Don't use transactions and exceptionsReuben Pereira
Instead return error objects.
2019-07-16Add EE-only class instrumentationRobert Speicher
2019-07-15Make httpclient respect system SSL configurationStan Hu
By default, httpclient (and hence anything that uses rack-oauth2) ignores the system-wide SSL certificate configuration in favor of its own `cacert.pem`. This makes it impossible to use custom certificates without patching that file. Until https://github.com/nahi/httpclient/pull/386 is merged, we work around this limitation by forcing the `HTTPClient` SSL store to use the default system configuration. Closes https://gitlab.com/charts/gitlab/issues/1436
2019-07-13Remove obsolete chaos routesLuke Bennett
2019-07-12Merge branch 'js-specs-transactions' into 'master'Andreas Brandl
Use transactions in JS feature specs Closes #60207 See merge request gitlab-org/gitlab-ce!27496
2019-07-12Merge branch 'upgrade-rails-5-2-ce' into 'master'Bob Van Landuyt
[CE] Upgrade to Rails 5.2 See merge request gitlab-org/gitlab-ce!30052
2019-07-12Merge branch 'group-analytics-frame' into 'master'Lin Jen-Shin
Port EE analytics route See merge request gitlab-org/gitlab-ce!30586
2019-07-12Use transactions in JS feature specsHeinrich Lee Yu
Uses Rails transactional tests instead of DatabaseCleaner transaction strategy because that doesn't work with JS tests
2019-07-12Upgrade to Rails 5.2Heinrich Lee Yu
Updates changed method names and fixes spec failures
2019-07-12Merge branch '64403-remove-setimmediate-polyfill' into 'master'Clement Ho
Remove setImmediate polyfill from production assets See merge request gitlab-org/gitlab-ce!30591
2019-07-12Port EE analytics routeLuke Bennett
2019-07-11Merge branch 'improve-chaos-controller' into 'master'Stan Hu
Add `db_spin` and refactor ChaosController Closes #64425 See merge request gitlab-org/gitlab-ce!30559
2019-07-11Merge branch '35757-move-issues-in-boards-pderichs' into 'master'Jan Provaznik
Add endpoint to move issues in boards See merge request gitlab-org/gitlab-ce!30216
2019-07-11Add endpoint to move multiple issuesPatrick Derichs
Add specs for new endpoint to move multiple issues. Add changelog entry Just check the first issue for the ability to move / update Add specs for exceeding limits and malformed requests Changed name of shared examples Change title of changelog entry Use %i instead of %w Check permission to update issue on project instead of board Use admin_issue permission to check for issue move ability Changed variable name to avoid shadow issue_params method Rename route to bulk_move Change route definition Check permissions for each issue Combine methods for parameters permit check Remove extra context Change description of context Check param for type Array Add unit tests to MoveService Use before_action for permission check Use set instead of let! Use let's instead of set
2019-07-11Merge branch '490-enable-puma-by-default-in-GDK' into 'master'Grzegorz Bizon
Enable puma by default in GDK Closes gitlab-development-kit#490 See merge request gitlab-org/gitlab-ce!30285
2019-07-11Add `db_spin` and refactor ChaosControllerKamil Trzciński
2019-07-11Remove setImmediate polyfill from production assetsMike Greiling
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-09Copy EE-only config files to CERobert Speicher
These aren't used in CE, but it's safe to include them.
2019-07-09CE-EE parity for shared config filesRobert Speicher
This copies over EE-specific changes to shared configuration files in CE.
2019-07-09Merge branch 'rs-basic-config-files' into 'master'Lin Jen-Shin
CE-EE parity for config/initializers See merge request gitlab-org/gitlab-ce!30484
2019-07-09Enable puma by default in GDKQingyu Zhao
Two changes: 1. Move bin/web to bin/web_unicorn(removed PUMA switching logic) Introduce new shadow script bin/web. Now we have 3 scripts working together: bin/web, bin/web_puma, bin/web_unicorn In bin/web, it checks ENV['USE_WEB_SERVER']: - if value is 'puma' or value is not set, call bin/web_puma - if value is 'unicorn', call bin/web_unicorn - report error if other values given 2. Gitlab rails allow ENV setting to override timeout - ENV['GITLAB_RAILS_RACK_TIMEOUT'] for service_timeout - ENV['GITLAB_RAILS_WAIT_TIMEOUT'] for wait_timeout
2019-07-09Remove `:graphql` feature flagcharlie ablett
- Remove `FeatureConstrainer` call wrapping api endpoint - Remove `Feature.enabled?(:graphql)` conditionals in back and frontend - Modify graphql test to be graphql flag agnostic - Remove api routing spec - Remove frontend feature flag via `gon`
2019-07-09Limit user information to RackAttack throttlesMayra Cabrera
rack.attack.match_discriminator is only return on throttle_authenticated_api or throttle_authenticated_web requests, so we're avoiding logging user_id on blacklist requests Follow up of https://gitlab.com/gitlab-org/gitlab-ce/issues/62756
2019-07-09Add frozen_string_literal to EE files now in CERobert Speicher
2019-07-09Move lib/gitlab dependency to applicationRobert Speicher
We use the `Gitlab.ee` and `.ee?` methods in several initializers now.
2019-07-08CE-EE parity for files in config/initializersRobert Speicher
2019-07-08Add EE-only initializersRobert Speicher
These files are only used by EE, and are now wrapped in `Gitlab.ee` blocks for file parity.
2019-07-05Replace runtime isEE check with compile time oneLukas Eipert
This has the benefit that CE bundles will remove dead code in CE only builds. We have a follow-up issue to get rid of this completely: https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
2019-07-04Merge branch 'fix-sidekiq-transaction-check-race' into 'master'Nick Thomas
Fix race in forbid_sidekiq_in_transactions.rb Closes #64088 See merge request gitlab-org/gitlab-ce!30359
2019-07-04Merge branch 'mj/config-readme-diff' into 'master'Achilleas Pipinellis
Remove empty lines in config/README.md See merge request gitlab-org/gitlab-ce!30346
2019-07-04Change 'Todo' to 'To Do'Christie Lenneville
Currently, we label items to be done as "Todo." This is grammatically incorrect and (therefore) confusing—especially to our Spanish-speaking users for whom "todo" has a specific and unrelated meaning. We should use "To Do" and always use it as singular (not "To Dos"). Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot
2019-07-04Fix race in forbid_sidekiq_in_transactions.rbKamil Trzciński
Current code uses module attribute which stores value global instead of locally (thread locally). This results in concurrent accesses to overwrite the each other values
2019-07-04Remove empty lines in config/README.mdMarin Jankovski
2019-07-03Only save Peek session in Redis when Peek is enabledRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-07-03Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceMarin Jankovski
2019-07-03Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqMarin Jankovski
2019-07-02Merge branch ↵Kamil Trzciński
'63869-store-prometheus-metrics-in-separate-dirs-in-test-and-prod' into 'master' Use separate Prometheus metrics dirs in dev/test Closes #63869 See merge request gitlab-org/gitlab-ce!30253
2019-07-02Include user id and username in auth logMayra Cabrera
Fetches user based on the value of 'rack.attack.match_discriminator' Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62756
2019-07-02Start UnicornSampler in master processJan Provaznik
Using `on_master_start` assures that the sampler is started in master process and not in worker processes.
2019-07-02Use separate Prometheus metrics dirs in dev/testAleksei Lipniagov
Store Sidekiq and Web server metrics from Prometheus in separate directories in `development` and `test` environments.
2019-07-02Includes logic to persist namespace statisticsMayra Cabrera
- Add two new ActiveRecord models: - RootNamespaceStoragestatistics will persist root namespace statistics - NamespaceAggregationSchedule will save information when a new update to the namespace statistics needs to be scheduled - Inject into UpdateProjectStatistics concern a new callback that will call an async job to insert a new row onto NamespaceAggregationSchedule table - When a new row is inserted a new job is scheduled. This job will update call an specific service to update the statistics and after that it will delete thee aggregated scheduled row - The RefresherServices makes heavy use of arel to build composable queries to update Namespace::RootStorageStatistics attributes. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows
2019-07-02Merge branch 'osw-persist-tmp-snippet-uploads' into 'master'Marin Jankovski
Persist tmp snippet uploads at users See merge request gitlab/gitlabhq!3138
2019-07-02Merge branch 'security-prevent-detection-of-merge-request-template-name' ↵Marin Jankovski
into 'master' Guests can know whether merge request template name exists or not See merge request gitlab/gitlabhq!3117
2019-07-02Add a memory cache local to the thread to reduce Redis loadStan Hu
Loading `ApplicationSetting` from Redis was responsible for at least 50% of the CPU load of the Redis cluster on GitLab.com. Since these values generally don't change very much, we can load this from the database and cache it in memory, skipping Redis altogther. We use `ActiveSupport::Cache::MemoryStore` as a drop-in replacement for `RedisCacheStore` even though we probably don't need synchronized access within `Thread.current`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63977
2019-07-01Run do_master_restart callback on server startJan Provaznik
We want to call master_restart callback on start too - this callback is used for cleaning up prometheus files. It has been added to Omnibus already: https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/3350 So make sure that Unicorn example configs are up-to-date and that the same callback is called for Puma too.
2019-07-01Merge branch '62722-boot-app-in-ci-and-check-memory-ce' into 'master'Kamil Trzciński
Get memory data after booting app in production Closes #62722 See merge request gitlab-org/gitlab-ce!30185
2019-07-01Merge branch 'zj-circuit-breaker-removal-part-deux' into 'master'Bob Van Landuyt
Remove ignored circuit_breaker columns See merge request gitlab-org/gitlab-ce!30159