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

Minor style tweaks in rack_response plugin

9abc4446f01eb6c7aee8b49a3be6290eeaf2c1f5 authored almost 6 years ago by Janko Marohnić <[email protected]>
Open the UploadedFile immediately in #to_rack_response

This way any Storage#open failures will be raised inside the
`#to_rack_response` method, not whe...

bb611fe7bdf068ccc862bc465c18289116e08e76 authored almost 6 years ago by Janko Marohnić <[email protected]>
Cross-reference plugin files with plugin docs

ed75044de001a908dccb8111089eddba8ef742fd authored almost 6 years ago by Janko Marohnić <[email protected]>
Merge pull request #347 from shrinerb/fix_doc_s3_link

fix doc link to S3 lifecycle docs

478773f1192d23040f1b32a3d6589a5f67a1f387 authored almost 6 years ago by Hiren Mistry <[email protected]>
fix doc link to S3 lifecycle docs

b308e1729c52556b0228e95d3b61be42db461404 authored almost 6 years ago by Jonathan Rochkind <[email protected]>
Fix RDoc links on the website

ac6aba7138652aafeb57eb72fdb4ea970da5f5cd authored almost 6 years ago by Janko Marohnić <[email protected]>
extract_metadata in StoreDimensions should have optional second arg (#345)

bbf8c85ef586b527247df1ed28e28365f14f6f3c authored almost 6 years ago by Jonathan Rochkind <[email protected]>
Some more JRuby test failure fixes

4c0b8ba926c575c42c66ee09a31555aaeb593766 authored almost 6 years ago by Janko Marohnić <[email protected]>
minor doc typo, option is `upload_options` (#344)

ee1ced8c99531cbd90df13e75c64953c1e07419a authored almost 6 years ago by Jonathan Rochkind <[email protected]>
Add some inline documentation to the derivation_endpoint plugin

42d44579a1f8d589a1664d586826432239e2c825 authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix broken link in release notes

fbb4cea7b6d8c148cf42356b73658136ab63cd47 authored almost 6 years ago by Janko Marohnić <[email protected]>
Skip test randomly failing on JRuby

8696a36fd4e878a97e03fa7b1de15754e6cf0344 authored almost 6 years ago by Janko Marohnić <[email protected]>
Bump to 2.15.0

94b294279f1803de0c622b2faf38e718f292e388 authored almost 6 years ago by Janko Marohnić <[email protected]>
Few more documentation fixes and tweaks

b2ebf9481c03273c6b22b547475e345480faedcf authored almost 6 years ago by Janko Marohnić <[email protected]>
Try to generate correct doc links

0f0a0ba40899bfa4d86d11ba1cf7cd2eb6ee5290 authored almost 6 years ago by Janko Marohnić <[email protected]>
Another test skip for JRuby

f8c87f4597587fb3a5850edd00ac438c94771ea1 authored almost 6 years ago by Janko Marohnić <[email protected]>
Move :cache_control to Derivation option and simplify it

It's not necessary to allow users to override Cache-Control directives
individually using a Hash...

31a3df3f1a5fca0ee72e4e7bc3a39ffd74f8b54a authored almost 6 years ago by Janko Marohnić <[email protected]>
Add derivation_endpoint plugin to the general docs

e541a30de31c0fc6a32b9052439d4c589aa79b26 authored almost 6 years ago by Janko Marohnić <[email protected]>
Lock sqlite3 to the version Active Record requires

a30fe714ba3d26f4a478285918ab205a27dba154 authored almost 6 years ago by Janko Marohnić <[email protected]>
Minor improvements to the derivation_endpoint docs

c2ef9c080e9e88002c8a65ae865c2a53ec9454a9 authored almost 6 years ago by Janko Marohnić <[email protected]>
Add anchors to links to markdown documents

3edabbe7e66c221bf1b8fab208995520eabdcf46 authored almost 6 years ago by Janko Marohnić <[email protected]>
Titleize plugin names in markdown documents

10836c8ccd78a33b1cb589d638aa1e0e1d5d1dc9 authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix broken links in CONTRIBUTING.md

4e47181cc975026d0ee1057e8b1eba2047fcc487 authored almost 6 years ago by Janko Marohnić <[email protected]>
Link to markdown docs on directly on GitHub

GitHub has a much nicer markdown formatting than the hanna-nouveau rdoc
formatter, so there is r...

3ed7df02220c52764601f020d379dc72e48623d3 authored almost 6 years ago by Janko Marohnić <[email protected]>
Extract plugin documentation into markdown docs

The vast majority of plugins don't have useful method documentation, so
it doesn't make sense to...

be18929e33f48d16192c9954c059a1315b33127d authored almost 6 years ago by Janko Marohnić <[email protected]>
Skip failing test on JRuby

I've reported this issue in https://github.com/jruby/jruby/issues/5539,
so all we can do is wait...

50069f6fa610cd472b4d1f4c1932326d4af616e7 authored almost 6 years ago by Janko Marohnić <[email protected]>
Change "janko-m" username to "janko"

89974a00aa23878adca0f7ca27efd2690a3884fa authored almost 6 years ago by Janko Marohnić <[email protected]>
Add derivation_endpoint plugin for on-the-fly processing (#342)

b73ec26ad4eac6ef83a554a05f8abbbc4b85a8cd authored almost 6 years ago by Janko Marohnić <[email protected]>
Extended determine MIME type with Marcel

Marcel based on gem MimeMagic with has problems with some MS Office files https://github.com/min...

b1e5d8362a8204e287d1609b580ccb90f8f009d6 authored almost 6 years ago by Kamil Skrzypiński <[email protected]>
Remove signing support from the _urlsafe_plugin

This will be built into the new derivative plugin directly.

78af78c72d632ed754d705e61f65a8e3aaeb0165 authored almost 6 years ago by Janko Marohnić <[email protected]>
Fix ImageOptim example

ImageOptim#optimize_image is not safe, as it returns a path from a
Tempfile object, without keep...

110ec2527429e1bcf27e9386a0598190e938aad4 authored almost 6 years ago by Janko Marohnić <[email protected]>
Make hashes breathe in more places

d619ac7f316cd4c9d183e3cd17ac9cef3653c26a authored almost 6 years ago by Janko Marohnić <[email protected]>
Don't return cached app instance in Shrine.download_endpoint

In Shrine 3 the download_endpoint plugin will not use Roda anymore. So
we make the first step by...

c7e3b5ead1300d855e134cbc43bb134315342a98 authored almost 6 years ago by Janko Marohnić <[email protected]>
Yield new File on Shrine.with_file with tempfile plugin

If Shrine.with_file yields the UploadedFile#tempfile object directly,
then it's not thread-safe,...

a0e4fa856e5782e7cc186c26ccf8cf37764accda authored about 6 years ago by Janko Marohnić <[email protected]>
Link "GraphQL file upload with Shrine"

dd957302c4f698a6b274579bb782918d862ad877 authored about 6 years ago by Janko Marohnić <[email protected]>
Bump to 2.14.0

8013b55f86f3de65f0aaabaf4c34b2b5ce6660b7 authored about 6 years ago by Janko Marohnić <[email protected]>
Write "Retrieving Uploads" guide

87c8459a164fff36815257facc41e64d562a5387 authored about 6 years ago by Janko Marohnić <[email protected]>
Add tempfile plugin

The tempfile plugin makes it easier to reuse the same copy of the
uploaded file on disk during p...

a380f7eb94b4e753a97efc9bd65a11bf97340d72 authored about 6 years ago by Janko Marohnić <[email protected]>
Remove some unnecessary things in "Extracting Metadata" guide

ed2a467a7b3d703afbee153ee1d002a8f0f2f7cb authored about 6 years ago by Janko Marohnić <[email protected]>
Don't re-open already open uploaded file in refresh_metadata plugin

This allows re-using the same opened file for extracting metadata and
for processing during back...

d6b5726c535625f18429551d55d45d67511b4242 authored about 6 years ago by Janko Marohnić <[email protected]>
Define UploadedFile#close after #rewind

c612ce28eae72263d4cd2b471ae9504f09e9a6c6 authored about 6 years ago by Janko Marohnić <[email protected]>
Fix test failing on JRuby

See https://github.com/jruby/jruby/issues/2380

da2ac8203bec2305d0a0c24e96d1eff7c32d9ee1 authored about 6 years ago by Janko Marohnić <[email protected]>
Fix latest activerecord-jdbcsqlite3-adapter not being installable

Since version 52.0, activerecord-jdbcsqlite3-adapter doesn't ship with a
"ruby" version of the g...

b640ca1635df820cca52b747d6b69b011fdb9b87 authored about 6 years ago by Janko Marohnić <[email protected]>
Add MRI 2.6 to Travis CI

3cbb192862e84d8dc5d0a81b329f8f14db244d7c authored about 6 years ago by Janko Marohnić <[email protected]>
Drop support for MRI 2.1 and MRI 2.2

We've reached to a point where we need to add a runtime dependency that
only supports MRI 2.3 or...

267fdd413898ca90eec242a71684f906f2d1d1bf authored about 6 years ago by Janko Marohnić <[email protected]>
Fix Content-Disposition tests for download_endpoint plugin

dc303cb1a8bd6a04b68813db804405f8156053fd authored about 6 years ago by Janko Marohnić <[email protected]>
Fix Content-Disposition tests on older Rubies

97b48b716068ea6dc66a44cd4afa9b010dd8422d authored about 6 years ago by Janko Marohnić <[email protected]>
Test on JRuby 9.2.5.0

197000198ab1bc6c062b9d3b20b64c4c0eb2c1a2 authored about 6 years ago by Janko Marohnić <[email protected]>
Don't use ContentDisposition gem on older Rubies

7b67ead05b6539198141d14a1269b0b988cc1afc authored about 6 years ago by Janko Marohnić <[email protected]>
Fix backgrounding plugin when storages are changed via Attachment.new

Until now the backgrounding plugin worked when Attachment.new set a
different storage, but the :...

b8a79d1539b5b1d4f7d81115463e4df884a1bed6 authored about 6 years ago by Janko Marohnić <[email protected]>
Make urlsafe_serialization plugin private

The reason for extracting the urlsafe_serialization plugin from
download_endpoint was so that it...

a9e0dbd1a797450567a414c48cd51f1487c032d1 authored about 6 years ago by Janko Marohnić <[email protected]>
Don't clear existing definitions when loading some plugins

Previously loading the processing or add_metadata plugin would clear
any previous definitions. T...

b0030732522b9ff29950347da38ad94973683f71 authored about 6 years ago by Janko Marohnić <[email protected]>
Use ContentDisposition gem for formatting "Content-Disposition" header values

5e7a40787cbf5aca0102a2bc2056beb62b510382 authored about 6 years ago by Janko Marohnić <[email protected]>
Make FileSytem#clear! work with symlinked directories

FileSystem#clear! currently doesn't handle well the storage directory
being a symlink.

(a) With...

306f9a45f2fd74c8d342ef7d0646d7ff3f50bf3d authored about 6 years ago by Janko Marohnić <[email protected]>
Merge pull request #336 from v-kolesnikov/remove-unused

Remove unused variable from S3#initialize

35e8ddf9a91243ff81906827f1079d3fd4bd21c2 authored about 6 years ago by Hiren Mistry <[email protected]>
Remove unused variable from S3#initialize

Comes from 981ff8c3

6de7a7e04e7614727f99f29893a13b60ea1f4704 authored about 6 years ago by Vasily Kolesnikov <[email protected]>
Fix backgrounding + refresh_metadata + JSON column not working

If the following was true:

* attachment data column is a JSON column,
* backgrounding and refre...

33a85021c093836692b29f618f78be444a43e65c authored about 6 years ago by Janko Marohnić <[email protected]>
Don't mutate data in refresh_metadata plugin

When the data column is a JSON column, and we're using either Active
Record or Sequel ORMs, the ...

2ab09f372d298d73c9b3f6096670a8069658ee6b authored about 6 years ago by Janko Marohnić <[email protected]>
Remove Storage#download (#331)

When refresh_metadata plugin is used, UploadedFile#download using
Storage#download causes bad p...

950a12056b63706c1bdd949bb7c647b57cb4ac0b authored about 6 years ago by Janko Marohnić <[email protected]>
Fix tests for older rubies that still have Fixnum

7ab986a10e055d08b69a731f99b7af5dbe007b43 authored about 6 years ago by Janko Marohnić <[email protected]>
Refactor add_metadata plugin

This will make it easier to make the subsequent change that I want to
make. I also think it's ge...

5f9185db55b1859baf3a2b0a52d6e3faaccbc920 authored about 6 years ago by Janko Marohnić <[email protected]>
Use `binmode: true` instead of `rb` on File.open

9977435e4036d955f8117783c5a38fb911edd11c authored about 6 years ago by Janko Marohnić <[email protected]>
Avoid direct_upload plugin deprecation warning in tests

50472f748b4ed49f52285b2480ba723a7b894fcd authored about 6 years ago by Janko Marohnić <[email protected]>
Make minor style improvements and add changelog entry for previous commit

bd54eb83d3fc43c347894ff9928c912de014c314 authored about 6 years ago by Janko Marohnić <[email protected]>
Merge pull request #326 from shrinerb/extension_with_shrine_url

extract proper extension when id is a shrine-url with query params

ff39e3d46ca61fb04bdc7e9db899132ed285d7f4 authored about 6 years ago by Janko Marohnić <[email protected]>
extract proper extension when id is a shrine-url with query params

1ca136b5cb7f9c291c9600edab4a8c466ed7b56f authored about 6 years ago by Jonathan Rochkind <[email protected]>
Define links to Uppy S3 Multipart on the bottom of the file

546c919d676c85d8690f58bac13e3ce4959cd336 authored about 6 years ago by Janko Marohnić <[email protected]>
Convert interpolated method/ivar names to symbols

If we weren't using the interpolation we would be using symbols, so it
makes sense to use symbol...

8e7de61a8ee768eea892f9d9828ac2243b0624df authored about 6 years ago by Janko Marohnić <[email protected]>
Merge pull request #327 from shrinerb/doc_direct_s3

mention uppy_s3_multipart in doc/direct_s3

973dd2faf5079158ffd4db7cb05f250097c95724 authored about 6 years ago by Janko Marohnić <[email protected]>
mention uppy_s3_multipart in doc/direct_s3

67b84b86dfe3a346229de4a7797581304426e380 authored about 6 years ago by Jonathan Rochkind <[email protected]>
Merge pull request #325 from printercu/remove_dynamic_method_defs

Don't define methods dynamically to not clear ruby's method cache

21d18bf08a1f77d712b02dc3986ebab4390e5395 authored about 6 years ago by Janko Marohnić <[email protected]>
Merge pull request #324 from printercu/refactor

Use define_method instead of evaling strings

51a43066f76ba86e2a077f7ecbe7ae89e135bc66 authored about 6 years ago by Janko Marohnić <[email protected]>
Use define_method instead of evaling strings

8ffbc97aed293ecf034b6b77b2d034304b1d63d4 authored about 6 years ago by Max Melentiev <[email protected]>
Don't define methods dynamically to not clear ruby's method cache

d83415892ed34ffcbbe67b4efc52bb3100662b7d authored about 6 years ago by Max Melentiev <[email protected]>
Reorganizing after the previous refactoring

* Shrine files are required first, then standard library
* require in the order of increasing ab...

da17e087b5c9040170ac3ffba12fa3ffec792bb9 authored about 6 years ago by Janko Marohnić <[email protected]>
Consistently use attr readers in rack_response plugin

34e6db03cd43d92c21ae20bb5c63f529080d27f2 authored about 6 years ago by Janko Marohnić <[email protected]>
Improve consistency in #set_rack_response suggestion

2737de379116eed8eed30b4a7e13571a6b2af0f6 authored about 6 years ago by Janko Marohnić <[email protected]>
Merge pull request #320 from printercu/refactor

Inline Base plugin into core classes, extract them to separate files

158ce7b4f57f31bfb346752446219e5d7453c184 authored about 6 years ago by Janko Marohnić <[email protected]>
Merge pull request #321 from printercu/missing_gems

Make it easier to build rdoc locally

1bcab6696fbd976a44bd3c66ae3eea3a8007e131 authored about 6 years ago by Janko Marohnić <[email protected]>
Inline Base plugin into core classes, extract them to separate files

58d705bf209489fcdb3b7552e4194a9545b3a9b3 authored about 6 years ago by Max Melentiev <[email protected]>
Make rack_response plugin work with Rack::Sendfile

The frontend server (e.g. NGINX) can be configured to serve static files,
which lifts the burden...

9844bd05c9e07f2d7252b4a9793d334cbd0364e8 authored about 6 years ago by Janko Marohnić <[email protected]>
Compare return values instead of Method#owner

4fdb6b2d252e19981854566c9998397eef4092ec authored about 6 years ago by Janko Marohnić <[email protected]>
Fix test for MRI 2.4 or lower

On MRI 2.4 or lower #undef_method is private.

21d3ee55a127eb2968bae1e4e16d60d7fe6c67f8 authored about 6 years ago by Janko Marohnić <[email protected]>
Test that plugins can override base methods of core classes

This test will break if we were to inline base implementation directly
into the core classes. No...

73ec024dad9cb39b74dc97682b1f795c21203327 authored about 6 years ago by Janko Marohnić <[email protected]>
Make rake website:build work with rvm and run bundle install in www

af5ce1e77f983dcc2a324789d2c6dfe1717d1a48 authored about 6 years ago by Max Melentiev <[email protected]>
Add hanna-nouveau to Gemfile

79f5cff04cb2ec5a4669910bf024c1a8ff9e5fbe authored about 6 years ago by Max Melentiev <[email protected]>
Add :type and :filename options to #to_rack_response

When calling #to_rack_response provided by the rack_response plugin, the
content type and downlo...

7d27a111f5e0399e1b961de5976e1bb1d51dfa9f authored about 6 years ago by Janko Marohnić <[email protected]>
Add :host option for UploadedFile#download_url

The download_endpoint already has a global :host option. However,
sometimes it's useful to be ab...

4638c8fdc7e70cbb824badd150ec0e6b9bcefa30 authored about 6 years ago by Janko Marohnić <[email protected]>
Add documentation and changelog entry for the new urlsafe_serialization plugin

606b75c3a7f01ee7026299f9c6a620c6515f59ff authored about 6 years ago by Janko Marohnić <[email protected]>
Make urlsafe_serialization plugin work on MRI 2.2 and 2.1

696a0b417da9dea88756e1c8c34fb68d8af09ff3 authored about 6 years ago by Janko Marohnić <[email protected]>
Remove unused S3::MIN_PART_SIZE constant

This was left over from implementation of multipart uploads, which we've
since replaced with Aws...

590529e39ba3baf17bc6cbe23613b1c5a0ee7d65 authored about 6 years ago by Janko Marohnić <[email protected]>
Add support for S3 client-side encryption

This makes it possible to use Aws::S3::Encryption::Client for
client-side encryption:

client ...

981ff8c3631442b4b294ab5d60329c8070195212 authored about 6 years ago by Janko Marohnić <[email protected]>
Improve S3#presign documentation

ebb066b9c6bcb04b998792dd7cea704b4acfee97 authored about 6 years ago by Janko Marohnić <[email protected]>
Extract urlsafe_serialization plugin from download_endpoint

This functionality will be used in the upcoming derivate_endpoint
plugin.

8ac0188cddb7af49b70749eca62d79093fd0436f authored about 6 years ago by Janko Marohnić <[email protected]>
Move generating download_endpoint URL into a class

4b0e5d54e8cf9fd5399eaeaea24ee46aef70b392 authored about 6 years ago by Janko Marohnić <[email protected]>
Extract #to_rack_response implementation into a class

We want to avoid defining additional methods on Shrine core classes as
much as possible, to avoi...

4172a61b69d0e0ab862ba8177e87e98f98dc8c94 authored about 6 years ago by Janko Marohnić <[email protected]>
Fix a potential regression in the Attachment refactor

A user could be resetting the #<name>_attacher by setting the instance
variable to nil. In our r...

7b8aca9d3078d8a31bd6cce55c905886d60ae17c authored about 6 years ago by Janko Marohnić <[email protected]>
Merge branch 'printercu-use_known_attacher' into master

18e31a2b8001fb975c28488da981f1d43c55e27a authored about 6 years ago by Janko Marohnić <[email protected]>
Improve code style and add more Attachment tests

6f702230aaccd92cdf542aa184368da4a2773265 authored about 6 years ago by Janko Marohnić <[email protected]>
Make Attacher#stored? take an argument as well

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