Commit Graph

1893 Commits

Author SHA1 Message Date
Mark Fletcher ff1e3a47c4 Fix namespacing for MergeWhenPipelineSucceedsService in MR API 2017-10-30 17:19:51 +00:00
Zeger-Jan van de Weg 8275e34e41
Ci::Build tag is a trait instead of an own factory
Minor annoyance of mine, and there were a couple of things wrong, for
example:
1. Switching on a property is just a trait
2. It didn't inherrit from its parent

Find and replace through the code based fixed all occurances.
2017-10-30 10:25:30 +01:00
Grzegorz Bizon 3548dc4b29 Merge branch '23000-pages-api' into 'master'
Resolve "Pages API"

Closes #23000

See merge request gitlab-org/gitlab-ce!13917
2017-10-24 09:18:03 +00:00
Travis Miller aca58784bd Add pages domains API tests 2017-10-22 08:04:42 -05:00
Jacopo 2f40dac352 Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
Rémy Coutable 220a5c3759 Merge branch '37032-get-project-branch-invalid-name-message' into 'master'
Get Project Branch API shows an helpful error message on invalid refname

Closes #37032

See merge request gitlab-org/gitlab-ce!14884
2017-10-18 10:38:16 +00:00
Jacopo 26ec874f77 Get Project Branch API shows an helpful error message on invalid refname
In API v4 when requesting a branch with an invalid refname shows an
helpful error message: 'The branch refname is invalid'.
2017-10-18 09:45:27 +02:00
Douwe Maan 4bbdab764d Merge branch 'bvl-circuitbreaker-improvements' into 'master'
Make the circuitbreaker configurable at runtime

See merge request gitlab-org/gitlab-ce!14842
2017-10-17 10:43:05 +00:00
Bob Van Landuyt 38af7c1613 Allow configuring the circuitbreaker through the API and UI 2017-10-17 11:50:32 +02:00
Douwe Maan 38ff8cd13d Merge branch 'sha-handling' into 'master'
Adds requirements that supports anything in sha params

Closes #26561 and #2709

See merge request gitlab-org/gitlab-ce!14462
2017-10-16 15:14:42 +00:00
Guilherme Vieira 771b777ab5 Adds requirements that supports anything in sha params 2017-10-12 18:46:41 -03:00
Douwe Maan 025c6eeaa1 Move all API authentication code to APIGuard 2017-10-12 11:13:37 +02:00
Bob Van Landuyt e8ca579d88 Add a project forks spec helper
The helper creates a fork of a project with all provided attributes,
but skipping the creation of the repository on disk.
2017-10-07 11:46:23 +02:00
Bob Van Landuyt 70716a1292 Allow creating merge requests across forks of a project 2017-10-07 11:46:23 +02:00
Sean McGivern a68a39e341 Merge branch '18608-lock-issues-v2' into 'master'
Resolve "Lock issue and merge request"

Closes #18608

See merge request gitlab-org/gitlab-ce!14531
2017-10-06 16:47:27 +00:00
Douwe Maan 7f8e720f41 Merge branch 'api-sentry-extra' into 'master'
Send API parameters as extra data for sentry errors

See merge request gitlab-org/gitlab-ce!14644
2017-10-06 13:41:01 +00:00
Alejandro Rodríguez 60a35e4230 Send API parameters as extra data for sentry errors 2017-10-05 18:31:34 -03:00
Kamil Trzciński da9d42f2b3 Merge branch '37970-timestamped-ci' into 'master'
Hide CI section markers from job trace

See merge request gitlab-org/gitlab-ce!14393
2017-10-03 18:16:54 +00:00
Alessio Caiazza 79e1f33f13 Expose GitLab features to the CI runner 2017-10-03 11:35:23 +02:00
Jarka Kadlecova c488bcd13e Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into 18608-lock-issues-v2
# Conflicts:
#	db/schema.rb
2017-10-03 09:37:48 +02:00
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
Luke "Jared" Bennett ff7b545c8e
Merge remote-tracking branch 'origin/master' into 18608-lock-issues 2017-09-20 15:23:00 +01: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
Luke "Jared" Bennett 9ca7c94f66
Merge remote-tracking branch 'origin/master' into 18608-lock-issues 2017-09-18 10:54:12 +01: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
Jarka Kadlecova 994e7d1359 Create system notes for MR too, improve doc + clean up code 2017-09-14 14:50:32 +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