Age | Commit message (Collapse) | Author |
|
Rollback project folder move after error in Projects::TransferService
Closes #30213
See merge request !11877
|
|
Deleted "fix-missing-function-dropzone-input.yml" from the changelog
See merge request !12316
|
|
|
|
unwrap links without an href
Closes #27645
See merge request !9045
|
|
|
|
Refactor ProjectsFinder#init_collection and GroupProjectsFinder#init_collection
Closes #33632
See merge request !12135
|
|
Remove changelog entry
See merge request !12309
|
|
|
|
|
|
|
|
|
|
|
|
Disable fork button on project limit
Closes #25164
See merge request !12145
|
|
repository: index submodules by path
See merge request !10798
|
|
Reduce wait timings for Sidekiq jobs
See merge request !12270
|
|
'master'
Ensures default user limits when external user is unchecked
Closes #30725
See merge request !12218
|
|
|
|
This reduces the time spent waiting for Sidekiq jobs to complete in
JobWaiter, and reduces the sleep interval when trying to acquire the
lease for refreshing authorizations. These changes should reduce the
time spent just waiting for a lock, which we seem to be spending most
time in when running the AuthorizedProjectsWorker.
|
|
|
|
add created_after and created_before params to issuables
Closes #32901
See merge request !12151
|
|
Display own user id in account settings pages
Closes #33461
See merge request !12141
|
|
Accept image for avatar in user API
Closes #26212
See merge request !12143
|
|
Fix API bug accepting wrong merge requests parameters
Closes #33205
See merge request !12173
|
|
|
|
Changed utilites imports from ~ to relative paths
Closes #33485
See merge request !12026
|
|
|
|
|
|
|
|
|
|
Submodules have a name in the configuration, but this name is simply
the path at which the submodule was initially checked in (by default
-- the name is totally arbitrary). If a submodule is moved, it
retains its original name, but its path changes. Since we discover
submodules inside trees, we have their path but not necessarily their
name.
Make the submodules() function return the submodule hash indexed by
path rather than name, so that renamed submodules can be looked up.
Signed-off-by: David Turner <novalis@novalis.org>
|
|
|
|
|
|
Rename "Slash commands" to "Quick actions"
Closes #27070
See merge request !11811
|
|
|
|
|
|
Document the Delete Merged Branches functionality
See merge request !12217
|
|
|
|
This changes ProjectsFinder#init_collection so it no longer relies on a
UNION. For example, to get starred projects of a user we used to run:
SELECT projects.*
FROM projects
WHERE projects.pending_delete = 'f'
AND (
projects.id IN (
SELECT projects.id
FROM projects
INNER JOIN users_star_projects
ON users_star_projects.project_id = projects.id
INNER JOIN project_authorizations
ON projects.id = project_authorizations.project_id
WHERE projects.pending_delete = 'f'
AND project_authorizations.user_id = 1
AND users_star_projects.user_id = 1
UNION
SELECT projects.id
FROM projects
INNER JOIN users_star_projects
ON users_star_projects.project_id = projects.id
WHERE projects.visibility_level IN (20, 10)
AND users_star_projects.user_id = 1
)
)
ORDER BY projects.id DESC;
With these changes the above query is turned into the following instead:
SELECT projects.*
FROM projects
INNER JOIN users_star_projects
ON users_star_projects.project_id = projects.id
WHERE projects.pending_delete = 'f'
AND (
EXISTS (
SELECT 1
FROM project_authorizations
WHERE project_authorizations.user_id = 1
AND (project_id = projects.id)
)
OR projects.visibility_level IN (20,10)
)
AND users_star_projects.user_id = 1
ORDER BY projects.id DESC;
This query in turn produces a better execution plan and takes less time,
though the difference is only a few milliseconds (this however depends
on the amount of data involved and additional conditions that may be
added).
|
|
Add French translations for Cycle Analytics, Project, and Repository pages.
Closes #32998 and #33140
See merge request !12200
|
|
We removed calls from our code to Rugged::Repository#fetch_attributes:
<https://gitlab.com/gitlab-org/gitlab_git/commit/340e111e040ae847b614d35b4d3173ec48329015>
However, we didn't remove calls from within Linguist. This method is only called
when calculating the languages for a repository on the Charts page:
<https://github.com/github/linguist/blob/v4.7.0/lib/linguist/lazy_blob.rb#L33-L36>
We can safely use our own Gitlab::Git::Attributes here. On staging, for the
GitLab CE repo, this makes the calculation take about a third of the time:
# Before
Benchmark.realtime do
Linguist::Repository.new(repository.rugged,
repository.rugged.head.target_id).languages
end
#=> 23.67193900188431
# After
Benchmark.realtime do
Linguist::Repository.new(repository.rugged,
repository.rugged.head.target_id).languages
end
#=> 8.945212290156633
|
|
[ci skip]
|
|
Replace PhantomJS with Chrome in Karma test runner (2nd attempt)
Closes #33633
See merge request !12144
|
|
|
|
Unify email layouts: devise emails
See merge request !10483
|
|
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070
Deprecate "chat commands" in favor of "slash commands"
We looked for things like:
- `slash commmand`
- `slash_command`
- `slash-command`
- `SlashCommand`
|
|
|
|
Add age color mapping to blame view
Closes #23998
See merge request !7198
|
|
Do not show manual actions that cannot be run
Closes #32380
See merge request !12121
|
|
Instrument MergeRequestDiff#load_commits
See merge request !12162
|
|
Don't return nil for missing objects from parser cache
See merge request !12168
|