summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Use Rails 5.2 Redis caching storesh-use-redis-caching-storeStan Hu2019-08-051-1/+4
| | | | | | | | | | | | This is the first step in providing a fault-tolerant and distributed Redis caching store. We disable compression to avoid introducing a change that could have an adverse effect in production. Note that we won't be able to take advantage of the fault-tolerance and distributed features yet until we solve https://gitlab.com/gitlab-org/gitlab-ce/issues/64829. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64794
* Merge branch 'fix-design-management-router-ce' into 'master'Rémy Coutable2019-08-051-0/+4
|\ | | | | | | | | CE Backport for gitlab-ee!14741 (Fix design management router) See merge request gitlab-org/gitlab-ce!31090
| * CE-backport of designs routeLuke Duncalfe2019-08-051-0/+4
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14741
* | Revert "Merge branch 'backport-fix-remaining-prepend-lines' into 'master'"Mark Lapierre2019-08-051-2/+0
|/ | | This reverts merge request !31379
* Merge branch 'backport-fix-remaining-prepend-lines' into 'master'Robert Speicher2019-08-021-0/+2
|\ | | | | | | | | Support X_if_ee methods for QA tests See merge request gitlab-org/gitlab-ce!31379
| * Support X_if_ee methods for QA testsbackport-fix-remaining-prepend-linesYorick Peterse2019-08-011-0/+2
| | | | | | | | | | For the QA tests to use the new injection methods, we must require the initializer and ensure that the "constantize" method is available.
* | Call `GC::Profiler.clear` only in one placeAleksei Lipniagov2019-08-021-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, both InfluxSampler and RubySampler were relying on the `GC::Profiler.total_time` data which is the sum over the list of captured GC events. Also, both samplers asynchronously called `GC::Profiler.clear` which led to incorrect metric data because each sampler has the wrong assumption it is the only object who calls `GC::Profiler.clear` and thus could rely on the gathered results between such calls. We should ensure that `GC::Profiler.total_time` is called only in one place making it possible to rely on accumulated data between such wipes. Also, we need to track the amount of profiler reports we lost.
* | Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809ce-docker_image_replicationValery Sizov2019-08-013-0/+15
|/ | | | Introducing Docker Registry replication
* Allow knative do be uninstalled:João Cunha2019-07-311-0/+64
| | | | | | | | | | | | | | - After uninstalling the knative helm chart it's necessary to also remove some leftover resources to allow the cluster to be clean and knative to be reinstalleable. - Adds knative uninstall disclaimer - Uninstall ksvc before uninstalling knative Make list of Knative and Ingres resources explicit - To avoid deleting unwanted resources we are listing exact which resources will be deleted rather than simply deleting any resource that contains istio or knative words.
* Merge branch 'mg-update-icons-svg-import' into 'master'Kushal Pandya2019-07-311-0/+14
|\ | | | | | | | | Use file-loader for sprite icons within icon.vue See merge request gitlab-org/gitlab-ce!31257
| * Override icons.svg asset path with sprockets assetmg-update-icons-svg-importMike Greiling2019-07-291-0/+6
| |
| * Use file-loader to import icon spritesMike Greiling2019-07-291-0/+8
| |
* | Add methods for injecting EE modulesYorick Peterse2019-07-301-0/+17
| | | | | | | | | | | | | | | | | | | | | | This adds the methods prepend_if_ee, extend_if_ee, and include_if_ee that can be used to inject EE specific modules in EE. These methods are exposed as an initializer that is loaded as soon as possible. For tests that use fast_spec_helper.rb we must load this initializer manually, as the Rails environment is not loaded. This is not the most pretty setup, but unfortunately there is no alternative that we can use.
* | Remove line profiler from performance barSean McGivern2019-07-301-1/+0
| | | | | | | | | | | | | | | | | | 1. The output isn't great. It can be hard to find hotspots and, even when you do find them, to find why those are hotspots. 2. It uses some jQuery-specific frontend code which we can remove now that we don't have this any more. 3. It's only possible to profile the initial request, not any subsequent AJAX requests.
* | Merge branch 'sh-add-cmaps-for-pdfjs' into 'master'Mike Greiling2019-07-291-0/+8
|\ \ | | | | | | | | | | | | | | | | | | Make pdf.js render CJK characters Closes #62152 See merge request gitlab-org/gitlab-ce!31220
| * | Make pdf.js render CJK characterssh-add-cmaps-for-pdfjsStan Hu2019-07-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | As mentioned in https://github.com/wojtekmaj/react-pdf/blob/master/README.md, pdf.js needs the bundled cMaps files to work. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62152
* | | Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqRobert Speicher2019-07-292-5/+2
|\ \ \ | |_|/ |/| |
| * | Merge branch 'security-github-ssrf-redirect' into 'master'GitLab Release Tools Bot2019-07-261-0/+1
| |\ \ | | | | | | | | | | | | | | | | Do not allow localhost url redirection in GitHub Integration See merge request gitlab/gitlabhq!3188
| | * | Do not allow localhost url redirection in GitHub Integrationmanojmj2019-07-051-0/+1
| | | |
| * | | Merge branch 'security-remove-take-trigger-ownership-feature' into 'master'GitLab Release Tools Bot2019-07-261-5/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop feature to take ownership of a trigger token Closes #2868 See merge request gitlab/gitlabhq!3198
| | * | | Drop feature to take ownership of a trigger tokenFabio Pitino2019-07-101-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing API and frontend interactions that allowed users to take ownership of a trigger token. Removed mentions from the documentation.
* | | | | Merge branch 'remove-peek-pg' into 'master'Stan Hu2019-07-291-35/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace peek-pg with our own implementation Closes #44441 See merge request gitlab-org/gitlab-ce!31187
| * | | | | Replace peek-pg with our own implementationremove-peek-pgSean McGivern2019-07-261-35/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses an ActiveRecord subscriber to get queries and calculate the total query time from that. This means that the total will always be consistent with the queries in the table. It does however mean that we could potentially miss some queries that don't go through ActiveRecord. Making this change also allows us to unify the response JSON a little bit, making the frontend slightly simpler as a result.
* | | | | | Adds direct monitoring for sidekiq metricsRyan Cobb2019-07-291-0/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | This adds diirect monitoring for sidekiq metrics. This is done via sidekiq middleware and a sampler to pull from sidekiqs api.
* | | | | Merge branch '19186-redirect-wiki-git-route-to-wiki' into 'master'Stan Hu2019-07-261-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Redirect project.wiki.git to project wiki home See merge request gitlab-org/gitlab-ce!31085
| * | | | | Redirect project.wiki.git to project wiki home19186-redirect-wiki-git-route-to-wikiLuke Duncalfe2019-07-261-0/+12
| |/ / / / | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/19186
* | | | | Updates label value to include units in metricsLaura Montemayor2019-07-262-29/+29
|/ / / / | | | | | | | | | | | | | | | | | | | | This MR updates the y_label values and the label values in common_metrics and cluster_metrics to append the units of measurement to the labels.
* | | | Remove unneeded monkey-patch54478-table_exists-not-compatible-with-rails-5-1Heinrich Lee Yu2019-07-253-12/+2
| | | | | | | | | | | | | | | | | | | | Changes all calls to data_source_exists? to table_exists? since that is the intent of these calls
* | | | Merge branch 'ce-docker_image_replication-event-generation' into 'master'Douglas Barbosa Alexandre2019-07-242-0/+10
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14597 See merge request gitlab-org/gitlab-ce!30520
| * | | Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14597ce-docker_image_replication-event-generationValery Sizov2019-07-242-0/+10
| | | | | | | | | | | | | | | | | | | | This is the first part of Docker Registry replication for secondary Geo node.
* | | | Add Rugged calls to performance barStan Hu2019-07-231-0/+1
|/ / / | | | | | | | | | | | | | | | This will help diagnose the source of excessive I/O from Rugged calls. To implement this, we need to obtain the full list of arguments sent to each request method.
* | | Merge branch '52442-initial-mysql-support-removal' into 'master'Robert Speicher2019-07-2310-316/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove dead mysql code Closes #63191 See merge request gitlab-org/gitlab-ce!29608
| * | | Remove dead MySQL codeNick Thomas2019-07-2310-316/+32
| | | | | | | | | | | | | | | | None of this code can be reached any more, so it can all be removed
* | | | Merge branch 'sh-remove-opclasses-patch' into 'master'Mayra Cabrera2019-07-231-211/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove PostgreSQL opclasses monkey patch Closes #64529 and #59673 See merge request gitlab-org/gitlab-ce!30709
| * | | | Remove PostgreSQL opclasses monkey patchsh-remove-opclasses-patchStan Hu2019-07-231-211/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer needed with Rails 5.2. opclass is the attribute used per https://github.com/rails/rails/pull/19090/files. Now that we've removed the monkey patch and restored the Rails schema dumper, it appears Rails has dropped the inclusion of `using: :btree` as well (https://github.com/rails/rails/pull/27981). Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64529
* | | | Speed up boot timeSergey Alekseev2019-07-231-5/+1
|/ / / | | | | | | by removing an unused `begin ... rescue ... end` block. The block is no longer necessary after moving the bootsnap gem to the :default group in eedf735574b9f6c7c6c843943dd946ce84238236.
* | | Merge branch 'sh-enable-bootsnap' into 'master'Douglas Barbosa Alexandre2019-07-231-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make Bootsnap available via ENABLE_BOOTSNAP=1 Closes #45230 See merge request gitlab-org/gitlab-ce!30963
| * | | Make Bootsnap available via ENABLE_BOOTSNAP=1Stan Hu2019-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bootsnap speeds up Rails loading and now ships by default with Rails 5.2 apps. We should promote this to a default gem and test it out in production. This will also make it possible for the Helm Charts to take advantage of this. It appears that Bootsnap with Rails 5.2.3 and all the GitLab CE gems loads fine on an ARM platform now, so it's possible that https://gitlab.com/gitlab-org/gitlab-ce/issues/34799 has been resolved. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/45230
* | | | Merge branch 'FixLocaleEN' into 'master'Bob Van Landuyt2019-07-231-6/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove duplicated mapping key in config/locales/en.yml See merge request gitlab-org/gitlab-ce!30980
| * | | | Remove duplicated mapping key in config/locales/en.ymlPeter Dave Hello2019-07-221-6/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "errors" section was defined twice in this file, the first one was the once being removed here, another one is at line 164 (before removal) or line 158 (after removal). The content of duplicated strings definition are totally the same, the second part has more data (41 lines in total, compare to the removed 6 lines), so I removed the first part but not the second part. cc !16710
* | | | Merge branch '6544-remove-scss-diff-ce' into 'master'Phil Hughes2019-07-231-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Resolve difference in app/assets/stylesheets/application.scss See merge request gitlab-org/gitlab-ce!31007
| * | | | Resolve difference in app/assets/stylesheets/application.scss6544-remove-scss-diff-ceLukas Eipert2019-07-221-0/+6
| |/ / /
* | | | Merge branch 'ce-4946-resolve-ee-config' into 'master'Robert Speicher2019-07-221-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Port EE specific settings to CE See merge request gitlab-org/gitlab-ce!30998
| * | | | Port EE specific settings to CELin Jen-Shin2019-07-221-0/+1
| |/ / /
* | | | Fix xterm CSS not loadingMike Greiling2019-07-221-1/+4
|/ / /
* | | Move frontend fixtures into spec/frontendMike Greiling2019-07-191-1/+1
| | | | | | | | | | | | | | | Moves every fixture source file from spec/javascripts to spec/frontend
* | | Move frontend fixtures to tmp/testsMike Greiling2019-07-191-2/+8
| | |
* | | Merge branch 'an-sidekiq-chaos' into 'master'Lin Jen-Shin2019-07-182-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Adds chaos endpoints to Sidekiq Closes #64663 See merge request gitlab-org/gitlab-ce!30814
| * | | Adds chaos endpoints to Sidekiqan-sidekiq-chaosAndrew Newdigate2019-07-182-1/+2
| | | | | | | | | | | | | | | | | | | | This allows the chaos endpoints to be invoked in Sidekiq so that this environment can be tested for resilience.
* | | | Merge branch 'bjk/usage_ping' into 'master'Stan Hu2019-07-181-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Update usage ping cron behavior See merge request gitlab-org/gitlab-ce!30842