Commit Graph

2917 Commits

Author SHA1 Message Date
Phil Hughes 5428e91374
only include _html fields when asked for 2018-07-05 15:44:54 +01:00
Phil Hughes 6021ab6f77
added html to response 2018-07-05 15:44:54 +01:00
Francisco Javier López a7a1531fe5 Web Terminal Ci Build 2018-07-05 13:55:10 +00:00
Douwe Maan fa349c08ce Merge branch '4266-board-with-config-api-ce' into 'master'
Backport of EE changes: Allow Labels::FindOrCreateService to find ancestor group labels

Closes #4266

See merge request gitlab-org/gitlab-ce!20364
2018-07-04 15:20:48 +00:00
Sean McGivern 4d9a3f42f1 Merge branch 'ee-5481-epic-todos' into 'master'
Port of Todos for epics

See merge request gitlab-org/gitlab-ce!19908
2018-07-04 12:57:37 +00:00
Mark Chao 4f795ed823 Backport from EE !5954
Allow Labels::FindOrCreateService to find ancestor group labels
Add authentication check on API endpoint
Update flayignore
2018-07-04 20:48:50 +08:00
Grzegorz Bizon 48bbb36347 Merge branch 'remove-is-shared-from-ci-runners' into 'master'
Remove the use of `is_shared` of `Ci::Runner`

See merge request gitlab-org/gitlab-ce!20172
2018-07-04 10:39:28 +00:00
Kamil Trzciński d3bcb06dc6 Make deprecated scopes of Runner explicit 2018-07-04 11:02:45 +02:00
Bob Van Landuyt 04b046587f Add pipeline lists to GraphQL
This adds Keyset pagination to GraphQL lists. PoC for that is
pipelines on merge requests and projects.

When paginating a list, the base-64 encoded id of the ordering
field (in most cases the primary key) can be passed in the `before` or
`after` GraphQL argument.
2018-07-04 10:53:39 +02:00
Jan Provaznik 7458ca8ebb [backend] Addressed review comments
* Group filtering now includes also issues/MRs from
subgroups/subprojects
* fixed due_date
* Also DRYed todo controller specs
2018-07-03 09:34:44 +02:00
Jarka Kadlecová 57a44f2da3 Support todos for epics backport 2018-07-03 09:34:44 +02:00
Jan Beckmann 352e322291 Resolve "404 when trying to create a new issue from the group" 2018-07-02 08:04:43 +00:00
Rémy Coutable 3cf683629e Merge branch 'ccr/add_locked_state' into 'master'
Add locked state to merge request API

See merge request gitlab-org/gitlab-ce!20186
2018-07-01 09:25:01 +00:00
Grzegorz Bizon f316cb9b9a Merge branch 'transfer_project_api_endpoint' into 'master'
Add transfer project endpoint to the Projects API

Closes #45146

See merge request gitlab-org/gitlab-ce!20122
2018-06-29 13:50:02 +00:00
Chantal Rollison c2b622b2a4 Add locked state to merge request API 2018-06-28 07:12:00 -07:00
Sean McGivern 5e7988eecc Merge branch 'straight-comparision-mode' into 'master'
Allow straight diff in Compare API

See merge request gitlab-org/gitlab-ce!20120
2018-06-28 09:04:18 +00:00
Maciej Nowak 591edb439c Allow straight diff in Compare API
Repository compare API now allows choosing straight (from..to) or merge-base diff (from...to)
2018-06-28 09:19:50 +02:00
Ahmet Demir 80f4e7575e Add SHA256 and HEAD on File API 2018-06-28 06:10:51 +00:00
Aram Visser c3de6a8673 Add transfer project endpoint to the Projects API 2018-06-27 18:21:18 +07:00
Kamil Trzciński ca93faf15f Remove the use of `is_shared` of `Ci::Runner` 2018-06-26 15:53:09 +02:00
Douwe Maan 8c5eff29de
Fix branch API can_push attribute and add specs 2018-06-25 18:39:23 +02:00
Robert Speicher e7549b9882 Merge branch 'dm-branch-api-can-push' into 'master'
Expose whether current user can push into a branch on branches API

See merge request gitlab-org/gitlab-ce!19958
2018-06-19 15:42:07 +00:00
Douwe Maan 57a2ac1869 Merge branch 'more-group-api-sorting-options' into 'master'
Fix group pagination and add sort by id to groups and subgroups

Closes #47409

See merge request gitlab-org/gitlab-ce!19665
2018-06-19 10:46:24 +00:00
Marko, Peter 24865a4e17 Add id as second sort parameter for group sort by name
Adding primary key to database query order rule
generates deterministic sort result and thus pagination.
This is needed because subgroups can have identical names.

Signed-off-by: Marko, Peter <peter.marko@siemens.com>
2018-06-18 19:30:34 +02:00
Douwe Maan 07e95b0cd4
Expose whether current user can push into a branch on branches API 2018-06-18 12:04:51 +02:00
Kamil Trzciński cc48d67ca5 Optimised paused runners to not re-query every 3s
We have long polling mechanism which is not being used by paused runners.
This makes the paused runner to generate a request every 3s,
where it could be fired only every 1h.
2018-06-17 16:52:17 +02:00
Brett Walker f79410fe17 enable CommonMark as the default 2018-06-14 08:30:16 +00:00
Jasper Maes 876d43b9f5 Rails5 fix no implicit conversion of Hash into String. ActionController::Parameters no longer returns an hash in Rails 5 2018-06-13 23:49:44 +02:00
Jan 4077d4f735 Resolve "Provide ability to retrieve `visibility` level via Snippets API" 2018-06-13 10:28:27 +00:00
Phil Hughes 1f5032ef99 Merge branch '47735-milestone-regression' into 'master'
Resolve "Regressions for assigning group milestone from ancestor"

Closes #47735

See merge request gitlab-org/gitlab-ce!19721
2018-06-13 09:47:38 +00:00
Francisco Javier López df45623b34 Restoring user v3 endpoint 2018-06-13 08:25:01 +00:00
Rémy Coutable 886b81e5c7 Merge branch 'commits_api_with_stats' into 'master'
Added with_stats option to GET /projects/:id/repository/commits (API)

See merge request gitlab-org/gitlab-ce!19484
2018-06-13 07:41:00 +00:00
Mario de la Ossa 379a6a709a
Sidebar Milestone - Fix wrong URL when selecting a parent group milestone 2018-06-12 17:22:12 -06:00
Leonid Batizhevskii 404ef05002 Added with_statsoption for GET /projects/:id/repository/commits 2018-06-12 17:15:53 +02:00
Marko, Peter 79033a5f67 Add id group api sorting option
With introduction of subgroups, many groups may have the same
name and/or path, thus further sorting options are necessary.

Signed-off-by: Marko, Peter <peter.marko@siemens.com>
2018-06-12 08:16:01 +02:00
Tomasz Maczukin a6a900256e
Change update entrypoint instead of adding new keep-alive one 2018-06-07 18:45:48 +02:00
Tomasz Maczukin 435e661a2e
Introduce new keep-alive API entrypoint for CI job 2018-06-07 15:17:44 +02:00
Mark Chao 8c24e78b99 wording 2018-06-06 21:01:43 +09:00
Rémy Coutable f4b03f0992 Merge branch '45821-avatar_api' into 'master'
Add Avatar API

Closes #45821

See merge request gitlab-org/gitlab-ce!19121
2018-06-06 10:50:34 +00:00
Imre c8f0e4b5da
Add Avatar API 2018-06-06 10:12:52 +02:00
Grzegorz Bizon a93e34acc3 Merge branch '25045-add-variables-to-post-pipeline-api' into 'master'
Resolve "POST api/v4/projects/:id/pipeline should accept variables"

Closes #25045

See merge request gitlab-org/gitlab-ce!19124
2018-06-06 07:47:06 +00:00
Jacopo 46317b7dab Removes variables from pipelines api 2018-06-05 21:57:29 +02:00
Rémy Coutable 6153a61633 Merge branch 'sh-fix-events-nplus-one' into 'master'
Eliminate N+1 queries with authors and push_data_payload in Events API

See merge request gitlab-org/gitlab-ce!19347
2018-06-05 15:22:04 +00:00
Robert Speicher 6ced2f1243 Merge branch '42751-rename-mr-maintainer-push' into 'master'
Rephrase Merge Request Maintainer Edit

See merge request gitlab-org/gitlab-ce!19061
2018-06-05 15:04:18 +00:00
Stan Hu 6f4a0a92e6 Eliminate N+1 queries with authors and push_data_payload in Events API 2018-06-05 07:22:07 -07:00
Rémy Coutable 7adfc4249c Merge branch 'sh-fix-pipeline-jobs-nplus-one' into 'master'
Eliminate N+1 queries for CI job artifacts in /api/projects/:id/pipelines/:pipeline_id/jobs

See merge request gitlab-org/gitlab-ce!19353
2018-06-05 10:11:23 +00:00
Grzegorz Bizon e11a1001dc Merge branch 'presigned-multipart-uploads' into 'master'
Support presigned multipart uploads

See merge request gitlab-org/gitlab-ce!18855
2018-06-05 08:42:20 +00:00
Rémy Coutable 8576e45f28 Merge branch 'sh-add-uncached-query-limiter' into 'master'
Remove N+1 query for author in issues API

See merge request gitlab-org/gitlab-ce!19345
2018-06-05 08:22:14 +00:00
Stan Hu 2bb94ff7f9 Eliminate N+1 queries for CI job artifacts in /api/projects/:id/pipelines/:pipeline_id/jobs 2018-06-04 16:47:16 -07:00
Stan Hu c26cbfcdfb Remove N+1 query for author in issues API
This was being masked by the statement cache because only one author was used
per issue in the test..

Also adds support for an Rspec matcher `exceed_all_query_limit`.
2018-06-04 16:44:03 -07:00