Commit Graph

1870 Commits

Author SHA1 Message Date
Rémy Coutable 3040b994df
Ensure no exception is raised when Raven tries to get the current user in API context
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-29 18:57:22 +02:00
Markus Koller e9eae3eb0d Support custom attributes on users 2017-09-28 16:49:42 +00:00
Douwe Maan b6c5a73c0b Make sure API responds with 401 when invalid authentication info is provided 2017-09-28 14:17:52 +02:00
Rémy Coutable da7353d36c Merge branch '37467-helper-method-from-users-endpoint-overrides-api-helper-method' into 'master'
find_user users helper method no longer overrides find_user API helper method.

Closes #37467

See merge request gitlab-org/gitlab-ce!14418
2017-09-27 11:29:57 +00:00
Tiago Botelho d70b7a490d find_user users helper method no longer overrides find_user API helper method. 2017-09-26 19:14:19 +01:00
Rémy Coutable 6d1498ab4e Merge branch 'dm-simple-project-avatar-url' into 'master'
Expose avatar_url when requesting list of projects from API with simple=true

See merge request gitlab-org/gitlab-ce!14498
2017-09-26 14:28:38 +00:00
Mehdi Lahmam f696b04cc8 Expose last pipeline details in API response when getting a single commit
Closes #35692.
2017-09-26 13:08:46 +02:00
Douwe Maan a019369409 Expose avatar_url when requesting list of projects from API with simple=true 2017-09-26 12:47:48 +02:00
Rémy Coutable d247841b48 Merge branch '20049-projects-api-forks' into 'master'
Resolve "make project data via API report forks of this project"

Closes #20049

See merge request gitlab-org/gitlab-ce!14355
2017-09-20 09:51:00 +00:00
Mark Fletcher 63e0a42317 Add an API endpoint to determine the forks of a project 2017-09-20 08:27:16 +10:00
Rémy Coutable 3914af2f71 Use set in some API specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-19 16:26:20 +02:00
Nick Thomas 47cf3b4b61 Fix the groups API endpoint to handle ?owned=true correctly 2017-09-19 12:59:05 +01:00
Grzegorz Bizon cd61d6e690 Merge branch 'rc/improve-users-api-specs' into 'master'
Improve the Users API specs by asserting against the response schema

See merge request gitlab-org/gitlab-ce!14334
2017-09-19 08:58:18 +00:00
haseeb ff4e81e0ae fix #35290 Make read-only API for public merge requests available without authentication 2017-09-18 17:29:17 +00:00
Rémy Coutable d59255a66f
Improve the Users API specs by asserting against the response schema
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-18 12:15:35 +02:00
Vitaliy @blackst0ne Klachkov c0845e837d Add 'closed_at' attribute to Issues API 2017-09-16 20:51:02 +11:00
Bob Van Landuyt 9c300fd98d Use the new query-recorder features as a PoC 2017-09-14 17:46:28 +02:00
Grzegorz Bizon d2e02224cb Optimize generic specs for services 2017-09-13 13:35:18 +02:00
Ruben Davila 62bb6235c2 Make Members with Owner and Master roles always able to create subgroups 2017-09-07 13:47:58 -05:00
Douwe Maan 523a1c69ab Merge branch '23079-remove-default-scope-in-sortable' into 'master'
Removes default scope from sortable

Closes #23079

See merge request !13558
2017-09-07 16:15:32 +00:00
Tiago Botelho cfd475a45e Removes default scope from sortable 2017-09-07 13:01:59 +01:00
Grzegorz Bizon 8ed0a05107 Merge branch 'wiki_api' into 'master'
Add API support for wiki pages

Closes #12747

See merge request !13372
2017-09-07 10:38:03 +00:00
blackst0ne 2915bb2707 Add API support for wiki pages 2017-09-07 09:21:52 +11:00
Kamil Trzciński 29a34b3c28 Merge branch 'feature/gb/download-single-job-artifact-using-api' into 'master'
Add API endpoint for downloading a single job artifact

Closes #37196

See merge request !14027
2017-09-06 15:58:26 +00:00
Sean McGivern ba39b26cc2 Merge branch '35942_api_binary_encoding' into 'master'
API fix for non UTF-8 data

Closes #35942

See merge request !14038
2017-09-06 15:55:35 +00:00
Sean McGivern 021fb512e3 Merge branch 'gitaly-shell-redis-2' into 'master'
Internal API changes to decouple redis from Shell

Closes gitaly#520

See merge request !13971
2017-09-06 13:29:16 +00:00
micael.bergeron a6af5522d7 renames ambiguous methods and add spec 2017-09-06 09:01:53 -04:00
Grzegorz Bizon 3b9f9aa00b Merge commit 'd1b60cbc67dc14b21820ef3f823a8e1ea851697d' into feature/gb/download-single-job-artifact-using-api
* commit 'd1b60cbc67dc14b21820ef3f823a8e1ea851697d': (210 commits)
2017-09-06 14:29:17 +02:00
Grzegorz Bizon 80b3dcc777 Extract job artifacts API code to a separate file 2017-09-06 11:20:12 +02:00
Sean McGivern 7f778b7a10 Tidy up projects API specs 2017-09-06 10:08:05 +01:00
Ashley Dumaine a3f76b76a4 change collapse to resolve and comments to discussions 2017-09-06 10:07:47 +01:00
Ashley Dumaine 959e6d221d add unit tests for new collapse_outdated_diff_comments toggle 2017-09-06 10:07:47 +01:00
Alejandro Rodríguez ff3eeffa08 Implement /internal/pre-receive for shell operations 2017-09-05 20:12:25 -03:00
Alejandro Rodríguez 8323e55b6c Return a value to check if redis is available on /internal/check 2017-09-05 20:12:18 -03:00
Robert Schilling 97371848c5 API: Add GPG key management for admins 2017-09-05 14:30:53 +02:00
Robert Schilling b69579742b API: Add GPG key management 2017-09-05 14:30:53 +02:00
Grzegorz Bizon d4154ef30f Do not require API authentication if artifacts are public 2017-09-05 13:22:15 +02:00
Sean McGivern 960b8cd460 Merge branch 'api_branches_head' into 'master'
Add branch existence check to the APIv4 branches via HEAD request

Closes #37159

See merge request !13979
2017-09-05 11:05:30 +00:00
Grzegorz Bizon 3b874414c0 Do not use artifacts metadata to access single artifact 2017-09-05 12:34:49 +02:00
Sean McGivern dd157e458c Merge branch 'issue-api-my-reaction' into 'master'
Add my_reaction_emoji param to /issues and /merge_requests API

See merge request !14016
2017-09-05 10:07:22 +00:00
blackst0ne 02aa269e34 Add branch existence check to the APIv4 branches via HEAD request 2017-09-05 20:54:12 +11:00
Kamil Trzciński 6523ba1d5a Merge branch 'feature/sm/34518-extend-api-pipeline-schedule-variable-new' into 'master'
Extend API: Pipeline Schedule Variable

Closes #34518

See merge request !13653
2017-09-05 09:52:41 +00:00
Kamil Trzciński 3d61421fb2 Merge branch 'fix/sm/35650-remove-createtriggerrequestservice-and-forbid-to-persist-variables-on-ci-triggerrequest' into 'master'
Removes `CreateTriggerRequestService` and add a blocker to prevent saving variables on `Ci::TriggerRequest`

Closes #35650

See merge request !13792
2017-09-05 09:49:55 +00:00
Grzegorz Bizon dfb8fcbb65 Use API helper to send artifact file through Workhorse 2017-09-05 11:16:49 +02:00
Shinya Maeda 38d9b4d77d Use script_failure. Add runner_system_failure. Improve spec. 2017-09-05 15:10:34 +09:00
Shinya Maeda e8e8ae4d7d Fix spec 2017-09-05 14:30:28 +09:00
Shinya Maeda 68f6c61cf6 - Allow runner API to pass failure_reason
- Fix spec
2017-09-05 14:30:28 +09:00
Shinya Maeda 1d7c039072 Fix enum lists 2017-09-05 14:30:28 +09:00
Shinya Maeda b1af1f268b Fix enum wording 2017-09-05 14:30:28 +09:00
Shinya Maeda dcf09d1144 Implement `failure_reason` on `ci_builds` 2017-09-05 14:30:28 +09:00