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
to operate on arbitrary UploadedFile, instead of only currently attached (#get) one.
with inter...
88c23d54814568b04987680f00b6b36f421c8d81 authored about 6 years ago by Jonathan Rochkind <[email protected]>da59286645604d2f098b6ebb27a1e6ba1aa7704b authored about 6 years ago by Max Melentiev <[email protected]>
The user can now pass :filename to `Shrine.data_uri`:
io = Shrine.data_uri("data:,content", f...
203c2c9a0c83815c9ded1b09d5d006b2a523579c authored about 6 years ago by Janko Marohnić <[email protected]>658cd59567dc2303081724ad53d0de0430013949 authored about 6 years ago by Janko Marohnić <[email protected]>
Currently `Shrine.data_uri(io)` is returning a DataFile object, where
the #content_type attribut...
Now it's possible to reuse extracting MIME type from the #content_type
attribute via
Shrine.m...
738ea9440440678165c3c2be7a2225853f055027 authored about 6 years ago by Janko Marohnić <[email protected]>
The #content_type attribute of the input IO object, which equals to the
"Content-Type" request h...
This naming makes much more sense, as it makes it explicit how the MIME
type gets extracted. Als...
The whole point of the :default determine_mime_type plugin analyzer is
to allow users to confirm...
This way all scanning is done together in one sequence, instead of
sprinkled over the method.
Both S3#download and S3#open, in addition to the #get_object request,
are implicitly doing a #he...
042e0ff918ac5fdee468e6b8d87b41919e4d1931 authored about 6 years ago by Jonathan Rochkind <[email protected]>
57128603b1fdc84cc2f33d95c6010428b70c60f8 authored about 6 years ago by Janko Marohnić <[email protected]>
Require dependencies prior to initialising.
541a9a9fd9f052f5512021dc6f8f0a15b31f0902 authored about 6 years ago by Igor Alexandrov <[email protected]>The change was made in https://github.com/shrinerb/shrine/pull/304.
8e3ba1b3e65ba012d8406c120181a3ef743ecc6a authored about 6 years ago by Janko Marohnić <[email protected]>b77c229bc6bc2f1fd6560df097dcd5d4a65d6988 authored about 6 years ago by Janko Marohnić <[email protected]>
This section is now copied almost word-for-word from
https://docs.aws.amazon.com/AmazonS3/latest...
3ca5c3e801e20c05728980c645d08df5da57c386 authored about 6 years ago by Janko Marohnić <[email protected]>
c8fd9ecfb2d39af2d68e759be8c1b1cc5578b577 authored about 6 years ago by Jonathan Rochkind <[email protected]>
Before the change, it fails with a misleading error message mentioning
a missing `name` option....
0a35377c29fb5ff9b9ab990fa560e216865c4c9d authored about 6 years ago by Jonathan Rochkind <[email protected]>
bf6d8a8eff45b917a9c4b25ff2dd24546c2d9620 authored about 6 years ago by Janko Marohnić <[email protected]>
This conveys much better that we're using the endpoint of our app. It's
also shorter and doesn't...
Uppy 0.28 now passes cookies to presign requests to the Companion
endpoint, so now we can remove...
2f8216858a98dd43f07be8c58f315d8731a76123 authored about 6 years ago by Janko Marohnić <[email protected]>
RDoc doesn't support indented code blocks.
6d9dc742bd92443c68486985e46b3c4abc300c8b authored about 6 years ago by Janko Marohnić <[email protected]>7fda88aed2b356ed78a7190bd9bcff8f951b238a authored about 6 years ago by Janko Marohnić <[email protected]>
Some HTTP libraries rely on this information to return the response body
in correct encoding. On...
Rack's multipart parser will return filename in binary encoding if it
has any non-ascii characte...
It appears that the file command can also fail with a successful exit
status, in which case the...
Rack 2.0.x requires MRI >= 2.2.0.
a03cb9301f68863b291fc34d4a9c5e123c5fb2e4 authored about 6 years ago by Janko Marohnić <[email protected]>a6b8057d7eb0f11c6a9be2956c5db75f4bf3b7bc authored about 6 years ago by Janko Marohnić <[email protected]>
... to download endpoint plugin docs
517c998bffa7738af07695a1764ccddf24d240a1 authored about 6 years ago by Thomas Klemm <[email protected]>Now it's possible to do this:
s3.url("foo", host: "https://your-s3-host.com/prefix")
#=> "h...
This change was introduced in Shrine 2.11.0, but it causes a regression
when using an endpoint t...
7a0771616bd171704a8d893b6dda7220ee4c28de authored about 6 years ago by Janko Marohnić <[email protected]>
That way the behaviour doesn't change, you only get the additional
filename.
fetch() doesn't properly URI-encode some characters (such as "%"), so
when Rack receives the req...
c32da0260d97350330c69115399d1cab1c329708 authored about 6 years ago by Janko Marohnić <[email protected]>
b4b62c77d7e33b4923b0d5b877b3664557501947 authored over 6 years ago by Janko Marohnić <[email protected]>
fe2f6ade686325ac73728befc5c8ff1ac25634d4 authored over 6 years ago by Janko Marohnić <[email protected]>
abdec2b89801f9f9e564e67a1bad4fce1d4d86f1 authored over 6 years ago by Janko Marohnić <[email protected]>
We don't need the response we get when we set :success_action_status to
"201", we already have t...
No need to do it, it's just an example, showing setup is out of the
scope.
adaef7c46833412cd8bb4c15b474d8b0872883a4 authored over 6 years ago by Hiren Mistry <[email protected]>
Some people have asked for the ability to skip temporary storage and
upload directly to permanen...
05dc605de35ed76e938d6cd359a3fe1a3c8685c5 authored over 6 years ago by Janko Marohnić <[email protected]>
This makes it possible to do things like overriding metadata, specifying
upload location, or pas...
This commit adds the :metadata option to Shrine#upload for overriding
extracted metadata on uplo...
a87289af6bc3707005d6b14b8bab081f7bf16553 authored over 6 years ago by Janko Marohnić <[email protected]>
053e484e5b7c7b5af818b34c07966b0b322a295f authored over 6 years ago by Janko Marohnić <[email protected]>
ffcbf1e3f3d335fe2579a3f51bd9eb477935c9b8 authored over 6 years ago by Janko Marohnić <[email protected]>
* explain direct uploads in the README better
* show example of direct S3 uploads
* show how to ...
Add more advice on various strategies for metadata extraction.
7b3b71160aff6c1080d1ddb1f12c61534735488b authored over 6 years ago by Janko Marohnić <[email protected]>f58b228c1100b6f5d422fe915f208d815e1b769c authored over 6 years ago by hmistry <[email protected]>
ae40124dba21c7bad268f8ef98b7017bbc592ba8 authored over 6 years ago by hmistry <[email protected]>
Markdown parsers on GitHub and in RDoc don't handle hard-wrapped link
specifiers, so we make sur...
376dafe0c307fccbf4fa708f03444ef1ce4e4ef0 authored over 6 years ago by Janko Marohnić <[email protected]>
changelog entry
e0624d2c18d117287d36502392b5122c270efc35 authored over 6 years ago by Janko Marohnić <[email protected]>652380a84d299339968e9c7660d1d9d0dc4c4be1 authored over 6 years ago by Janko Marohnić <[email protected]>
0d5bded28003d99c6273413776c6ce59014c82da authored over 6 years ago by Janko Marohnić <[email protected]>
4648b9a9c3412c5c42cf516f153e115e1490468f authored over 6 years ago by Dan <[email protected]>
d5882cd3fbc8b858772c28e18b3f2f26a9ce2fc7 authored over 6 years ago by Jonathan Rochkind <[email protected]>
The libvips project repositories have been moved from the "jcupitt" user
to the "libvips" organi...
a74938acf5cedd405267661fb03a4fd175a52a91 authored over 6 years ago by Hiren Mistry <[email protected]>
1a7d1679c1425cd67a6a9e7306fbab8deea5d912 authored over 6 years ago by Janko Marohnić <[email protected]>
When wanting to serve private content through CloudFront, the S3 object
URLs need to be signed s...
Making uploads public consists of two things: setting "public-read" ACL
on upload and generating...
a26e0b6bb4a018e59bc041afb92c083e7ff2ce7a authored over 6 years ago by Janko Marohnić <[email protected]>
051f72622d4dc2dbce2f42e8e7c4251cd14ce8ab authored over 6 years ago by Janko Marohnić <[email protected]>
25cf8de92692b2c6b4016de6c2497062dc2701dd authored over 6 years ago by Janko Marohnić <[email protected]>
This is not necessary when doing direct uploads, because in that case
files are not actually upl...
aws-sdk-s3 1.14.0 added Aws::S3::Object#upload_stream, which uses
parallelized multipart upload ...
557d82b1a9fffbfebacf945ef890783667db95cf authored over 6 years ago by Janko Marohnić <[email protected]>
bd7360e8be64badd7a4a1b965f275aee78fb2cff authored over 6 years ago by Hiren Mistry <[email protected]>
af8d9a3e113b15f82254aa787c5240eec28e0215 authored over 6 years ago by Hiren Mistry <[email protected]>
This method does NOT, ever, "uses S3's multi delete capabilities."
c84c46976fc87e45101dc93ca53b8d8b0ab79c4b authored over 6 years ago by Jonathan Rochkind <[email protected]>
Date.now() returns the current time in milliseconds, but this isn't
strong enough to be a unique...
Aws::S3::Object#upload_file uploads multipart parts concurrently, so we
don't know in which orde...
7d7c7bff5933944aa083b5c2ac34470fb35eb09e authored over 6 years ago by Janko Marohnić <[email protected]>
caa1fb3594a34ab152000f69eae321395240226d authored over 6 years ago by Janko Marohnić <[email protected]>
The "Aws S3" Uppy plugin recommends a different CORS configuration than
the one we copied from R...
98e912d760e75d5056ee96968170cdbbabfe39b7 authored over 6 years ago by Janko Marohnić <[email protected]>
We also update the CORS configuration so that it works both for regular
and multipart uploads to...
a12d19195a668d605e0c2f0c1c838ab0d77dbd90 authored over 6 years ago by Janko Marohnić <[email protected]>
82bd92ce68c7c38cbfceb3dce3455f65832caa43 authored over 6 years ago by Janko Marohnić <[email protected]>
2012ee1fe243667d1e3a8461f9c8c0a1847143bb authored over 6 years ago by Juraj Kostolanský <[email protected]>
e99ef5fb77c70d1eac587cc3c8425dfef66960e1 authored over 6 years ago by Janko Marohnić <[email protected]>
9b957ffa09dd4956ef15b61f7e8bb513c52dd9c4 authored over 6 years ago by Janko Marohnić <[email protected]>
aws-sdk-s3 uses threads when doing multipart uploads, so the order of
parts can be different.
e6111d69811d4a510a295a4532d9e8d7863ee287 authored over 6 years ago by Janko Marohnić <[email protected]>
fbadabfe34387e67eff03e5ba407b4573394c27c authored over 6 years ago by Janko Marohnić <[email protected]>
d1ed5371261342ba7be18aac9616b4f560136fda authored over 6 years ago by Janko Marohnić <[email protected]>
f8628b6fb010abd16e92b2d6567a3be1889ced2c authored over 6 years ago by Janko Marohnić <[email protected]>
UploadedFile#open now always opens the file, meaning it will close an
already open file and reop...
Aws::S3::Object#upload_file does multipart upload in threads, so on
JRuby this test will fail if...
7bf60fafc2903c4d3d466280dac7fbd381b1d797 authored over 6 years ago by Janko Marohnić <[email protected]>
a4de658b4af8b85fedef7e4855aadf3c3ebe69bd authored over 6 years ago by Janko Marohnić <[email protected]>
b0ad106ae31a2f5270a8c3b12dc363ab7c91b393 authored over 6 years ago by Frédéric Planté <[email protected]>
979ad192b07fe80e23e71f971507824b30c4346f authored over 6 years ago by Andrew Hooker <[email protected]>