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
The remote_url validation errors had a bug where if a file was
previously set, for any new remot...
Some web frameworks can parse JSON query parameters into a Hash, so we
want to support this case...
0e32b6b4bdb8ba6d4c9af0a4b634e63557256d26 authored over 9 years ago by Janko Marohnić <[email protected]>
Now UploadedFiles have hash equality defined, so their identity can be
checked in Hashes, Sets a...
c879f14e09b74988e4a5aa4639fd444ba7e720e3 authored over 9 years ago by Janko Marohnić <[email protected]>
6bfa7dfa8735bd3f7e383a8978368dd1dad089b0 authored over 9 years ago by Janko Marohnić <[email protected]>
5a00c3fe89670a3c994852fd8bd658afd9c38005 authored over 9 years ago by Janko Marohnić <[email protected]>
The Utils module isn't part of the core, and isn't overridable. It
provides a helper for downloa...
ccac6d8e4b28d027c81af55f18589bad7eb1e615 authored over 9 years ago by Janko Marohnić <[email protected]>
* Validation happens only when attachment is assigned
* Validation is loudly refused when versi...
e73f3f08f3c935c717a77d00babc43a94563da96 authored over 9 years ago by Janko Marohnić <[email protected]>540604ed92283fd74f479c2d9779b910ca0379a0 authored over 9 years ago by Janko Marohnić <[email protected]>
1e75030e2be4c883b7ac33091af6a25e8eaf2dd1 authored over 9 years ago by Janko Marohnić <[email protected]>
3bc05246ae240635bee8869a2fd873f0394f7142 authored over 9 years ago by Janko Marohnić <[email protected]>
We remove the cumbersome checks as well, because if a user doesn't
follow the contract, in any c...
When people say "soft delete", they mean a scenario where instead of
deleting a record, the reco...
It's much more convenient to have the library required by itself,
because it's strange to have t...
Current assumption that attachments are cached in "<attachment>_data"
tag was wrong, because the...
f74eada5376205ac42043d10388ccd51f703a0bc authored over 9 years ago by Janko Marohnić <[email protected]>
By generalizing this plugin we could incorporate filemagic as a content
type library as well, an...
c01d7f27de09ff4c574e1c040042689d67f07b97 authored over 9 years ago by Janko Marohnić <[email protected]>
This looks weird and it reminds me of the Rails' style that I don't
like. This doesn't remove an...
Often people will want to process files without generating versions, and
in that case they shoul...
f4a05e2035bffd6c91f3d3540077fac482a2bdae authored over 9 years ago by Janko Marohnić <[email protected]>
2ced3508456dbab855af423e29540313b2d8be5b authored over 9 years ago by Janko Marohnić <[email protected]>
f61cba990f6704115479b8d10183991c9e1f754f authored over 9 years ago by Janko Marohnić <[email protected]>
fb33287520a906303f8d2068a6200b42dbf43967 authored over 9 years ago by Janko Marohnić <[email protected]>
7c94a4d9c351a1441e59d21ad8828706ecda389f authored over 9 years ago by Janko Marohnić <[email protected]>
b2ced8156feab7de1452d4a9942af2c38a91f783 authored over 9 years ago by Janko Marohnić <[email protected]>
1f6185297ec9c9bae1d31ebb9ab91772b4a58aae authored over 9 years ago by Janko Marohnić <[email protected]>
f7e777ef62d24c52e7ce2314dcb195c46d83f5c6 authored over 9 years ago by Janko Marohnić <[email protected]>
This is really nice to have out of the box, users may think they don't
need it, until they do an...
This plugin also doesn't bring any new functionality, it's simpler to
just override Uploadie#def...
This plugin didn't add any new functionality, it was only a wrapper for
method overriding. We wa...
ce3e78f0ba7b2e9a803275b304e3396a5306cc6f authored over 9 years ago by Janko Marohnić <[email protected]>
6a1b5e856cc68de405398b4172774f1532d5728a authored over 9 years ago by Janko Marohnić <[email protected]>
This is useful for APIs, so that we can reference the URL by a single
method name. It's also use...
6be8ccdb356a93589626dd61790fbbed4bd2185d authored over 9 years ago by Janko Marohnić <[email protected]>
e199b308522cb684e183c33a6b8b84ee30ac2ff8 authored over 9 years ago by Janko Marohnić <[email protected]>
The reason why we're adding it to core is that the upcoming Attachable
can already count on it, ...
This plugin is used to override default generating of locations. The
generator also receives a c...
Before this change we were able to pass through a type of the image, and
occasionally a version ...
This plugin allows processing files before uploading. You can either do
1-1 processing where you...
This plugin enables passing a hash of file versions, getting the same
hash back, only with the f...
Currently this plugin only gives the ability to pass an array of IOs to
Uploadie#upload. But lat...
It is contract for storages that #download should always return a file
on the filesystem (so tha...
Accidentally copy-pasted it from MiniMagick.
049794986ebafcbc9fb39a309c9055959522a2ec authored over 9 years ago by Janko Marohnić <[email protected]>
After uploading we're also potentially extracting metadata, so the file
should be in the same st...
I think this is a good convention, because it can happen that we have a
storage which requires a...
4c06857fa29768c98a2987a4bc30f935e1052a5c authored over 9 years ago by Janko Marohnić <[email protected]>
I first thought storages will simply be registered as a hash, and that
users will always specify...
e55bd83f94446d9497fcec8fc6a42eb4767da06a authored over 9 years ago by Janko Marohnić <[email protected]>
8fe0a3e7984e02f180848e642536a671d7023e26 authored over 9 years ago by Janko Marohnić <[email protected]>
This convention allows storages to generate their own location,
regardless of what location was ...
dabc5342ddc8bdb75e172d49d92bccf16643ef75 authored over 9 years ago by Janko Marohnić <[email protected]>
Later we will have a symbol_location plugin, which will allow symbols to
be passed as location, ...