- Apr 17, 2018
-
-
Taurie Davis authored
-
- Apr 11, 2018
-
-
Yorick Peterse authored
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.
-
Bob Van Landuyt authored
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
-
Bob Van Landuyt authored
This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
-
- Apr 10, 2018
-
-
Kamil Trzcińśki authored
This reverts merge request !17730
-
Mayra Cabrera authored
-
- Apr 09, 2018
-
-
blackst0ne authored
-
- Apr 07, 2018
-
-
blackst0ne authored
-
Mayra Cabrera authored
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
-
Mayra Cabrera authored
-
Mayra Cabrera authored
-
Mayra Cabrera authored
- 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
-
Mayra Cabrera authored
Also, fixes broken specs
-
We use controller actions to pass a newly created token and errors
-
Mayra Cabrera authored
Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs
-
-
Mayra Cabrera authored
- 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
-
Mayra Cabrera authored
- 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
-
Mayra Cabrera authored
Includes: - Model, factories, create service and controller actions - As usual, includes specs for everything - Builds UI (copy from PAT) - Add revoke action Closes #31591
-
- Apr 06, 2018
-
-
-
Andreas Brandl authored
Closes #37462.
-
- Apr 05, 2018
-
-
m b authored
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
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Tomasz Maczukin authored
-
Jan Provaznik authored
Updates notes-related services and rendering so this code can be easily used for group-scoped resources (specifically Epics). Related to gitlab-ee!5205
-
Bob Van Landuyt authored
The LFS files will be included in the `lfs-objects` directory in the archive.
-
Douwe Maan authored
[10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
-
- Apr 04, 2018
-
-
Bob Van Landuyt authored
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.
-
Felipe Artur authored
-
- Apr 03, 2018
-
-
Felipe Artur authored
-
Jacob Vosmaer (GitLab) authored
-
Ahmad Sherif authored
Closes gitaly#1110
-
- Apr 02, 2018
-
-
Douwe Maan authored
-
- Mar 30, 2018
-
-
-
Stan Hu authored
In UpdatePagesService, we were seeing a large number of open pack files in production. Calling Project#cleanup removes a reference to Rugged::Repository and forces libgit2 to close file descriptors and free its internal memory cache. Relates to https://gitlab.com/gitlab-com/infrastructure/issues/3965#note_65837525
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-