aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_storage/service/s3_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "S3: slim down service implementation (#40)" (#41)David Heinemeier Hansson2017-07-121-24/+36
| | | This reverts commit 6d3962461fb8d35fc9538d685fee96267663acf2.
* S3: slim down service implementation (#40)Jeremy Daer2017-07-111-36/+24
| | | | | | | * Use simple core API for duck-type compat with other clients * initialize: accept an existing client * initialize: accept arbitrary client args instead of a fixed, required set * download: use native get_object streaming, no need to implement range requests * exists?: use head_object (which returns immediately) rather than waiting for existence
* Direct uploads for S3David Heinemeier Hansson2017-07-091-0/+11
|
* Instrument and log the servicesDavid Heinemeier Hansson2017-07-091-9/+29
|
* Ensure binary encoding for downloadingDavid Heinemeier Hansson2017-07-091-1/+1
|
* Fix testGeorge Claghorn2017-07-061-0/+2
| | | | | | | * S3 fails fast if the Content-MD5 header on an upload request is an invalid checksum. Send a valid but incorrect checksum. * Rescue the service-specific exception and raise the generic one.
* Send checksum to S3 to verify file integrityJohn Williams2017-07-061-2/+1
|
* Fix hash usage consistency.Ra'Shaun Stovall2017-07-061-1/+1
| | | | | | | Unless this was intentional, being consistent with: https://github.com/rails/activestorage/blob/master/lib/active_storage/service/s3_service.rb#L8 Just showin' a lil' <3 while perusing the repo @dhh
* Check integrity after uploadsDavid Heinemeier Hansson2017-07-061-1/+2
|
* Need the byte helpersDavid Heinemeier Hansson2017-07-061-0/+1
|
* Compute checksum and byte_size client sideDavid Heinemeier Hansson2017-07-061-10/+0
| | | | | Then we can add integrity checks on uploads to prevent errors in transport.
* We have the technology!David Heinemeier Hansson2017-07-061-1/+1
|
* Rename from Site to Service now that we're called Active StorageDavid Heinemeier Hansson2017-07-061-0/+63