| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This adds `project:, file:, ref:` specification support.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix coding style
Improve coding style
Decouple UPDATE and DELETE operations of asset links
Rename links_attributes to assets:links
Rename exposed param and updated spec
|
|
|
|
|
|
| |
- Add Releases::Links model
- Expose it in release API
- Add integration tests
|
|\
| |
| |
| |
| |
| |
| | |
Handle 'git push -o ci.skip'
Closes #18667
See merge request gitlab-org/gitlab-ce!15643
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
gitlab-org/gitlab-shell!166 added support for collecting push options
from the environment, and passing them along to the
/internal/post_receive API endpoint.
This change handles the new push_options JSON element in the payload,
and passes them on through to the GitPushService and GitTagPushService
services.
Futhermore, it adds support for the first push option, ci.skip. With
this change, one can use 'git push -o ci.skip' to skip CI pipe
execution. Note that the pipeline is still created, but in the "skipped"
state, just like with the 'ci skip' commit message text.
Implements #18667
|
|\ \
| |/
|/| |
|
| |\
| | |
| | |
| | |
| | | |
[master] Guest users have access to all Job information via the API
See merge request gitlab/gitlabhq!2717
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixed content-disposition in blob and files API endpoint
Closes #55781
See merge request gitlab-org/gitlab-ce!24078
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Add spec for all release API - GET, POST, PUT, DELETE.
Also, fixes some minior bugs.
|
| | | |
| | | |
| | | |
| | | | |
Introduce DELETE endpoint in Release API
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
CreateReleaseService and UpdateReleaseService now takes all the release
attributes as constructor parameters. This will simplify attribute
expansion
|
| | | | |
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit introduces Releases API under /api/v4/projects/:id/releases
* We are introducing release policies at project level.
* We are deprecating releases changes from tags, both api and web
interface.
* Tags::CreateService no longer create a release
This feature is controlled by :releases_page feature flag
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
47d4890d changed the order of pagination so that the full list of
branches would be passed to Gitaly to determine which ones had been
merged, but this operation can timeout for large repositories with
many branches. We only need to determine whether the found branches have
been merged, so limit the scan to those.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55724
|
| | |
|
|/
|
|
|
|
| |
- we now use the hierarchy class also for epics
- also rename supports_nested_groups? into supports_nested_objects?
- move it to a concern
|
|
|
|
|
|
|
|
|
|
|
|
| |
We're filtering the events using `Event#visible_to_user?`.
At most we're loading 100 events at once.
Pagination is also dealt with in the finder, but the resulting array
is wrapped in a `Kaminari.paginate_array` so the API's pagination
helpers keep working. We're passing the total count into that
paginatable array, which would include confidential events. But we're
not disclosing anything.
|
| |
|
|
|
|
| |
sanitize_sql_hash_for_assignment
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
'54626-able-to-download-a-single-archive-file-with-api-by-ref-name' into 'master'
Add endpoint to download single artifact by ref
Closes #54626
See merge request gitlab-org/gitlab-ce!23538
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new endpoint
`projects/:id/jobs/artifacts/:ref_name/raw/*artifact_path?job=name`
which is the close the web URL for consistency sake. This endpoint can
be used to download a single file from artifacts for the specified ref
and job.
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54626
|
|\ \
| | |
| | |
| | |
| | | |
Log and pass correlation-id between Unicorn, Sidekiq and Gitaly
See merge request gitlab-org/gitlab-ce!22844
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The Correlation ID is taken or generated from received X-Request-ID.
Then it is being passed to all executed services (sidekiq workers
or gitaly calls).
The Correlation ID is logged in all structured logs as `correlation_id`.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
[master]: Prevent a path traversal attack on global file templates
Closes #2745
See merge request gitlab/gitlabhq!2677
|
| | |
| | |
| | |
| | |
| | |
| | | |
The API permits path traversal characters like '../' to be passed down
to the template finder. Detect these requests and cause them to fail
with a 500 response code.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
Support unlimited file search in web UI and API
See merge request gitlab-org/gitlab-ce!23553
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* removed 100 limit on file search results because we
load all results anyway
* expensive processing (parsing match content, utf encoding)
is done only for selected page in paginated output
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
into 'master'
Resolve "Use read_repository scope on read-only files endpoints"
Closes #54826
See merge request gitlab-org/gitlab-ce!23534
|
| |/ |
|
|\ \
| |/
| |
| |
| |
| | |
fix/gb/encrypt-runners-tokens
* commit '83f0798e7dc588f0e4cb6816daadeef7dbfc8b81': (101 commits)
|
| |\
| | |
| | |
| | |
| | | |
Fix API::Namespaces routing to accept namepaces with dots
See merge request gitlab-org/gitlab-ce!22912
|
| | |
| | |
| | |
| | |
| | | |
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to
API::NAMESPACE_OR_PROJECT_REQUIREMENTS
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Add config to prohibit impersonation
See merge request gitlab-org/gitlab-ce!23338
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds gitlab.impersonation_enabled config option defaulting to true to
keep the current default behaviour.
Only the act of impersonation is modified, impersonation token
management is not affected.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | | |
fix/gb/encrypt-runners-tokens
* commit '6852680584a1b22788f451457a6042eabf862a73': (57 commits)
|
| |\ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Add a rebase API endpoint for merge requests
Closes #33705
See merge request gitlab-org/gitlab-ce!23296
|
| | | | |
|
| | |/ |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
* master: (243 commits)
Conflicts:
db/schema.rb
lib/gitlab/import_export/import_export.yml
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Removes all the irrelevant code and columns that were migrated from the Project…
See merge request gitlab-org/gitlab-ce!21497
|
| | |/
| | |
| | |
| | |
| | | |
Clears the import related columns and code from the Project
model over to the ProjectImportState model
|