summaryrefslogtreecommitdiff
path: root/lib/api
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix file uploadJames Lopez2018-02-131-3/+4
| |
| * update import API and specJames Lopez2018-02-131-2/+2
| |
| * update import API and specJames Lopez2018-02-131-2/+5
| |
| * add post import API endpointJames Lopez2018-02-131-0/+48
| |
| * add entity and update specJames Lopez2018-02-132-0/+6
| |
* | Merge branch 'feature/include-custom-attributes-in-api' into 'master'Douwe Maan2018-02-145-7/+83
|\ \ | | | | | | | | | | | | Allow including custom attributes in API responses See merge request gitlab-org/gitlab-ce!16526
| * | Allow including custom attributes in API responsesMarkus Koller2018-02-085-7/+83
| | |
* | | Merge branch '42934-search-api-fix' into 'master'Sean McGivern2018-02-142-8/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add information about projects when searching in wiki_blobs, blobs, commits scopes Closes #42934 See merge request gitlab-org/gitlab-ce!17095
| * | | API - Include project in commits&blobs search resultsJarka Kadlecová2018-02-142-8/+6
| | |/ | |/|
* | | Merge branch 'api-refs-for-commit' into 'master'Douwe Maan2018-02-142-1/+26
|\ \ \ | |/ / |/| | | | | | | | | | | | | | API: Get refs for a particular commit Closes #18014 See merge request gitlab-org/gitlab-ce!15026
| * | Refactor commits/refs API to use hash and add pagination headersRobert Schilling2018-02-142-19/+8
| | |
| * | Separate branch and tag namesRobert Schilling2018-02-092-6/+10
| | |
| * | Incorporate feedbackRobert Schilling2018-02-092-21/+18
| | |
| * | Basic ref fetching for commitsRobert Schilling2018-02-092-3/+38
| | |
* | | Merge branch '42937-search-api-fix' into 'master'Grzegorz Bizon2018-02-121-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | API - fix searching in group/project specified by path Closes #42937 See merge request gitlab-org/gitlab-ce!17033
| * | | API - fix searching in group/project specified by path42937-search-api-fixJarka Kadlecová2018-02-091-4/+4
| |/ /
* | | Merge branch 'security-10-4-todo-api-reveals-sensitive-information' into ↵Robert Speicher2018-02-092-2/+2
|/ / | | | | | | | | | | 'security-10-4' Restrict Todo API mark_as_done endpoint to the user's todos only
* | Merge branch '40744-hashed-storage-specs' into 'master'Sean McGivern2018-02-081-1/+1
|\ \ | |/ |/| | | | | | | | | Use hashed storage in the specs Closes #40744 See merge request gitlab-org/gitlab-ce!15681
| * Use hashed storage in the specs40744-hashed-storage-specsNick Thomas2018-02-071-1/+1
| |
* | Merge branch '41763-search-api' into 'master'Sean McGivern2018-02-075-15/+145
|\ \ | |/ |/| | | | | | | | | Search API Closes #41763 See merge request gitlab-org/gitlab-ce!16878
| * Small code/doc changes41763-search-apiJarka Kadlecová2018-02-071-6/+12
| |
| * Return only limited pagination headers for search API endpointsJarka Kadlecová2018-02-062-6/+14
| |
| * Support search in APIJarka Kadlecová2018-02-064-11/+127
| |
* | Merge branch ↵Kamil Trzciński2018-02-072-20/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour' into 'master' Resolve "StuckCiJobsWorker wrongly detects, cancels 'stuck' builds when per-job timeout is more than an hour" Closes #38265, #42196, and #42750 See merge request gitlab-org/gitlab-ce!16756
| * \ Merge branch 'master' into ↵Matija Čupić2018-02-049-47/+48
| |\ \ | | | | | | | | | | | | 38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour
| * | | Refactor runner attribute caching implementationMatija Čupić2018-02-041-1/+1
| | | |
| * | | Move info update implementation to Ci::Runner modelMatija Čupić2018-01-291-26/+1
| | | |
| * | | Update runner info on all authenticated requestsMatija Čupić2018-01-292-1/+2
| | | |
| * | | Extend Runner API helpers with cache info storageMatija Čupić2018-01-291-5/+11
| | | |
* | | | Merge branch 'master' into '26388-push-to-create-a-new-project'Douwe Maan2018-02-061-1/+18
|\ \ \ \ | | | | | | | | | | | | | | | # Conflicts: # lib/gitlab/path_regex.rb
| * | | | Add sorting options for /users API (admin only)42669-allow-order_by-users-in-gitlab-apiDmitriy Zaporozhets2018-02-061-1/+18
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Moves project creationg to git access check for git pushTiago Botelho2018-02-062-22/+13
| | | |
* | | | Abstracts ProjectMoved and ProjectCreated into a BaseProjectTiago Botelho2018-02-062-4/+8
| | | |
* | | | Move new project on push logic to a serviceTiago Botelho2018-02-062-31/+14
| | | |
* | | | Add specsTiago Botelho2018-02-062-11/+15
| | | |
* | | | Adds remote messsage when project is created in a push over SSH or HTTPTiago Botelho2018-02-062-5/+28
| | | |
* | | | Adds option to push over SSH to create a new projectTiago Botelho2018-02-061-1/+14
|/ / /
* | | Merge branch 'api-guard' into 'master'Rémy Coutable2018-02-051-1/+5
|\ \ \ | | | | | | | | | | | | | | | | Make find_user_from_sources extensible for EE See merge request gitlab-org/gitlab-ce!16924
| * | | Make find_user_from_sources extensible for EELin Jen-Shin2018-02-051-1/+5
| | |/ | |/|
* | | Merge branch 'query-counts' into 'master'Rémy Coutable2018-02-0512-0/+38
|\ \ \ | |/ / |/| | | | | | | | Track and act upon the number of executed SQL queries See merge request gitlab-org/gitlab-ce!16466
| * | Track and act upon the number of executed queriesquery-countsYorick Peterse2018-02-0112-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that we have more visibility in the number of SQL queries that are executed in web requests. The current threshold is hardcoded to 100 as we will rarely (maybe once or twice) change it. In production and development we use Sentry if enabled, in the test environment we raise an error. This feature is also only enabled in production/staging when running on GitLab.com as it's not very useful to other users.
* | | use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa2018-02-021-4/+2
| | | | | | | | | | | | including/extending it
* | | port of 594e6a0a625^..f74c90f68c6Micaël Bergeron2018-02-011-3/+3
|/ /
* | Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-013-9/+9
| |
* | Remove N+1 queries with /projects/:project_id/{access_requests,members} API ↵sh-fix-project-members-api-perfStan Hu2018-01-304-30/+25
| | | | | | | | | | | | | | | | | | | | | | endpoints We can simplify the code quite a bit and improve performance by using grape-entity merge fields: https://github.com/ruby-grape/grape-entity/tree/v0.6.0#merge-fields Relates to #42030
* | Remove tap and use simplified method callOswaldo Ferreira2018-01-291-1/+2
| |
* | Return more consistent values for merge_status on MR APIosw-consistent-values-on-api-merge-statusOswaldo Ferreira2018-01-281-1/+8
|/
* Revert "Merge branch 'osw-updates-merge-status-on-api-actions' into 'master'"Douwe Maan2018-01-251-10/+1
| | | This reverts merge request !16626
* Merge branch 'search-100' into 'master'Yorick Peterse2018-01-241-1/+1
|\ | | | | | | | | Use limit for search count queries See merge request gitlab-org/gitlab-ce!16502
| * Use limit for search count queriessearch-100Jan Provaznik2018-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Search query is especially slow if a user searches a generic string which matches many records, in such case search can take tens of seconds or time out. To speed up the search query, we search only for first 1000 records, if there is >1000 matching records we just display "1000+" instead of precise total count supposing that with such amount the exact count is not so important for the user. Because for issues even limited search was not fast enough, 2-phase approach is used for issues: first we use simpler/faster query to get all public issues, if this exceeds the limit, we just return the limit. If the amount of matching results is lower than limit, we re-run more complex search query (which includes also confidential issues). Re-running the complex query should be fast enough in such case because the amount of matching issues is lower than limit. Because exact total_count is now limited, this patch also switches to to "prev/next" pagination. Related #40540