| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Improve the performance of viewing deploy keys
Closes #43080
See merge request gitlab-org/gitlab-ce!31384
|
| |
| |
| |
| |
| | |
This is just in case the creation of this index takes
a while to create.
|
| |
| |
| |
| |
| |
| | |
Per https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31384, this
appears to drop the runtime of the query from 1.2 ms (cold), 500ms (warm
cache) to < 20 ms.
|
|/ |
|
|
|
|
| |
Also removes unnecessary methods causing extra queries
|
| |
|
|
|
|
|
| |
`allow_local_requests_for_hooks_and_services` was renamed to
`allow_local_requests_for_web_hooks_and_services`.
|
|
|
|
|
|
| |
Simplify SystemHookUrlValidator to inherit from PublicUrlValidator
Refactor specs to move out shared examples to be used in both
system hooks and public url validators.
|
| |
|
|
|
|
|
|
|
| |
This MR adds new application setting to network section
`allow_local_requests_from_system_hooks`. Prior to this change
system hooks were allowed to do local network requests by default
and we are adding an ability for admins to control it.
|
|
|
|
| |
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14520
|
|\
| |
| |
| |
| | |
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809
See merge request gitlab-org/gitlab-ce!31375
|
| |
| |
| |
| | |
Introducing Docker Registry replication
|
|/
|
|
|
|
| |
This implements the support for `needs:` keyword
as part of GitLab CI. That makes some of the jobs
to be run out of order.
|
|
|
|
|
| |
- DB migration of board milestone values
- issue finder & spec updates
|
|
|
|
|
|
|
|
|
| |
For customers with thousands of entries in the table, lookups for an
LDAP identity dominated the PostgreSQL statistics because of sequential
scans. We can speed this up by adding a partial index with the
extern_uid and provider.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59630
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These migrations do the following:
- Adds a new `issue_id` column to `versions`. This fixes an n+1 problem
when loading versions for an issue in GraphQL as AR can now load from
cache
- Change the unique restraint on versions.sha to be scoped to `issue_id`
as in order to import version data, we need to allow duplicate `sha`
values for versions
- Update all versions with an `issue_id`
https://gitlab.com/gitlab-org/gitlab-ee/issues/11090
|
|
|
|
|
| |
Adds Job specific variables to facilitate specifying variables when
running manual jobs.
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Adds event enum column to DesignsVersions join table
See merge request gitlab-org/gitlab-ce!30745
|
| |
| |
| |
| |
| |
| | |
Also adds index to support scopes and queries
This supports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14656
|
| |
| |
| |
| | |
It needs to default to an empty array logically.
|
| |
| |
| |
| |
| |
| |
| | |
`Array.reverse_each` is faster than `Array.reverse.each` because:
* reverse.each creates a new array then loops each element
* reverse_each loops in reverse order (no intermediate array created)
|
|\ \
| |/
|/|
| |
| | |
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14597
See merge request gitlab-org/gitlab-ce!30520
|
| |
| |
| |
| |
| | |
This is the first part of Docker Registry replication
for secondary Geo node.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Limits raw requests to 300 per minute and per raw path.
* Add a new attribute to ApplicationSettings so user can change this
value on their instance.
* Uses Gitlab::ActionRateLimiter to limit the raw requests.
* Add a new method into ActionRateLimiter to log the event into auth.log
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/48717
|
|/
|
|
| |
Signed-off-by: Istvan szalai <istvan.szalai@savoirfairelinux.com>
|
|\
| |
| |
| |
| |
| |
| | |
Remove dead mysql code
Closes #63191
See merge request gitlab-org/gitlab-ce!29608
|
| |
| |
| |
| | |
None of this code can be reached any more, so it can all be removed
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
Add index for issues on relative position, project, and state for manual sorting
See merge request gitlab-org/gitlab-ce!30542
|
| |
| |
| |
| | |
and state
|
| |
| |
| |
| |
| | |
We also scope the `rescue`s to only those raised by ActiveRecord, which
would have allowed us to spot this logic error sooner.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
- Migration updates existing groups to "owner", then sets default to
"maintainer" so that new groups will default to that
- Update spec examples
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Adds migration to introduce non-regular rule_types to
approval_project_rules
|
|
|
|
|
| |
- Set access level in before_validation hook
- Add post migration for updating existing project_features
|
|
|
|
|
| |
- Background migration for changing null values to false
- Set false as default value for private_profile DB column
|
|
|
|
| |
This eliminates conflicts between CE and EE db/schema.rb files.
|
|
|
|
|
| |
This makes the CE and EE tables consistent and ensures changes in the
schema for the CE version don't cause conflicts with EE.
|
|\
| |
| |
| |
| | |
Add cleanup migration for MR's multiple assignees
See merge request gitlab-org/gitlab-ce!30269
|
| |
| |
| |
| |
| |
| |
| | |
The migration steals the remaining background jobs
of populating MRs with assignees, executes them
synchronously and then makes sure that all the
assignees are migrated
|
|\ \
| | |
| | |
| | |
| | | |
Set the name of a user-namespace to the user name
See merge request gitlab-org/gitlab-ce!23272
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This fixes the `Namespace#name` and `Route#name` for all user
namespaces and their personal projects in case they don't match the
user name anymore.
More info info in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23272
|