summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'pacoguzman/gitlab-ce-15001-since-and-until-operators-api-commits'Douwe Maan2016-05-042-1/+23
|\ | | | | | | | | # Conflicts: # Gemfile.lock
| * API support for the 'since' and 'until' operators on commit requestsPaco Guzman2016-04-292-1/+23
| | | | | | - Parameter validation as ISO8601 format
* | Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher2016-05-022-6/+19
|\ \
| * \ Merge branch '15579-filter-milestone-confidential-issues-api' into 'master' Robert Speicher2016-04-261-1/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Prevent information disclosure via milestone API Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15579 See merge request !1961
| | * | Filter confidential issues from milestones API if user does not have accessStan Hu2016-04-251-1/+9
| | |/ | | | | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15579
| * | Prevent private snippets in public/internal projects from being leaked via APIStan Hu2016-04-251-5/+10
| |/ | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15580
* | Use ActionDispatch Remote IP for Akismet checkingStan Hu2016-04-271-2/+2
|/ | | | | | | | Previously all remote IPs appeared at 127.0.0.1, which made Akismet not very useful. Using the ActionDispatch Remote IP (http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html) should provide more reliable results. Closes #16629
* Prevent users from deleting Webhooks via API they do not ownStan Hu2016-04-241-2/+2
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15576
* Merge branch 'ci-commit-as-pipeline' into 'master' Kamil Trzciński2016-04-211-4/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci::Commit becomes a Pipeline object 1. Ci::Commit receives context: ref, :tag. 1. One Ci::Commit describes a one Pipeline 1. Pipeline is created from `.gitlab-ci.yml` 1. Pipeline is a ordered group of builds 1. We test MR against Pipeline 1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future) 1. We add a Pipeline Hook that will be triggered on Pipeline status change (future) 1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future) After merging that I'll prepare a separate MR that will unify naming, database columns, table names: ``` Ci::Commit -> Pipeline Ci::Build -> Build CommitStatus -> Job GenericCommitStatus -> ExternalJob ci_commits -> pipelines ci_builds -> jobs ``` This MR implements first 5 points. This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149. See merge request !3653
| * Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineci-commit-as-pipelineKamil Trzcinski2016-04-193-5/+13
| |\ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | Write specs for this featureKamil Trzcinski2016-04-161-6/+13
| | |
| * | Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineKamil Trzcinski2016-04-165-2/+120
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * \ \ Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineKamil Trzcinski2016-04-139-15/+104
| |\ \ \
| * | | | Fix specsKamil Trzcinski2016-04-111-4/+10
| | | | |
| * | | | Use Ci::Commit as PipelineKamil Trzcinski2016-04-111-1/+1
| | | | |
* | | | | Fix setting of "action" for Grape transactionsYorick Peterse2016-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merely setting the "action" tag will only result in the transaction itself containing a value for this tag. To ensure other metrics also contain this tag we must set the action using Transaction#action= instead.
* | | | | Merge branch 'license-templates-and-api-12804' into 'master' Robert Speicher2016-04-203-0/+71
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | License templates when creating/editing a LICENSE file Closes #12804 See merge request !3660
| * | | | Rename License entity to RepoLicense to avoid conflict with EElicense-templates-and-api-12804Rémy Coutable2016-04-192-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | Update to licensee 8.0.0 and fix API specsRémy Coutable2016-04-181-4/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | Fix features specs (hopefully)Rémy Coutable2016-04-181-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | Continue implementation of the license template selector and /licenses API ↵Rémy Coutable2016-04-182-13/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | endpoint Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | Initial implementation if license template selector and /licenses/:key API ↵Anton Davydov2016-04-182-0/+28
| | |_|/ | |/| | | | | | | | | | endpoint
* | | | Merge branch 'api-fix-annotated-tags' into 'master' Rémy Coutable2016-04-191-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Present an array of Gitlab::Git::Tag instead of array of rugged tags The annotated message was always `null` because the wrong array was presented. The entity requires an array of `Gitlab::Git::Tags` instead an array of raw rugged tags was presented. Since a rugged tag does not respond to `message` to get the annotated message, this was always `null`. See merge request !3764
| * | | | API: Present an array of Gitlab::Git::Tag instead of array of rugged tagsRobert Schilling2016-04-171-1/+1
| |/ / /
* | | | Add "action" tag to /internal/allowed APIYorick Peterse2016-04-181-2/+4
| | | | | | | | | | | | | | | | | | | | This allows us to re-use any other analytics that rely on the "action" tag having a value set.
* | | | Add changelog entryFelipe Artur2016-04-181-1/+1
| | | |
* | | | Fix documentation and improve permissions codeFelipe Artur2016-04-182-5/+1
| | | |
* | | | Insert users check into apiFelipe Artur2016-04-182-2/+12
|/ / /
* | | 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
| |\ \ \ | | | |/ | | |/|