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

Pass hashes explicitly in derivatives plugin test

This avoids warnings on Ruby 2.7.

021beae238d25fba2b9b3fca1c673825e3a643db authored almost 5 years ago by Janko Marohnić <[email protected]>
Explicitly pass kwargs in some places

This avoids warnings on Ruby 2.7.

4c02627c87eb2e941a261be29273f63c19e96363 authored almost 5 years ago by Janko Marohnić <[email protected]>
Resolve Ruby 2.7 kwargs warnings in Shrine.plugin

Prior to Ruby 2.6, passing empty keyword arguments to a method would
require that method to acce...

a3aed4c890877e246372df3e5cbf7423663e3eb1 authored almost 5 years ago by Janko Marohnić <[email protected]>
Fix Mocha deprecation warning

2143d92e818db1bbe6a1cb1164b842bde9f8ca8c authored almost 5 years ago by Janko Marohnić <[email protected]>
Make expectations with empty hash arguments work on Ruby 2.7

In Ruby 2.7, passing a double-splatted empty hash is the same as passing
no keyword arguments. S...

4c1b9aae9adaeec395acab4eab700082cdf03725 authored almost 5 years ago by Janko Marohnić <[email protected]>
Bump http-form_data dev dependency to 2.2+

http-form_data 2.2.0 fixes Ruby 2.7 compatibility, so we make sure this
version is used in tests.

9bc0daf94f63accb7ba6c314fefa4a276e02a801 authored almost 5 years ago by Janko Marohnić <[email protected]>
Bump Down dependency to 5.1.0+

Down 5.1.0 is compatible with Ruby 2.7. We also fix kwargs warnings in
the remote_url plugin com...

a151c4597beebc2bb791667eae7e60adeaae125b authored almost 5 years ago by Janko Marohnić <[email protected]>
Document Attacher#validate

ad1c1b2636bf8efd70044a949f020896821af85d authored almost 5 years ago by Janko Marohnić <[email protected]>
Add article about direct uploads without JavaScript

https://dev.to/rob117/how-to-use-rest-clients--native-apps-to-make-shrine-client-uploads-and-s3-...

fdd35460b0e43a0cf6d855b9573cca670855212b authored almost 5 years ago by Janko Marohnić <[email protected]>
Fix duplicated "can" words typo in getting_started (#442)

112d24a4d732dfe9ecbfccfbce5c8d9716c53378 authored about 5 years ago by Vitaliy Emeliyantsev <[email protected]>
Add Azure storage blog post by Syndicode

7ed50786dfb7feeacdcecdf2845bdfefcde70427 authored about 5 years ago by Janko Marohnić <[email protected]>
Add publish dates to articles/videos

bfc199b60b98210eb011451dd13dfcd02509ea18 authored about 5 years ago by Janko Marohnić <[email protected]>
Expand the serializer section

db6eafadf851bc304d6dc552d8d0a5ab1ec1cba0 authored about 5 years ago by Janko Marohnić <[email protected]>
Add "Eager Processing" blog post to the website

ab16cfb6bf6798bc0fe671b3a47b0e6420ae641c authored about 5 years ago by Janko Marohnić <[email protected]>
Extract thumbnail generation in demo app

97c291fe56f8b9b0795368322b44c59f801d6f7a authored about 5 years ago by Janko Marohnić <[email protected]>
Add HTML form example in quick start section

525b78f440cbf6f49bd0f97bb338471e3c34dbad authored about 5 years ago by Janko Marohnić <[email protected]>
Fix a typo in comment of direct uploads example (#441)

6b5db3725a3e73c456a1ae4052a4f9cab6cc9833 authored about 5 years ago by y-yagi <[email protected]>
Handle empty S3 objects in S3#open

Empty S3 objects won't have any content yielded.

Closes #440

73232b340e29c63bbd8d1f0a62ced1f68a9060a0 authored about 5 years ago by Janko Marohnić <[email protected]>
Bump to 3.2.0

dff57650b3cb98febdacf5455ab1159ff37977b6 authored about 5 years ago by Janko Marohnić <[email protected]>
Merge allow_reassign plugin into base

Prior to Shrine 3.0, it was possible to assign a stored file, which
would be a no-op. This enabl...

6988de9f1efaf0dbb54efb3ea0a0ee8f3318ceba authored about 5 years ago by Janko Marohnić <[email protected]>
Few more tweaks to the sponsors section

c251f2c62e101fca92da0bba950d50bf2e1dab34 authored about 5 years ago by Janko Marohnić <[email protected]>
Add sponsors section to the website

The styling has been copied from Docusaurus users list:

https://github.com/janko/docusaurus/blo...

a5ad5ac5f29c5c434ebdf6b934ade9afabcb0449 authored about 5 years ago by Janko Marohnić <[email protected]>
Inline fetching filesize in test data example

de49d651533c183d9e02edc9050c0e661d35898b authored about 5 years ago by Janko Marohnić <[email protected]>
Improve docs around derivatives

* be more explicit in getting started guide
* add more details in upgrading guide

416d9a9b62c891add67621aa031192cff4586194 authored about 5 years ago by Janko Marohnić <[email protected]>
Simplify @previous handling

Originally, the "@previous" variable was holding the uploaded file
directly. In order to disting...

a5784a7c5ad264233d43aa7f8b1b3ef94a426f5a authored about 5 years ago by Janko Marohnić <[email protected]>
Add example with previous file in remove_invalid docs

8a26cc14a1b122408cdbb07ce38192536c086d1f authored about 5 years ago by Janko Marohnić <[email protected]>
Improve testing.md (#438)

See comment in changed parts.

5438f0dccf31d9f436ed09006354ff022332230d authored about 5 years ago by natydev <[email protected]>
Stop testing with Aws::S3::Encryption::Client

It seems that Aws::S3::Bucket.new doesn't work with an
Aws::S3::Encryption::Client anymore in ne...

15bd63223ec35003b644720d47f752b123876830 authored about 5 years ago by Janko Marohnić <[email protected]>
Make remove_invalid plugin work with derivatives

There were three plugins overriding Attacher#change:

* derivatives
* validation
* remove_...

98fbcb04ac4316ee13afc21916317b82824e995c authored about 5 years ago by Janko Marohnić <[email protected]>
Fix typo in getting started

70d294f72e1515a80ed7bbc91ab7a5e847181621 authored about 5 years ago by Janko Marohnić <[email protected]>
Titleize "Securing Uploads" guide

9f62e9452467dee984f1af5cbb6c1dc6ea3d2939 authored about 5 years ago by Janko Marohnić <[email protected]>
Add section about conditional derivatives

This is a pretty common requirement, but in the derivatives plugin
documentation it's buried und...

a9c6ff9678c4e99366e2752d74fa91776d44fb36 authored about 5 years ago by Janko Marohnić <[email protected]>
Commit auto-updated en.json after the wiki link

5d41c181d22beb36e5775687a41bde1060deb7c2 authored about 5 years ago by Janko Marohnić <[email protected]>
Tweak the processing guide

* add missing libvips links
* show more ImageProcessing operations
* move automatic processing t...

304f5e7b77849ebf92781af6d238f323e439a4b5 authored about 5 years ago by Janko Marohnić <[email protected]>
Add type_predicates plugin

General predicates
==================

The plugin adds predicate methods to UploadedFile objects...

6e93cb29a87fa9a2e771a8692868281f74187b12 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix Mongoid link text to match link destination in Paperclip migration guide (#435)

0ccbe592b2e4d51cb54a65a12038e44ec1be6420 authored about 5 years ago by Nathan Ehresman <[email protected]>
Fix examples for disabling backgrounding

The Symbol#to_proc doesn't work because the arity of that block is "-1",
so the block gets insta...

0ba15ce0d2b7802eb1b6d5efaa1a415e01ba7c9a authored about 5 years ago by Janko Marohnić <[email protected]>
Show how to disable backgrounding on the class level

4bae134c90afbbe54fcf996139998f4603904b8f authored about 5 years ago by Janko Marohnić <[email protected]>
Open external header links in a separate tab

ced21d8b8ab4515f2549d3a0316ee53366401dc7 authored about 5 years ago by Janko Marohnić <[email protected]>
Link directly to ImageProcessing backend docs

a600321148e91f6085edfe78b2f847beab7e1e88 authored about 5 years ago by Janko Marohnić <[email protected]>
Add link to the wiki to the website header

92bc6a6e3d11a27beacb619bcf23e09a8e338081 authored about 5 years ago by Janko Marohnić <[email protected]>
Add allow_reassign plugin (#432)

When coupled with a SPA, some users want to treat the attachment
attribute as a permanent resou...

6c7e8c336abd2915efbe221621905d9bec5d4584 authored about 5 years ago by Janko Marohnić <[email protected]>
Add back the CodeFund ad

It has now been re-styled to look nicer (thanks to @hmistry), so we're
adding it back. We'll see...

35d236a41a010b4f1360da9003c75bea374042fd authored about 5 years ago by Janko Marohnić <[email protected]>
Add a little styling to CodeFund ad (#433)

Add some styling to help separate the ad from the Shrine content without
being too distracting.

83ed5434d8784279210ca163d6d49a42675716a8 authored about 5 years ago by Hiren Mistry <[email protected]>
Fix :derivative inconsistency when promoting derivatives

When derivatives are being promoted, because we're not calling
`#derivative_path`, the :derivati...

81c31820c784d361647b51adc4f50f948de80aee authored about 5 years ago by Janko Marohnić <[email protected]>
Show uploader-specific on-the-fly processing

It's confusing when eager processing is in the uploader, but on-the-fly
processing is outside. S...

61f36a6edda6e4654b30e78d16485c9e79a2c31f authored about 5 years ago by Janko Marohnić <[email protected]>
Improve the add_metadata docs

93cd4ea2bc68c589ff4385ca0ab01360181931c7 authored about 5 years ago by Janko Marohnić <[email protected]>
Add #add_metadata for updating file metadata

Sometimes users might want to update attached file metadata from the
outside.

d5c7d4dab0780c3c5f0714c2eb599df8379f5a9b authored about 5 years ago by Janko Marohnić <[email protected]>
Improve "Extracting Metadata" guide organization

04a0b26c5dd546a864e1b28c8aceb796828756e5 authored about 5 years ago by Janko Marohnić <[email protected]>
Add example of dynamic derivation

This is essentially how Active Storage transformations work, and I think
it's useful to have thi...

e307196dd61d7e0e081af8d15c79e3d0287f7053 authored about 5 years ago by Janko Marohnić <[email protected]>
Require shrine/version.rb last

It's the least important

fdfed1d8b12d19fc551d47d62bb255599225951d authored about 5 years ago by Janko Marohnić <[email protected]>
Minor documentation improvements

dfd26b51173daba50be5ba3b546562be07359316 authored about 5 years ago by Janko Marohnić <[email protected]>
Make external processing section more useful

Imgix and Cloudinary seems to be the most popular services, so these are
the ones we mention. We...

b250f5a0b93125216d33e787f36dc790c58112e0 authored about 5 years ago by Janko Marohnić <[email protected]>
mention S3 lifecycle rules in getting started clearing cache S3 example (#431)

226a59667eb2b7b7243c9c84cc710cce8ca43ab7 authored about 5 years ago by Jonathan Rochkind <[email protected]>
Add processing example for polymorphic uploader

This was asked about recently on the Discourse forum, and also once or
twice before on the Googl...

8f3fe5acf2b1aad462b033b2d62822fe61a395f6 authored about 5 years ago by Janko Marohnić <[email protected]>
Add :io and :attacher to derivatives event payload

This allows people to log additional information that might have
affected processing logic, such...

dde9633dfe08bf04dd5db707e5a244ea6548b27e authored about 5 years ago by Janko Marohnić <[email protected]>
Extract POST/PUT presigns into separate methods

c5c9bbd96e893cd6056b9b7f98cd6b8d4cd61523 authored about 5 years ago by Janko Marohnić <[email protected]>
Rename "processing up front" to "eager processing"

I believe the term "eager processing" much better describes what the
derivatives plugin does. Pr...

5524c2c87d1e27a1fe8b7d5409c8987e8c130b66 authored about 5 years ago by Janko Marohnić <[email protected]>
Add section about URL fallbacks

It has been asked how to create a fallback for missing derivative to
show the original URL. When...

82e641834e7f5275ffe264a20ffa65ef20e9d4a7 authored about 5 years ago by Janko Marohnić <[email protected]>
Tweaks to the File Processing guide

* use global derivation_endpoint registration
* make backgrounding titles more explicit
* move p...

e8434dbdd0923c03415b46a3f9377144f3424d04 authored about 5 years ago by Janko Marohnić <[email protected]>
Show in attacher blocks that attached file is available

For derivatives and default_url plugins it's very possible that someone
will want to make decisi...

fa229b91b2ec4621a6adf48a1506ed6ee81ccb46 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix parameter in getting_started docs (#430)

bb1798fd4a91c09d9fd8de8711493a072cc5b126 authored about 5 years ago by btrewern <[email protected]>
Improve docs around generating location

e27bb55396fb259efbe2496fca24c2630bd11267 authored about 5 years ago by Janko Marohnić <[email protected]>
Expand the design guide

4b4fa3bf04bcbb271901362b6ccb10387571871f authored about 5 years ago by Janko Marohnić <[email protected]>
Add "Introduction" and "Upgrading" guide sections

2dfadb6664617b835b79320ce7f2fd7bf53a0d0b authored about 5 years ago by Janko Marohnić <[email protected]>
Remove CodeFund ad

It's currently generating less than $2 per month, which is not nearly
enough to justify having i...

1fe5acfa621beab0ecaa9931fb70e7a50e15fc7c authored about 5 years ago by Janko Marohnić <[email protected]>
Show Shrine.upload_endpoint in documentation

This is in line with presign_endpoint and derivation_endpoint, and is a
simple configuration sty...

55a4011c46faa14d9e5474b39d6e961525ca364a authored about 5 years ago by Janko Marohnić <[email protected]>
Improve S3 documentation

* link to alternative authentication methods
* show how to make *some* uploads public
* expand p...

33a371073b668517066e8182d15fb0f94f30cb1c authored about 5 years ago by Janko Marohnić <[email protected]>
Add Memory storage documentation

29ad71c8c3a52cacdcc274b0553389efba74f06c authored about 5 years ago by Janko Marohnić <[email protected]>
Add "Upcoming Features in Shrine 3.0" to articles

ee203fc08ce56cac39ec5356a4967f4a7fa1e1f8 authored about 5 years ago by Janko Marohnić <[email protected]>
Provide description for external extensions

d1eb12049a8c93b5d15721964137ea701a908979 authored about 5 years ago by Janko Marohnić <[email protected]>
Bump to 3.1.0

66108b05ca84dbc963158a55683673adb5cf4018 authored about 5 years ago by Janko Marohnić <[email protected]>
Always return symbols in Attacher#cache_key & Attacher#store_key

Rubyists sometimes treat strings and symbols indifferently when doing
interpolation, and this ...

2badc2382569868d2f482879770e0b1c25961f2e authored about 5 years ago by Janko Marohnić <[email protected]>
Minor tweaks in "Getting Started" guide

15571bfeba983e55c5d3ede30aa417b13b74112d authored about 5 years ago by Janko Marohnić <[email protected]>
Clarify a bit better how metadata_attributes and refresh_metadata plugins work

a793d2bc2d550afe32cfd32e25cd0daa03871556 authored about 5 years ago by Janko Marohnić <[email protected]>
Improve derivatives docs organization a bit

Separate out the "Quick start" section. We also emphasize difference
between attachment and atta...

b4f4b0930944cac26a0d53a88bdaae37e4f67d6d authored about 5 years ago by Janko Marohnić <[email protected]>
Show derivation deletion with backgrounding

This is better as it doesn't require monkey-patching Shrine, and is
something people should be u...

1c5baab649c54c0fd131279639daa26b6828af8b authored about 5 years ago by Janko Marohnić <[email protected]>
Make "Uploaded file" section more explicit

8a975f64dd13f28a6085372b374e1c17b57d7555 authored about 5 years ago by Janko Marohnić <[email protected]>
Show simpler derivation_endpoint config

This configuration avoids the user having to mount a derivation endpoint
for each uploader. The ...

a00beb3dd40fa180dd84d35ee8241c983b2edbf2 authored about 5 years ago by Janko Marohnić <[email protected]>
Break down migration steps into sections

ae0e90040a97ac4cd69a8a8f328d727b2fa0705d authored about 5 years ago by Janko Marohnić <[email protected]>
Fix method call typo in Paperclip guide

Closes #429

f8af4e4040afbe67f0f7d963e6f9e44468bad17d authored about 5 years ago by Janko Marohnić <[email protected]>
Fix variable shadowing in Paperclip guide

9dc15b0019bc1c84968151cf9822bdaf19820d93 authored about 5 years ago by Janko Marohnić <[email protected]>
Define add_metadata methods only for the target uploader class

If we define metadata methods on the FileMethods module, all of these
methods will be shared for...

87d5ed8a5a803601a4d39a10e21ba74de398b2f5 authored about 5 years ago by Janko Marohnić <[email protected]>
Update copyright year to 2019

71795833826c7cda4eeccbd32f492e077bec1483 authored about 5 years ago by hmistry <[email protected]>
Merge pull request #427 from Jeanluis019/master

Fix typo in refile.md and carrierwave.md

bcc9e50f5d0126780a013104cc1c563b988220cd authored about 5 years ago by Hiren Mistry <[email protected]>
Update carrierwave.md

f8c77e6d629dcbb0b3269d80b1a678ab34ab85ad authored about 5 years ago by Jean Luis Lopez <[email protected]>
Fix typo in refile.md

f15957cff407d50e822e97624c35889b06b8ddfa authored about 5 years ago by Jean Luis Lopez <[email protected]>
Add :storage option to Attacher#create_derivatives

Ability to specify destination storage is common enough that we want to
make it as convenient as...

183e22e56c3151d991770eb98bfbca65e07e2f52 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix typo in paperclip document (#426)

bff2c901e4897121757d97ec05921ff9bd946741 authored about 5 years ago by Jean Luis Lopez <[email protected]>
Set up sponsorship button

4c1e6b20c28f1f060db486e0c8922cada95ffccf authored about 5 years ago by Janko Marohnić <[email protected]>
Link again to advantages in the README

7951b9514f0513a31a04f6f62c9a9b8e3f20dd60 authored about 5 years ago by Janko Marohnić <[email protected]>
Propagate exceptions on loading ruby-vips in store_dimensions plugin

Loading the ruby-vips library can fail with errors other than LoadError
when the libvips package...

f4084ae7421e68d2fe57b0572bd2631d8beb1cbc authored about 5 years ago by Janko Marohnić <[email protected]>
Fix tests after aws-sdk-s3 upgrade

Aws::S3::Bucket#objects now uses the `list_objects_v2` operation for
listing S3 objects, so we u...

1bd310de54db57df14abc9824803929ef9ef69b3 authored about 5 years ago by Janko Marohnić <[email protected]>
Hack search bar multiple alignment on iOS

My iPhone 5S still shows the search bar not being correctly vertically
aligned. I'm not sure why...

7b3186ff52f58b9c827d2ffd9d62ac5664b4e148 authored about 5 years ago by Janko Marohnić <[email protected]>
More styling fixes on the website

* Fix vertical positioning of search bar on Safari
* Fix buttons vertical padding on Safari

7b912abd42d58ce749cc10b32f22f4321818b503 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix minor typo in validation_helpers.md (#425)

0efdc044b44ebf52165cfc5d36f4ebfac181ef0f authored about 5 years ago by Tobias L. Maier <[email protected]>
Reduce logo size in the README

f0192d1d8cbfd2e4a6c6743208e1fe19ff779f4b authored about 5 years ago by Janko Marohnić <[email protected]>
Display logo in the README

f2714724ec3c3bed76f22fdf5950b2d1ad4c8eb5 authored about 5 years ago by Janko Marohnić <[email protected]>
Fix styling of home splash and footer on mobile

Add padding around buttons so that they don't hit each other when they
break into the new line.
...

cab673a3d200402f4abcf9dbd5754fb5a9e24fad authored about 5 years ago by Janko Marohnić <[email protected]>
Add CodeFund ad

CodeFund.io might help with funding of Shrine, so we add it to the
website. From all the possibi...

b9daa4f78cffceb5b96213f54e423b1621356c6e authored about 5 years ago by Janko Marohnić <[email protected]>