Age | Commit message (Collapse) | Author |
|
Also add rake tasks that makes use of existing performance data
genertion task.
|
|
From pg_stat_wal_receiver_supported? to
postgresql_minimum_supported_version?
Also add test coverage
|
|
Explicitly set master_auth for new GKE clusters
Closes #58208
See merge request gitlab-org/gitlab-ce!26018
|
|
Update rubocop target ruby version
See merge request gitlab-org/gitlab-ce!24804
|
|
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
|
|
Update recaptcha gem from 3.x to 4.11
See merge request gitlab-org/gitlab-ce!25921
|
|
Allow filtering labels by a single character
Closes #58795
See merge request gitlab-org/gitlab-ce!26012
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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
|
|
Fix health checks not working behind load balancers
Closes #58573
See merge request gitlab-org/gitlab-ce!26055
|
|
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
|
|
This produces stable approximate counts among invocations unless the
table changed.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58791.
|
|
'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
|
|
Fix counting of groups in admin dashboard
Closes gitlab-ee#7435
See merge request gitlab-org/gitlab-ce!26009
|
|
Resolve CE to EE differences in the lib/api directory
See merge request gitlab-org/gitlab-ce!25430
|
|
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.
|
|
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.
|
|
Authenticate the internal API using a header
See merge request gitlab-org/gitlab-ce!25924
|
|
Use curl silent/show-error options on Auto DevOps' deploy
Closes #58781
See merge request gitlab-org/gitlab-ce!25954
|
|
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
|
|
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.
|
|
Instead of mixing in the shared secret into the querystring or body,
we could also specify it in a header.
|
|
|
|
Bring back Rugged implementation of commit_tree_entry
See merge request gitlab-org/gitlab-ce!25896
|
|
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
|
|
Fix the last-ditch memory killer pgroup SIGKILL
See merge request gitlab-org/gitlab-ce!25940
|
|
|
|
Update cleanup.rake to fix a typo in the error message
See merge request gitlab-org/gitlab-ce!25901
|
|
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.
|
|
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
|
|
Resolve "Project template for Android"
Closes #58649
See merge request gitlab-org/gitlab-ce!25870
|
|
Update Dependency Scanning and add other templates
|
|
Adds custom validator for ArrayNoneAny param
Extracts some logic in js into separate files
|
|
|
|
|
|
|
|
Incremental backups
See merge request gitlab-org/gitlab-ce!24035
|
|
|
|
Bring back Rugged implementation of TreeEntry
See merge request gitlab-org/gitlab-ce!25706
|
|
Bring back Rugged implementation of GetTreeEntries
See merge request gitlab-org/gitlab-ce!25674
|
|
This reverts merge request !24982
|
|
|
|
Fix Sidekiq process group killing
See merge request gitlab-org/gitlab-ce!25866
|
|
|
|
Edit Knative domain after it has been deployed
Closes #56937
See merge request gitlab-org/gitlab-ce!25386
|
|
|