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

Fix typo S3#download RDocs

354cc2de97c0ae5c4bae0bee87ab8032ebd83806 authored almost 7 years ago by Janko Marohnić <[email protected]>
Fix a broken test

716c7e5db7d46b07f4c157743eeb2e055d3adb4a authored almost 7 years ago by Janko Marohnić <[email protected]>
Don't open a secondary file descriptor in UploadedFile#download

There is no need for `IO.copy_stream` to open its own file descriptor,
we can just reuse the fil...

b03b205840bd949c4f11c872fc310739b183df8b authored almost 7 years ago by Janko Marohnić <[email protected]>
Show example of validating image corruption

e3db46b8f074650f2d9553b7b9cd3983949073a4 authored almost 7 years ago by Janko Marohnić <[email protected]>
Allow UploadedFile#download to take a block

This is useful when we want to temporarily download the file to disk,
and then have the file aut...

201bceedaf04cca8a7f27d840fbda8c576fb88dc authored almost 7 years ago by Janko Marohnić <[email protected]>
Improve tests for UploadedFile#download

334c74d21a328bdc2f4ee956b1ff09cb8db23186 authored almost 7 years ago by Janko Marohnić <[email protected]>
Port ImageProcessing examples to new chainable API

The new chainable API makes image_processing much more flexible and
transparent to use, and the ...

e89b51307886989e704db7f3d2f3c814a0eb57e7 authored almost 7 years ago by Janko Marohnić <[email protected]>
Link to walkthrough for adding direct S3 uploads to a Roda app

9fba7afab6ea5d45c1151fe34380eb551702c048 authored almost 7 years ago by Janko Marohnić <[email protected]>
Sort metadata for download_identifier

Sorting the metadata values by key, so the download_identifier always looks the same regardless ...

a3efb8cfd85beea51e58272e443155f2052623c9 authored almost 7 years ago by Matthias Schmidt <[email protected]>
Add :ruby_vips dimensions analyzer

The image_processing gem has now gained VIPS support, so it makes sense
to provide the ability t...

7f1b69c52c9c6f19d648a21b5e96e5c4b011d66c authored almost 7 years ago by Janko Marohnić <[email protected]>
Use Down instead of open-uri in CONTRIBUTING templates

Down is a wrapper around open-uri which fixes some of its hiccups, and
Shrine already depends on...

b39470c313e62d13c38fa48757332946c76a20db authored almost 7 years ago by Janko Marohnić <[email protected]>
Remove broken article link from homepage (#260)

04426353a60dbcc712212757ef157d983ebfa011 authored almost 7 years ago by Patrick Crowley <[email protected]>
Update links to Shrine gems

Shrine and shrine-* gems have been moved to the "shrinerb" organization.

446ca26da9cce921bf56f362a3fde6badcff2512 authored almost 7 years ago by Janko Marohnić <[email protected]>
Move ISSUE_TEMPLATE.md to top-level

5580d90461f60472c3b3ae1cc82d56f5da6fc9d3 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add Github issue template (#233)

1736eca55e17d63c8c826509f9e67369c03e9c94 authored almost 7 years ago by Hiren Mistry <[email protected]>
Fix typo with endpoint parameter in carrierwave docs (#257)

5274d8c71bf71aba908ed46001e531b782fd8645 authored almost 7 years ago by Patrick Crowley <[email protected]>
Add :mini_magick analyzer to store_dimensions plugin

ImageMagick seems to have fixed its vulnerability to image bombs in
newer versions, so it should...

dbfd77df49ab2d64e69eeeef42be8b59313b2661 authored almost 7 years ago by Janko Marohnić <[email protected]>
Rename :heroku logging format to :logfmt

"Logfmt" is the unofficial name for the logging format that Heroku uses,
and Heroku is not the o...

08622601227906c1655358c27cbd5662c355a552 authored almost 7 years ago by Janko Marohnić <[email protected]>
Fix tests broken by the previous commit

5ae1d29f448371133bdae28dce0ad6948e3566ee authored almost 7 years ago by Janko Marohnić <[email protected]>
Allow uploading IO objects with unknown size

Currently Shrine requires all IO objects to respond to #size. This is
not necessary, because sto...

84f534f90fd32854c5c2be637fdc50e2a220191a authored almost 7 years ago by Janko Marohnić <[email protected]>
Minor README tweaks

05aea5bb8ccba246e5f86f27916a4110e3c7b856 authored almost 7 years ago by Janko Marohnić <[email protected]>
Link shrine-ftp on the website

309a42f2147f3b7db8ee66f44970ead267f45bfd authored almost 7 years ago by Janko Marohnić <[email protected]>
Link shrine-aliyun-oss on the website

34492f554449219402426eae48f7405d7f43493b authored almost 7 years ago by Janko Marohnić <[email protected]>
Use the recommended Homebrew formula for Minio

d7fe507f22f37347c3345f3aa83312ce5cda6d93 authored almost 7 years ago by Janko Marohnić <[email protected]>
Use Minio credential names for placeholders

39a59d5af7453681ca1f79aadbd0cdbe78babd2c authored almost 7 years ago by Janko Marohnić <[email protected]>
Make a snippet in testing document as Ruby code

620e35ce82356d5f52956b25058817876f3cc15c authored almost 7 years ago by Janko Marohnić <[email protected]>
Improve Minio documentation

6118e3859bdde361382c148c8faa38b73c1f3fba authored almost 7 years ago by Janko Marohnić <[email protected]>
Shorten Shrine::InvalidFile definition

f490f6d6f71d9f79cf5a3209e9277bb2b14ba4a4 authored almost 7 years ago by Janko Marohnić <[email protected]>
Minor fix and changelog entry for previous commit

96a32da797c0bd8aeacfceb988ab5fea43e88c69 authored almost 7 years ago by Janko Marohnić <[email protected]>
Fixed bug in logging plugin so subclasses correctly inherits configuration (#247)

* Fixed a bug in the logging plugin where the logger of Shrine's subclass does not inherit the l...

e8708bea917c101999cd21dee7a16e939b5f2879 authored almost 7 years ago by Hiren Mistry <[email protected]>
Show only nondestructive processing methods when generating vesions

There is no need to use destructive processing methods when processing
versions, and it adds con...

6861d3a737381dbd11f6fb377464cf488d6f4ef6 authored almost 7 years ago by Janko Marohnić <[email protected]>
Link Headway's blog post with Trix

a6c08559a256df4b6670f21a63b2b28a87470a54 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add shrine-lambda to the website

fc917748c7a9e962472347df26c9ea6bdebb816b authored almost 7 years ago by Janko Marohnić <[email protected]>
Update docs to better highlight how to re-run processing and versions (#248)

6d47d5dfb4f5ab3f6c6f8a5465f2679e36855c8e authored almost 7 years ago by Hiren Mistry <[email protected]>
Fix broken link in direct S3 guide

3c14113ce2fb77d1f3e96bd4e4ff10416651fc7c authored almost 7 years ago by Janko Marohnić <[email protected]>
Bump to 2.9.0

5a3c6b59eca9dbf4d79a6a75a6bc801937222856 authored almost 7 years ago by Janko Marohnić <[email protected]>
Some minor tweaks to the direct S3 documentation

8c09a68bd2e26043baea3e3cac46694c3050137b authored almost 7 years ago by Janko Marohnić <[email protected]>
Show how to setup bucket CORS via the API

4e9b8103ec5214be858372b13bb2397e6d25d038 authored almost 7 years ago by Janko Marohnić <[email protected]>
Show how to update bucket lifecycle rules via API

b4c605a72c33c90efe0c4ef76cd4c7f7d2dfefea authored almost 7 years ago by Janko Marohnić <[email protected]>
Lock activerecord-jdbcsqlite3-adapter to version that works with ActiveRecord 4.2

9e5e1021ec9e32c8aebe837a80251bc21373bf41 authored almost 7 years ago by Janko Marohnić <[email protected]>
Marcel only works on Ruby 2.2+

96aab9069d03b53690306e3796fe8a09f1134ffa authored almost 7 years ago by Janko Marohnić <[email protected]>
Add support for arrays of files to versions plugin

This is useful when splitting PDF into multiple pages, or when you want
to transcode videos into...

538cfc12fdec01cfadd31836862e2a2345bf06a5 authored almost 7 years ago by Janko Marohnić <[email protected]>
Revert "Expose analyzer/inferrer objects directly"

This reverts commit 5a1abaa73e250a7652b234f62ad3d744ccf4e2d7.

We're calling #arity, so we need ...

d5bcf7f9ad39fbc9ef75a7fc6945b73e80ec554e authored almost 7 years ago by Janko Marohnić <[email protected]>
Recommend using HTTP.rb for file uploads

06314aa78e464a30e14eaf193b898812701667c8 authored almost 7 years ago by Janko Marohnić <[email protected]>
Add Marcel MIME type analyzer

Marcel is wrapper around MimeMagic which has been extracted from
Basecamp 3, which adds some imp...

429970d2b16da2e93c64431a8096215ef23108b0 authored almost 7 years ago by Janko Marohnić <[email protected]>
Expose analyzer/inferrer objects directly

a3d67a7c9e30c912aad4f4cbc3a1a60fa852bf21 authored almost 7 years ago by Janko Marohnić <[email protected]>
Recommend using Minio for development and tests

f946d21f33c05aec42d6104e1a06f1c81d290fa9 authored almost 7 years ago by Janko Marohnić <[email protected]>
Fix typo in paperclip doc. (#239)

ebf8feeee01e6d08ee25272467f15b7f7c71f3a1 authored almost 7 years ago by Hiren Mistry <[email protected]>
Remove minitest-documentation

It didn't help debugging JRuby failures, and it's just adding noise to
the test output.

fcb534d385d5ca2bbb87bc6ea0d8b7116a9879d3 authored about 7 years ago by Janko Marohnić <[email protected]>
Update the mini_mime dependency to 1.0.0

3a36b86d4c499c3d765f98c313ff12f2c3227558 authored about 7 years ago by Janko Marohnić <[email protected]>
Deprecate :filename data_uri option

Now that infer_extension plugin exists, the :filename option to the
data_uri plugin is obsolete.

a8ba2510bf01981175eb2abe7421c1a86c1bcc9d authored about 7 years ago by Janko Marohnić <[email protected]>
Mention infer_extension in remote_url documentation

16facaa7b7faf76819266945508cff50e47b3938 authored about 7 years ago by Janko Marohnić <[email protected]>
Add missing test for infer_extension plugin

1dc76dce9adb9e903faf9f31313ba869e0528ab9 authored about 7 years ago by Janko Marohnić <[email protected]>
Minor consistency adjustments with infer_extension plugin

1cf88042f043ba0cabda5acf39aaaf5a4226407c authored about 7 years ago by Janko Marohnić <[email protected]>
Add infer_extension plugin

Allows automatically inferring the upload location extension from MIME
type of the file. This pl...

91630afbe5fcc928076b1796cd8153ef871081d1 authored about 7 years ago by Janko Marohnić <[email protected]>
Some minor style improvements

c14d22dceb16e9c877bcaa6a7fe1e3a5248b2e99 authored about 7 years ago by Janko Marohnić <[email protected]>
Use minitest-documentation reporter on Travis CI

On JRuby builds we're getting Java exceptions for some time now, but I
never knew where they're ...

7ff48a406f1b731241ab879bcb2374cbab22ff72 authored about 7 years ago by Janko Marohnić <[email protected]>
Separate official articles from other articles

e70055a748a8c3fb90b0703a6f70bc5d5ff53c91 authored about 7 years ago by Janko Marohnić <[email protected]>
Link the latest blog post about direct uploads

b6693c676fe4c74e57b5ba7d79d6b6172e71e045 authored about 7 years ago by Janko Marohnić <[email protected]>
Recommend using Uppy on the client side

* jQuery-File-Upload

Uppy is the only file upload library that integrates naturally with
Shrine...

cd3d003764627a1bd9fbbc249f0b4980f071f089 authored about 7 years ago by Janko Marohnić <[email protected]>
Use restore_cached_data plugin in the demo

This is needed for direct uploads to S3 if we want the image dimensions
to be extracted.

1e911e571246b5d3b72f94af8de2b2f5eac66378 authored about 7 years ago by Janko Marohnić <[email protected]>
Add doctype declaration in the demo

009e77c1f79780526591c80e4277a9d2bd4c0ef6 authored about 7 years ago by Janko Marohnić <[email protected]>
Remove unnecessary spacing from the demo's JS

e3f6f52b63ccfadd87dfd969e23421b51c54bb73 authored about 7 years ago by Janko Marohnić <[email protected]>
Remove unnecessary presign params conversion

Uppy's AwsS3 plugin defaults the HTTP method to "post", so there is no
need to pass it explicitly.

0e88359927020828dee41673a4386212c2a8fc7f authored about 7 years ago by Janko Marohnić <[email protected]>
Add client side validations to the demo

fa17d230f7a759f0da19cc6dccf6f8eb296a7f12 authored about 7 years ago by Janko Marohnić <[email protected]>
Increase column spacing in the "External" section

23667c4b0b278a1782b500146ae070154fe40dd5 authored about 7 years ago by Janko Marohnić <[email protected]>
Correct the DigitalOcean Spaces screencast title

d1721aed43e3e404faaeb32dce1df47160f910ec authored about 7 years ago by Janko Marohnić <[email protected]>
Unlink the Spanish Madrid.rb Shrine presentation

f2e79c6dec777beadf85f753609d215034a230bd authored about 7 years ago by Janko Marohnić <[email protected]>
Link blog posts by iRonin

76f6e19bd3f1600590ace57df87d872dfda7ae36 authored about 7 years ago by Janko Marohnić <[email protected]>
Remove bin/test-versions script

I never use it when I have CI.

c14ee582a0fdc1f88631f6cd13c045531aabe340 authored about 7 years ago by Janko Marohnić <[email protected]>
Eliminate the extra file input wrapper in the demo

0c8ba6d8c978be6a13a4593b7993087528d9e1da authored about 7 years ago by Janko Marohnić <[email protected]>
More demo improvements

* Add tests
* Simplify implementation with polyfills
* Do better JS templating
* Fetch all asset...

8930783f0a95e886851c879b9670d9bed3bab975 authored about 7 years ago by Janko Marohnić <[email protected]>
Add Ruby v2.5 to Travis test matrix. (#235)

27d4a42d0a9b5731f60898c4868ab85461d78083 authored about 7 years ago by Hiren Mistry <[email protected]>
Minor improvements and corrections to the demo

0a0d415dd006d7a948770d0ae824f9799f4eecfc authored about 7 years ago by Janko Marohnić <[email protected]>
Update JRuby to 9.1.15.0 on Travis CI

a03bc5d83c7d7f6fb6aa1d1bcc079f58bbf6e799 authored about 7 years ago by Janko Marohnić <[email protected]>
Rewrite demo to use Uppy

Uppy is a modern flexible non-invasive file upload library which has
support for everything that...

f1875c6b92a1283f095708ce71c9ace64243eb7e authored about 7 years ago by Janko Marohnić <[email protected]>
Minor alignment and documentation improvements

58dc7444d679ae3ce776ba1c569d6d2c0c6a081a authored about 7 years ago by Janko Marohnić <[email protected]>
Link "Multiple Photo Upload using Shrine" on the website

1d10c385f7f7f171daf403eae734a351b0fa6ee0 authored about 7 years ago by Janko Marohnić <[email protected]>
Apply default storage options in backgrounding

When default storage options are changed in Attachment.new

class Photo < Sequel::Model
in...

efb30a002283e5244f10fff539d893eee0466a45 authored about 7 years ago by Janko Marohnić <[email protected]>
Reorder JavaScript functions in the demo app

4e4147fe8b75982cc535906ba5901df0c265dea3 authored about 7 years ago by Janko Marohnić <[email protected]>
Update demo README with new changes

096437def5bc47eaebdd21af45654440fde9d4d0 authored about 7 years ago by Janko Marohnić <[email protected]>
Improve matching versions in Shrine.uploaded_file

77474b71dfc087273fa3a273777212081f813fcc authored about 7 years ago by Janko Marohnić <[email protected]>
Use latest JRuby on Travis CI

aee4108c0010bff14bd7f47235ba8bac3ace51c9 authored about 7 years ago by Janko Marohnić <[email protected]>
Show S3 mappings in Paperclip/CarrierWave guides

53d61d4d0924f22a9e062c4867db8d39ced290d6 authored about 7 years ago by Janko Marohnić <[email protected]>
Recommend refreshing metadata in migration guides

0eb6e8b78f1688159272aa6158b826e22a38ee2e authored about 7 years ago by Janko Marohnić <[email protected]>
Improve the demo

* Add both single and multiple uploads
* Add both uploads to S3 and uploads to the app
* Replace...

edff709f6af3e47a4a8bf6599bed78f28066d441 authored about 7 years ago by Janko Marohnić <[email protected]>
Fix typos in upload_endpoint.rb (#223)

38429ff8381207998d28ad01c56868b16459a81c authored about 7 years ago by Anton Rieder <[email protected]>
Amend carrierwave migration docs with refreshing metadata (#216)

61783bb3b25ee0a58796be94b74b3d090ba6f760 authored about 7 years ago by Anton Rieder <[email protected]>
Minor fix to the signature plugin docs

530a99bd3740ad9a96a00af4afe3c27bd4df3a6f authored about 7 years ago by Janko Marohnić <[email protected]>
Load signature plugin globally in the docs

At the moment the documentation makes it appear as though the
`Shrine.calculate_signature` metho...

42fc23fadc7ff26c4eeee2b1bfb2b0c229c439a4 authored about 7 years ago by Janko Marohnić <[email protected]>
Add section about overriding S3 object data on copy

This is an unusual S3 default so I figured it's worth documenting.
Shrine 3 will most likely use...

b3c6e5a762dffaff5a3ab6dcb6c83cf75ef67743 authored about 7 years ago by Janko Marohnić <[email protected]>
Use spaces around curly braces in S3 storage

423729434eadf63df33499498a7632f80853b8b5 authored about 7 years ago by Janko Marohnić <[email protected]>
Link "Creating Online Streaming Radio With Rails and Icecast" on the website

e8bd387aa99c59140ccc3e6bd37077ed848aeeb9 authored about 7 years ago by Janko Marohnić <[email protected]>
Add CHANGELOG entry for previous commit

3875f61506d687e09dfc856337dbaf65f49fc821 authored about 7 years ago by Janko Marohnić <[email protected]>
Use database-agnostic column type names in README

fb54ae47015720b72e39dcd87d0cacb97e5b0864 authored about 7 years ago by Janko Marohnić <[email protected]>
Fix S3 storage replacing spaces in filenames with "+" symbols (#219)

7eea6146c3f2834241fb2bdcc55b020d1b253d47 authored about 7 years ago by Nathan Broadbent <[email protected]>
Add information about json/jsonb column type (#213)

247f75ffd2cc27051c74337dda2da17c1027d35c authored about 7 years ago by Anton Rieder <[email protected]>
Replace refs to factory_girl with factory_bot (#212)

caf8cdd7ff5e35c5f4ff01abf12acc97711397b9 authored about 7 years ago by Anton Rieder <[email protected]>
Deprecate the multi_delete plugin

The multi_delete plugin isn't really useful, and it adds complexity. If
users are processing and...

0494404de4d09ad46ee0887984513695f6fb6373 authored about 7 years ago by Janko Marohnić <[email protected]>
Don't require Attachment.new to accept second argument

This fixes a regression introduced in the previous version, where if
Attachment#initialize was o...

327bc0e025da6b29d9562b336722ade12994505c authored about 7 years ago by Janko Marohnić <[email protected]>