summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Move note helper method to notes entity fileissue_17302Felipe Artur2016-05-172-6/+8
|
* Fix single note api requestFelipe Artur2016-05-162-5/+9
|
* Fix notes API calls symbol convertionsFelipe Artur2016-05-101-3/+3
|
* Fix api leaking notes when user is not authorized to read noteableFelipe Artur2016-05-091-13/+18
|
* Expose MergeRequest#user_notes_count in the API and use the method in issues ↵Rémy Coutable2016-05-091-1/+1
| | | | | | list Signed-off-by: Rémy Coutable <remy@rymai.me>
* API: Expose Issue#user_notes_countcnam-dep2016-05-091-1/+1
|
* 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
| | |