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
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-22Merge branch 'proof-read' into 'master'Achilleas Pipinellis
Fix typos in dev & test docu See merge request gitlab-org/gitlab-ce!24539
2019-01-21Fix typosKatrin Leinweber
2019-01-21Merge branch 'sh-preload-associations-for-group-api' into 'master'Douwe Maan
Eliminate N+1 queries in /api/groups/:id Closes #49845 See merge request gitlab-org/gitlab-ce!24513
2019-01-21Search project tags via APIRobert Schilling
2019-01-20Eliminate N+1 queries in /api/groups/:idStan Hu
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15475/diffs, a significant amount of work went into eliminating N+1 queries in the /api/groups/:id/projects endpoint. We can reuse the `Entities::Project.prepare_relation` call on the projects. In a group with 2,573 projects on GitLab.com, this change significantly improves performance: * 18019 SQL queries down to 21 * Time spent in DB: 70 s down to 384 ms Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/49845
2019-01-18Merge branch 'api-nested-group-permission' into 'master'Nick Thomas
Return the maximum group access level in the projects API Closes #43684 See merge request gitlab-org/gitlab-ce!24403
2019-01-17API for importing external reposBen
2019-01-16Return max group access level in the projects APIAlejandro Rodríguez
Currently if a project is inside a nested group and a user doesn't have specific permissions for that group but does have permissions on a parent group the `GET /projects/:id` API call will return the following permissions: ```json permissions: { project_access: null, group_access: null } ``` It could also happen that the group specific permissions are of lower level than the ones the user has in parent groups. This patch makes it so that the permission returned for `group_access` is the highest from amongst the hierarchy, which is (ostensibly) the information that the API user is interested in for that field.
2019-01-16Merge branch 'shared_with_group_path' into 'master'Nick Thomas
Add group ful path to project's shared_with_groups See merge request gitlab-org/gitlab-ce!24052
2019-01-16Merge branch 'zj-feature-gate-set-project-path' into 'master'Kamil Trzciński
Allow setting of feature gates per project See merge request gitlab-org/gitlab-ce!24184
2019-01-15Add group full path to project's shared_with_groupsMathieu Parent
2019-01-15API: Fix default branch protection setting for Admin APIRobert Schilling
2019-01-15API: Support dots in wiki slugsRobert Schilling
2019-01-14Allow setting of feature gates per projectZeger-Jan van de Weg
For features the feature gates are sometimes projects, not groups or users. For example for git object pools: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5872 This commit allows for setting feature group gates based on projects, by its path as that seems most convenient.
2019-01-11Merge branch '9070-refactor-specs' into 'master'Stan Hu
Refactor epics/issues API specs See merge request gitlab-org/gitlab-ce!24302
2019-01-11Merge branch '56110-cluster-kubernetes-api-500-error-on-post-request' into ↵Kamil Trzciński
'master' Improves restriction of multiple Kubernetes clusters via API Closes #56110 See merge request gitlab-org/gitlab-ce!24251
2019-01-11Remove releases_page feature flagShinya Maeda
We introduced releases_page feature flag. Given this feature is deemed stable, we should remove this flag before 19th.
2019-01-11Restrict multiple clusters through APIMayra Cabrera
Modifies authorize! method to accept a third param, and then use it in combination with 'add_cluster' policy to appropriately restrict adding multiple clusters Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56110
2019-01-10Refactor epics/issues API specsDouglas Barbosa Alexandre
Refactor the epics/issues API specs to remove code duplication.
2019-01-10Fix files/blob api endpoint content dispositionFrancisco Javier López
2019-01-10Disable audit event logging for pipeline destructionStan Hu
AuditEventService isn't equipped to handle logging of the destruction of entities such as CI pipelines. It's a project-level event that operates on a pipeline. The current log doesn't even indicate that the pipeline is being destroyed. This is a CE backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9105. We're removing the auditing call because it breaks the EE implementation.
2019-01-08Fix a URL typo in the MR API specsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-07Add tests for Release Link APIShinya Maeda
Add tests for the API and add a couple of tests Add revert revert
2019-01-06Merge branch 'kamil-refactor-ci-builds-v5' into 'master'Grzegorz Bizon
Use BuildMetadata to store build configuration in JSONB form See merge request gitlab-org/gitlab-ce!21499
2019-01-05Merge branch '40473-api-support-for-kubernetes-integration' into 'master'Kamil Trzciński
Add API Support for Kubernetes integration Closes #40473 See merge request gitlab-org/gitlab-ce!23922
2019-01-05Include CRUD endpoints for Cluster APIMayra Cabrera
Adds the following initial CRUD endpoints for Clusters API: - GET list of clusters - GET specific cluster - POST add existing cluster (mimic of "Add cluster") - PUT update cluser - DELETE destroy cluster Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40473
2019-01-04Add config_options|variables to BuildMetadataKamil Trzciński
These are data columns that store runtime configuration of build needed to execute it on runner and within pipeline. The definition of this data is that once used, and when no longer needed (due to retry capability) they can be freely removed. They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking support for json datatype on old enough version).
2019-01-04Add unique constraint to release and urlShinya Maeda
Fix coding style Improve coding style Decouple UPDATE and DELETE operations of asset links Rename links_attributes to assets:links Rename exposed param and updated spec
2019-01-04Add spec for duplicate link name creationShinya Maeda
Fix spec for mysql unique validation failure
2019-01-04Support CURD operation for release asset linksShinya Maeda
- Add Releases::Links model - Expose it in release API - Add integration tests
2019-01-02Merge branch 'mk/avoid-extra-storage-perm-and-query' into 'master'Stan Hu
Avoid extra storage bucket perm and query See merge request gitlab-org/gitlab-ce!23995
2019-01-02Merge branch '18667-handle-push-opts' into 'master'Douwe Maan
Handle 'git push -o ci.skip' Closes #18667 See merge request gitlab-org/gitlab-ce!15643
2019-01-02Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqJohn Jarvis
2019-01-01Merge branch 'security-master-guests-jobs-api' into 'master'John Jarvis
[master] Guest users have access to all Job information via the API See merge request gitlab/gitlabhq!2717
2018-12-31Add support for Git push options, specifically ci.skipJonathon Reinhart
gitlab-org/gitlab-shell!166 added support for collecting push options from the environment, and passing them along to the /internal/post_receive API endpoint. This change handles the new push_options JSON element in the payload, and passes them on through to the GitPushService and GitTagPushService services. Futhermore, it adds support for the first push option, ci.skip. With this change, one can use 'git push -o ci.skip' to skip CI pipe execution. Note that the pipeline is still created, but in the "skipped" state, just like with the 'ci skip' commit message text. Implements #18667
2018-12-31Merge branch 'fj-55781-fix-api-blob-content-disposition' into 'master'Sean McGivern
Fixed content-disposition in blob and files API endpoint Closes #55781 See merge request gitlab-org/gitlab-ce!24078
2018-12-31Fixed api content-disposition in blob and files endpointFrancisco Javier López
2018-12-31Add spec for Release APIShinya Maeda
Add spec for all release API - GET, POST, PUT, DELETE. Also, fixes some minior bugs.
2018-12-31Add delete method in Release APIShinya Maeda
Introduce DELETE endpoint in Release API
2018-12-27Fix timeout issues retrieving branches via APIStan Hu
47d4890d changed the order of pagination so that the full list of branches would be passed to Gitaly to determine which ones had been merged, but this operation can timeout for large repositories with many branches. We only need to determine whether the found branches have been merged, so limit the scan to those. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55724
2018-12-21Avoid extra storage bucket perm and queryMichael Kozono
Specifically, the `ListAllMyBuckets` permission. This works if you know the directory exists. See more: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23981 * https://stackoverflow.com/a/12288581/1992201
2018-12-21convert specs in javascripts/ and support/ to new syntaxJasper Maes
2018-12-19Authorize read_build when listing pipeline jobsMatija Čupić
2018-12-19Authorize read_build action when listing jobsMatija Čupić
2018-12-19Update specs to rails5 formatblackst0ne
Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
2018-12-17Hide confidential events in rubyBob Van Landuyt
We're filtering the events using `Event#visible_to_user?`. At most we're loading 100 events at once. Pagination is also dealt with in the finder, but the resulting array is wrapped in a `Kaminari.paginate_array` so the API's pagination helpers keep working. We're passing the total count into that paginatable array, which would include confidential events. But we're not disclosing anything.
2018-12-17Merge branch ↵Yorick Peterse
'55433-un-revert-https-gitlab-com-gitlab-org-gitlab-ce-commit-00acef434031b5dc0bf39576a9e83802c7806842-revert' into 'master' Resolve "Un-revert https://gitlab.com/gitlab-org/gitlab-ce/commit/00acef434031b5dc0bf39576a9e83802c7806842 revert" Closes #55433 See merge request gitlab-org/gitlab-ce!23861
2018-12-17Revert "Revert "LfsToken uses JSONWebToken::HMACToken by default""Ash McKenzie
This reverts commit 00acef434031b5dc0bf39576a9e83802c7806842.
2018-12-16Remove rails4 specific codeJasper Maes