summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'rc/fix-commits-api' into 'master'Sean McGivern2017-08-081-16/+17
|\ | | | | | | | | | | | | Fix the /projects/:id/repository/commits endpoint to handle dots in the ref name… Closes #15651 See merge request !13370
| * Fix the /projects/:id/repository/commits endpoint to handle dots in the ref ↵rc/fix-commits-apiRémy Coutable2017-08-081-16/+17
| | | | | | | | | | | | name when the project full path contains a `/` Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Expose noteable_iid in Notesue4452017-08-081-0/+6
| |
* | Fix the /projects/:id/repository/tags endpoint to handle dots in the tag ↵Rémy Coutable2017-08-082-7/+9
|/ | | | | | name when the project full path contains a `/` Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'master' into ideMike Greiling2017-08-075-20/+74
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (177 commits) Add changelog Bump gitlab-shell version to 5.8.0 to fix Git for Windows 2.14 Make contextual sidebar collapsible Fixed sidebar context header hover colors Use correct `Environment`-class within `Gitlab` namespace Remove gl.Activities from Commits page Move `let` calls inside the `describe` block using them Add `/assign me` alias support for assigning issuables to oneself GRPC::Unavailable (< GRPC::BadStatus) is wrapped in a CommandError Use `broken_storage` in the fs_shards_spec. Eager load project creators for project dashboards Memoize a user's personal projects count Remove redundant query from User#recent_push Improve checking if projects would be returned Change spelling of gitlab-shell Remove unused #tree-holder Add custom linter for inline JavaScript to haml_lint Rename user_can_admin? because it's more accurate Synchronous zanata community contribution translation Add Korean translation to i18n ...
| * Merge branch 'bvl-nfs-circuitbreaker' into 'master'Sean McGivern2017-08-073-0/+57
| |\ | | | | | | | | | | | | | | | | | | Circuitbreaker for storage paths Closes #32207, #33117, gitlab-com/infrastructure#1946, and gitlab-com/infrastructure#1775 See merge request !11449
| | * Add a Circuitbreaker for storage pathsBob Van Landuyt2017-08-043-0/+57
| | |
| * | Merge branch '32300__expose_more_attributes' into 'master'Rémy Coutable2017-08-071-14/+11
| |\ \ | | |/ | |/| | | | | | | Expose more attributes to unauthenticated GET /projects/:id See merge request !13283
| | * Expose more attributes to unauthenticated GET /projects/:idTony2017-08-031-14/+11
| | |
| * | Avoid plucking Todo ids and use sub-queries insteadToon Claes2017-08-032-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
* | | Fix batch commit APIDouwe Maan2017-08-041-1/+2
| | |
* | | Add start_branch to files and commits APIsDouwe Maan2017-08-042-5/+8
|/ /
* | Merge branch 'dm-api-current-user' into 'master'Sean McGivern2017-08-032-1/+3
|\ \ | |/ |/| | | | | | | | | Do not validate CSRF token in API unless needed Closes #35705 See merge request !13256
| * Do not validate CSRF token in API unless neededdm-api-current-userDouwe Maan2017-08-022-1/+3
| |
* | Merge branch 'api_project_events_target_iid' into 'master'Rémy Coutable2017-08-021-1/+1
|\ \ | | | | | | | | | | | | Expose target_iid in Events API See merge request !13247
| * | Expose target_iid in Events APIsue4452017-08-021-1/+1
| | |
* | | Extending API for protected branchesEric2017-08-024-3/+104
| | |
* | | Merge branch 'fix/sm/35825-api-specs-and-linting-failing-on-master' into ↵Rémy Coutable2017-08-012-4/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Fix "API specs and linting failing on master" Closes #35825 See merge request !13227
| * | | Add 204. Remove duplicated method.fix/sm/35825-api-specs-and-linting-failing-on-masterShinya Maeda2017-08-012-4/+1
| | | |
* | | | Merge branch '28283-legacy-storage-format' into 'master'Sean McGivern2017-08-011-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | [CE] Added Legacy Storage format See merge request !13149
| * | | Rename many path_with_namespace -> full_pathGabriel Mazetto2017-08-011-2/+2
| | |/ | |/|
* | | Merge branch '34519-extend-api-group-secret-variable' into 'master'Kamil Trzciński2017-08-013-0/+100
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Extend API: Group Secret Variable Closes #34519 See merge request !12936
| * | IniShinya Maeda2017-07-193-0/+100
| | |
* | | Merge branch '35599-fix-uncontrolled-default_url_options-overriding' into ↵Robert Speicher2017-07-281-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Ensure Gitlab.config.gitlab.host/port and Gitlab::Application.routes.default_url_options are set correctly in Capybara + :js specs Closes #35599 See merge request !13126
| * | | Ensure Gitlab::Application.routes.default_url_options are set correctly in ↵Rémy Coutable2017-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Capybara + :js specs Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Fixup POST /v3/:id/hooks and PUT /v3/:id/hooks/:hook_idRichard Clamp2017-07-281-2/+6
|/ / /
* | | initShinya Maeda2017-07-281-13/+10
| | |
* | | Merge branch 'tc-api-root-merge-requests' into 'master'Sean McGivern2017-07-282-33/+68
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add top-level /merge_requests API endpoint Closes #28422 See merge request !13060
| * | | Modify/add some forgotten issues API documentationtc-api-root-merge-requestsToon Claes2017-07-281-2/+2
| | | | | | | | | | | | | | | | Should have been part of !13004.
| * | | Default /merge_request API endpoint to `scope=created-by-me`Toon Claes2017-07-281-1/+3
| | | | | | | | | | | | | | | | This matches the behavior of the /issues endpoint.
| * | | Add top-level /merge_requests API endpointToon Claes2017-07-271-31/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | And add support for additional query parameters: - `author_id`: Returns merge requests created by the given user `id` - `assignee_id`: Returns merge requests assigned to the given user `id` - `scope`: Return merge requests for the given scope: `created-by-me`, `assigned-to-me` or `all`
* | | | Merge branch 'bvl-add-all-settings-to-api' into 'master'Robert Speicher2017-07-272-86/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Add all ApplicationSettings attributes to the API See merge request !12851
| * | | Remove deprecated `repository_storage` attributebvl-add-all-settings-to-apiBob Van Landuyt2017-07-271-54/+1
| | | | | | | | | | | | | | | | In favor of the new `repository_storages`
| * | | Make the attribute list for application settings reusableBob Van Landuyt2017-07-272-32/+4
| | | |
* | | | DRY the branches API requirements definitionRémy Coutable2017-07-272-5/+10
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Fix the /projects/:id/repository/branches endpoint to handle dots in the ↵Rémy Coutable2017-07-271-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | branch name when the project full patch contains a `/` Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Merge branch '33601-add-csrf-token-verification-to-api' into 'master'Sean McGivern2017-07-271-4/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Add CSRF token verification to API" Closes #33601 See merge request !12154
| * | | | Rescue only from ActionController::InvalidAuthenticityTokenDouwe Maan2017-07-261-2/+2
| | | | |
| * | | | Add `rescue false`.blackst0ne2017-07-261-1/+1
| | | | |
| * | | | Refactor CSRF protectionblackst0ne2017-07-261-30/+2
| | | | |
| * | | | Add CSRF token verification to APIblackst0ne2017-07-261-4/+34
| |/ / /
* | | | Merge branch 'tc-issue-api-assignee' into 'master'Sean McGivern2017-07-271-1/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Add author_id & assignee_id param to /issues API Closes #29430 See merge request !13004
| * | | Allow query param scope for /issues API endpointtc-issue-api-assigneeToon Claes2017-07-241-4/+5
| | | |
| * | | Add author_id & assignee_id param to /issues APIToon Claes2017-07-241-0/+5
| | | | | | | | | | | | | | | | Allow issues filtering on `author_id` and `assignee_id`.
* | | | Merge branch '31129-jira-project-key-elim' into 'master'Sean McGivern2017-07-261-6/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Remove project_key from the JIRA configuration Closes #31129 See merge request !12050
| * | | Remove project_key from the Jira configurationJarka Kadlecova2017-07-251-6/+0
| |/ /
* | | Merge branch '30634-protected-pipeline' into 'master'Kamil Trzciński2017-07-252-10/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Implement "Block pipelines on protected branches" Closes #30634, #34616, and #33130 See merge request !11910
| * | | Use struct instead of hashLin Jen-Shin2017-07-202-3/+3
| | | |
| * | | Use hash to return multiple objectsLin Jen-Shin2017-07-202-5/+5
| | | |
| * | | Merge remote-tracking branch 'upstream/master' into 30634-protected-pipelineLin Jen-Shin2017-07-181-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (25 commits) Remove unneeded asserts and add tests for inactive RequestStore Rename the methods to make it fit with current name Follow feedback on the merge request Make sure it checks against the tag only when it's a tag Renamed Gitaly services fix transient rspec failure due to Poll.js race condition Refactor variables initialization in dropzone_input.js cache the cache key... avoid #respond_to? in Cache.id_for cache DeclarativePolicy.class_for at the class level Update 9.3-to-9.4.md fix padding on filtered search dropdown. Styles should only apply to li in list Cache Note#notable for commits and fix tests Add changelog entry Update the comments for the new functionality Use RequestStoreWrap for Commit#author Skip dead jobs queue for web hooks and project services Add RequestStoreWrap to cache via RequestStore Don't track cached queries in Gitlab::PerformanceBar::PeekQueryTracker Add changelog entry ...