Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
AgeCommit message (Collapse)Author
2018-02-06Merge branch 'master' into '26388-push-to-create-a-new-project'Douwe Maan
# Conflicts: # lib/gitlab/path_regex.rb
2018-02-06Moves project creationg to git access check for git pushTiago Botelho
2018-02-06Add sorting options for /users API (admin only)Dmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-02-06Abstracts ProjectMoved and ProjectCreated into a BaseProjectTiago Botelho
2018-02-06Move new project on push logic to a serviceTiago Botelho
2018-02-06Add specsTiago Botelho
2018-02-06Adds remote messsage when project is created in a push over SSH or HTTPTiago Botelho
2018-02-06Adds option to push over SSH to create a new projectTiago Botelho
2018-02-05Merge branch 'api-guard' into 'master'Rémy Coutable
Make find_user_from_sources extensible for EE See merge request gitlab-org/gitlab-ce!16924
2018-02-05Merge branch 'query-counts' into 'master'Rémy Coutable
Track and act upon the number of executed SQL queries See merge request gitlab-org/gitlab-ce!16466
2018-02-05Make find_user_from_sources extensible for EELin Jen-Shin
2018-02-02use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa
including/extending it
2018-02-01port of 594e6a0a625^..f74c90f68c6Micaël Bergeron
2018-02-01Track and act upon the number of executed queriesYorick Peterse
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.
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-31Remove N+1 queries with /projects/:project_id/{access_requests,members} API ↵Stan Hu
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
2018-01-29Remove tap and use simplified method callOswaldo Ferreira
2018-01-28Return more consistent values for merge_status on MR APIOswaldo Ferreira
2018-01-25Revert "Merge branch 'osw-updates-merge-status-on-api-actions' into 'master'"Douwe Maan
This reverts merge request !16626
2018-01-24Merge branch 'search-100' into 'master'Yorick Peterse
Use limit for search count queries See merge request gitlab-org/gitlab-ce!16502
2018-01-24Merge branch 'osw-updates-merge-status-on-api-actions' into 'master'Douwe Maan
Return more consistent values for merge_status on V4 MR APIs Closes #20639 See merge request gitlab-org/gitlab-ce!16626
2018-01-24Make the exposing of the Application secret more explicitToon Claes
To make it more clear to developers that the entity exposes the application secret, define a separate entity that only should be used when the secret is needed (probably only on creation).
2018-01-24Add documentation about when the application API was addedToon Claes
2018-01-24Add application create APINicolas MERELLI
2018-01-24Use limit for search count queriesJan Provaznik
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
2018-01-24Return more consistent values for merge_status on MR APIOswaldo Ferreira
2018-01-22Default to Gitaly for 'git push' HTTP/SSH, and make Gitaly mandatory for SSH ↵Jacob Vosmaer (GitLab)
pull
2018-01-22Merge branch '41673-blank-query-members-api' into 'master'Rémy Coutable
Resolve "Project/#/Members?query= blank causes 500 error" Closes #41673 See merge request gitlab-org/gitlab-ce!16235
2018-01-22Merge branch ↵Rémy Coutable
'42231-protected-branches-api-route-returns-404-for-branches-with-dots' into 'master' Resolve "Protected branches API route returns 404 for branches with dots" Closes #42231 See merge request gitlab-org/gitlab-ce!16591
2018-01-21Fix error on empty query for Members APIMark Fletcher
2018-01-19Fix protected branches API to accept name parameter with dotMark Fletcher
2018-01-19Resolve "Projects API: filter 'with_issues_enabled=true' returns projects ↵Jan Christophersen
with 'issues_enabled=false'"
2018-01-18Merge branch 'feature/merge-request-system-hook' into 'master'Douwe Maan
System hooks for Merge Requests See merge request gitlab-org/gitlab-ce!14387
2018-01-18Merge branch '42129-fix-project-snippet-user-agent-detail' into 'master'Sean McGivern
Fix the user-agent detail API endpoint for project snippets Closes #42129 See merge request gitlab-org/gitlab-ce!16521
2018-01-17Merge branch 'sh-backport-10-3-4-security-fixes' into 'master'Oswaldo Ferreira
Backport 10.3.4 security fixes into master See merge request gitlab-org/gitlab-ce!16509
2018-01-17Fix the user-agent detail API endpoint for project snippetsNick Thomas
2018-01-17Make ruby lint happyOswaldo Ferreira
2018-01-17Adds sorting to deployments APIJacopo
Adds sorting to deployments API through the `order_by` and sort `fields`.
2018-01-17Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into ↵Douwe Maan
'security-10-3' [10.3] Migrate `can_push` column from `keys` to `deploy_keys_project` See merge request gitlab/gitlabhq!2276 (cherry picked from commit f6ca52d31bac350a23938e0aebf717c767b4710c) 1f2bd3c0 Backport to 10.3
2018-01-17Merge branch ↵Stan Hu
'security-10-3-do-not-expose-passwords-or-tokens-in-service-integrations-api' into 'security-10-3' Filter out sensitive fields from the project services API See merge request gitlab/gitlabhq!2281 (cherry picked from commit 476f2576444632f2a9a61b4cead9c1077f2c81d7) 2bcbbda0 Filter out sensitive fields from the project services API
2018-01-16Merge branch 'builds-api-nplusone' into 'master'Stan Hu
Resolve "N+1 queries with /projects/:project_id/builds API endpoint" Closes #41957 See merge request gitlab-org/gitlab-ce!16445
2018-01-16Enables Project Milestone Deletion via APIJacopo
Enables project milestone deletion via DELETE /projects/:id/milestones/:milestone_id
2018-01-16Use preload instead of includes to avoid joinsMatija Čupić
2018-01-15Merge branch '42025-fix-issue-api' into 'master'Sean McGivern
[API] Fix creating issue when assignee_id is empty See merge request gitlab-org/gitlab-ce!16458
2018-01-15Merge branch 'fix-duplication-circuit-breakers' into 'master'Douwe Maan
Fix duplication in API::CircuitBreakers See merge request gitlab-org/gitlab-ce!16456
2018-01-15[API] Fix creating issue when assignee_id is emptyValery Sizov
see https://gitlab.com/gitlab-org/gitlab-ce/issues/42025
2018-01-15Fix duplication in API::CircuitBreakersSerdar Dogruyol
2018-01-15Fix N+1 builds query in Jobs list APIMatija Čupić
2018-01-15Eager load user, runner, pipeline and its creatorMatija Čupić
2018-01-14Fix N+1 in v3 builds APIMatija Čupić
The N+1 issue was caused by loading the job_artifacts_archive for each job (build) individually. Including that in the builds AssociationRelation fixed the issue.