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

Add links to shrine-configurable_storage and shrine-content_addressable plugins

ebedee632d3609828893b004a56f6d14f234e87d authored over 6 years ago by Janko Marohnić <[email protected]>
Tweak some comments on the demo app

6a961fb51dfecb454cf497d4ddd51db1d760f06e authored over 6 years ago by Janko Marohnić <[email protected]>
Add comments to Roda demo code and link to Rails demo (#282)

f3ce5ad95568cc36906618eb40174f8b931c7bb8 authored over 6 years ago by Hiren Mistry <[email protected]>
Improve exception messages for :file analyzer and add CHANGELOG entry

e93dfef9b29c6ac37a69e050ce86f4f95a8119fe authored over 6 years ago by Janko Marohnić <[email protected]>
Raise error when mime type plugin opens non-existent file (#280)

Closes #279.

c4676177b855c51e45716cb44258722d4896642a authored over 6 years ago by Hiren Mistry <[email protected]>
Improve multiple file uploads doc

Addresses #276

0b0ee7a19c4a37c5e464723875d7e4e96eedd73f authored over 6 years ago by hmistry <[email protected]>
Remove unnecessary abort_on_exception in parallelize plugin

Thread#join will already make the exception re-raised in the main
thread, so we don't need to se...

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

34cb5adf73a240be1ae14f9d31b8fbfbbde26ddf authored over 6 years ago by Janko Marohnić <[email protected]>
Improve the filesize validation error message (#278)

Changes the filesize in the error message to a more human readable version with units upto YB. F...

b567d29af63df7a64aaefc111080dbfba11e8a56 authored over 6 years ago by Hiren Mistry <[email protected]>
Fix inheritance with dynamic_storage plugin

On subclassing the dynamic storage resolvers are currently not being
inherited from the Shrine s...

fd6666d924ca0b119a5680b397ab981adb29c408 authored over 6 years ago by Janko Marohnić <[email protected]>
Work around markdown parsing bug in RDoc

ba204ea2b462e02b0ac6f30255bc0a0b71ced5c5 authored over 6 years ago by Janko Marohnić <[email protected]>
Improve version processing examples

By using a Shrine::UploadedFile#download block we ensure the original
file will be closed and de...

3152c157984a4f38e841f85914b8ab2cf9f47ed7 authored over 6 years ago by Janko Marohnić <[email protected]>
Un-deprecate assigning cached versions

This was deprecated because it could potentially be abused since version
names are not whitelist...

767b10a7e8e57dc24611b5ea59c157db3a817365 authored over 6 years ago by Janko Marohnić <[email protected]>
Upgrade to Uppy 0.25 in the demo app

1f68be4880905199bb294da08858f8b1c99d532f authored over 6 years ago by Janko Marohnić <[email protected]>
Update Active Record dependency to >= 5.2 (#277)

* Update Active Record dependency to >= 5.2

* Remove version constraint in jruby sqlite adapt...

c7d9d3ba4639c94fbc2d6c6fb430154e54637f8a authored over 6 years ago by Hiren Mistry <[email protected]>
Update Roda in the demo

1f11094ac9e4966e86d6ca22b5af2b9161de272c authored over 6 years ago by Janko Marohnić <[email protected]>
Update Forme in the demo

0b9a037eaf264a4b6e41505ca3009e89d503dcdb authored over 6 years ago by Janko Marohnić <[email protected]>
Use JRuby 9.2.0.0 on Travis CI

0dc93c19860211ff750f0196f5fe13b15d09b2fa authored over 6 years ago by Janko Marohnić <[email protected]>
Pass dynamic remote_url downloader options via :downloader

This is more change positive, because in the future Attacher#assign will
probably accept uploade...

fa8acfe6fe7a2ed0df2eac82e9958e275bd6b802 authored over 6 years ago by Janko Marohnić <[email protected]>
Add Attacher#assign_remote_url for dynamically passing downloader options

In certain cases one might need to pass downloader options dynamically
in the controller. For ex...

7057d7651857f33c7d7c8d07d841ca7187d51e67 authored over 6 years ago by Janko Marohnić <[email protected]>
Add :redirect option to download_endpoint plugin, and deprecate :storages

The :redirect option makes the download endpoint to redirect to the
direct URL of the uploaded f...

415d6d2f04ece28ed45d16ebccd917761d94b221 authored over 6 years ago by Janko Marohnić <[email protected]>
Update demo to Uppy 0.24.4

f6f61bc787974ff7aacb2c305734591538b853dd authored over 6 years ago by Janko Marohnić <[email protected]>
Fix some Forme examples

bab353c651b92b119969f6cd641f8275d4ba0bfe authored over 6 years ago by Janko Marohnić <[email protected]>
Move release notes 2.10.0 into the next line

245f5b9a05266d8cc9148e472e1b54cda7d8c26a authored over 6 years ago by Janko Marohnić <[email protected]>
Fix encoding issues when uploading IO object with unknown size to S3

Files always have to be opened in binary mode, otherwise encoding issues
can happen and copying ...

84ab256f82aaeece67f209a922d9cad2494f2cbe authored over 6 years ago by Janko Marohnić <[email protected]>
Mention that download will be retried in S3#download

8727f8f4a77a9deeee619d6cfeefd9293358c459 authored over 6 years ago by Janko Marohnić <[email protected]>
Accept additional File.open arguments in FileSystem#open

629b147dee23e111776cc03021a6325c498c9286 authored over 6 years ago by Janko Marohnić <[email protected]>
Add :rewindable option to S3#open

That allows preventing Down::ChunkedIO to cache read content to disk in
case the user doesn't ne...

800d29f9407757de8c024e62d091a8682d2b91a7 authored over 6 years ago by Janko Marohnić <[email protected]>
Emphasize that :bucket option is required

While we're here, we also correct some examples from guides.

6b1f3bba27dc550a59aa4b6c41fe0c7a19863bc9 authored over 6 years ago by Janko Marohnić <[email protected]>
Update the release notes on the website

Since most of the versions update the minor version, we can omit the
patch version if it's 0.

W...

4b15b955475dda655917683967fc8fd0594a77e8 authored over 6 years ago by Janko Marohnić <[email protected]>
Add "form-control" classes to the demo

ed8b34b45b43ff65f0967dbcb29353ca4e071164 authored over 6 years ago by Janko Marohnić <[email protected]>
Remove superfluous local variable assignment

9bbf051eb42f7b0ef55fa2edf0f43edbf1bef1dd authored over 6 years ago by Janko Marohnić <[email protected]>
Don't close IO object in UploadedFile#open if it's already closed

It seems that the StringIO object (and maybe some other IO objects as
well) raise an "IOError: c...

c02a005869c536eeb234353f5b1129b9e2559559 authored over 6 years ago by Janko Marohnić <[email protected]>
Make UploadedFile#open always open a new IO object

Previously UploadedFile#open would always open a new IO object when
block was given, otherwise i...

ff5d4d37a86788c2c29c789f6de574ce1990c02d authored over 6 years ago by Janko Marohnić <[email protected]>
Documentation tweaks for on-the-fly processing

b4dda44b16b2b25cd1bd2b6a5be52afee3c36810 authored over 6 years ago by Janko Marohnić <[email protected]>
Fix Forme code in demo

4154fbed54d9739807b9d20e0a7bbbca575b7322 authored over 6 years ago by Janko Marohnić <[email protected]>
Remove extra CSRF hidden input tag from demo

Forme automatically adds a CSRF hidden input when it detects you're
using rack_csrf.

376c31cbe9a1c3128851468f80be6e2d5ba334da authored over 6 years ago by Janko Marohnić <[email protected]>
Use Forme in the demo

Using a form generator makes forms more readable.

a486cd3378db87abd63a84c7d923349598b87dac authored over 6 years ago by Janko Marohnić <[email protected]>
Fix code example in the processing guide

20304cb64bcea60e2c465d3fba6a6dfec99755cf authored over 6 years ago by Janko Marohnić <[email protected]>
Link to walkthroughs on the wiki

9bdef1339202bfa71adb092e9616eca4eed88026 authored over 6 years ago by Janko Marohnić <[email protected]>
Remove duplication in presign_endpoint documentation

bb6afb02585970e04c57ea57ea084beebe0948a2 authored over 6 years ago by Janko Marohnić <[email protected]>
Send cookies to presign requests in the demo

af8cacf7fd465a16482bcb15ca4cc8f4022f5011 authored over 6 years ago by Janko Marohnić <[email protected]>
Update demo with Uppy 0.24

145fbe89adcf1e8476f9ded20bc11efc94663d92 authored over 6 years ago by Janko Marohnić <[email protected]>
Use Range#size in rack_response plugin

c97ccb36840994cf50e29f6b6e6f4f3306b32952 authored over 6 years ago by Janko Marohnić <[email protected]>
Include demo links at the top of the README

f0372e16c5c5d8f24d17dfd9afe3a30614c7b857 authored over 6 years ago by Janko Marohnić <[email protected]>
Fix broken link in the README

0dffac6f57e9cb4868655f65515f318fbde9f07f authored over 6 years ago by Janko Marohnić <[email protected]>
Clear Uppy's file input field in the demo

Selected files are uploaded asynchronously and only their JSON data
should be submitted with the...

c9e9a9fea776c0d560d4a0a6ff72bc224c3aff5e authored over 6 years ago by Janko Marohnić <[email protected]>
Rephrase the resumable sections

15597359f9c1f3eccca7233862d5fcad65821b02 authored over 6 years ago by Janko Marohnić <[email protected]>
Bump to 2.11.0

58751f13979504efcc435c3a4120304efb603378 authored over 6 years ago by Janko Marohnić <[email protected]>
Show PUT direct uploads to AWS S3 in the demo

6c2a6fbe96435ae423a962745806a66d7f9d1e6b authored over 6 years ago by Janko Marohnić <[email protected]>
Link to blog post about the plugin system

cbcdd97c8c748603b43d155bfe88c80802463fbc authored over 6 years ago by Janko Marohnić <[email protected]>
Major documentation improvements

* Add Shrine highlights
* Write "Advantages of Shrine" guide
* Write "File Processing" guide
* W...

158559b5366defc0368df56627dd8ae00cb48e1a authored over 6 years ago by Janko Marohnić <[email protected]>
Simplify S3#presign implementation

1538b3d2ff032c2edb9627e7827ac0336d19de2c authored over 6 years ago by Janko Marohnić <[email protected]>
Add Shrine.with_file for temporarily converting an IO-like object into a file

This functionality is useful in metadata extraction, when an analyzer is
used that requires a fi...

de7517a82673a77b5fc0e7dd87b046dd94fdb337 authored over 6 years ago by Janko Marohnić <[email protected]>
Improve the documentation for direct S3 uploads

* Remove duplication of the file hash
* Recommend using PUT direct uploads
* Add section for usi...

d23b38d6e4de19f6665cb1e7aa7c7f80656c9d27 authored over 6 years ago by Janko Marohnić <[email protected]>
Convert all non-Ruby code blocks to Ruby

RDoc only has syntax highlighting for Ruby, so we convert all examples
to be written in pure Rub...

b998dfd8d427c670fa19b465b036a16f0cdb0621 authored over 6 years ago by Janko Marohnić <[email protected]>
Test on JRuby 9.1.17.0

That should fix the failures in S3 storage due to Numeric#step yielding
Floats instead of Integers.

0646cf0b20618c0e9a4b59be37f343c2fe3bb553 authored over 6 years ago by Janko Marohnić <[email protected]>
Add :method key to Storage#presign result

Some storages generate presign data for POST uploads (AWS S3, Cloudinary,
Uploadcare), and other...

08aebf5bb04824fe018ea0749ee0fa1e6a9cffc3 authored over 6 years ago by Janko Marohnić <[email protected]>
Extend S3#presign to support generating request data for PUT uploads

AWS SDK has two methods of generating presigned data for direct uploads.
One method is using #pr...

96d7da24712f82ec4c1ac22d423f4a29cc6ed471 authored over 6 years ago by Janko Marohnić <[email protected]>
Avoid warnings in parallelize tests on Ruby 2.5+

f95d0580bdaf15a0679115e9e8239055d9d7f8e2 authored over 6 years ago by Janko Marohnić <[email protected]>
Deprecate Storage#presign returning custom object in presign_endpoint

Now that presign_endpoint supports Storage#presign returning a Hash
object, we deprecate returni...

60d82bb9a517c45f339d2e80915e5fc79d5897b3 authored over 6 years ago by Janko Marohnić <[email protected]>
Recommend returning a Hash in Storage#presign

We want to migrate away from returning custom objects in
Storage#presign, so we're recommending ...

b295783501ac2f618fc7e3a91c7e7a178d83271c authored over 6 years ago by Janko Marohnić <[email protected]>
Accept Hash presigns in presign_endpoint

Having Storage#presign return an object that responds to #url and #fields is
only convenient for...

999099faa656b72585863c6fd87695161ad500a1 authored over 6 years ago by Janko Marohnić <[email protected]>
Add checksum feature to upload endpoint

Using checksums when uploading files ensures file integrity. Bytes can
always get lost when sent...

ee19230046e4b0b0ca659f4f862bc5c9e77128cd authored over 6 years ago by Janko Marohnić <[email protected]>
Simplify S3#clear! logic a bit

209b1a93b9d3cb987187156ab910ac926e3748c1 authored over 6 years ago by Janko Marohnić <[email protected]>
Inline loading the :rack_response plugin in tests

This is consistent with other tests.

dddb1e372be2ed0674f1c3abf82db0147253cb0c authored over 6 years ago by Janko Marohnić <[email protected]>
Give some breathing room to some hashes

da8e5c36eec4680bd5f86f40fbcd79449722c4f1 authored over 6 years ago by Janko Marohnić <[email protected]>
Emphasize that S3 storage supports any other way of authenticating

The aws-sdk-s3 gem supports various ways of authenticating other than
providing credentials dire...

91dfaadcf3d88f26450d035e557cfef9ca46f831 authored over 6 years ago by Janko Marohnić <[email protected]>
Mention AWS permissions required by the S3 storage

When creating a pair of AWS credentials, it's good practice to limit
their permissions to only t...

5448a2d1d181366d4f3337fba50077d6887dd2c2 authored over 6 years ago by Janko Marohnić <[email protected]>
Don't raise exception when failing to extract dimensions

All metadata are extracted regardless of the type of file, which means
that dimensions analyzers...

4e85caea4fcc385979c398c1f9362741efbfb4a1 authored over 6 years ago by Janko Marohnić <[email protected]>
Fix typo in :infer_extension plugin docs (#270)

b6308efdb9f96c913f553da783c7024f8d42334b authored over 6 years ago by Patrick Crowley <[email protected]>
Don't remove bucket name from S3 URL path with :host when :force_path_style is set

The reason we currently strip away the bucket name from the path is
because when bucket name has...

bdc4b4ed1b6f64d02129e499e54728ffce364609 authored almost 7 years ago by Janko Marohnić <[email protected]>
Recommend ImageProcessing "~> 1.0"

d8df6279e28cf813e473d71d6fb78d5c1af0567b authored almost 7 years ago by Janko Marohnić <[email protected]>
Add shrine-gdrive_storage to website (#267)

87eecbc3cd874a7d842319ee4598606e7db8fd47 authored almost 7 years ago by edward sharp <[email protected]>
Work around a bug in older versions of file command with empty files

The file command version 5.14 has a bug where if empty content is given
on standard input, it wi...

b36ede3585d0e56ab32c8b8b1c6b6f584773b521 authored almost 7 years ago by Janko Marohnić <[email protected]>
Mention UploadedFile#stream in the README

8bc27b9f37cb2f7c9cdf03cbc980b84ce199b758 authored almost 7 years ago by Janko Marohnić <[email protected]>
Use UploadedFile#stream in UploadedFile#download

The new UploadedFile#stream has the feature that when the uploaded file
is already opened, the c...

0b46fe8d6ca61057c8d4bc9cd1694fa981664a67 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add UploadedFile#stream for streaming content into writable object

This can be useful when the user wants to write file content into an
existing writable object.

...

0545accce6237070f896eeb56a4f760339708844 authored almost 7 years ago by Janko Marohnić <[email protected]>
Don't recommend using array on top-level in versions

5f0b7a5814d35aaac5172f7c6f7679efdc590867 authored almost 7 years ago by Janko Marohnić <[email protected]>
Correctly determine MIME type from extension of empty files

Prior to version 2.7.0, :mime_types and :mini_mime MIME type
analyzers would correctly determine...

516a894011333e1cd9ef1e04541c8a8ede86c93a authored almost 7 years ago by Janko Marohnić <[email protected]>
Make rack_response example less cryptic

c0a9c9660d20e33eab1c5d974ef394b20e72db29 authored almost 7 years ago by Janko Marohnić <[email protected]>
Deprecate the direct_upload plugin

The upload_endpoint and presign_endpoint plugins that were extracted
from the direct_upload plug...

dbdce58d17bbf1e57c5f7c296a41d8453db90814 authored almost 7 years ago by Janko Marohnić <[email protected]>
Simplify example of splitting PDF into images

83599e498ffe0e0ddf4afc5e70032402e562c273 authored almost 7 years ago by Janko Marohnić <[email protected]>
Fix Mocha deprecation warning in remote_url plugin test

8b2eae27d33cd600f1d53cbc0f4943308794d117 authored almost 7 years ago by Janko Marohnić <[email protected]>
Fix incomplete release notes entry

753757e45c22b117c178bf4969ab4aee4b779b48 authored almost 7 years ago by Janko Marohnić <[email protected]>
Improve wording in release notes

2838ac5d95f68650aa52644e12f1cb775e5f75b6 authored almost 7 years ago by Janko Marohnić <[email protected]>
Update Mocha dependency

c2872f38bf8936d7e6bd064caa68f9798317fde5 authored almost 7 years ago by Janko Marohnić <[email protected]>
Don't run :mini_magick and :ruby_vips tests on Travis CI

7a167bc8d5b2c725b3fa4f323398cf447c6b4711 authored almost 7 years ago by Janko Marohnić <[email protected]>
Bump to 2.10.0

de106e461a8f42cf679a503bc9f377da584df631 authored almost 7 years ago by Janko Marohnić <[email protected]>
Rename a variable

000b021749c541fd07426306416aa6272ab65eb7 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add changelog entry for the previous commit

a64645a4ead344bc83504f7fa729c9760c3842bb authored almost 7 years ago by Janko Marohnić <[email protected]>
Add Fastimage MIME type analyzer

fbd517d4f79f4e73350455ba5a5aca2cbea6ed36 authored almost 7 years ago by Patrick Crowley <[email protected]>
Merge branch 'MSchmidt-patch-1'

ef466acbe8abbec80c311bb4b9ceaf5a8d31e259 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add test and CHANGELOG entry for previous commit

b2d0b5160cea3dfcd0def9e3358a064e552c08a8 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add some missing tests

624e5e648356c738ccc9930f21c3ce6e588fa4c4 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add ability for :mini_magick and :ruby_vips dimensions analyzer to extract dimensions from any IO object

There is no reason :mini_magick and :ruby_vips dimensions analyzers
should be restricted to just...

ea8e0fe9f5574f44bd15892001e8e8a673b53b69 authored almost 7 years ago by Janko Marohnić <[email protected]>
Remove :rack_mime extension inferrer

The extensions in Rack::Mime::MIME_TYPES are just listed in alphabetical
order, they are not ord...

d13f8acbd866d7dd8797022f98293c419e910f05 authored almost 7 years ago by Janko Marohnić <[email protected]>
Raise Shrine::Error on invalid plugin options

7ff07482c4b4119e5efebd005e3ed35723a22317 authored almost 7 years ago by Janko Marohnić <[email protected]>
Show available tools in error messages

It provides a nicer UX, because the user doesn't have to go look in the
docs.

e1543ff93d39a1a459d13134c452ce622380a7fc authored almost 7 years ago by Janko Marohnić <[email protected]>
Extract S3 multipart upload logic into MultipartUploader class

06de126233c4e0c61ea4be1f35d8a9dc9310b604 authored almost 7 years ago by Janko Marohnić <[email protected]>