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

Simplify Shrine.find_storage

Previously we were supporting MRI 2.1, which didn't yet have Symbol GC,
therefore we had to guar...

075a7b68439306e470461c1c91f086009063d4b3 authored over 5 years ago by Janko Marohnić <[email protected]>
Inline signature algorithm downcasing

6d38a5596e9278f4ae3e928bef0d3eb343ecc51e authored over 5 years ago by Janko Marohnić <[email protected]>
Update conference talk link

This is a proper Shrine talk, where things are presented much better,
and it's newer.

b3f9859df8f11916e69302c3fb6dd7f63f61d1af authored over 5 years ago by Janko Marohnić <[email protected]>
Add shrine-rails to the list of extensions

So far it only has ActionDispatch::Http::UploadedFile monkey patches for
Rails 3, but it will ho...

e22bee6d44d09f4917d74382550725ff83005b5f authored over 5 years ago by Janko Marohnić <[email protected]>
Don't check Request#form_data? in upload_endpoint

I think we don't need to be that specific. Since we're only accepting
multipart POST uploads now...

1dbcee8cb8e435835f429f2a6ba7292f27fb973f authored over 5 years ago by Janko Marohnić <[email protected]>
Accept Uppy's default "files[]" param in upload_enpdoint

Previously we were only accepting a "file" param, which required us to
explicitly specify it whe...

8ff83ba32549e53cfd33e4d9708a04418a579edf authored over 5 years ago by Janko Marohnić <[email protected]>
Add a missing test for tempfile plugin

74e723ad2aa693d40113e07e56f0db8ca6400d06 authored over 5 years ago by Janko Marohnić <[email protected]>
Document Storage#open in "Retrieving Uploads" guide

3b0322f51f2487cbfeba1284168e207f16ba91b4 authored over 5 years ago by Janko Marohnić <[email protected]>
Add rails_admin to list of libraries that come with Shrine integration

Support was added in https://github.com/sferik/rails_admin/pull/3081.

6678aec703f754158433ff20cc7e3254097a4b56 authored over 5 years ago by Janko Marohnić <[email protected]>
Use breathable hash in Attacher.new

45e1154fba35627fef98d6c7e1f69b6c49646da8 authored over 5 years ago by Janko Marohnić <[email protected]>
Add Shrine::Attachment() shorthand for Shrine::Attachment.new

Previously we had Shrine.attachment, but that doesn't really communicate
that the result is a mo...

3420aafbf29379d215f88bb9868d2e70009e3875 authored over 5 years ago by Janko Marohnić <[email protected]>
Remove config.ru example in direct_s3.md

When we show both Rails and Rack example, I've seen people who think
that both are necessary. Si...

da7d5c15ac05a9d2d0db4f756a2694bbf5ce97c6 authored over 5 years ago by Janko Marohnić <[email protected]>
Add an example for parsed_json plugin

ce9ce396f00a937e6da9aa63fa407f69ccce18a3 authored over 5 years ago by Janko Marohnić <[email protected]>
Update recommended aws-sdk-s3 version specifiers

aws-sdk-s3 < 1.14 has been deprecated, so we update the version
specifiers accordingly.

82ec8f4a3238e3a7255789ee3d5b4b7b344a8cf0 authored over 5 years ago by Janko Marohnić <[email protected]>
Show HTML in the Quick Start section

This makes it web framework agnostic.

7f2ca010b6b57a536768ca3ac62f748967180002 authored over 5 years ago by Janko Marohnić <[email protected]>
Add :url option to upload_endpoint

plugin :upload_endpoint, url: true
# or
plugin :upload_endpoint, url: { public: true }
#...

4d8994df1786ed1712a203bb948d1738678449f6 authored over 5 years ago by Janko Marohnić <[email protected]>
Deprecate :download URL option in S3 storage

The :download URL option is redundant because it's just a wrapper over
:response_content_disposi...

84d711b0c2ecbf2c230008a566eb2c0c2a0d5f36 authored over 5 years ago by Janko Marohnić <[email protected]>
Remove backfilling `size` for uploads of unknown size from S3 storage

This complicates the code of the S3 storage, and that functionality
doesn't even belong there, i...

1471403e24a3bb5e0d036a5a5dfe804004c32b91 authored over 5 years ago by Janko Marohnić <[email protected]>
Improve markdown link consistency

0a4a7edae700697a7981bc7a02331d1703842276 authored over 5 years ago by Janko Marohnić <[email protected]>
Add code tags around a constant name

fb590d9fd6b4ac22d5443372cac371cccc511676 authored over 5 years ago by Janko Marohnić <[email protected]>
Add instructions for vanilla setup

0af792ce511dd86dd5296e39d220dd55401f8114 authored over 5 years ago by Mario Kostelac <[email protected]>
Deprecate aws-sdk-s3 version less than 1.14.0

That version has Aws::S3::Object#upload_stream. Currently for multipart
uploads we're using Aws:...

43f538c1f92fec78bf934f0cd7d87ff7179ddc05 authored over 5 years ago by Janko Marohnić <[email protected]>
Show basic tus-server and uppy-s3_multipart setup

dcf0d37e55971dc32c840277dcc181554a35da2d authored over 5 years ago by Janko Marohnić <[email protected]>
Allow generating upload & presign responses from a custom controller

We add Shrine.upload_response/Shrine.presign_response methods to
upload_endpoint/presign_endpoin...

461182086752a2acab67f3e653c115ba368d4dfa authored over 5 years ago by Janko Marohnić <[email protected]>
Bump to 2.17.1

ef430eba2cb12cf71b0a0284d434b15426eb6c63 authored over 5 years ago by Janko Marohnić <[email protected]>
Fix rack_file not retaining Attacher#assign method signature

f0fea5faa18654c1328c938ed2b83f5a78d7ca3b authored over 5 years ago by Janko Marohnić <[email protected]>
Fix parsed_json not retaining Attacher#assign method signature

Fixes #384

924f40c45859186b0a54b9b3077dcb3b2c636ba6 authored over 5 years ago by Janko Marohnić <[email protected]>
Update gem links on RubyGems.org

25345da3028d808dfed0d7fc1f0eba5107b3242a authored over 5 years ago by Janko Marohnić <[email protected]>
Minor tweaks to the demo app

147af5f69bf8290682a5539608450d98e656d170 authored over 5 years ago by Janko Marohnić <[email protected]>
Rename `serverUrl` to `companionUrl` in demo app

That was changed in Uppy 1.0.

b4b848bca5dd3d61234a0c6e4355ff6c5cba9571 authored over 5 years ago by Janko Marohnić <[email protected]>
Bump to 2.17.0

ff1d8dee8dc842e5345bee7a41c8f64ec22ce0f0 authored over 5 years ago by Janko Marohnić <[email protected]>
Add missing changelog entries and docs

3e6c3da299041f428cbbb0f8a6306aa052cf98da authored over 5 years ago by Janko Marohnić <[email protected]>
Minor style improvements in derivation_endpoint

8abe7b3f3af38acecc36408364097ac1cb53e929 authored over 5 years ago by Janko Marohnić <[email protected]>
Add test for Attacher#assign_data_uri

c6a635271c42938d2523f07e89476fc46ef25a0b authored over 5 years ago by Janko Marohnić <[email protected]>
Refactor derivation endpoint UrlSigner (#363)

UrlSigner was tightly coupled with internal impelementation of Derivation::Url
Now UrlSigner is...

55c0043a81a9fcc4910455245f8b4c5b2e5fc832 authored over 5 years ago by Andrey Glushkov <[email protected]>
Add Attacher#assign_data_uri which accepts additional uploader options

This is useful if the user wants to specify upload location, metadata,
or upload options while u...

abc63a6cd9f6a7ae1ae6249fd01c89ed98c6eae1 authored over 5 years ago by Janko Marohnić <[email protected]>
Accept additional uploader options in Attacher#assign_remote_url

That's useful if the user wants to specify upload location, metadata, or
upload options.

dc48599c6fe709eb15aaa735749ccd9475d73b6c authored over 5 years ago by Janko Marohnić <[email protected]>
Allow passing options to Shrine.download_endpoint

This makes it consistent with other *_endpoint plugins.

814e403d0674fc7d5edd7a5f658d8446b90228e1 authored over 5 years ago by Janko Marohnić <[email protected]>
Simplify storing download_endpoint plugin options

f340645780ebd8461b08295d9e61238523d14800 authored over 5 years ago by Janko Marohnić <[email protected]>
Remove Roda dependency from download_endpoint

None of the other *_endpoint plugins depend on Roda anymore, so it's
time to do the same for dow...

1b8961e40b7115f6fb7c4a79181bd6d00ec6c351 authored over 5 years ago by Janko Marohnić <[email protected]>
Simplify #inspect and #to_s for download_endpoint and derivation_endpoint

Makes for a simpler `rake routes` command output in Rails applications.

bd8cdc4a437a64126e5f44661d5ed22e35773e10 authored over 5 years ago by Janko Marohnić <[email protected]>
add bundle exec to sequel in demo README (#378)

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]>
Simplify storing upload_endpoint and presign_endpoint plugin options

5ab5810660388100360ca55034ebed9ef489c526 authored over 5 years ago by Janko Marohnić <[email protected]>
Simplify #inspect and #to_s of UploadEndpoint and PresignEndpoint instances

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]>
Link imgproxy gem on the website

77c952497fc983750ea38d7be3c5ddf289cae2e6 authored over 5 years ago by Janko Marohnić <[email protected]>
Soft-rename presign_endpoint class to Shrine::PresignEndpoint

This makes the #inspect output of an instance of this class look
simpler, which is used in thing...

8c4b43b605c2fa35c2a1930aeef32d6168c364b3 authored over 5 years ago by Janko Marohnić <[email protected]>
Remove shrine-azure from the website

Apparently it's an incomplete attempt that was discontinued.

3ca5000740e562251468179e11394146f7bc8fa8 authored over 5 years ago by Janko Marohnić <[email protected]>
Soft-rename upload_endpoint class to Shrine::UploadEndpoint

This makes the #inspect output of an instance of this class look
simpler, which is used in thing...

003872000fd040c0ed3ca58128b775f536a5499e authored over 5 years ago by Janko Marohnić <[email protected]>
Update demo app for Uppy 1.0

8aa88ea1a64ea1a694e7a9094f03ce6a38119378 authored over 5 years ago by Janko Marohnić <[email protected]>
Add changelog entry for previous commit

10d3a53e89ef3bc6ad562351ea6178eba34229c9 authored over 5 years ago by Janko Marohnić <[email protected]>
Prevent sharing of process blocks between parent and subclasses

b8d3dda58c5abac8a9eda2770372fc3648821eba authored over 5 years ago by Kevin Soltysiak <[email protected]>
Add ETag header to prevent Rack::ETag from buffering file content

Rack::ETag is included by default in the Rails middleware stack, and it
will automatically gener...

f99e8b193385e14bef26114d886f4ab8da7769c3 authored over 5 years ago by Janko Marohnić <[email protected]>
Add :host to default_url plugin

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]>
Fix docs for S3's Transfer acceleration

Using `:endpoint` causes Aws::S3::Errors::SignatureDoesNotMatch when
trying to upload the file. ...

20122a5a6cd26c416c889c4374db8ff3f8a6ba0b authored over 5 years ago by Janko Marohnić <[email protected]>
Fix versions being deleted when string names are used

When using strings for version names in the process block, after
promotion the uploaded files wo...

9f69c21b69a488d879051e42f828fbf2db68bcb2 authored over 5 years ago by Janko Marohnić <[email protected]>
Add changelog entry for previous commit

0e5c44c79f7d8a3c4d9e92061364e316584dfde8 authored almost 6 years ago by Janko Marohnić <[email protected]>
Versions: allow Attacher#url to accept version name indifferently (#371)

b2da4fdb658dceb58cdc50481c6e495f2c7ddf99 authored almost 6 years ago by Nazar Matus <[email protected]>
Add CHANGELOG entry for the previous commit

940b50dfd54362c089503ec742a0b4a8b0980b70 authored almost 6 years ago by Janko Marohnić <[email protected]>
Improve check for empty directory in Storage::FileSystem (#368)

Dir.empty? does not load all the child directories into memory.
This improves the performance f...

3c5330f86660a83d8bd39bda23799e090cc6f930 authored almost 6 years ago by Adam Niedzielski <[email protected]>
Drop MRI 2.3 support

MRI 2.3 will reach its EOL at the end of March.

716d8dfbd31620276e3b06203129321d4b2393e0 authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix metadata_attributes plugin changing Attacher#assign signature

06b3f6adf5f715a80f1c6c8e185d54a72337e597 authored almost 6 years ago by Janko Marohnić <[email protected]>
Minor fixes in the demo app

a51851e8848d09ab44b8d6ec74c7feeb2b685030 authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix random failure on JRuby

a82a8fa89039e9ead57998d1d2890fb008a712c3 authored almost 6 years ago by Janko Marohnić <[email protected]>
Add CHANGELOG entry for previous commit

b92cddf6ef5fe858606a92719cc26b4c3cb94bde authored almost 6 years ago by Janko Marohnić <[email protected]>
Add support to derivation endpoint for Rack < 2

8f206e1ad6f1aba2b914ee7df773268398508ff2 authored almost 6 years ago by Antony Bowen <[email protected]>
Correct test description for determine_mime_type (#361)

cceb82f81a2cedd0cc6d2509d34c269053cbadf0 authored almost 6 years ago by Anton Rieder <[email protected]>
Use version that has fix for broken emoji links

64fa79a21d753f082ffa8ddf2e80defd0b01e703 authored almost 6 years ago by Hiren Mistry <[email protected]>
Fix broken link to external guide

766d3a06c4d550525aefef861b91729e98b3ef30 authored almost 6 years ago by Hiren Mistry <[email protected]>
Merge pull request #360 from hmistry/improve/derivation-docs

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]>
Add notes on deleting derivations and redirecting for local storage in derivation_endpoint plugin

c5353ecdc18e0626815d56d59df6390d56ffa872 authored almost 6 years ago by hmistry <[email protected]>
Fix derivation_endpoint breaking with moving plugin when :upload is enabled

cdba4754cbab8c78e993fb1cb9203ffb84efd49c authored almost 6 years ago by simon <[email protected]>
Update CHANGELOG.md

81053d40f1c4bb2a35da6988ce0e0d104b408ded authored almost 6 years ago by Hiren Mistry <[email protected]>
Add tests for determine_mime_type plugin new analyzer options

Add tests for the new Marcel analyzer options. Also fixed some issues with the
new changes for t...

e8ce78f01f7780dbfd1a283919d927e5c5b47d2b authored almost 6 years ago by hmistry <[email protected]>
Change naming in determine_mime_type plugin based on feedback

Change naming of plugin `:options` to `analyzer_options` and internal
`analyzer_options` key to ...

84065aaa8a02dd785e672f03deb221c4cc3a3dd8 authored almost 6 years ago by hmistry <[email protected]>
Revert "Extended determine MIME type with Marcel"

This reverts commit b1e5d8362a8204e287d1609b580ccb90f8f009d6.

The change was introduced in v2.1...

05b21eb51ec071784f62dd642d4de609af3101e7 authored almost 6 years ago by hmistry <[email protected]>
Allow passing options to analzyers in determine_mime_type plugin

This commit allows passing in options to mime-type analyzers. For now, Marcel
is the only analyz...

24a05a2c3b0b3b2e20a4471ab1f3ab73af9e299e authored almost 6 years ago by hmistry <[email protected]>
Update the determine_mime_type plugin document with analyzer options

Updates the `determine_mime_type` plugin documentation with the new analyzer
options for Marcel.

1d93d116dd2bbdaf3260459c3c401058e6371a66 authored almost 6 years ago by hmistry <[email protected]>
Retain compatibility for procs passed to analyzer in determine_mime_type plugin

This commit retains backward compatibility in `determine_mime_type` plugin when
a single argumen...

49c7cfd384aa1840db424ed44e749b4604198fba authored almost 6 years ago by hmistry <[email protected]>
Update CHANGELOG

bd571e0a1afa3264a69460bda2b508e54ffc58af authored almost 6 years ago by Janko Marohnić <[email protected]>
Improve consistency in rack_response plugin tests

c94e29f43b8a776ee7248a7fffc269b2fdb33d39 authored almost 6 years ago by Janko Marohnić <[email protected]>
Improve multi-chunk range requests

Range requests that began in a 2nd or later chunk were generating a requested
range where the be...

b52d39cffffd22dd8f8e5c25f15beac303267bb0 authored almost 6 years ago by thomas morgan <[email protected]>
Use Uppy Dashboard in the demo

We already show the FileInput Uppy plugin for single uploads, so for
multiple uploads we can sho...

108a1c9111b749d06441b496f50c3e7507078aba authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix typo in metadata_attributes.md filename

f999453f20d000eb0b7a7aa41d84a089e8fbcb5f authored almost 6 years ago by Janko Marohnić <[email protected]>
Allow assign parsed json with symbol keys (#350)

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]>
Bump to 2.16.0

2289a0f80e2c2489e55b3b720aada9ecc86bc1d0 authored almost 6 years ago by Janko Marohnić <[email protected]>
Show retrieving version URL in "Advantages" guide

1974b71077f0e9356f9c66b7d9e4c9b0fff32f7a authored almost 6 years ago by Janko Marohnić <[email protected]>
Add :upload_open_options to derivation_endpoint

This is for specifying download options for the uploaded derivation
result (for when :upload is ...

090edc3333ab799be5209e776b740d06e54d2561 authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix derivation_endpoint breaking with delete_raw plugin when :upload is enabled

28308c0323cab6d04c307aab083c73d59956118c authored almost 6 years ago by Janko Marohnić <[email protected]>
Prevent stubbing non-existent methods

a9e0d0d3987b63e6fe9be71768699cb4d65f1559 authored almost 6 years ago by Janko Marohnić <[email protected]>
Consistency improvements in derivation_endpoint

In Derivation#response, by default #file_response would receive and open
file, while with :uploa...

f23e4d7e1fe63b2b0a6598c96811460e66e3a8c3 authored almost 6 years ago by Janko Marohnić <[email protected]>
Allow skipping deletion with `delete: false` when delete_raw plugin is loaded

The delete_raw plugin will get deprecated after the new derivatives
plugin, as it produces unwan...

2fa038aa27d28268a3769163716edbeaf22fb0bf authored almost 6 years ago by Janko Marohnić <[email protected]>
Rework derivation_endpoint tests a bit

3de9045173c23143e221409487529b84cb5e0858 authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix bug introduced with recent refactoring

ead3db3c5d6c1bc1bf5395d62be748c84c828710 authored almost 6 years ago by Janko Marohnić <[email protected]>
Don't return any "Content-Type" when unknown in derivation_endpoint

If "Content-Type" header value could not be determined from file
extension, were returning "appl...

d9b5935541f888526774a93bdc41bfb60b51933e authored almost 6 years ago by Janko Marohnić <[email protected]>
Add :download_options to download_endpoint plugin

Sometimes the developer might want to pass additional options to
Storage#open (e.g. for server-s...

4fe18021f1309790a1939def003fb5963ab34285 authored almost 6 years ago by Janko Marohnić <[email protected]>
Document download_endpoint options in the .md file

dcb3ca03543401c4333bcb01e74265f62fc79e6d authored almost 6 years ago by Janko Marohnić <[email protected]>
Respect "mime_type" and :type in #to_rack_response even if it's "application/octet-stream"

The "mime_type" metadata field should be considered the source of truth,
and the user should be ...

1e2e4d03d43ed7b123159d5c1b1be4c607358933 authored almost 6 years ago by Janko Marohnić <[email protected]>
Resolve Storage#open arguments in UploadedFile

8da4497a1e50cab5f7d0f14715c77a778b891631 authored almost 6 years ago by Janko Marohnić <[email protected]>
Add derivation_endpoint to the demo app

b5c355162b6b2b3b64841ea9fdcec3162dfb3524 authored almost 6 years ago by Janko Marohnić <[email protected]>
Return no "Content-Type" in #to_rack_response on unknown MIME type

When MIME type could not be determined, most MIME type analyzers and
Rack::Mime will return "app...

ac1081d0a382b7a5dfb8712688556f8d568f5868 authored almost 6 years ago by Janko Marohnić <[email protected]>