Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-12Merge branch 'dm-archived-read-only' into 'master'Robert Speicher
Make archived projects completely read-only Closes #44788 See merge request gitlab-org/gitlab-ce!18136
2018-04-11Support Markdown rendering using multiple projectsYorick Peterse
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.
2018-04-11Rename `create_merge_request` permissionsBob Van Landuyt
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
2018-04-11Prevent new merge requests for archived projectsBob Van Landuyt
This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
2018-04-10Revert "Merge branch 'improve-jobs-queuing-time-metric' into 'master'"Kamil Trzciński
This reverts merge request !17730
2018-04-10Verify that deploy token has valid access when pulling container registry imageMayra Cabrera
2018-04-09Merge branch 'blackst0ne-rails5-fix-frozen-array' into 'master'Sean McGivern
[Rails5] Fix `can't modify frozen Array` errors See merge request gitlab-org/gitlab-ce!18239
2018-04-09Refactor `add_recipients`blackst0ne
2018-04-07[Rails5] Fix spec/requests/projects/cycle_analytics_events_spec.rbblackst0ne
2018-04-07Handle limit for datetime attributes on MySQLMayra Cabrera
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
2018-04-07Handles default expires_at date directly into DeployToken modelMayra Cabrera
2018-04-07Removes deploy tokens presenterMayra Cabrera
2018-04-07Addresses database commentsMayra Cabrera
- 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
2018-04-07Increase test suite around deploy tokens behaviorMayra Cabrera
Also, fixes broken specs
2018-04-07Get rid of Redis when dealing with deploy tokensKamil Trzciński
We use controller actions to pass a newly created token and errors
2018-04-07Include ProjectDeployTokensMayra Cabrera
Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs
2018-04-07Support Deploy Tokens properly without hacking abilitiesKamil Trzciński
2018-04-07Removes logic from Jwt and handle different scenarios on Gitlab::AuthMayra Cabrera
- 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
2018-04-07Address UX reviewMayra Cabrera
- 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
2018-04-07Create barebones for DeploytokenMayra Cabrera
Includes: - Model, factories, create service and controller actions - As usual, includes specs for everything - Builds UI (copy from PAT) - Add revoke action Closes #31591
2018-04-06Extend API for importing a project export with overwrite supportFrancisco Javier López
2018-04-06Merge branch 'remove-pages-tar-support' into 'master'Kamil Trzciński
Remove support for legacy tar.gz pages artifacts See merge request gitlab-org/gitlab-ce!18090
2018-04-06Cache personal projects count.Andreas Brandl
Closes #37462.
2018-04-06Merge branch 'issue_44270' into 'master'Sean McGivern
Show issues of subgroups in group-level issue board Closes #44270 See merge request gitlab-org/gitlab-ce!18187
2018-04-06Merge branch 'ui-mr-counter-cache' into 'master'Sean McGivern
Deleting a MR you are assigned to should decrements counter Closes #44458 See merge request gitlab-org/gitlab-ce!17951
2018-04-05Merge branch 'improve-jobs-queuing-time-metric' into 'master'Kamil Trzciński
Partition job_queue_duration_seconds with jobs_running_for_project Closes #43219 See merge request gitlab-org/gitlab-ce!17730
2018-04-05Deleting a MR you are assigned to should decrements counterm b
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
2018-04-05Improve specs and docsFelipe Artur
2018-04-05Fix more specsFelipe Artur
2018-04-05Show issues of subgroups in group-level issue boardFelipe Artur
2018-04-05Partition job_queue_duration_seconds with jobs_running_for_projectTomasz Maczukin
2018-04-05Merge branch 'bvl-override-import-params' into 'master'Douwe Maan
Allow passing params to import API to override project attributes Closes gitlab-ee#4788 See merge request gitlab-org/gitlab-ce!18086
2018-04-05Merge branch 'jprovazn-comment-refs' into 'master'Sean McGivern
Better group support in notes-related code See merge request gitlab-org/gitlab-ce!18150
2018-04-05Better group support notes-related codeJan Provaznik
Updates notes-related services and rendering so this code can be easily used for group-scoped resources (specifically Epics). Related to gitlab-ee!5205
2018-04-05Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceMarin Jankovski
2018-04-05Merge branch 'bvl-export-import-lfs' into 'master'Douwe Maan
Export and import LFS objects Closes #40643 See merge request gitlab-org/gitlab-ce!18115
2018-04-05Export LFS Objects when exporting a projectBob Van Landuyt
The LFS files will be included in the `lfs-objects` directory in the archive.
2018-04-05Merge branch 'issue_44551' into 'master'Sean McGivern
Fix 404 in group boards when moving issue between lists Closes #44551 See merge request gitlab-org/gitlab-ce!18064
2018-04-05Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan
'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
2018-04-04Store override params as import data on projectsBob Van Landuyt
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.
2018-04-04Allow assigning and filtering issuables by ancestor group labelsFelipe Artur
2018-04-04Merge branch 'fix/use-shard-name-in-gitlab-projects-instead-of-shard-path' ↵Sean McGivern
into 'master' Use shard name in Git::GitlabProjects instead of shard path Closes gitaly#1110 See merge request gitlab-org/gitlab-ce!18015
2018-04-03Fix 404 in group boards when moving issue between listsFelipe Artur
2018-04-03Remove support for legacy tar.gz pages artifactsJacob Vosmaer
2018-04-03Use shard name in Git::GitlabProjects instead of shard pathAhmad Sherif
Closes gitaly#1110
2018-04-03Merge branch 'fix/sm/fix-wrong-error-handling-in-update-page-service' into ↵Kamil Trzciński
'master' Fix wrong error handling in update page service Closes #44817 See merge request gitlab-org/gitlab-ce!18098
2018-04-02Raise more descriptive errors when URLs are blockedDouwe Maan
2018-03-30Extend API for exporting a project with direct upload URLFrancisco Javier López
2018-03-30Merge branch '41967_issue_api_closed_by_info' into 'master'Sean McGivern
Add closed by information to issue API See merge request gitlab-org/gitlab-ce!17042
2018-03-30Merge branch 'sh-cleanup-pages-worker' into 'master'Nick Thomas
Free open file descriptors and libgit2 buffers in UpdatePagesService See merge request gitlab-org/gitlab-ce!18099