| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'29673-500-internal-server-error-when-enabling-a-deploy-key-more-than-once-through-api' into 'master'
Detect already enabled DeployKeys in EnableDeployKeyService
Closes #29673
See merge request !11010
|
| |
| |
| |
| | |
Ensures deploy keys can't be re-added, which causes a validation error
|
|\ \
| | |
| | |
| | |
| | | |
Display comments for personal snippets
See merge request !10974
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Fix 404 when upstream disabled merge requests
Closes #26488
See merge request !10427
|
| | |
|
| |
| |
| | |
This reverts merge request !10845
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Avoid plucking Todo ids in TodoService
Closes #30374
See merge request !10845
|
| |/
| |
| |
| |
| |
| |
| |
| | |
TodoService should not call `.select(&:id)` on todos, because this is
bad performance. So instead use sub-queries, which will result in a
single SQL query to the database.
https://docs.gitlab.com/ee/development/sql.html#plucking-ids
|
| | |
|
|/
|
|
|
| |
When an admin creates a project in the namespace of a user, that user
automatically gains master access to that project.
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Properly expire cache for **all** MRs of a pipeline
Closes #31040
See merge request !10770
|
| |
| |
| |
| |
| | |
Turn ExpirePipelineCacheService into Worker so it can fetch all the
merge requests for which the pipeline runs or did run against.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- While deleting a user, some of the user's associated records are moved to the
ghost user so they aren't deleted. The user is blocked before these records
are moved, to prevent the user from creating new records while the migration
is happening, and so preventing a data race.
- Previously, if the migration failed, the user would _remain_ blocked, which is
not the expected behavior. On the other hand, we can't just stick the block +
migration into a transaction, because we want the block to be committed before
the migration starts (for the data race reason mentioned above).
- One solution (implemented in this commit) is to block the user in a parent
transaction, migrate the associated records in a nested sub-transaction, and
then unblock the user in the parent transaction if the sub-transaction fails.
|
|\
| |
| |
| |
| | |
Refactor code that creates and destroys project/group members
See merge request !10735
|
| |
| |
| |
| | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Unassign all Issues and Merge Requests when member leaves a team
Closes #30768 and #24117
See merge request !10755
|
| | | |
|
| |/ |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Don't delete a branch involved in an open merge request in "Delete all merged branches" service
Closes #29427
See merge request !10727
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
merged branches" service
Customers were surprised by the previous behavior, which destroyed branches
even though an open merge request existed for it.
Closes #29427
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Usage ping port
Closes #27750
See merge request !10481
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
1. Extract out into several methods.
2. Add more comments describing the data and the shape of the data.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This table shows the percentage of users who registered in the last
twelve months, who last signed in during or later than each of those
twelve months, by month.
It is only enabled when the usage ping is enabled, and the page also
shows pretty-printed usage ping data.
The cohorts table is generated in Ruby from some basic SQL queries,
because performing the gap-filling and running sums needed in both MySQL
and Postgres is painful.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This new class uses a Redis Hash instead of a Sorted Set.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| | |
| | |
| | |
| | |
| | |
| | | |
activities
Refactored specs and added a post deployment migration to remove the activity users table.
|
| |/
| |
| |
| |
| |
| |
| | |
migration
It uses a user activity table instead of a column in users.
Tested with mySQL and postgreSQL
|
| | |
|
| | |
|
|/
|
|
|
|
| |
In the case of spammers, we really want a hard delete to avoid retaining spam.
Closes #31021
|
|\
| |
| |
| |
| |
| |
| | |
Implement Users::BuildService
Closes #30349
See merge request !10675
|
| | |
|
|/ |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
Fix invalidating Project build status cache to often
See merge request !10313
|
| | | |
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
Protected Tags
Closes #18471
See merge request !10356
|
| | |\
| | | |
| | | |
| | | | |
# Conflicts:
# spec/lib/gitlab/import_export/all_models.yml
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | | |
Added changelog
|