An error occurred fetching the project authors.
- 02 Aug, 2021 1 commit
-
-
Reuben Pereira authored
Now that we've migrated to use ProjectFeature#container_registry_access_level instead of Project#container_registry_enabled, allow container_registry_access_level to be modified by the public projects API. This allows users to set the visibility of a container registry independently of the project visibility. Also update the public API docs. Deprecate container_registry_enabled in the public API in favor of container_registry_access_level. Changelog: deprecated
-
- 21 Jul, 2021 1 commit
-
-
Terri Chu authored
-
- 19 Jul, 2021 3 commits
-
-
Gary Holtz authored
-
Gary Holtz authored
-
Gary Holtz authored
Changelog: added
-
- 08 Jul, 2021 1 commit
-
-
Reuben Pereira authored
Remove the read_container_registry_access_level feature flag and always read project_features.container_registry_access_level instead of projects.container_registry_enabled. Changelog: changed
-
- 06 Jul, 2021 1 commit
-
-
Mario Celi authored
Improves performance of authenticated request on the /projects endpoint Changelog: performance
-
- 02 Jul, 2021 1 commit
-
-
Doug Stull authored
- follow style guide.
-
- 23 Jun, 2021 1 commit
-
-
Adam Hegyi authored
This change improves the performance of the api/v4/projects/:id/users endpoint (behind FF). The change also changes a database index in the project_authorizations table. Changelog: performance
-
- 18 Jun, 2021 1 commit
-
-
Alex Kalderimis authored
Rename project association from jira_service to jira_integration
-
- 16 Jun, 2021 1 commit
-
-
Małgorzata Ksionek authored
Changelog: security
-
- 15 Jun, 2021 1 commit
-
-
Maxime Orefice authored
-
- 11 Jun, 2021 3 commits
-
-
Jonas Waelter authored
Changelog: removed
-
Reuben Pereira authored
Put the reading of project_features.container_registry_access_level instead of projects.container_registry_enabled behind a feature flag called read_container_registry_access_level.
-
Reuben Pereira authored
Update readers of projects.container_registry_enabled to read project_features.container_registry_access_level. Writers will continue writing to projects.container_registry_enabled. The before_update callback on the Project model and the before_create on ProjectFeature model will copy the value to project_features.container_registry_access_level.
-
- 10 Jun, 2021 2 commits
-
-
Vasilii Iakliushin authored
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/26261 Set `default_branch` value as a default branch name for non-empty repositories. Changelog: fixed
-
Thong Kuah authored
-
- 08 Jun, 2021 2 commits
-
-
Emma Sax authored
Expose the project's squash option (never, always, default_on, default_off) as part of the projects API. This commit updates the Projects API documentation accordingly, and delegates the squash option to the project's settings. Changelog: changed MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63543
-
Jonas Wälter authored
-
- 07 Jun, 2021 1 commit
-
-
Jonas Wälter authored
-
- 01 Jun, 2021 1 commit
-
-
Valery Sizov authored
-
- 24 May, 2021 1 commit
-
-
Alex Kalderimis authored
This removes the `Links` header in favour of the standard `Link` header, which was added in 13.1 See: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33714 Changelog: changed
-
- 21 May, 2021 1 commit
-
-
Manoj M J authored
Use specialized worker to refresh authorizations on group share removal [RUN ALL RSPEC] [RUN AS-IF-FOSS]
-
- 10 May, 2021 1 commit
-
-
Vasilii Iakliushin authored
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/28902 * Filter out shared groups user does not have access to Changelog: added
-
- 01 May, 2021 1 commit
-
-
Igor Drozdov authored
Objects created via let_it_be are shared between tests. Sometimes we reload them in order to reset the state. Sometimes it's not enough. For example, some tests fail because @_destroyed instance variable preserved. So the objects removed in a previous test, marked as removed in the subsequent ones. Let's use refind to fix those cases
-
- 30 Apr, 2021 1 commit
-
-
Dmytro Zaporozhets (DZ) authored
So we can test a single project schema included in other entities
-
- 23 Apr, 2021 1 commit
-
-
Sean McGivern authored
We have rolled this out in production and seen that it works: no increase in error rate, and temporary files do not hang around any more.
-
- 22 Apr, 2021 1 commit
-
-
Dmytro Zaporozhets (DZ) authored
-
- 14 Apr, 2021 1 commit
-
-
Stan Hu authored
Previously if the project were on the `GITLAB_UPLOAD_API_ALLOWLIST` exemption list we would not log a message. However, it is still useful to track these exceptions so that we know that they are happening. We add a `upload_allowed` boolean field to make it possible to filter these exempted uploads. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/325788
-
- 12 Apr, 2021 1 commit
-
-
Sean McGivern authored
Rack writes files from multipart/form-data requests to disk in a temporary file. Rack includes a middleware to clean these up - Rack::TempfileReaper - but that won't withstand a process being sent SIGKILL. To handle that case, we can immediately unlink the created temporary file, which means it will be removed once we're done with it or the current process goes away. For development mode and test mode, we have to ensure that this new middleware is before Gitlab::Middleware::Static, otherwise we might not get the chance to set our own middleware. With direct upload configured, GitLab mostly doesn't accept multipart/form-data requests in a way where they reach Rack directly - they typically go via Workhorse which accelerates them - but there are cases where it can happen, and direct upload is still only an option. To test this manually, we can set `$GITLAB_API_TOKEN_LOCAL` to a personal access token for the API in the local environment, `$PATH_TO_FILE` to be a path to a (preferably large) file to be uploaded, and break the actual saving of uploads (in the default case with GDK, stop Minio): curl -H "Private-Token: $GITLAB_API_TOKEN_LOCAL" \ -F "file=@$PATH_TO_FILE" \ http://localhost:3000/api/v4/projects/1/uploads Once the upload is finished and the request fails, we'll see the file we uploaded in `$TMPDIR`: $ ls -l $TMPDIR/RackMultipart* | awk '{ print $5, $8 }' 952107008 17:40 With this change, that won't happen: we'll see the file created and immediately unlinked, so no matter what happens, it won't stick around on disk. (This specific test case is handled by Rack::TempfileReaper in later versions of Rack, but it still depends on manual cleanup.)
-
- 08 Apr, 2021 2 commits
-
-
Karthik Sivadas authored
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/322739
-
Francisco Javier López authored
-
- 01 Apr, 2021 1 commit
-
-
Francisco Javier López authored
When we retrieve projects from the REST endpoint and there are several forks inside, there are several N+1. In this commit we fix several of those.
-
- 30 Mar, 2021 1 commit
-
-
Stan Hu authored
Since Workhorse started accelerating attachments in the upload API (https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57250), the `content_length` log in `api_json.log` no longer holds the actual bytes used by the uploaded file. It now reports the number of bytes from the Workhorse JSON metadata. In order to determine which projects might be exceeding this limit, we log a JSON warning that will make it easier to fill in the allow list for https://gitlab.com/gitlab-org/gitlab/-/issues/325788.
-
- 25 Mar, 2021 2 commits
-
-
Stan Hu authored
This adds the `enforce_max_attachment_size_upload_api` feature flag to enable enforcement of max attachment size in the upload API. If the feature is not enabled, we limit to 1 GB by default. `GITLAB_UPLOAD_API_ALLOWLIST` can be set in the environment to allow certain project IDs to bypass enforcement.
-
Stan Hu authored
Add /api/v4/projects/:id/uploads/authorize endpoint Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/324813 This enables Workhorse to accelerate API uploads and limits to the configured maximum attachment size (10 MB by default).
-
- 09 Mar, 2021 1 commit
-
-
Mayra Cabrera authored
api/project_spec is failing on FOSS since 'issues_templates' and 'merge_requests_templates' attributes were moved to EE Related to https://gitlab.com/gitlab-org/gitlab/-/issues/323953
-
- 05 Mar, 2021 1 commit
-
-
Vasilii Iakliushin authored
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/28902 * Add `ProjectGroupFinder` to fetch ancestor and shared groups for the project * Add `projects/:id/groups` endpoint to Project API * Add documentation for the new endpoint
-
- 03 Mar, 2021 1 commit
-
-
Mathieu Parent authored
-
- 22 Feb, 2021 1 commit
-
-
Francisco Javier López authored
In this commit we move some project related classes to the `Projects` namespace. This is an effort to have everything in the codebase aligned.
-