| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
Lock writes to trace stream
Closes #51502
See merge request gitlab-org/gitlab-ce!23332
|
| | | |
|
| |/ |
|
| |\
| | |
| | |
| | |
| | | |
Use cached size when passing artifacts to Runner
See merge request gitlab-org/gitlab-ce!23228
|
| | | |
|
| | | |
|
| |/ |
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* dev/master: (302 commits)
Conflicts:
db/schema.rb
lib/gitlab/import_export/import_export.yml
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'master'
Resolve "Allow pipelines to be deleted by project owners"
Closes #41875
See merge request gitlab-org/gitlab-ce!22988
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Move all logic for destroying a Pipeline into a service so it's easily
reusable.
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Revert API is going into 11.5, not 11.6.
See merge request gitlab-org/gitlab-ce!23060
|
| | |/ |
|
| |\ \
| | |/
| |/|
| | |
| | | |
Display impersonation token value only after creation
See merge request gitlab-org/gitlab-ce!22916
|
| | |
| | |
| | |
| | |
| | | |
Since we migrated all PersonlAccessTokens to store only its hash in the
DB, the token value can no longer be shown to the user.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add Discord integration
Closes #21635
See merge request gitlab-org/gitlab-ce!22684
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Resolve possible cherry pick API race condition
Closes #53773
See merge request gitlab-org/gitlab-ce!22946
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, we just fetched the latest commit for the given branch when
presenting the resulting commit, but because something could have been
committed to that branch between the time we cherry-picked and the time
we render the result, the wrong commit could have been presented.
Now, we fetch the commit object with the commit SHA returned by the
commit change service, which should always be the correct commit.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53773
|