| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Adds cluster_for_group factory for convenience
See merge request gitlab-org/gitlab-ce!30826
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also means we don't have to resort to an update statement to set parent
for child groups who also have clusters.
This is much shorter than
```
create(:cluster, :provided_by_gcp, :group, groups: [group])
```
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This validation prevents the domain from being saved from the UI
e.g. when user tries to enable Let's Encrypt integration
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Add a group setting to allow Maintainers to create sub-groups
See merge request gitlab-org/gitlab-ce!29718
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Migration updates existing groups to "owner", then sets default to
"maintainer" so that new groups will default to that
- Update spec examples
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Migration updates existing groups to "owner", then sets default to
"maintainer" so that new groups will default to that
- Update spec examples
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This setting is at the group level only. The default is specified to
be maintainers and owners.
**Specs only**, all failing.
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
This pagination is not used anywhere so there is no reason
to keep it. It seems the usage of offset_id was probably
removed in 90c60138db4e1f86026aac5760febe4ba066ca30
|
| | | |
| | | |
| | | |
| | | | |
Applies to issues_url and new_issue_url
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If `project_auto_devops.enabled` is nil for a project, when setting any
auto devops values via the API, we try to create a new row in the DB,
instead of re-using the existing one. This leads to the project_id
being set to nil, and the database `NOT NULL` constraint leading to a
500 response.
This commit resolves the issue by correctly detecting the presence of a
ProjectAutoDevops row and re-using it. Persistence is also moved away
from explicit `update!` calls and into relying on `autosave: true` on
the model.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If an environment slug is predictable given only the environment
name, we can use the environment slug earlier in the CI variable
evaluation process as we don't have to wait for the environment
record itself to be persisted.
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Adjust cycle analytics to group level
See merge request gitlab-org/gitlab-ce!30391
|
| | |
| | |
| | |
| | | |
Change small things for better readability
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add specs for group level
Update entities
Update base classes
Add groups-centric changes
Update plan and review stage
Add summary classes
Add summary spec
Update specs files
Add to specs test cases for group
Add changelog entry
Add group serializer
Fix typo
Fix typo
Add fetching namespace in sql query
Update specs
Add rubocop fix
Add rubocop fix
Modify method to be in sync with code review
Add counting deploys from subgroup
To group summary stage
Add subgroups handling
In group stage summary
Add additional spec
Add additional specs
Add more precise inheritance
Add attr reader to group level
Fix rubocop offence
Fix problems with specs
Add cr remarks
Renaming median method and a lot of calls in specs
Move spec setup
Rename method in specs
Add code review remarks regarding module
Add proper module name
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removes clusters_cte feature flag
Closes #64259
See merge request gitlab-org/gitlab-ce!30827
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
This has been enabled on production without issue
https://gitlab.com/gitlab-org/gitlab-ce/issues/64259
|
| | |
| | |
| | |
| | |
| | | |
- Set access level in before_validation hook
- Add post migration for updating existing project_features
|
|/ /
| |
| |
| |
| |
| | |
By doing smaller mget calls to Redis, it can better schedule the
workload. Currently a single mget with a lot of keys can keep Redis busy
for long, while nothing in its queue gets processed.
|
| |
| |
| |
| | |
Instead return error objects.
|
| |
| |
| |
| |
| |
| | |
- Set as uninstallable app
- Update docs
- Adjust specs
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Remove support for legacy pipeline triggers
Closes #30231
See merge request gitlab-org/gitlab-ce!30133
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Keep feature flag disabled by default and turn off
all functionality related to legacy triggers.
* Block legacy triggers from creating pipeline
* Highlight legacy triggers to be invalid via the UI
* Make legacy triggers invalid in the model
|
| |
| |
| |
| |
| | |
- Background migration for changing null values to false
- Set false as default value for private_profile DB column
|
|\ \
| |/
|/|
| |
| |
| |
| | |
into 'master'
Always return MR diff_refs if importing
See merge request gitlab-org/gitlab-ce!30630
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Set the name of a user-namespace to the user name
See merge request gitlab-org/gitlab-ce!23272
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of setting the name of the namespace to the user's username,
set it to the user's name.
This is more consistent with how we name the routes:
The route-name of a namespace is the human name of the routable. In
the case of a user-namespace, this is the owner's name.
When we change a user's name (both on create and update), we now also
update the namespace-name to the user's name. This will make sure that
if we also correctly update all the nested routes.
|
| |/
|/|
| |
| | |
Updates changed method names and fixes spec failures
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add CI variable to provide GitLab FQDN
Closes #64161
See merge request gitlab-org/gitlab-ce!30417
|
| | |
| | |
| | |
| | | |
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Make sure all specs run properly
See merge request gitlab-org/gitlab-ce!30367
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
- handling properties needs to be skipped when
creating test records in order to test the legacy
data
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Banzai - avoid redis if attr is in DB cache
See merge request gitlab-org/gitlab-ce!30334
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When cache_collection_render runs we end up reading and writing
things to redis even if we already have the rendered field cached
in the DB. This commit avoids using redis at all whenever we have
the field already rendered in the DB cache.
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
This brings the rspec-core version in line with the Gitaly changes
and introduces Rails 5.1/5.2 improvements.
Full CHANGELOG:
https://github.com/rspec/rspec-rails/blob/master/Changelog.md
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Prepare cycle analytics for group level
See merge request gitlab-org/gitlab-ce!30356
|