Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/shrinerb/shrine
File Attachment toolkit for Ruby applications
https://github.com/shrinerb/shrine
Previously we were supporting MRI 2.1, which didn't yet have Symbol GC,
therefore we had to guar...
6d38a5596e9278f4ae3e928bef0d3eb343ecc51e authored over 5 years ago by Janko Marohnić <[email protected]>
This is a proper Shrine talk, where things are presented much better,
and it's newer.
So far it only has ActionDispatch::Http::UploadedFile monkey patches for
Rails 3, but it will ho...
I think we don't need to be that specific. Since we're only accepting
multipart POST uploads now...
Previously we were only accepting a "file" param, which required us to
explicitly specify it whe...
74e723ad2aa693d40113e07e56f0db8ca6400d06 authored over 5 years ago by Janko Marohnić <[email protected]>
3b0322f51f2487cbfeba1284168e207f16ba91b4 authored over 5 years ago by Janko Marohnić <[email protected]>
Support was added in https://github.com/sferik/rails_admin/pull/3081.
6678aec703f754158433ff20cc7e3254097a4b56 authored over 5 years ago by Janko Marohnić <[email protected]>45e1154fba35627fef98d6c7e1f69b6c49646da8 authored over 5 years ago by Janko Marohnić <[email protected]>
Previously we had Shrine.attachment, but that doesn't really communicate
that the result is a mo...
When we show both Rails and Rack example, I've seen people who think
that both are necessary. Si...
ce9ce396f00a937e6da9aa63fa407f69ccce18a3 authored over 5 years ago by Janko Marohnić <[email protected]>
aws-sdk-s3 < 1.14 has been deprecated, so we update the version
specifiers accordingly.
This makes it web framework agnostic.
7f2ca010b6b57a536768ca3ac62f748967180002 authored over 5 years ago by Janko Marohnić <[email protected]>
plugin :upload_endpoint, url: true
# or
plugin :upload_endpoint, url: { public: true }
#...
The :download URL option is redundant because it's just a wrapper over
:response_content_disposi...
This complicates the code of the S3 storage, and that functionality
doesn't even belong there, i...
0a4a7edae700697a7981bc7a02331d1703842276 authored over 5 years ago by Janko Marohnić <[email protected]>
fb590d9fd6b4ac22d5443372cac371cccc511676 authored over 5 years ago by Janko Marohnić <[email protected]>
0af792ce511dd86dd5296e39d220dd55401f8114 authored over 5 years ago by Mario Kostelac <[email protected]>
That version has Aws::S3::Object#upload_stream. Currently for multipart
uploads we're using Aws:...
dcf0d37e55971dc32c840277dcc181554a35da2d authored over 5 years ago by Janko Marohnić <[email protected]>
We add Shrine.upload_response/Shrine.presign_response methods to
upload_endpoint/presign_endpoin...
ef430eba2cb12cf71b0a0284d434b15426eb6c63 authored over 5 years ago by Janko Marohnić <[email protected]>
f0fea5faa18654c1328c938ed2b83f5a78d7ca3b authored over 5 years ago by Janko Marohnić <[email protected]>
Fixes #384
924f40c45859186b0a54b9b3077dcb3b2c636ba6 authored over 5 years ago by Janko Marohnić <[email protected]>25345da3028d808dfed0d7fc1f0eba5107b3242a authored over 5 years ago by Janko Marohnić <[email protected]>
147af5f69bf8290682a5539608450d98e656d170 authored over 5 years ago by Janko Marohnić <[email protected]>
That was changed in Uppy 1.0.
b4b848bca5dd3d61234a0c6e4355ff6c5cba9571 authored over 5 years ago by Janko Marohnić <[email protected]>ff1d8dee8dc842e5345bee7a41c8f64ec22ce0f0 authored over 5 years ago by Janko Marohnić <[email protected]>
3e6c3da299041f428cbbb0f8a6306aa052cf98da authored over 5 years ago by Janko Marohnić <[email protected]>
8abe7b3f3af38acecc36408364097ac1cb53e929 authored over 5 years ago by Janko Marohnić <[email protected]>
c6a635271c42938d2523f07e89476fc46ef25a0b authored over 5 years ago by Janko Marohnić <[email protected]>
UrlSigner was tightly coupled with internal impelementation of Derivation::Url
Now UrlSigner is...
This is useful if the user wants to specify upload location, metadata,
or upload options while u...
That's useful if the user wants to specify upload location, metadata, or
upload options.
This makes it consistent with other *_endpoint plugins.
814e403d0674fc7d5edd7a5f658d8446b90228e1 authored over 5 years ago by Janko Marohnić <[email protected]>f340645780ebd8461b08295d9e61238523d14800 authored over 5 years ago by Janko Marohnić <[email protected]>
None of the other *_endpoint plugins depend on Roda anymore, so it's
time to do the same for dow...
Makes for a simpler `rake routes` command output in Rails applications.
bd8cdc4a437a64126e5f44661d5ed22e35773e10 authored over 5 years ago by Janko Marohnić <[email protected]>It appears to cause error in certain cases, so for safety we recommend `bundle exec`.
5906f7e723d532b622657b1183b965584e3c2d1b authored over 5 years ago by hideyuki-furusawa <[email protected]>5ab5810660388100360ca55034ebed9ef489c526 authored over 5 years ago by Janko Marohnić <[email protected]>
Currently a Rails user will see the following in the `rake routes`
output:
#<Shrine::UploadEn...
8524cdf334d249216f1259186154b341f53d6ed1 authored over 5 years ago by Janko Marohnić <[email protected]>77c952497fc983750ea38d7be3c5ddf289cae2e6 authored over 5 years ago by Janko Marohnić <[email protected]>
This makes the #inspect output of an instance of this class look
simpler, which is used in thing...
Apparently it's an incomplete attempt that was discontinued.
3ca5000740e562251468179e11394146f7bc8fa8 authored over 5 years ago by Janko Marohnić <[email protected]>
This makes the #inspect output of an instance of this class look
simpler, which is used in thing...
8aa88ea1a64ea1a694e7a9094f03ce6a38119378 authored over 5 years ago by Janko Marohnić <[email protected]>
10d3a53e89ef3bc6ad562351ea6178eba34229c9 authored over 5 years ago by Janko Marohnić <[email protected]>
b8d3dda58c5abac8a9eda2770372fc3648821eba authored over 5 years ago by Kevin Soltysiak <[email protected]>
Rack::ETag is included by default in the Rails middleware stack, and it
will automatically gener...
It's nice to be able to separately add a host to the `default_url`
plugin:
plugin :default_ur...
dc0ac4fa7bd15e0d6a9d1c0b77c40965ae65fdbf authored over 5 years ago by Janko Marohnić <[email protected]>
Using `:endpoint` causes Aws::S3::Errors::SignatureDoesNotMatch when
trying to upload the file. ...
When using strings for version names in the process block, after
promotion the uploaded files wo...
0e5c44c79f7d8a3c4d9e92061364e316584dfde8 authored almost 6 years ago by Janko Marohnić <[email protected]>
b2da4fdb658dceb58cdc50481c6e495f2c7ddf99 authored almost 6 years ago by Nazar Matus <[email protected]>
940b50dfd54362c089503ec742a0b4a8b0980b70 authored almost 6 years ago by Janko Marohnić <[email protected]>
Dir.empty? does not load all the child directories into memory.
This improves the performance f...
MRI 2.3 will reach its EOL at the end of March.
716d8dfbd31620276e3b06203129321d4b2393e0 authored almost 6 years ago by Janko Marohnić <[email protected]>06b3f6adf5f715a80f1c6c8e185d54a72337e597 authored almost 6 years ago by Janko Marohnić <[email protected]>
a51851e8848d09ab44b8d6ec74c7feeb2b685030 authored almost 6 years ago by Janko Marohnić <[email protected]>
a82a8fa89039e9ead57998d1d2890fb008a712c3 authored almost 6 years ago by Janko Marohnić <[email protected]>
b92cddf6ef5fe858606a92719cc26b4c3cb94bde authored almost 6 years ago by Janko Marohnić <[email protected]>
8f206e1ad6f1aba2b914ee7df773268398508ff2 authored almost 6 years ago by Antony Bowen <[email protected]>
cceb82f81a2cedd0cc6d2509d34c269053cbadf0 authored almost 6 years ago by Anton Rieder <[email protected]>
64fa79a21d753f082ffa8ddf2e80defd0b01e703 authored almost 6 years ago by Hiren Mistry <[email protected]>
766d3a06c4d550525aefef861b91729e98b3ef30 authored almost 6 years ago by Hiren Mistry <[email protected]>
Add notes on deleting derivations and redirecting for local storage in derivation_endpoint plugin
62a0b3cada6f89837a1caadcca856fd66ad05430 authored almost 6 years ago by Hiren Mistry <[email protected]>c5353ecdc18e0626815d56d59df6390d56ffa872 authored almost 6 years ago by hmistry <[email protected]>
cdba4754cbab8c78e993fb1cb9203ffb84efd49c authored almost 6 years ago by simon <[email protected]>
81053d40f1c4bb2a35da6988ce0e0d104b408ded authored almost 6 years ago by Hiren Mistry <[email protected]>
Add tests for the new Marcel analyzer options. Also fixed some issues with the
new changes for t...
Change naming of plugin `:options` to `analyzer_options` and internal
`analyzer_options` key to ...
This reverts commit b1e5d8362a8204e287d1609b580ccb90f8f009d6.
The change was introduced in v2.1...
05b21eb51ec071784f62dd642d4de609af3101e7 authored almost 6 years ago by hmistry <[email protected]>
This commit allows passing in options to mime-type analyzers. For now, Marcel
is the only analyz...
Updates the `determine_mime_type` plugin documentation with the new analyzer
options for Marcel.
This commit retains backward compatibility in `determine_mime_type` plugin when
a single argumen...
bd571e0a1afa3264a69460bda2b508e54ffc58af authored almost 6 years ago by Janko Marohnić <[email protected]>
c94e29f43b8a776ee7248a7fffc269b2fdb33d39 authored almost 6 years ago by Janko Marohnić <[email protected]>
Range requests that began in a 2nd or later chunk were generating a requested
range where the be...
We already show the FileInput Uppy plugin for single uploads, so for
multiple uploads we can sho...
f999453f20d000eb0b7a7aa41d84a089e8fbcb5f authored almost 6 years ago by Janko Marohnić <[email protected]>
Check presence of id and storage attributes as
Strings or as Symbols.
Hashes could also be p...
0505e25bc7d5339ad1a111ea37081d9d2d110f39 authored almost 6 years ago by Andrey Glushkov <[email protected]>2289a0f80e2c2489e55b3b720aada9ecc86bc1d0 authored almost 6 years ago by Janko Marohnić <[email protected]>
1974b71077f0e9356f9c66b7d9e4c9b0fff32f7a authored almost 6 years ago by Janko Marohnić <[email protected]>
This is for specifying download options for the uploaded derivation
result (for when :upload is ...
28308c0323cab6d04c307aab083c73d59956118c authored almost 6 years ago by Janko Marohnić <[email protected]>
a9e0d0d3987b63e6fe9be71768699cb4d65f1559 authored almost 6 years ago by Janko Marohnić <[email protected]>
In Derivation#response, by default #file_response would receive and open
file, while with :uploa...
The delete_raw plugin will get deprecated after the new derivatives
plugin, as it produces unwan...
3de9045173c23143e221409487529b84cb5e0858 authored almost 6 years ago by Janko Marohnić <[email protected]>
ead3db3c5d6c1bc1bf5395d62be748c84c828710 authored almost 6 years ago by Janko Marohnić <[email protected]>
If "Content-Type" header value could not be determined from file
extension, were returning "appl...
Sometimes the developer might want to pass additional options to
Storage#open (e.g. for server-s...
dcb3ca03543401c4333bcb01e74265f62fc79e6d authored almost 6 years ago by Janko Marohnić <[email protected]>
The "mime_type" metadata field should be considered the source of truth,
and the user should be ...
8da4497a1e50cab5f7d0f14715c77a778b891631 authored almost 6 years ago by Janko Marohnić <[email protected]>
b5c355162b6b2b3b64841ea9fdcec3162dfb3524 authored almost 6 years ago by Janko Marohnić <[email protected]>
When MIME type could not be determined, most MIME type analyzers and
Rack::Mime will return "app...