summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
* 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`.
* Support both internal and external issue trackersJarka Kadlecova2017-07-242-10/+9
|
* Update grape gemdz-update-grapeDmitriy Zaporozhets2017-07-2021-0/+28
| | | | | | | | New version of the gem returns 200 status code on delete with content instead of 204 so we explicitly set status code to keep existing behavior Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Renamed Gitaly servicesAndrew Newdigate2017-07-181-1/+1
|
* Merge branch 'fixes-for-internal-auth-disabled' into 'master'Sean McGivern2017-07-144-6/+23
|\ | | | | | | | | Fixes needed when GitLab sign-in is not enabled See merge request !12491
| * Fixes needed when GitLab sign-in is not enabledRobin Bobbitt2017-07-134-6/+23
| | | | | | | | | | | | | | | | | | When sign-in is disabled: - skip password expiration checks - prevent password reset requests - don’t show Password tab in User Settings - don’t allow login with username/password for Git over HTTP requests - render 404 on requests to Profiles::PasswordsController
* | Handle case when BroadcastMessage.current is nilStan Hu2017-07-131-1/+1
| | | | | | | | | | | | | | Somehow Rails.cache.fetch occasionally returns `nil` values, which causes this endpoint to crash. Closes #35094
* | Return `is_admin` attribute in the GET /user endpoint for adminsRémy Coutable2017-07-121-1/+10
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Use view=simple for simplifying merge requests APIStan Hu2017-07-111-3/+3
| |
* | Add a simple mode to merge request APIsh-add-mr-simple-modeStan Hu2017-07-112-5/+27
| | | | | | | | | | | | | | The current "basic" merge request API still loads too much data. For integrations like the Trello Power-up, we just need the basics. Closes #34920
* | Fix sort ordering with merge request APIsh-improve-mr-apiStan Hu2017-07-101-4/+3
| |
* | Paginate the merge requests API earlier to avoid eager loading every merge ↵Stan Hu2017-07-101-1/+2
|/ | | | | | request Fixes a performance regression introduced in !12732
* Remove remaining N+1 queries in merge requests API with emojis and labelsStan Hu2017-07-082-5/+23
| | | | Closes #34159
* Merge branch 'sh-optimize-mr-api' into 'master'Stan Hu2017-07-081-1/+3
|\ | | | | | | | | Remove many N+1 queries with merge requests API See merge request !12726
| * Remove many N+1 queries with merge requests APIsh-optimize-mr-apiStan Hu2017-07-071-1/+3
| | | | | | | | | | | | Identified via `ENABLE_BULLET=1 bundle exec rspec spec/requests/api/merge_requests_spec.rb:34` Improves speed of #34159
* | Merge branch 'gitaly-internal-allowed-send-repo' into 'master'Robert Speicher2017-07-082-7/+31
|\ \ | | | | | | | | | | | | Send Gitaly Repository with /api/internal/allowed See merge request !12452
| * | Send Gitaly Repository with /api/internal/allowedgitaly-internal-allowed-send-repoKim "BKC" Carlbäcker2017-07-072-7/+31
| | | | | | | | | | | | | | | - Make single gitaly payload - Add feature-flag specs to verify payload
* | | Merge branch 'feature/user-datetime-search-api-mysql' into 'master'Douwe Maan2017-07-071-0/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Add creation time filters to user search API for admins Closes #29507 See merge request !12682
| * | fix specsJames Lopez2017-07-071-1/+1
| | |
| * | add created at filter logic to users finder and APIJames Lopez2017-07-071-0/+6
| | |
* | | Merge branch '33929-allow-to-enable-perf-bar-for-a-group' into 'master'Sean McGivern2017-07-071-12/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow to enable the performance bar per user or Feature group Closes #33929 and #34528 See merge request !12362
| * \ \ Merge branch 'master' into '33929-allow-to-enable-perf-bar-for-a-group'Sean McGivern2017-07-072-5/+13
| |\ \ \ | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * \ \ \ Merge branch 'master' into 33929-allow-to-enable-perf-bar-for-a-groupSean McGivern2017-07-074-52/+90
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Improve Features API and its docs and add a Changelog itemRémy Coutable2017-07-061-12/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | Merge branch 'feature/user-agent-details-api' into 'master'Douwe Maan2017-07-074-0/+54
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Allow admins to retrieve user agent details for an issue or snippet Closes #29508 See merge request !12655
| * | | | add spec and project snippet user agent details endpointJames Lopez2017-07-071-0/+16
| | | | |
| * | | | refactor code based on feedbackJames Lopez2017-07-063-5/+3
| | | | |
| * | | | add user agent details API endpoints to issues and snippetsJames Lopez2017-07-062-0/+34
| | | | |
| * | | | add issues spec and user agent details to entitiesJames Lopez2017-07-061-0/+6
| | | | |
* | | | | Merge branch ↵Kamil Trzciński2017-07-071-3/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'feature/intermediate/32568-adding-variables-to-pipelines-schedules' into 'master' Add variables to pipelines schedules Closes #32568 See merge request !12372
| * | | | | Remove update|admin_pipeline_schedule from Project, and grant it in ↵Kamil Trzcinski2017-07-071-3/+6
| | |_|/ / | |/| | | | | | | | | | | | | PipelineSchedule
* | | | | Native group milestonesFelipe Artur2017-07-071-2/+7
|/ / / /
* | | | Merge branch '33748-fix-n-plus-1-query-in-the-projects-api' into 'master'Robert Speicher2017-07-072-2/+18
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Fix some N+1 queries in the GET /projects API Closes #33748 See merge request !12679
| * | | Fix some N+1 queries in the GET /projects APIRémy Coutable2017-07-072-2/+18
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Merge branch '34716-environment-specific-variables-ce' into 'master'Douwe Maan2017-07-061-2/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Backports for ee-2112 Closes #34716 See merge request !12671
| * | | Backports for ee-2112Lin Jen-Shin2017-07-061-2/+6
| |/ / | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2112
* | | Merge branch '33657-user-projects-api' into 'master'Rémy Coutable2017-07-062-49/+67
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Add user projects API Closes #33657 See merge request !12596
| * | Add user projects APIvanadium232017-07-062-49/+67
| | |
* | | Merge branch '33772-readonly-gitlab-ci-cache' into 'master'Kamil Trzciński2017-07-061-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Introduce cache policies for CI jobs Closes #33772 See merge request !12483
| * | | Introduce cache policies for CI jobsNick Thomas2017-07-051-1/+1
| | | |
* | | | Merge branch '32815--Add-Custom-CI-Config-Path' into 'master'Grzegorz Bizon2017-07-062-0/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Resolve "Project option to allow customizing CI/CD config path" Closes #32815 and #33130 See merge request !12509
| * | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-07-057-28/+89
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32815--Add-Custom-CI-Config-Path * upstream/master: (149 commits) Revert change to design. Go back to scrollable page Fixes the column widths for the new navigation options in settings Migrate #submodule_url_for to Gitaly Add test example for external commit status retries Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rb Fix build for !12300. Log rescued exceptions to Sentry Fix issues with non-UTF8 filenames by always fixing the encoding of tree and blob paths Revert "Merge branch 'revert-12499' into 'master'" Prevent accidental deletion of protected MR source branch by repeating checks before actual deletion Improve the overall UX for the new monitoring dashboard Document that GitLab 9.3 requires the TRIGGER permission on MySQL Instrument Unicorn with Ruby exporter Remove group modal like remove project modal. Closes #33130 Update prometheus client gem Enables the option in user preferences to turn on the new navigation Add Jasmine tests for `OAuthRememberMe` Simplify authentication logic in the v4 users API for !12445. Use stub_application_setting when testing ApplicationHelper#support_url wait_for_requests is not needed when AJAX is not in play ...
| * | | Rename ci_config_file to ci_config_pathLin Jen-Shin2017-07-052-2/+2
| | | |
| * | | Fix various descriptions given the feedbackLin Jen-Shin2017-07-041-1/+1
| | | |
| * | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-06-305-9/+49
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32815--Add-Custom-CI-Config-Path * upstream/master: (123 commits) Backport changes to Projects::IssuesController and the search bar bugfix: use `require_dependency` to bring in DeclarativePolicy Resolve "Select branch dropdown is too close to branch name" Clean up issuable lists Defer project destroys within a namespace in Groups::DestroyService#async_execute Fixed new navgiation bar logo height in Safari Resolve "Issue dropdown persists when adding issue number to issue description" Move verification to block level instead of paragraph Revert "Merge branch 'dm-drop-default-scope-on-sortable-finders' into 'master'" Added code for defining SHA attributes Minor edits Job details won't scroll horizontally to show long lines Run mysql tests on stable preperation branches like 9-3-stable-patch-2 Bring back branches badge to main project page optimize translation content based on comments supplement traditional chinese in taiwan translation Inserts exact matches of username, email and name to the top of the user search list Remove Namespace model default scope override and write additional test to Project search optimize translation content based on comments Limit OpenGraph image size to 64x64 ...
| * | | Merge remote-tracking branch 'upstream/master' into ↵15041-Add-Custom-CI-Config-PathLin Jen-Shin2017-06-2899-3414/+10794
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15041-Add-Custom-CI-Config-Path * upstream/master: (12506 commits) Update CHANGELOG.md for 9.3.2 Update architecture.md Fix changelog entry file extension Fix head pipeline stored in merge request for external pipelines updated gitlab-ci.yml to compile locale Ignore JSON files generated from PO files Update mmap2 gem tha disables mmap_obj.gsub! as current implementation uses method that is no longer part of Ruby API Disable rainbow during SimpleExecutor specs to have consistence Slightly refactor pipeline schedules form in preparation for additions Resolve "Submitting reply to existing diff discussion using Cmd/Ctrl+Enter submits twice and refreshes page" Make the SimpleExecutor rescue exceptions in the executing Checks Resolve "Unable to access edit comment from dropdown menu in certain screen sizes" Update changelog item revert removal of requestAnimationFrame and move to a separate MR/discussion rename getEmojiCategoryMap and remove unnecessary parameter Action Buttons on Prio Labels working again by setting pointer events to none on… Remove 'contains' option from Commit.find_all Remove Gitlab::Git::Repository#find_all Use latest chrome and chrome driver in GitLab QA Polish sidebar toggle ...
| * | | | Add config option to project to allow custom .gitlab-ci.yml locationKeith Pope2016-10-082-0/+7
| | | | |
* | | | | Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-1/+1
| |_|_|/ |/| | |
* | | | Merge branch 'master' into '33580-fix-api-scoping'Douwe Maan2017-07-047-19/+70
|\ \ \ \ | | | | | | | | | | | | | | | # Conflicts: # lib/api/users.rb