summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | Modify CI features in projects APIci/api-projectsTomasz Maczukin2016-01-113-31/+16
| | | | | | |
| | * | | | | Update ./doc/apiTomasz Maczukin2016-01-071-0/+9
| | | | | | |
| | * | | | | Add ci fields in project create/update feature APITomasz Maczukin2016-01-052-4/+13
| | | | | | |
| | * | | | | Add CI data to projcet entityTomasz Maczukin2016-01-051-0/+3
| | | |_|_|/ | | |/| | |
| * | | | | Merge branch 'api-project-upload' into 'master' Robert Speicher2016-01-081-1/+11
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add API project upload endpoint Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/4317 See merge request !2329
| | * | | | Add API project upload endpointDouwe Maan2016-01-071-1/+11
| | | | | |
| * | | | | Delete tag via APIapi-delete-tagRobert Schilling2016-01-081-0/+21
| |/ / / /
| * | | | Merge branch 'master' into merge-when-build-succeeds-uncheckedmerge-when-build-succeeds-uncheckedDouwe Maan2016-01-061-1/+1
| |\ \ \ \
| | * \ \ \ Merge branch 'feature/detailed-user-endpoint' of ↵Dmitriy Zaporozhets2016-01-061-1/+1
| | |\ \ \ \ | | | |/ / / | | |/| | | | | | | | | https://gitlab.com/Michi302/gitlab-ce
| | | * | | Make single user API endpoint return Entities::User instead of ↵Michi3022015-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Entities::UserBasic
| * | | | | Get "Merge when build succeeds" to work when commits were pushed to MR ↵Douwe Maan2016-01-051-1/+1
| |/ / / / | | | | | | | | | | | | | | | target branch while builds were running
| * | | | Fix API project lookups when querying with a namespace with dotsStan Hu2016-01-031-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempting to use the /projects/:id API by specifying :id in "namespace/project" format would always result in a 404 if the namespace contained a dot. The reason? From http://guides.rubyonrails.org/routing.html#specifying-constraints: "By default the :id parameter doesn't accept dots - this is because the dot is used as a separator for formatted routes. If you need to use a dot within an :id add a constraint which overrides this - for example id: /[^\/]+/ allows anything except a slash." Closes https://github.com/gitlabhq/gitlabhq/issues/9573
* | | | Add some fixes after reviewTomasz Maczukin2016-01-132-13/+6
| | | |
* | | | Change 'trigger_id' to 'token' as resource ID in triggers APITomasz Maczukin2016-01-072-18/+9
| | | |
* | | | Get show details feature to triggers APITomasz Maczukin2016-01-051-0/+26
| | | |
* | | | Add create feature to triggers APITomasz Maczukin2016-01-051-0/+16
| | | |
* | | | Add delete feature to triggers APITomasz Maczukin2016-01-051-0/+19
| | | |
* | | | Add triggers feature to APITomasz Maczukin2016-01-042-0/+28
|/ / /
* | | Revert upvotes and downvotes params to MR APIValery Sizov2015-12-281-1/+0
|/ /
* | Add API support for looking up a user by usernameStan Hu2015-12-241-4/+10
|/ | | | Needed to support Huboard
* Merge branch 'edit-on-fork' into 'master' Dmitriy Zaporozhets2015-12-241-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically fork a project when not allowed to edit a file. Fixes #3215. To do: - [ ] Add tests ----- ## "Edit" button on file in a project the user does NOT have write access to ![edit_file](/uploads/7602157420768aef483a6586bba2d164/edit_file.png) ## Clicking will automatically create a fork ![during_fork](/uploads/32f4f5dff9f24ea99522000b0bf881c5/during_fork.png) ## When the fork has been created, the user is returned to the edit page on the original project with a notice ![edit_notice](/uploads/94ed1319404370ff1e9c0d672fb41e03/edit_notice.png) ## The user cannot change the target branch and is informed that editing will start an MR ![edit_footer](/uploads/4da68d4795c7177e575b7c434d16eeae/edit_footer.png) ## Hitting "Commit changes" will commit and start an MR from my fork to the origin project ![Screen_Shot_2015-12-17_at_23.38.08](/uploads/d777a4db6f38a5a1be84031694465bc1/Screen_Shot_2015-12-17_at_23.38.08.png) ----- ## "Create file, "Upload file" and "New directory" buttons in a project the user does NOT have write access to ![new_directory](/uploads/72f556248f30d6652523bbb4be01b3e0/new_directory.png) ## Clicking any of these options will automatically create a fork ![during_fork](/uploads/32f4f5dff9f24ea99522000b0bf881c5/during_fork.png) ## When the fork has been created, the user is returned to the tree page on the original project with a notice ![new_directory_notice](/uploads/a1a3e11308ae0e8f0913fae6813a37ed/new_directory_notice.png) ## Clicking "New directory" again will show the modal. The user cannot change the target branch and is informed that editing will start an MR ![new_dir](/uploads/99ca8cbfb2f70603e352b3fdf67b6281/new_dir.png) ## Hitting "Create directory" will commit and start an MR from my fork to the origin project ![Screen_Shot_2015-12-17_at_23.39.19](/uploads/3713d0235abf831361b803a6198c5bc1/Screen_Shot_2015-12-17_at_23.39.19.png) cc @dzaporozhets @skyruler See merge request !2145
| * Automatically fork a project when not allowed to edit a file.Douwe Maan2015-12-181-1/+1
| |
* | Add project permissions to all project API endpointsStan Hu2015-12-221-3/+3
|/ | | | This standardizes all the project API formats. Also needed to support Huboard.
* Merge branch 'api-support-starred-projects' into 'master' Dmitriy Zaporozhets2015-12-161-0/+11
|\ | | | | | | | | | | | | | | | | Api support for requesting starred projects for user Closes #4112 Note: probably targets the wrong release in the `CHANGELOG`, though 8.4 was not there yet See merge request !2127
| * Api support for requesting starred projects for userZeger-Jan van de Weg2015-12-161-0/+11
| | | | | | | | Fixes #4112
* | Fix Rubocop complain.fix_rubocopRubén Dávila2015-12-161-1/+1
|/
* Merge branch 'add-open-issues-count-to-api' of ↵Dmitriy Zaporozhets2015-12-161-0/+1
|\ | | | | | | | | | | https://gitlab.com/stanhu/gitlab-ce Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add open_issues_count to project APIStan Hu2015-12-111-0/+1
| | | | | | | | This is needed to support Huboard and a generally useful value.
* | Fixed Rubocop offensesGabriel Mazetto2015-12-151-1/+1
| |
* | Fix triggers testsKamil Trzcinski2015-12-111-1/+1
| |
* | Reimplement Trigger APIKamil Trzcinski2015-12-113-0/+53
| |
* | Migrate CI::Project to ProjectKamil Trzcinski2015-12-114-7/+9
| |
* | Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-102-2/+5
|/
* Merge branch 'master' into merge-if-greenDouwe Maan2015-12-081-0/+12
|\ | | | | | | | | | | # Conflicts: # app/views/projects/merge_requests/widget/_heading.html.haml # app/views/projects/merge_requests/widget/open/_accept.html.haml
| * Merge branch 'master' into ui/dashboard-new-issueui/dashboard-new-issueDouwe Maan2015-12-081-2/+6
| |\
| * \ Merge branch 'master' into ui/dashboard-new-issueDouwe Maan2015-12-072-0/+19
| |\ \
| * | | Add API group projects endpoint.Douwe Maan2015-12-071-0/+12
| | | |
* | | | Merge branch 'master' into zj/gitlab-ce-merge-if-greenDouwe Maan2015-12-081-2/+6
|\ \ \ \ | | |_|/ | |/| |
| * | | Fix API setting of 'public' attribute to false will make a project privateStan Hu2015-12-051-2/+6
| | |/ | |/| | | | | | | Closes #3864
* | | Merge branch 'master' into merge-if-greenZeger-Jan van de Weg2015-12-073-8/+56
|\ \ \ | |/ /
| * | Merge branch 'extend-events-api'Dmitriy Zaporozhets2015-12-041-0/+3
| |\ \
| | * | Extent Event and Note APIextend-events-apiDmitriy Zaporozhets2015-12-041-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | * add note to Events API * add author section to Events API * add noteable_id and noteable_type to Notes API Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Add API endpoint to fetch merge request commits listDmitriy Zaporozhets2015-12-041-0/+16
| |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Merge branch 'fix-award-emoji-api' into 'master' Robert Speicher2015-11-221-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add upvote/downvote fields to merge request and note API to preserve compatibility As discussed in !1825 we should not break the API compatibility. * This MR adds the fields `upvotes`/`downvotes` to the merge request API again, which always return `0`. * Add the fields `upvote`/`downvote` to the notes API, which always return `false` This behavior is documented in the API docs. See merge request !1867
| | * Add upvote/downvote fields to merge request and note API to preserve ↵fix-award-emoji-apiRobert Schilling2015-11-211-0/+5
| | | | | | | | | | | | compatibility
| * | Allow editing a release in API via PUT methodRobert Schilling2015-11-211-0/+21
| | |
| * | Only allow to create a release if it does not exist yetRobert Schilling2015-11-211-2/+2
| | |
| * | Use POST to create a new release instead of PUTRobert Schilling2015-11-211-1/+1
| | |
| * | API: Return 404 if the tag for a release does not existRobert Schilling2015-11-211-3/+7
| | |
| * | Make tag API consistent for release featureRobert Schilling2015-11-212-5/+6
| |/