tus-server 2.2.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +181 -85
- data/README.md +152 -300
- data/lib/tus/checksum.rb +4 -28
- data/lib/tus/errors.rb +2 -0
- data/lib/tus/info.rb +23 -14
- data/lib/tus/input.rb +53 -8
- data/lib/tus/locker.rb +108 -0
- data/lib/tus/response.rb +1 -1
- data/lib/tus/server.rb +225 -159
- data/lib/tus/storage/filesystem.rb +25 -8
- data/lib/tus/storage/s3.rb +106 -125
- data/tus-server.gemspec +6 -7
- metadata +13 -33
- data/lib/tus/input/unicorn.rb +0 -16
- data/lib/tus/storage/gridfs.rb +0 -278
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08710187ce50e026f88fddf905c0edf4d1c26b69552484cdc6960a77b2e27d0f'
|
|
4
|
+
data.tar.gz: 4f8d827904bc92462a47396cf446f0c4bc005fa56e8db55d24b45d3abd8ade08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d2776b1dc1ff503a0eda659db2dfe801f74c949b66fcca3bf699b1735e1a312998a5de3b7ed033de576bb2d53f34f6322223f602845895eb8ac8bb3b987b7ad
|
|
7
|
+
data.tar.gz: 6e494ea9a7e406039ba9d292d1b410a331791dd39dcf24c95f7425375be88f5d6a047e7ef9fe77b2c898911f11ef1154142e1e6f1e390c783cd92de434560758
|
data/CHANGELOG.md
CHANGED
|
@@ -1,120 +1,216 @@
|
|
|
1
|
+
## 3.0.0 (2026-11-29)
|
|
2
|
+
|
|
3
|
+
* Remove GridFS storage (@janko)
|
|
4
|
+
|
|
5
|
+
* Delete the upload and call the `after_terminate` hook when the data of a creation request is rejected, as the client never receives its URL (@janko)
|
|
6
|
+
|
|
7
|
+
* Don't send an invalid `Range` header in `S3#get_file` for empty uploads (@janko)
|
|
8
|
+
|
|
9
|
+
* Don't include the query string of the creation request in the `Location` header (@janko)
|
|
10
|
+
|
|
11
|
+
* Respond with `413 Payload Too Large` instead of raising `NoMethodError` when a request with `Upload-Checksum` and without `Content-Length` has too much data (@janko)
|
|
12
|
+
|
|
13
|
+
* Parse `Upload-Length` with leading zeros as decimal, instead of as octal or raising `ArgumentError` (@janko)
|
|
14
|
+
|
|
15
|
+
* Fix `S3#patch_file` uploading empty parts forever when a deferred-length upload is given a length of `0` (@janko)
|
|
16
|
+
|
|
17
|
+
* Accept a PATCH request without data that sets `Upload-Length` on a deferred-length upload which already has all its data (@janko)
|
|
18
|
+
|
|
19
|
+
* Respond with `403 Forbidden` to every PATCH request to a completed upload, instead of calling the `after_finish` hook again for an empty request without `Content-Length` (@janko)
|
|
20
|
+
|
|
21
|
+
* Fix `NoMethodError` for PATCH requests without a Rack input, which Rack 3 allows for requests without a body (@janko)
|
|
22
|
+
|
|
23
|
+
* Drop Unicorn support (@janko)
|
|
24
|
+
|
|
25
|
+
* Remove deprecated `:download_url` server option, and `:thread_count` and `:concurrency` S3 storage options (@janko)
|
|
26
|
+
|
|
27
|
+
* Fix `LoadError` on Ruby 3.4+ when the `base64` gem isn't in the bundle (@janko)
|
|
28
|
+
|
|
29
|
+
* Respond with `404 Not Found` instead of raising for upload ids that aren't made of word characters, like `..` (@janko)
|
|
30
|
+
|
|
31
|
+
* Reject `Upload-Metadata` keys with non-ASCII characters after the first one (@janko)
|
|
32
|
+
|
|
33
|
+
* Remove unused `Tus::Checksum#match?`, `Tus::Info#remaining_length` and `Tus::Input::Unicorn` (@janko)
|
|
34
|
+
|
|
35
|
+
* Respond with `403 Forbidden` to every PATCH request to a final upload (@janko)
|
|
36
|
+
|
|
37
|
+
* Reject `Upload-Defer-Length` values other than `1`, creation requests with both `Upload-Length` and `Upload-Defer-Length`, and duplicate `Upload-Metadata` keys (@janko)
|
|
38
|
+
|
|
39
|
+
* Ignore `type` metadata that isn't a valid media type, because it's used in the `Content-Type` header (@janko)
|
|
40
|
+
|
|
41
|
+
* Allow the `Upload-Checksum` request header and expose the `Upload-Expires` and `Tus-Checksum-Algorithm` response headers in CORS (@janko)
|
|
42
|
+
|
|
43
|
+
* Finalize empty uploads on creation and call the `after_finish` hook for them, and create an empty object for them in S3 storage (@janko)
|
|
44
|
+
|
|
45
|
+
* Require Ruby 3.2 or newer (@janko)
|
|
46
|
+
|
|
47
|
+
* Save the data received so far when a client disconnects or times out mid-request on Falcon (@janko)
|
|
48
|
+
|
|
49
|
+
* Lock uploads during HEAD, PATCH and DELETE requests, and ask in-process lock holders to save what they received and release the lock (@janko)
|
|
50
|
+
|
|
51
|
+
* Add `:locker` and `:lock_timeout` options, with `Tus::Locker` locking uploads through lock files (@janko)
|
|
52
|
+
|
|
53
|
+
* Write data at the upload offset in filesystem storage, so overlapping retries don't duplicate data (@janko)
|
|
54
|
+
|
|
55
|
+
* Replace the info file atomically in filesystem storage (@janko)
|
|
56
|
+
|
|
57
|
+
* Add `creation-with-upload` extension, which accepts upload data in the creation request (@janko)
|
|
58
|
+
|
|
59
|
+
* Add `:disposition` option to S3 storage for the `Content-Disposition` of S3 objects (@janko)
|
|
60
|
+
|
|
61
|
+
* Fix `S3#get_file` yielding response headers on newer `aws-sdk-s3` versions (@janko)
|
|
62
|
+
|
|
63
|
+
* Don't use a thread pool in `S3#concatenate` (@janko)
|
|
64
|
+
|
|
65
|
+
## 2.3.0 (2019-05-14)
|
|
66
|
+
|
|
67
|
+
* Allow uploading files larger than 50 GB to S3 storage by scaling the part size according to upload length (@janko)
|
|
68
|
+
|
|
69
|
+
* Allow S3 limits to be overriden via the `:limits` option (@janko)
|
|
70
|
+
|
|
71
|
+
* Reject uploads larger than 5 TB in `S3#create_file` (@janko)
|
|
72
|
+
|
|
73
|
+
* Remove superfluous `#head_object` operation from `S3#concatenate` (@janko)
|
|
74
|
+
|
|
75
|
+
* Validate that partial uploads are finished on the concatenation request (@janko)
|
|
76
|
+
|
|
77
|
+
* Unparallelize validating partial uploads for concatentation (@janko)
|
|
78
|
+
|
|
79
|
+
* Move total length calculation for concatenation into `Tus::Server` (@janko)
|
|
80
|
+
|
|
81
|
+
* Allow `Upload-Concat` and `Upload-Defer-Length` headers in CORS headers (@janko)
|
|
82
|
+
|
|
83
|
+
* Always override `:content_disposition` option with the value from `:upload_options` in `S3#create_file` (@janko)
|
|
84
|
+
|
|
85
|
+
* Apply `name`/`type` metadata to `:content_type`/`:content_disposition` options in `S3#create_file` (@janko)
|
|
86
|
+
|
|
87
|
+
* Use `content_disposition` gem for `:content_disposition` option in `S3#create_file` (@janko)
|
|
88
|
+
|
|
89
|
+
* Remove checks whether multipart upload was successfully aborted in S3 storage (@janko)
|
|
90
|
+
|
|
91
|
+
* Don't return any `Content-Type` when type is not specified in metadata (@janko)
|
|
92
|
+
|
|
93
|
+
* Add `ETag` header to download endpoint to prevent `Rack::ETag` buffering file content (@janko)
|
|
94
|
+
|
|
95
|
+
* Take `:prefix` into account in `Tus::Storage::S3#expire_files` (@janko)
|
|
96
|
+
|
|
1
97
|
## 2.2.1 (2018-12-19)
|
|
2
98
|
|
|
3
|
-
* Use `content_disposition` gem to generate `Content-Disposition` in download endpoint (@janko
|
|
99
|
+
* Use `content_disposition` gem to generate `Content-Disposition` in download endpoint (@janko)
|
|
4
100
|
|
|
5
101
|
## 2.2.0 (2018-12-02)
|
|
6
102
|
|
|
7
|
-
* Add `before_create`, `after_create`, `after_finish`, and `after_terminate` hooks (@janko
|
|
103
|
+
* Add `before_create`, `after_create`, `after_finish`, and `after_terminate` hooks (@janko)
|
|
8
104
|
|
|
9
|
-
* Rename `Tus::Info#concatenation?` to `Tus::Info#final?` (@janko
|
|
105
|
+
* Rename `Tus::Info#concatenation?` to `Tus::Info#final?` (@janko)
|
|
10
106
|
|
|
11
|
-
* Use `Storage#concurrency` for parallelized retrieval of partial uploads in `Upload-Concat` validation (@janko
|
|
107
|
+
* Use `Storage#concurrency` for parallelized retrieval of partial uploads in `Upload-Concat` validation (@janko)
|
|
12
108
|
|
|
13
|
-
* Replace `:thread_count` with `:concurrency` in S3 storage (@janko
|
|
109
|
+
* Replace `:thread_count` with `:concurrency` in S3 storage (@janko)
|
|
14
110
|
|
|
15
|
-
* Validate that sum of partial uploads doesn't exceed `Tus-Max-Size` on concatenation (@janko
|
|
111
|
+
* Validate that sum of partial uploads doesn't exceed `Tus-Max-Size` on concatenation (@janko)
|
|
16
112
|
|
|
17
|
-
* Drop MRI 2.2 support (@janko
|
|
113
|
+
* Drop MRI 2.2 support (@janko)
|
|
18
114
|
|
|
19
|
-
* Accept absolute URLs of partial uploads when creating a final upload (@janko
|
|
115
|
+
* Accept absolute URLs of partial uploads when creating a final upload (@janko)
|
|
20
116
|
|
|
21
117
|
## 2.1.2 (2018-10-21)
|
|
22
118
|
|
|
23
|
-
* Make tus-ruby-server fully work with non-rewindable Rack input (@janko
|
|
119
|
+
* Make tus-ruby-server fully work with non-rewindable Rack input (@janko)
|
|
24
120
|
|
|
25
121
|
## 2.1.1 (2018-05-26)
|
|
26
122
|
|
|
27
|
-
* Rename `:download_url` option to `:redirect_download` (@janko
|
|
123
|
+
* Rename `:download_url` option to `:redirect_download` (@janko)
|
|
28
124
|
|
|
29
125
|
## 2.1.0 (2018-05-15)
|
|
30
126
|
|
|
31
|
-
* Add `:download_url` server option for redirecting to a download URL (@janko
|
|
127
|
+
* Add `:download_url` server option for redirecting to a download URL (@janko)
|
|
32
128
|
|
|
33
|
-
* Allow application servers to serve files stored on disk via the `Rack::Sendfile` middleware (@janko
|
|
129
|
+
* Allow application servers to serve files stored on disk via the `Rack::Sendfile` middleware (@janko)
|
|
34
130
|
|
|
35
|
-
* Reject `Upload-Metadata` which contains key-value pairs separated by spaces (@janko
|
|
131
|
+
* Reject `Upload-Metadata` which contains key-value pairs separated by spaces (@janko)
|
|
36
132
|
|
|
37
|
-
* Don't overwite info file if it already exists in `Tus::Storage::FileSystem` (@janko
|
|
133
|
+
* Don't overwite info file if it already exists in `Tus::Storage::FileSystem` (@janko)
|
|
38
134
|
|
|
39
135
|
## 2.0.2 (2017-12-24)
|
|
40
136
|
|
|
41
|
-
* Handle `name` and `type` metadata for Uppy compatibility (@janko
|
|
137
|
+
* Handle `name` and `type` metadata for Uppy compatibility (@janko)
|
|
42
138
|
|
|
43
139
|
## 2.0.1 (2017-11-13)
|
|
44
140
|
|
|
45
|
-
* Add back support for Roda 2.x (@janko
|
|
141
|
+
* Add back support for Roda 2.x (@janko)
|
|
46
142
|
|
|
47
143
|
## 2.0.0 (2017-11-13)
|
|
48
144
|
|
|
49
|
-
* Upgrade to Roda 3 (@janko
|
|
145
|
+
* Upgrade to Roda 3 (@janko)
|
|
50
146
|
|
|
51
|
-
* Remove deprecated support for aws-sdk 2.x in `Tus::Storage::S3` (@janko
|
|
147
|
+
* Remove deprecated support for aws-sdk 2.x in `Tus::Storage::S3` (@janko)
|
|
52
148
|
|
|
53
|
-
* Drop official support for MRI 2.1 (@janko
|
|
149
|
+
* Drop official support for MRI 2.1 (@janko)
|
|
54
150
|
|
|
55
|
-
* Add generic `Tus::Response` class that storages can use (@janko
|
|
151
|
+
* Add generic `Tus::Response` class that storages can use (@janko)
|
|
56
152
|
|
|
57
|
-
* Remove `Tus::Response#length` (@janko
|
|
153
|
+
* Remove `Tus::Response#length` (@janko)
|
|
58
154
|
|
|
59
|
-
* Remove deprecated Goliath integration (@janko
|
|
155
|
+
* Remove deprecated Goliath integration (@janko)
|
|
60
156
|
|
|
61
|
-
* Return `400 Bad Request` instead of `404 Not Found` when some partial uploads are missing in a concatenation request (@janko
|
|
157
|
+
* Return `400 Bad Request` instead of `404 Not Found` when some partial uploads are missing in a concatenation request (@janko)
|
|
62
158
|
|
|
63
|
-
* Use Rack directly instead of Roda's `streaming` plugin for downloding (@janko
|
|
159
|
+
* Use Rack directly instead of Roda's `streaming` plugin for downloding (@janko)
|
|
64
160
|
|
|
65
161
|
## 1.2.1 (2017-11-05)
|
|
66
162
|
|
|
67
|
-
* Improve communication when handling `aws-sdk 2.x` fallback in `Tus::Storage::S3` (@janko
|
|
163
|
+
* Improve communication when handling `aws-sdk 2.x` fallback in `Tus::Storage::S3` (@janko)
|
|
68
164
|
|
|
69
165
|
## 1.2.0 (2017-09-18)
|
|
70
166
|
|
|
71
|
-
* Deprecate `aws-sdk` 2.x in favour of the new `aws-sdk-s3` gem (@janko
|
|
167
|
+
* Deprecate `aws-sdk` 2.x in favour of the new `aws-sdk-s3` gem (@janko)
|
|
72
168
|
|
|
73
169
|
## 1.1.3 (2017-09-17)
|
|
74
170
|
|
|
75
|
-
* Return `Accept-Ranges: bytes` response header in download endpoint (@janko
|
|
171
|
+
* Return `Accept-Ranges: bytes` response header in download endpoint (@janko)
|
|
76
172
|
|
|
77
173
|
## 1.1.2 (2017-09-12)
|
|
78
174
|
|
|
79
|
-
* Add support for the new `aws-sdk-s3` gem (@janko
|
|
175
|
+
* Add support for the new `aws-sdk-s3` gem (@janko)
|
|
80
176
|
|
|
81
177
|
## 1.1.1 (2017-07-23)
|
|
82
178
|
|
|
83
|
-
* Restore backwards compatibility with MRI 2.1 and MRI 2.2 that was broken in previous release (@janko
|
|
179
|
+
* Restore backwards compatibility with MRI 2.1 and MRI 2.2 that was broken in previous release (@janko)
|
|
84
180
|
|
|
85
181
|
## 1.1.0 (2017-07-23)
|
|
86
182
|
|
|
87
|
-
* Ignore retryable networking errors in `Tus::Storage::S3#patch_file` for resiliency (@janko
|
|
183
|
+
* Ignore retryable networking errors in `Tus::Storage::S3#patch_file` for resiliency (@janko)
|
|
88
184
|
|
|
89
|
-
* Deprecate `Tus::Server::Goliath` in favour of [goliath-rack_proxy](https://github.com/janko
|
|
185
|
+
* Deprecate `Tus::Server::Goliath` in favour of [goliath-rack_proxy](https://github.com/janko/goliath-rack_proxy) (@janko)
|
|
90
186
|
|
|
91
|
-
* Reduce string allocations in MRI 2.3+ with `frozen-string-literal: true` magic comments (@janko
|
|
187
|
+
* Reduce string allocations in MRI 2.3+ with `frozen-string-literal: true` magic comments (@janko)
|
|
92
188
|
|
|
93
189
|
## 1.0.0 (2017-07-17)
|
|
94
190
|
|
|
95
|
-
* Add Goliath integration (@janko
|
|
191
|
+
* Add Goliath integration (@janko)
|
|
96
192
|
|
|
97
|
-
* [BREAKING] Save data in `"#{uid}"` instead of `"#{uid}.file"` in `Tus::Storage::Filesystem` (@janko
|
|
193
|
+
* [BREAKING] Save data in `"#{uid}"` instead of `"#{uid}.file"` in `Tus::Storage::Filesystem` (@janko)
|
|
98
194
|
|
|
99
|
-
* Modify S3 storage to cache chunks into memory instead of disk, which reduces disk IO (@janko
|
|
195
|
+
* Modify S3 storage to cache chunks into memory instead of disk, which reduces disk IO (@janko)
|
|
100
196
|
|
|
101
|
-
* [BREAKING] Require each storage to return the number of bytes uploaded in `#patch_file` (@janko
|
|
197
|
+
* [BREAKING] Require each storage to return the number of bytes uploaded in `#patch_file` (@janko)
|
|
102
198
|
|
|
103
|
-
* Make S3 storage upload all received data from `tus-js-client` that doesn't have max chunk size configured (@janko
|
|
199
|
+
* Make S3 storage upload all received data from `tus-js-client` that doesn't have max chunk size configured (@janko)
|
|
104
200
|
|
|
105
|
-
* Verify that all partial uploads have `Upload-Concat: partial` before concatenation (@janko
|
|
201
|
+
* Verify that all partial uploads have `Upload-Concat: partial` before concatenation (@janko)
|
|
106
202
|
|
|
107
|
-
* Include CORS and tus response headers in 404 responses (@janko
|
|
203
|
+
* Include CORS and tus response headers in 404 responses (@janko)
|
|
108
204
|
|
|
109
|
-
* Improve streaming on dynamic Rack inputs such as `Unicorn::TeeInput` for S3 and Gridfs storage (@janko
|
|
205
|
+
* Improve streaming on dynamic Rack inputs such as `Unicorn::TeeInput` for S3 and Gridfs storage (@janko)
|
|
110
206
|
|
|
111
|
-
* Terminate HTTP connection to S3 when response is closed (@janko
|
|
207
|
+
* Terminate HTTP connection to S3 when response is closed (@janko)
|
|
112
208
|
|
|
113
|
-
* Allow `Transfer-Encoding: chunked` to be used, meaning `Content-Length` can be blank (@janko
|
|
209
|
+
* Allow `Transfer-Encoding: chunked` to be used, meaning `Content-Length` can be blank (@janko)
|
|
114
210
|
|
|
115
|
-
* Remove newlines from the base64-encoded CRC32 signature (@janko
|
|
211
|
+
* Remove newlines from the base64-encoded CRC32 signature (@janko)
|
|
116
212
|
|
|
117
|
-
* Lazily require `digest`, `zlib`, and `base64` standard libraries (@janko
|
|
213
|
+
* Lazily require `digest`, `zlib`, and `base64` standard libraries (@janko)
|
|
118
214
|
|
|
119
215
|
## 0.10.2 (2017-04-19)
|
|
120
216
|
|
|
@@ -122,94 +218,94 @@
|
|
|
122
218
|
|
|
123
219
|
## 0.10.1 (2017-04-13)
|
|
124
220
|
|
|
125
|
-
* Fix download endpoint returning incorrect response body in some cases in development (@janko
|
|
221
|
+
* Fix download endpoint returning incorrect response body in some cases in development (@janko)
|
|
126
222
|
|
|
127
|
-
* Remove `concatenation-unfinished` from list of supported extensions (@janko
|
|
223
|
+
* Remove `concatenation-unfinished` from list of supported extensions (@janko)
|
|
128
224
|
|
|
129
225
|
## 0.10.0 (2017-03-27)
|
|
130
226
|
|
|
131
|
-
* Fix invalid `Content-Disposition` header in GET requests to due mutation of `Tus::Server.opts[:disposition]` (@janko
|
|
227
|
+
* Fix invalid `Content-Disposition` header in GET requests to due mutation of `Tus::Server.opts[:disposition]` (@janko)
|
|
132
228
|
|
|
133
|
-
* Make `Response` object from `Tus::Server::S3` also respond to `#close` (@janko
|
|
229
|
+
* Make `Response` object from `Tus::Server::S3` also respond to `#close` (@janko)
|
|
134
230
|
|
|
135
|
-
* Don't return `Content-Type` header when there is no content returned (@janko
|
|
231
|
+
* Don't return `Content-Type` header when there is no content returned (@janko)
|
|
136
232
|
|
|
137
|
-
* Return `Content-Type: text/plain` when returning errors (@janko
|
|
233
|
+
* Return `Content-Type: text/plain` when returning errors (@janko)
|
|
138
234
|
|
|
139
|
-
* Return `Content-Type: application/octet-stream` by default in the GET endpoint (@janko
|
|
235
|
+
* Return `Content-Type: application/octet-stream` by default in the GET endpoint (@janko)
|
|
140
236
|
|
|
141
|
-
* Make UNIX permissions configurable via `:permissions` and `:directory_permissions` in `Tus::Storage::Filesystem` (@janko
|
|
237
|
+
* Make UNIX permissions configurable via `:permissions` and `:directory_permissions` in `Tus::Storage::Filesystem` (@janko)
|
|
142
238
|
|
|
143
|
-
* Apply UNIX permissions `0644` for files and `0777` for directories in `Tus::Storage::Filesystem` (@janko
|
|
239
|
+
* Apply UNIX permissions `0644` for files and `0777` for directories in `Tus::Storage::Filesystem` (@janko)
|
|
144
240
|
|
|
145
|
-
* Fix `creation-defer-length` feature not working with unlimited upload size (@janko
|
|
241
|
+
* Fix `creation-defer-length` feature not working with unlimited upload size (@janko)
|
|
146
242
|
|
|
147
|
-
* Make the filesize of accepted uploads unlimited by default (@janko
|
|
243
|
+
* Make the filesize of accepted uploads unlimited by default (@janko)
|
|
148
244
|
|
|
149
|
-
* Modify tus server to call `Storage#finalize_file` when the last chunk was uploaded (@janko
|
|
245
|
+
* Modify tus server to call `Storage#finalize_file` when the last chunk was uploaded (@janko)
|
|
150
246
|
|
|
151
|
-
* Don't require length of uploaded chunks to be a multiple of `:chunkSize` in `Tus::Storage::Gridfs` (@janko
|
|
247
|
+
* Don't require length of uploaded chunks to be a multiple of `:chunkSize` in `Tus::Storage::Gridfs` (@janko)
|
|
152
248
|
|
|
153
|
-
* Don't infer `:chunkSize` from first uploaded chunk in `Tus::Storage::Gridfs` (@janko
|
|
249
|
+
* Don't infer `:chunkSize` from first uploaded chunk in `Tus::Storage::Gridfs` (@janko)
|
|
154
250
|
|
|
155
|
-
* Add `#length` to `Response` objects returned from `Storage#get_file` (@janko
|
|
251
|
+
* Add `#length` to `Response` objects returned from `Storage#get_file` (@janko)
|
|
156
252
|
|
|
157
253
|
## 0.9.1 (2017-03-24)
|
|
158
254
|
|
|
159
|
-
* Fix `Tus::Storage::S3` not properly supporting the concatenation feature (@janko
|
|
255
|
+
* Fix `Tus::Storage::S3` not properly supporting the concatenation feature (@janko)
|
|
160
256
|
|
|
161
257
|
## 0.9.0 (2017-03-24)
|
|
162
258
|
|
|
163
|
-
* Add Amazon S3 storage under `Tus::Storage::S3` (@janko
|
|
259
|
+
* Add Amazon S3 storage under `Tus::Storage::S3` (@janko)
|
|
164
260
|
|
|
165
|
-
* Make the checksum feature actually work by generating the checksum correctly (@janko
|
|
261
|
+
* Make the checksum feature actually work by generating the checksum correctly (@janko)
|
|
166
262
|
|
|
167
|
-
* Make `Content-Disposition` header on the GET endpoint configurable (@janko
|
|
263
|
+
* Make `Content-Disposition` header on the GET endpoint configurable (@janko)
|
|
168
264
|
|
|
169
|
-
* Change `Content-Disposition` header on the GET endpoint from "attachment" to "inline" (@janko
|
|
265
|
+
* Change `Content-Disposition` header on the GET endpoint from "attachment" to "inline" (@janko)
|
|
170
266
|
|
|
171
|
-
* Delegate concatenation logic to individual storages, allowing the storages to implement it much more efficiently (@janko
|
|
267
|
+
* Delegate concatenation logic to individual storages, allowing the storages to implement it much more efficiently (@janko)
|
|
172
268
|
|
|
173
|
-
* Allow storages to save additional information in the info hash (@janko
|
|
269
|
+
* Allow storages to save additional information in the info hash (@janko)
|
|
174
270
|
|
|
175
|
-
* Don't automatically delete expired files, instead require the developer to call `Storage#expire_files` in a recurring task (@janko
|
|
271
|
+
* Don't automatically delete expired files, instead require the developer to call `Storage#expire_files` in a recurring task (@janko)
|
|
176
272
|
|
|
177
|
-
* Delegate expiration logic to the individual storages, allowing the storages to implement it much more efficiently (@janko
|
|
273
|
+
* Delegate expiration logic to the individual storages, allowing the storages to implement it much more efficiently (@janko)
|
|
178
274
|
|
|
179
|
-
* Modify storages to raise `Tus::NotFound` when file wasn't found (@janko
|
|
275
|
+
* Modify storages to raise `Tus::NotFound` when file wasn't found (@janko)
|
|
180
276
|
|
|
181
|
-
* Add `Tus::Error` which storages can use (@janko
|
|
277
|
+
* Add `Tus::Error` which storages can use (@janko)
|
|
182
278
|
|
|
183
|
-
* In `Tus::Storage::Gridfs` require that each uploaded chunk except the last one can be distributed into even Mongo chunks (@janko
|
|
279
|
+
* In `Tus::Storage::Gridfs` require that each uploaded chunk except the last one can be distributed into even Mongo chunks (@janko)
|
|
184
280
|
|
|
185
|
-
* Return `403 Forbidden` in the GET endpoint when attempting to download an unfinished upload (@janko
|
|
281
|
+
* Return `403 Forbidden` in the GET endpoint when attempting to download an unfinished upload (@janko)
|
|
186
282
|
|
|
187
|
-
* Allow client to send `Upload-Length` on any PATCH request when `Upload-Defer-Length` is used (@janko
|
|
283
|
+
* Allow client to send `Upload-Length` on any PATCH request when `Upload-Defer-Length` is used (@janko)
|
|
188
284
|
|
|
189
|
-
* Support `Range` requests in the GET endpoint (@janko
|
|
285
|
+
* Support `Range` requests in the GET endpoint (@janko)
|
|
190
286
|
|
|
191
|
-
* Stream file content in the GET endpoint directly from the storage (@janko
|
|
287
|
+
* Stream file content in the GET endpoint directly from the storage (@janko)
|
|
192
288
|
|
|
193
|
-
* Update `:length`, `:uploadDate` and `:contentType` Mongo fields on each PATCH request (@janko
|
|
289
|
+
* Update `:length`, `:uploadDate` and `:contentType` Mongo fields on each PATCH request (@janko)
|
|
194
290
|
|
|
195
|
-
* Insert all sub-chunks in a single Mongo operation in `Tus::Storage::Gridfs` (@janko
|
|
291
|
+
* Insert all sub-chunks in a single Mongo operation in `Tus::Storage::Gridfs` (@janko)
|
|
196
292
|
|
|
197
|
-
* Infer Mongo chunk size from the size of the first uploaded chunk (@janko
|
|
293
|
+
* Infer Mongo chunk size from the size of the first uploaded chunk (@janko)
|
|
198
294
|
|
|
199
|
-
* Add `:chunk_size` option to `Tus::Storage::Gridfs` (@janko
|
|
295
|
+
* Add `:chunk_size` option to `Tus::Storage::Gridfs` (@janko)
|
|
200
296
|
|
|
201
|
-
* Avoid reading the whole request body into memory by doing streaming uploads (@janko
|
|
297
|
+
* Avoid reading the whole request body into memory by doing streaming uploads (@janko)
|
|
202
298
|
|
|
203
299
|
## 0.2.0 (2016-11-23)
|
|
204
300
|
|
|
205
|
-
* Refresh `Upload-Expires` for the file after each PATCH request (@janko
|
|
301
|
+
* Refresh `Upload-Expires` for the file after each PATCH request (@janko)
|
|
206
302
|
|
|
207
303
|
## 0.1.1 (2016-11-21)
|
|
208
304
|
|
|
209
|
-
* Support Rack 1.x in addition to Rack 2.x (@janko
|
|
305
|
+
* Support Rack 1.x in addition to Rack 2.x (@janko)
|
|
210
306
|
|
|
211
|
-
* Don't return 404 when deleting a non-existing file (@janko
|
|
307
|
+
* Don't return 404 when deleting a non-existing file (@janko)
|
|
212
308
|
|
|
213
|
-
* Return 204 for OPTIONS requests even when the file is missing (@janko
|
|
309
|
+
* Return 204 for OPTIONS requests even when the file is missing (@janko)
|
|
214
310
|
|
|
215
|
-
* Make sure that none of the "empty status codes" return content (@janko
|
|
311
|
+
* Make sure that none of the "empty status codes" return content (@janko)
|