Age | Commit message (Collapse) | Author |
|
Make archived projects completely read-only
Closes #44788
See merge request gitlab-org/gitlab-ce!18136
|
|
This refactors the Markdown pipeline so it supports the rendering of
multiple documents that may belong to different projects. An example of
where this happens is when displaying the event feed of a group. In this
case we retrieve events for all projects in the group. Previously we
would group events per project and render these chunks separately, but
this would result in many SQL queries being executed. By extending the
Markdown pipeline to support this out of the box we can drastically
reduce the number of SQL queries.
To achieve this we introduce a new object to the pipeline:
Banzai::RenderContext. This object simply wraps two other objects: an
optional Project instance, and an optional User instance. On its own
this wouldn't be very helpful, but a RenderContext can also be used to
associate HTML documents with specific Project instances. This work is
done in Banzai::ObjectRenderer and allows us to reuse as many queries
(and results) as possible.
|
|
So we can distinguish between the permissions on the source and the
target project.
- `create_merge_request_from` indicates a user can create a merge
request with the project as a source_project
- `create_merge_request_in` indicates a user can create a merge
request with the project as a target_project
|
|
This prevents creating merge requests targeting archived projects.
This could happen when a project was already forked, but then the
source was archived.
|
|
This reverts merge request !17730
|
|
|
|
[Rails5] Fix `can't modify frozen Array` errors
See merge request gitlab-org/gitlab-ce!18239
|
|
|
|
|
|
The TIMESTAMP data type is used for values that contain both date and
time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to
'2038-01-19 03:14:07' UTC.
A Forever lib class was included to handle future dates for PostgreSQL
and MySQL, also changes were made to DeployToken to enforce Forever.date
Also removes extra conditional from JwtController
|
|
|
|
|
|
- Adds a default on expires_at datetime
- Modifies deploy tokens views to handle default expires at value
- Use datetime_with_timezone where possible
- Remove unused scopes
|
|
Also, fixes broken specs
|
|
We use controller actions to pass a newly created token and errors
|
|
Also:
- Changes scopes from serializer to use boolean columns
- Fixes broken specs
|
|
|
|
- When using 'read_repo' password and project are sent, so we used both
of them to fetch for the token
- When using 'read_registry' only the password is sent, so we only use
that for fetching the token
|
|
- Keep 'Deploy Section' open upon save, otherwise the token might get
lost
- When an error appears, display the error inside the form and also keep
the Deploy Section open
- Changue copy of revoke modal
|
|
Includes:
- Model, factories, create service and controller actions
- As usual, includes specs for everything
- Builds UI (copy from PAT)
- Add revoke action
Closes #31591
|
|
|
|
Remove support for legacy tar.gz pages artifacts
See merge request gitlab-org/gitlab-ce!18090
|
|
Closes #37462.
|
|
Show issues of subgroups in group-level issue board
Closes #44270
See merge request gitlab-org/gitlab-ce!18187
|
|
Deleting a MR you are assigned to should decrements counter
Closes #44458
See merge request gitlab-org/gitlab-ce!17951
|
|
Partition job_queue_duration_seconds with jobs_running_for_project
Closes #43219
See merge request gitlab-org/gitlab-ce!17730
|
|
The merge request counter in the UI was not decreasing when a merge
request was deleting.
This was just due to the cache not being
refreshed on a delete action.
fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/44458
|
|
|
|
|
|
|
|
|
|
Allow passing params to import API to override project attributes
Closes gitlab-ee#4788
See merge request gitlab-org/gitlab-ce!18086
|
|
Better group support in notes-related code
See merge request gitlab-org/gitlab-ce!18150
|
|
Updates notes-related services and rendering so this code can be
easily used for group-scoped resources (specifically Epics).
Related to gitlab-ee!5205
|
|
|
|
Export and import LFS objects
Closes #40643
See merge request gitlab-org/gitlab-ce!18115
|
|
The LFS files will be included in the `lfs-objects` directory in the archive.
|
|
Fix 404 in group boards when moving issue between lists
Closes #44551
See merge request gitlab-org/gitlab-ce!18064
|
|
'security-10-6'
[10.6] Prevent notes on confidential issues from being sent to chat
See merge request gitlab/gitlabhq!2366
# Conflicts:
# app/helpers/services_helper.rb
|
|
This means import data doesn't necessarily have to have an import_url
anymore.
The `ProjectImportData` could just contain the override data in it's
serialized data attribute.
The import data is automatically cleaned up after it is finished by
the state machine.
|
|
|
|
into 'master'
Use shard name in Git::GitlabProjects instead of shard path
Closes gitaly#1110
See merge request gitlab-org/gitlab-ce!18015
|
|
|
|
|
|
Closes gitaly#1110
|
|
'master'
Fix wrong error handling in update page service
Closes #44817
See merge request gitlab-org/gitlab-ce!18098
|
|
|
|
|
|
Add closed by information to issue API
See merge request gitlab-org/gitlab-ce!17042
|
|
Free open file descriptors and libgit2 buffers in UpdatePagesService
See merge request gitlab-org/gitlab-ce!18099
|