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/lib
AgeCommit message (Collapse)Author
2019-03-15Add Load testing script for artillery.ioqa-artillery-io-scriptSanad Liaquat
Also add rake tasks that makes use of existing performance data genertion task.
2019-03-14Rename pg_stat_wal_receiver_supported? DB helperAsh McKenzie
From pg_stat_wal_receiver_supported? to postgresql_minimum_supported_version? Also add test coverage
2019-03-14Merge branch '58208-explicitly-set-masterauth' into 'master'Douglas Barbosa Alexandre
Explicitly set master_auth for new GKE clusters Closes #58208 See merge request gitlab-org/gitlab-ce!26018
2019-03-13Merge branch 'update-rubocop' into 'master'Stan Hu
Update rubocop target ruby version See merge request gitlab-org/gitlab-ce!24804
2019-03-13Merge branch 'fix-review-app-env-url' into 'master'Douwe Maan
Use project name and ID in Review App environment URLs instead of the project path slug Closes #52990 See merge request gitlab-org/gitlab-ce!25990
2019-03-13Merge branch 'pravi/gitlab-ce-update-recaptcha' into 'master'Rémy Coutable
Update recaptcha gem from 3.x to 4.11 See merge request gitlab-org/gitlab-ce!25921
2019-03-13Merge branch 'allow-filtering-labels-by-a-single-character' into 'master'Robert Speicher
Allow filtering labels by a single character Closes #58795 See merge request gitlab-org/gitlab-ce!26012
2019-03-13Run rubocop -aNick Thomas
2019-03-13Allow filtering labels by a single characterSean McGivern
When we use Gitlab::SQL::Pattern, this typically relates to a trigram index. As the 'tri' indicates, we need at least three characters to be able to use that index. Labels don't have a trigram index, because we never allow you to search for them globally: it's always in the context of a project or a group. In that context, it's just as fast to search for a single character (in general) because there is already a pretty specific index being used.
2019-03-13Return early if there were no references in textBob Van Landuyt
2019-03-13Explicitly set master_auth for new GKE clustersThong Kuah
From 1.12, GKE will disable basic auth and client certificate by default. Explicitly enable those now (currently we use 1.10/1.11 clusters) so that GKE cluster configuration will continue to work.
2019-03-13Use project name and id in review app url instead of project path slugwalkafwalka
2019-03-13Fix 500 error caused by CODEOWNERS with no matchesStan Hu
Including a CODEOWNERS file with lines without any matching username or e-mail regular expressions would cause an Error 500. Don't attempt a database query if there is nothing to query. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10282
2019-03-12Merge branch 'sh-revert-rack-request-health-checks' into 'master'Douglas Barbosa Alexandre
Fix health checks not working behind load balancers Closes #58573 See merge request gitlab-org/gitlab-ce!26055
2019-03-12Fix health checks not working behind load balancersStan Hu
The change in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24199 caused requests coming from a load balancer to arrive as 127.0.0.1 instead of the actual IP. `Rack::Request#ip` behaves slightly differently different than `ActionDispatch::Request#remote_ip`: the former will return the first X-Forwarded-For IP if all of the IPs are trusted proxies, while the second one filters out all proxies and falls back to REMOTE_ADDR, which is 127.0.0.1. For now, we can revert back to using `Rack::Request` because these middlewares don't manipulate parameters. The actual fix problem involves fixing Rails: https://github.com/rails/rails/issues/28436. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58573
2019-03-12Seed tablesample strategyAndreas Brandl
This produces stable approximate counts among invocations unless the table changed. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58791.
2019-03-12Merge branch ↵Douglas Barbosa Alexandre
'58739-hashed-storage-prevent-a-migration-and-rollback-running-at-the-same-time' into 'master' Hashed Storage: Prevent a migration and rollback running at the same time Closes #58739 See merge request gitlab-org/gitlab-ce!25976
2019-03-12Merge branch 'sh-skip-sti-tables-reltuples' into 'master'Nick Thomas
Fix counting of groups in admin dashboard Closes gitlab-ee#7435 See merge request gitlab-org/gitlab-ce!26009
2019-03-12Merge branch 'resolve-lib-differences' into 'master'Robert Speicher
Resolve CE to EE differences in the lib/api directory See merge request gitlab-org/gitlab-ce!25430
2019-03-12Prevent storage migration and rollback running at the same timeGabriel Mazetto
This is a small polishing on the storage migration and storage rollback rake tasks. By aborting a migration while a rollback is already scheduled we want to prevent unexpected consequences.
2019-03-12Remove fake repository_path responseFabio Papa
The repository_path is no longer needed since https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/231, which closes https://gitlab.com/gitlab-org/gitlab-shell/issues/135.
2019-03-12Merge branch 'bvl-internal-auth-using-header' into 'master'Nick Thomas
Authenticate the internal API using a header See merge request gitlab-org/gitlab-ce!25924
2019-03-12Merge branch '58781-silent-progress-in-auto-devops' into 'master'Kamil Trzciński
Use curl silent/show-error options on Auto DevOps' deploy Closes #58781 See merge request gitlab-org/gitlab-ce!25954
2019-03-12Fix counting of groups in admin dashboardStan Hu
1. Ignore tables that use STI in reltuples count strategy. Models that use Rails' single-type inheritance, such as `Group` and `CiService`, need an additional WHERE clause to count the total properly, which isn't supported by the reltuples strategy. For now, we just omit these from the statistics sampling and rely on the other strategies to get this data. 2. Fix tablesample count strategy not counting groups properly. Models such as `Group` needs a WHERE clause to distinguish it from namespaces. We now add in the WHERE clause if STI is in use. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/7435
2019-03-12Add feature flag to enforce gitaly request limitsMark Lapierre
We typically don't want to enforce request limits in production However, we have some production-like test environments, i.e., ones where `Rails.env.production?` returns `true`. We do want to be able to check if the limit is being exceeded while testing in those environments.
2019-03-11Authenticate the internal API using a headerBob Van Landuyt
Instead of mixing in the shared secret into the querystring or body, we could also specify it in a header.
2019-03-11Support multiple roulette roles per projectAndreas Brandl
2019-03-11Merge branch 'sh-rugged-commit-tree-entry' into 'master'Douwe Maan
Bring back Rugged implementation of commit_tree_entry See merge request gitlab-org/gitlab-ce!25896
2019-03-11Use curl silent/show-error options on Auto DevOpsTakuya Noguchi
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-03-10Merge branch 'more-pgroup-fix' into 'master'Stan Hu
Fix the last-ditch memory killer pgroup SIGKILL See merge request gitlab-org/gitlab-ce!25940
2019-03-09Fix the last-ditch memory killer pgroup SIGKILLNick Thomas
2019-03-09Merge branch 'fix-error-msg-typo' into 'master'Nick Thomas
Update cleanup.rake to fix a typo in the error message See merge request gitlab-org/gitlab-ce!25901
2019-03-09Add back Rugged support for retrieving a commit tree entryStan Hu
This brings back some of the changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20176/diffs. We discovered another N+1 that hits Gitaly `TreeEntry` via the `RelativeLinkFilter`: https://gitlab.com/gitlab-org/gitlab-ce/issues/58657. When a blob is loaded with many relative links, `TreeEntry` is called for each link to scan the URI type. There are multiple paths that hit Gitaly `TreeEntry`, and https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25706 did not cover all cases. This commit covers another common use case. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged may be faster than going through than Gitaly. This merge request introduces the feature flag `rugged_commit_tree_entry` to activate the Rugged method.
2019-03-08Apply recaptcha API changes in 4.0Toon Claes
In recaptcha 4.0.0 there was an API change: - `public_key` -> `site_key` - `private_key` -> secret_key See: https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md
2019-03-08Merge branch '58649-project-template-for-android' into 'master'Sean McGivern
Resolve "Project template for Android" Closes #58649 See merge request gitlab-org/gitlab-ce!25870
2019-03-08Use vendored templates for Sec ProductsVictor Zagorodny
Update Dependency Scanning and add other templates
2019-03-08Provide EE backports for filtering by approver featureIgor
Adds custom validator for ArrayNoneAny param Extracts some logic in js into separate files
2019-03-08Update cleanup.rake to fix a typo in the error messageRay Paik
2019-03-07Add Android templateJason Lenny
2019-03-07Resolve "Project template for iOS"Jason Lenny
2019-03-07Merge branch 'incremental-backups' into 'master'Stan Hu
Incremental backups See merge request gitlab-org/gitlab-ce!24035
2019-03-07Adding additional usage metrics for Release to weekly pingDarby Frey
2019-03-07Merge branch 'sh-rugged-get-tree-entry' into 'master'Sean McGivern
Bring back Rugged implementation of TreeEntry See merge request gitlab-org/gitlab-ce!25706
2019-03-07Merge branch 'sh-rugged-tree-entries' into 'master'Sean McGivern
Bring back Rugged implementation of GetTreeEntries See merge request gitlab-org/gitlab-ce!25674
2019-03-07Revert "Merge branch 'id-1951-filter-merge-requests-by-approvers' into 'master'"Igor
This reverts merge request !24982
2019-03-07Remove unnecessary return statements in tree.rbStan Hu
2019-03-07Merge branch 'fix-sidekiq-process-group-killing' into 'master'Stan Hu
Fix Sidekiq process group killing See merge request gitlab-org/gitlab-ce!25866
2019-03-07Fix return nil Rubocop offensesStan Hu
2019-03-07Merge branch '56937-edit-knative-domain' into 'master'Grzegorz Bizon
Edit Knative domain after it has been deployed Closes #56937 See merge request gitlab-org/gitlab-ce!25386
2019-03-07Fix Sidekiq process group killingNick Thomas