Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a skip_users filter to the project users API | Nick Thomas | 2019-08-19 | 1 | -0/+2 |
| | | | | | | This functionality is available in the /autocomplete users pseudo-API. We're attempting to replace that with the canonical API, so it needs support for this parameter too. | ||||
* | Fix tests | Camil Staps | 2019-08-07 | 1 | -1/+1 |
| | |||||
* | Expose time since starring on project/:id/starrers API endpoint; exclude ↵ | Camil Staps | 2019-08-07 | 1 | -4/+3 |
| | | | | private profiles here as well | ||||
* | Fix API endpoint for starred projects of a user; add info about starred ↵ | Camil Staps | 2019-08-07 | 1 | -1/+1 |
| | | | | projects on profile to documentation | ||||
* | Add documentation and changelog for !24690 | Camil Staps | 2019-08-07 | 1 | -4/+6 |
| | |||||
* | Add users/:user_id/starred_projects API endpoint for projects starred by a user | Camil Staps | 2019-08-07 | 1 | -0/+16 |
| | |||||
* | Add projects/:id/starrers API endpoint for users who starred a repository | Camil Staps | 2019-08-07 | 1 | -0/+12 |
| | |||||
* | CE port of "Move external authorization service API management to EE" | Imre Farkas | 2019-07-17 | 1 | -1/+3 |
| | | | | EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14598 | ||||
* | Make Housekeeping button do a full garbage collectionsh-fix-issue-63349 | Stan Hu | 2019-07-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Previously the Housekeeping button and API would use the counter of last pushes to determine whether to do a full garbage collection, or whether to do one of the less comprehensive tasks: a full repack, incremental pack, or ref pack. This was confusing behavior, since a project owner might have to click the button dozens of times before a full GC would be initiated. This commit forces a full GC each time this is initiated. Note that the `ExclusiveLease` in `HousekeepingService` prevents users from clicking on the button more than once a day. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63349 | ||||
* | CE port of Move EE specific lines in API::Projects | Imre Farkas | 2019-05-30 | 1 | -19/+4 |
| | |||||
* | Forbid the use of `#reload` and prefer `#reset`forbid-the-usage-of-reload | Kamil Trzciński | 2019-04-15 | 1 | -3/+3 |
| | | | | | | | The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case. | ||||
* | Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ↵jarv/dev-to-gitlab-2019-04-02 | John Jarvis | 2019-04-02 | 1 | -5/+3 |
|\ | | | | | | | jarv/dev-to-gitlab-2019-04-02 | ||||
| * | Return cached languages if they've been detected before | Igor Drozdov | 2019-03-20 | 1 | -5/+3 |
| | | |||||
* | | Backport parameters from API::Projects | Yorick Peterse | 2019-03-26 | 1 | -35/+16 |
|/ | | | | | This backports various parameter changes EE makes to API::Projects, along with moving some code around to make it easier to extend in EE. | ||||
* | Merge branch 'security-protect-private-repo-information' into 'master' | Yorick Peterse | 2019-03-04 | 1 | -10/+14 |
|\ | | | | | | | | | Fix leaking private repository information in API See merge request gitlab/gitlabhq!2881 | ||||
| * | Prevent leaking of private repo data through API | Luke Duncalfe | 2019-02-18 | 1 | -10/+14 |
| | | | | | | | | | | default_branch, statistics and config_ci_path are now only exposed if the user has permissions to the repository. | ||||
* | | Merge branch ↵ | Yorick Peterse | 2019-03-04 | 1 | -9/+6 |
|\ \ | | | | | | | | | | | | | | | | | | | '2802-security-add-public-internal-groups-as-members-to-your-project-idor' into 'master' Add public/internal groups as members to your Project(IDOR) See merge request gitlab/gitlabhq!2898 | ||||
| * | | Change policy regarding group visibility | Małgorzata Ksionek | 2019-02-20 | 1 | -9/+6 |
| |/ | |||||
* | | Merge branch 'zj-load-languages-from-database' into 'master' | Nick Thomas | 2019-02-25 | 1 | -1/+5 |
|\ \ | | | | | | | | | | | | | | | | | | | Load repository language from the DB if detected Closes #47390 See merge request gitlab-org/gitlab-ce!25518 | ||||
| * | | Load repository language from the DB if detected | Zeger-Jan van de Weg | 2019-02-25 | 1 | -1/+5 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | The repository charts page used to detect the repository language for each request that was made to the page. Given the detection is an expensive operation and the same data is stored in the database the database is now serving the request. The same goes for an API endpoint that serves the languages. When a repository is empty or non-existent the languages will always be empty. And the language detection RPC isn't requested. Closes: https://gitlab.com/gitlab-org/gitlab-ce/issues/47390 | ||||
* | | Let users set name/path on project fork using API | Balasankar "Balu" C | 2019-02-20 | 1 | -0/+2 |
|/ | |||||
* | Add programming language filtering to `/projects` | Dylan MacKenzie | 2019-02-04 | 1 | -0/+4 |
| | |||||
* | Unify user requirements for API slugs | Robert Schilling | 2019-01-31 | 1 | -1/+1 |
| | |||||
* | API: Support username with dots | Robert Schilling | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | Refactor upload service to return uploader | Heinrich Lee Yu | 2019-01-07 | 1 | -1/+1 |
| | | | | Also changes old calls to the service | ||||
* | Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routing | Imre Farkas | 2018-11-28 | 1 | -2/+2 |
| | | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS | ||||
* | Feature/add license to project API | J.D. Bean | 2018-10-26 | 1 | -2/+7 |
| | |||||
* | Make GitLab pages support access control | Tuomo Ala-Vannesluoma | 2018-10-05 | 1 | -0/+6 |
| | |||||
* | Enable frozen string in lib/api and lib/backup | gfyoung | 2018-09-29 | 1 | -0/+2 |
| | | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190 | ||||
* | Disable existing offenses for the CodeReuse cops | Yorick Peterse | 2018-09-11 | 1 | -0/+4 |
| | | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop. | ||||
* | Allow project owners to set up forking relation through API | Toon Claes | 2018-08-20 | 1 | -1/+1 |
| | | | | | | | | Before this change only GitLab admins where allowed to set up forking relation through the API. This changes that so project owners can do this too. Closes gitlab-org/gitlab-ce#40550. | ||||
* | Use Projects::UpdateService to archive projects | James Ramsay | 2018-08-03 | 1 | -2/+2 |
| | | | | | | System hooks were not being triggered when projects were archived or unarchived. Reuse the Projects::UpdateService to automatically trigger system hooks and increase code reuse. | ||||
* | Backports EE-1499 to CE | Tiago Botelho | 2018-07-27 | 1 | -28/+39 |
| | |||||
* | Add min_access_level filter to projects API | Marko, Peter | 2018-07-23 | 1 | -0/+1 |
| | | | | Signed-off-by: Marko, Peter <peter.marko@siemens.com> | ||||
* | Backport of gitlab-org/gitlab-ee!6137 | Valery Sizov | 2018-07-19 | 1 | -3/+18 |
| | |||||
* | Fix archived parameter for projects API | Marko, Peter | 2018-07-16 | 1 | -1/+1 |
| | |||||
* | Fix #48537 - Update avatar only via the projects API | Jamie Schembri | 2018-07-09 | 1 | -1/+2 |
| | |||||
* | Add transfer project endpoint to the Projects API | Aram Visser | 2018-06-27 | 1 | -0/+17 |
| | |||||
* | Only preload member records for the relevant projects/groups/user in ↵dm-api-projects-members-preload | Douwe Maan | 2018-05-30 | 1 | -7/+0 |
| | | | | projects API | ||||
* | Fix project creation for user endpoint bug | Mark Fletcher | 2018-04-23 | 1 | -2/+8 |
| | | | | | | In this endpoint the `jobs_enabled` parameter must be translated to `builds_enabled` before being passed to the `Projects::CreateService`. | ||||
* | Resolve "Make a Rubocop that forbids returning from a block" | 🙈 jacopo beschi 🙉 | 2018-04-18 | 1 | -1/+1 |
| | |||||
* | Feature/add language in repository to api | Roger Rüttimann | 2018-04-13 | 1 | -0/+5 |
| | |||||
* | Make the API project params reusable | Bob Van Landuyt | 2018-04-04 | 1 | -30/+4 |
| | |||||
* | Resolve "Allow the configuration of a project's merge method via the API" | Jan | 2018-04-04 | 1 | -0/+2 |
| | |||||
* | Resolve "Forking with namespace doesn't work (API)" | Jan | 2018-03-26 | 1 | -5/+1 |
| | |||||
* | Resolve "API: PUT /projects/:id fails when only ci_config_path is specified" | Kárpáti László | 2018-02-21 | 1 | -0/+1 |
| | |||||
* | Allow including custom attributes in API responses | Markus Koller | 2018-02-08 | 1 | -3/+16 |
| | |||||
* | Track and act upon the number of executed queriesquery-counts | Yorick Peterse | 2018-02-01 | 1 | -0/+2 |
| | | | | | | | | | | | 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. | ||||
* | Resolve "Projects API: filter 'with_issues_enabled=true' returns projects ↵ | Jan Christophersen | 2018-01-19 | 1 | -2/+2 |
| | | | | with 'issues_enabled=false'" | ||||
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 1 | -0/+1 |
| |