| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- Internationalise some strings
- Improve specs
|
|
|
|
|
|
|
| |
- Use BackgroundMigration
- use say in migration instead of logger
- make update query more concise
- make `by_milestone` method more concise
|
|
|
|
| |
- Use BackgroundMigration
|
|
|
|
|
|
|
| |
`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)
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|\
| |
| |
| |
| | |
Resolves confusion within spec rake tasks.
See merge request gitlab-org/gitlab-ce!31073
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Optimise import performance
Closes #64924
See merge request gitlab-org/gitlab-ce!31045
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Fix `O(n)` complexity of `append_or_update_attribute`,
we append objects to an array and re-save project
- Remove the usage of `keys.include?` as it performs `O(n)`
search, instead use `.has_key?`
- Remove the usage of `.keys.first` as it performs a copy
of all keys, instead use `.first.first`
|
| | |
| | |
| | |
| | | |
Signed-off-by: Istvan szalai <istvan.szalai@savoirfairelinux.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Use a base class for Peek views
See merge request gitlab-org/gitlab-ce!31108
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Introduce a `DetailedView` base class, which is inherited by
the Gitaly, Redis, and Rugged views. This reduces code duplication.
|
|/ / /
| | |
| | |
| | | |
https://gitlab.com/gitlab-org/gitlab-ce/issues/58792
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Add Rugged calls to performance bar
See merge request gitlab-org/gitlab-ce!30983
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A project can have the same `LfsObject` linked with up to three
`LfsObjectsProject` records. Each of these records would be for a
different repository, recorded in the `repository_type` property. The
different repositories at time of writing are "project", "wiki", and
"design". See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894
This change exports the list of `repository_type`s as a JSON mapping of
oid => repository_types, which are imported to recreate the correct
`LfsObjectsProject` records.
https://gitlab.com/gitlab-org/gitlab-ee/issues/11090
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Environment variable USE_WEB_SERVER should have the value of the selected webserver when calling bin/web startup script.
Fixes #65008
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Set DOCKER_TLS_CERTDIR in CI job templates
See merge request gitlab-org/gitlab-ce!31080
|
| | | |
| | | |
| | | |
| | | | |
https://gitlab.com/gitlab-org/gitlab-ce/issues/65019
|
|/ / /
| | |
| | |
| | | |
https://gitlab.com/gitlab-org/gitlab-ce/issues/65019
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |
| | |
| | |
| | | |
talking about Auto DevOps projects
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
into 'master'
Adjust group level analytics to accept multiple projects ids
See merge request gitlab-org/gitlab-ce!30744
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add cr remarks
Improve specs according to the review
Fix schema
Add cr remarks
Fix naming
Add cr remarks
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To allow project filtering
Prepare summary for accepting multiple groups
Modify deploys group summary class
Add filtering by project name in issues summary
Fix rubocop offences
Add changelog entry
Change name to id in project filtering
Fix rebase problem
Add project extraction
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Extra logging for new live trace architecture
See merge request gitlab-org/gitlab-ce!30892
|
| |/ /
| | |
| | |
| | |
| | | |
Often live traces are removed even though the archived trace
doesn't exist. This commit checkes the existence strictly.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Use persistent Redis cluster for Workhorse pub/sub notifications
See merge request gitlab-org/gitlab-ce!30990
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, in Omnibus, Workhorse expected to listen via the Redis
shared state cluster for the `workhorse:notifications` publish/subscribe
channel, but the Rails code was using the Sidekiq queue cluster for
this. To fix this inconsistency, we make the Rails code use the
persistent cluster, since we don't want Workhorse to be looking at
anything Sidekiq-related.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Remove :livesum from RubySampler metrics
See merge request gitlab-org/gitlab-ce!31047
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Rake task to cleanup expired ActiveSession lookup keys
See merge request gitlab-org/gitlab-ce!30668
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In some cases ActiveSession.cleanup was not called after authentication,
so for some user ActiveSession lookup keys grew without ever cleaning
up. This Rake task manually iterates over the lookup keys and removes
ones without existing ActiveSession.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Multiple pipeline support for Build status
See merge request gitlab-org/gitlab-ce!30828
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Adds specs for testing the new behavior of specifying a pipeline when
POSTing a status.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This allows user to specify the pipeline ID
when several pipelines has been triggered
on the same branch and commit.
Signed-off-by: Gaetan Semet <gaetan.semet@renault.com>
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
'master'
Add better error message to MembersMapper#ensure_default_member!
See merge request gitlab-org/gitlab-ce!30838
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
More details in: https://gitlab.com/gitlab-org/gitlab-ce/issues/64377
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Support remove source branch on merge w/ push options
See merge request gitlab-org/gitlab-ce!30728
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
MergeRequests::PushOptionsHandlerService has been updated to allow
creating and updating merge requests with the
`remove_source_branch` set using git push options.
To create a new merge request and set it to remove the source branch
when it is merged:
git push -u origin -o merge_request.create \
-o merge_request.remove_source_branch
To update an existing merge request and set it to remove the source
branch when it is merged:
git push -u origin -o merge_request.remove_source_branch
Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It seems that we missed the backward compatibility support
for profiles in the existing folder.
This commit also fixes some specs to be idempotent
and work in a temporary directory which not always
seems to be the case.
This commit also brings the profile_spec.rb which seems
to be missing.
|
| |_|/
|/| |
| | |
| | |
| | | |
This will make it easier to parse this in production and adds the
`correlation_id` if available.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Add a group setting to allow Maintainers to create sub-groups
See merge request gitlab-org/gitlab-ce!29718
|
| | | | |
|
| | | | |
|