summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Allow back dating notes on creationMichael Greene2016-04-131-0/+5
|
* Allow back dating issues on updateMichael Greene2016-04-131-2/+5
|
* Merge branch 'api-subscribe-issue-mr' into 'master' Rémy Coutable2016-04-132-0/+72
|\ | | | | | | | | | | | | | | | | | | API: Subscribe and unsubscribe from issues and merge requests * Closes #6024 This MR is based on !3611, which must be merged first. See merge request !3615
| * Ensure that issues and merge requests are foundRobert Schilling2016-04-131-4/+4
| |
| * Make subscription API more RESTfulRobert Schilling2016-04-133-31/+14
| |
| * API: Ability to subscribe and unsubscribe from a merge requestRobert Schilling2016-04-132-2/+38
| |
| * API: Ability to subscribe and unsubscribe from an issueRobert Schilling2016-04-132-0/+57
| |
* | Merge branch 'api-star-project' into 'master' Rémy Coutable2016-04-132-0/+38
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Star and unstar a project Add two new endpoints `POST /projects/:id/star` and `POST /projects/:id/unstar` to star and unstar a project. * Closes #12739 See merge request !3578
| * | Styling changes to code and docsRobert Schilling2016-04-132-2/+4
| | |
| * | Make staring API more restfulRobert Schilling2016-04-131-6/+5
| | |
| * | API: Star and unstar a projectRobert Schilling2016-04-132-0/+37
| |/
* | Merge branch 'rs-archive-cache-worker-cron' into 'master' Dmitriy Zaporozhets2016-04-131-1/+0
|\ \ | | | | | | | | | | | | | | | | | | Move RepositoryArchiveCacheWorker to sidekiq-cron Closes #15105 See merge request !3663
| * | Move RepositoryArchiveCacheWorker to sidekiq-cronrs-archive-cache-worker-cronRobert Speicher2016-04-121-1/+0
| | | | | | | | | | | | Closes #15105
* | | Merge branch 'api-group-leaking' into 'master' Rémy Coutable2016-04-131-2/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | API: Return 404 if user does not have access to group Closes #15185 After !3587 is merged, I'll update this one to also fix the return code of the tests in !3587. See merge request !3683
| * | API: Return 404 if user does not have access to groupRobert Schilling2016-04-131-2/+1
| | |
* | | Update tests for moving issues via APIRobert Schilling2016-04-131-7/+7
| | |
* | | API: Ability to move an issueRobert Schilling2016-04-131-0/+23
|/ /
* | Merge branch 'api-group-visibility' into 'master' Rémy Coutable2016-04-131-2/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | API: Ability to update a group This makes it much easier to update a group after introducing the group visibility. * Closes #14991 See merge request !3587
| * | Fix minor issues according development guidelinesRobert Schilling2016-04-121-6/+4
| | |
| * | API: Ability to update a groupRobert Schilling2016-04-121-2/+28
| | |
* | | Merge branch 'decouple-member-notification' into 'master' Douwe Maan2016-04-121-5/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decouple membership and notifications This allow you to have notification setting per project even if you are member of group. It also creates background for having notification settings in project you are not member of. - [x] Make it work - [x] Migrations - [x] CHANGELOG - [x] More tests - [x] API For #3359 After this merge request there is still some work to be done: * create migration that remove duplicates in notification settings table and create uniq index (8.8 probably) * remove notification_level field from Member model in 9.0 * make proper API for notification settings * use `MemberCreateService` instead of Member#after_create callback for creating notification settings (after #14709) * maybe more tests Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !3421
| * \ \ Merge branch 'master' into decouple-member-notificationDouglas Barbosa Alexandre2016-04-087-22/+75
| |\ \ \ | | | |/ | | |/|
| * | | Update API to use notification_level from notification_settingDmitriy Zaporozhets2016-03-301-5/+10
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Merge branch 'api-delete-note' into 'master' Rémy Coutable2016-04-121-0/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delete notes via API Supports deleting issues, snippets, and merge requests via the API. * Closes #14944 * Closes #14845 * Closes #6060 @zj I did not see that you assigned yourself in #6060. Hopefully, you did not start yet. @rymai In #6060 this is targeted for 8.7 release. Could you review that and maybe this still lands in 8.7. See merge request !3557
| * | | | Adapt tests to new testing guidelinesRobert Schilling2016-04-121-0/+2
| | | | |
| * | | | Fix code review issuesRobert Schilling2016-04-121-4/+2
| | | | |
| * | | | Delete notes via APIRobert Schilling2016-04-121-0/+17
| | |_|/ | |/| |
* | | | Merge branch 'api-get-tag' into 'master' Rémy Coutable2016-04-121-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Ability to retrieve a single tag * Closes #14330 /cc @dblessing See merge request !3577
| * | | | Fix minor styling issues from code reviewRobert Schilling2016-04-121-3/+3
| | | | |
| * | | | API: Ability to retrieve a single tagRobert Schilling2016-04-121-0/+14
| | | | |
* | | | | Allow a project member to leave the projected through the APIremove-myself-from-project-api-7687Zeger-Jan van de Weg2016-04-121-4/+9
| |/ / / |/| | |
* | | | Merge branch 'api-fix-milestone-iid-filter' into 'master' Rémy Coutable2016-04-121-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Add iid filter to milestones This was documented in the API docs but it was never working because the iid filter was never applied to the milestones. The tests were working by accident because the were checking the first element, which was by accident the request element. * Closes https://github.com/gitlabhq/gitlabhq/issues/10122 See merge request !3588
| * | | | API: Add iid filter to milestonesRobert Schilling2016-04-121-0/+2
| |/ / /
* | | | API: Expose updated_at for notesRobert Schilling2016-04-121-1/+1
|/ / /
* | | Merge branch 'api-labels-info' into 'master' Rémy Coutable2016-04-121-0/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | API: Expose open_issues_count, closed_issues_count, open_merge_requests_count on labels Partly fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/13238 See merge request !3569
| * | API: Expose open_issues_count, closed_issues_count, ↵Robert Schilling2016-04-061-0/+1
| | | | | | | | | | | | open_merge_requests_count on labels
* | | API: Expose subscribed? on issuesRobert Schilling2016-04-084-13/+21
| | |
* | | Merge branch 'api-filter-milestone' into 'master' Rémy Coutable2016-04-071-2/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Ability to filter milestones by state Ability to filter milestones by `active` and `closed` state. * Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14931 See merge request !3566
| * | | Improve coding and doc styleRobert Schilling2016-04-061-1/+1
| | | |
| * | | API: Ability to filter milestones by stateRobert Schilling2016-04-061-2/+18
| | | |
* | | | Merge branch 'master' of github.com:gitlabhq/gitlabhqRobert Schilling2016-04-071-1/+1
|\ \ \ \
| * | | | Changed the argument of not_found for 'unprotect'Yasser Hussain2016-04-061-1/+1
| | |/ / | |/| | | | | | | | | | | | | | not_found appends string "Not Found" to the argument causing the resulting message to be "Branch does not exist Not Found" which is an incorrect error message. Changed the argument of not_found! for 'unprotect' command to "Branch" from "Branch does not exist". This makes the final error message to appear as "Branch Not Found" which is correct and same as error messages for other commands like 'protect'.
* | | | Revert "API: Ability to retrieve a single tag"Robert Schilling2016-04-061-14/+0
| |/ / |/| | | | | | | | This reverts commit 7f287c9136d5d1cdda8df170c6e772ca82aad1e9.
* | | Expose user location in APIRobert Schilling2016-04-062-3/+5
| | |
* | | API: Ability to retrieve a single tagRobert Schilling2016-04-061-0/+14
|/ /
* | Merge branch 'add-ability-to-archive-a-project-via-api-14296' into 'master' Douwe Maan2016-04-031-0/+28
|\ \ | | | | | | | | | | | | | | | | | | Add endpoints for archiving and unarchiving Closes #14296 See merge request !3372
| * \ Merge branch 'master' into add-ability-to-archive-a-project-via-api-14296add-ability-to-archive-a-project-via-api-14296Zeger-Jan van de Weg2016-03-291-6/+10
| |\ \
| * | | PUT becomes POST on archiving endpointsZeger-Jan van de Weg2016-03-241-4/+4
| | | | | | | | | | | | | | | | | | | | Also the specs have a minor improvement. Mainly the access right spec. Changes are reflected in the docs
| * | | Add endpoints for archiving and unarchivingZeger-Jan van de Weg2016-03-231-0/+28
| | | |
* | | | Merge branch 'routing' into 'master' Robert Speicher2016-04-011-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added & use Gitlab::Routing for URL helpers Extracted from !3389 See merge request !3486