Commit Graph

121 Commits

Author SHA1 Message Date
f64a639bcf Add latest changes from gitlab-org/gitlab@13-10-stable-ee 2021-03-16 18:18:33 +00:00
2f306717c1 Add latest changes from gitlab-org/security/gitlab@13-9-stable-ee 2021-03-03 22:35:10 +00:00
859a6fb938 Add latest changes from gitlab-org/gitlab@13-9-stable-ee 2021-02-18 10:34:06 +00:00
6438df3a1e Add latest changes from gitlab-org/gitlab@13-8-stable-ee 2021-01-20 13:34:23 -06:00
7a8a489be4 Add latest changes from gitlab-org/security/gitlab@13-7-stable-ee 2021-01-06 19:33:09 +00:00
8b573c9489 Add latest changes from gitlab-org/gitlab@13-7-stable-ee 2020-12-17 11:59:07 +00:00
7e9c479f7d Add latest changes from gitlab-org/gitlab@13-6-stable-ee 2020-11-19 08:27:35 +00:00
48aff82709 Add latest changes from gitlab-org/gitlab@13-5-stable-ee 2020-10-21 07:08:36 +00:00
85dc423f70 Add latest changes from gitlab-org/gitlab@13-4-stable-ee 2020-09-19 01:45:44 +00:00
6e4e1050d9 Add latest changes from gitlab-org/gitlab@13-3-stable-ee 2020-08-20 18:42:06 +00:00
a09983ae35 Add latest changes from gitlab-org/gitlab@13-2-stable-ee 2020-07-20 12:26:25 +00:00
8c7f4e9d5f Add latest changes from gitlab-org/gitlab@13-1-stable-ee 2020-06-18 11:18:50 +00:00
ec418a95dd Add latest changes from gitlab-org/gitlab@13-0-stable-ee 2020-06-04 09:24:15 +00:00
57b9b49b27 Add latest changes from gitlab-org/security/gitlab@13-0-stable-ee 2020-05-26 15:03:02 +00:00
9f46488805 Add latest changes from gitlab-org/gitlab@13-0-stable-ee 2020-05-20 14:34:42 +00:00
b71a496c7a Add latest changes from gitlab-org/gitlab@master 2020-04-15 03:09:11 +00:00
eaea945e03 Add latest changes from gitlab-org/gitlab@master 2020-04-06 09:09:17 +00:00
abae8f34f3 Add latest changes from gitlab-org/gitlab@master 2020-03-31 21:08:05 +00:00
dc003cd08b Add latest changes from gitlab-org/gitlab@master 2020-03-26 18:08:03 +00:00
71da67f326 Add latest changes from gitlab-org/gitlab@master 2020-03-23 00:09:51 +00:00
78d8830cec Add latest changes from gitlab-org/gitlab@master 2020-03-19 15:09:41 +00:00
00fa950a34 Add latest changes from gitlab-org/gitlab@master 2020-03-13 18:09:39 +00:00
612a849a6c Add latest changes from gitlab-org/gitlab@master 2020-03-03 03:08:31 +00:00
c2367afbf5 Add latest changes from gitlab-org/gitlab@master 2020-02-24 18:09:05 +00:00
cd3e2c7b93 Add latest changes from gitlab-org/gitlab@master 2020-02-19 12:09:13 +00:00
1078b7bf25 Add latest changes from gitlab-org/gitlab@master 2020-02-11 09:08:39 +00:00
c8f773a859 Add latest changes from gitlab-org/gitlab@master 2020-01-30 21:08:47 +00:00
96b0c1245c Add latest changes from gitlab-org/gitlab@master 2020-01-10 12:07:47 +00:00
b5571e6e22 Add latest changes from gitlab-org/gitlab@master 2019-12-19 18:07:48 +00:00
cfc792b9ca Add latest changes from gitlab-org/gitlab@master 2019-12-10 07:53:40 +00:00
8c244b81e7 Update Workhorse and Gitaly to fix a security issue 2019-11-25 12:33:55 +00:00
cd631619f4 Add latest changes from gitlab-org/gitlab@master 2019-10-11 15:06:41 +00:00
95793b2325 Add latest changes from gitlab-org/gitlab@master 2019-10-02 09:05:53 +00:00
b1d7b01241 Add latest changes from gitlab-org/gitlab@master 2019-09-25 15:06:16 +00:00
dcc680d516 Update GitLab Workhorse to v8.10.0 2019-09-01 13:38:43 +01:00
41d52bbfe9 Add direct upload support for personal snippets 2019-08-23 11:19:14 +02:00
23c78b4974 Bump GitLab Workhorse to v8.8.0
This sanitizes some log messages to be consistent with CE.

Full list of changes:
https://gitlab.com/gitlab-org/gitlab-workhorse/blob/master/CHANGELOG
2019-08-09 09:10:32 -07:00
072a80c6f4 Update Workhorse to v8.7.0 2019-04-24 17:18:29 +01:00
704d183f4c Update GitLab Workhorse to v8.6.0 2019-04-11 14:49:06 +00:00
44b1597eb0 Update GitLab Workhorse to v8.5.1 2019-04-10 13:49:30 +01:00
8a134f4c65 Renamed terminal_specification to channel_specification
We're moving from using terminology related to terminals when
we refer to Websockets connections in Workhorse.
It's more appropiate a concept like channel.
2019-04-04 18:32:02 +00:00
71ec6a4dcf Update gitaly and workhorse version to stable 2019-04-02 22:07:16 +08:00
6766a0a144 Download a folder from repository
Add `GetArchiveRequest` to git-archive params.

Modifies `Git::Repository#archive_metadata` to append `path`
to `ArchivePrefix` so it'll not hit the cache of repository archive
when it already exists.
2019-04-02 22:07:16 +08:00
a466d97e62 Rake task for removing exif from uploads
Adds a rake task which can be used for removing EXIF
data from existing uploads.
2019-04-02 07:48:35 +00:00
7994d7c2c5 Update Workhorse to v8.3.1 2019-02-13 09:51:49 +00:00
1907858135 Update Workhorse to v8.3.0 2019-02-06 12:48:10 +00:00
01103ea0b2 Update Workhorse to v8.2.0 2019-02-04 15:37:33 +00:00
5b075413d9 Verify that LFS upload requests are genuine
LFS uploads are handled in concert by workhorse and rails. In normal
use, workhorse:

* Authorizes the request with rails (upload_authorize)
* Handles the upload of the file to a tempfile - disk or object storage
* Validates the file size and contents
* Hands off to rails to complete the upload (upload_finalize)

In `upload_finalize`, the LFS object is linked to the project. As LFS
objects are deduplicated across all projects, it may already exist. If
not, the temporary file is copied to the correct place, and will be
used by all future LFS objects with the same OID.

Workhorse uses the Content-Type of the request to decide to follow this
routine, as the URLs are ambiguous. If the Content-Type is anything but
"application/octet-stream", the request is proxied directly to rails,
on the assumption that this is a normal file edit request. If it's an
actual LFS request with a different content-type, however, it is routed
to the Rails `upload_finalize` action, which treats it as an LFS upload
just as it would a workhorse-modified request.

The outcome is that users can upload LFS objects that don't match the
declared size or OID. They can also create links to LFS objects they
don't really own, allowing them to read the contents of files if they
know just the size or OID.

We can close this hole by requiring requests to `upload_finalize` to be
sourced from Workhorse. The mechanism to do this already exists.
2019-01-31 16:52:48 +01:00
51322670a8 Upgrade gitlab-workhorse to 8.1.0 2019-01-22 17:32:19 +00:00
0ce7c29fb7 Update GitLab Workhorse to v8.0.0 2018-12-11 16:23:23 +00:00