1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Javan Makhmali
39bfc836b8 Configure per-service request headers for direct uploads (#83)
* Configure per-service request headers for direct uploads

* Fix header hashes
2017-07-30 10:00:55 -05:00
David Heinemeier Hansson
92536c08d5 Document the rest of lib 2017-07-24 15:36:33 -05:00
George Claghorn
52eed68e39 Verify direct upload checksums
Closes #74.
2017-07-24 12:41:34 -04:00
David Heinemeier Hansson
69922fc715 Everything under app/ is eager loaded, don't want that for service
Since it references all the specific cloud services that are intended only to be loaded on demand.
2017-07-24 08:48:42 -05:00
David Heinemeier Hansson
d50679f4ee Move models and jobs to the app setup
Follow engine conventions more closely
2017-07-22 09:47:24 -05:00
Michael Herold
be526d16fe Add direct upload support to GCS service 2017-07-17 09:17:09 -04:00
dixpac
c49c56b469 Revert back to the original implementaion with varaibles
Revert `exist? and url` to the original implementation.
Since the new one doesn't provide any benefits and makes implementation
harder to follow.
2017-07-14 20:46:02 +02:00
dixpac
2a738b31c5 Remove few ivars from gcs_service implementation 2017-07-13 20:43:29 +02:00
Chris Smith
afb7047e52 Update GCSService#url
Update google-cloud-storage dependency to 1.3
Refactor arguments to Google::Cloud::Storage::File#signed_url
2017-07-12 10:01:12 -06:00
David Heinemeier Hansson
4bfe7af68f Instrument and log the services 2017-07-09 17:04:28 +02:00
George Claghorn
ddcd6df27f Use safe navigation 2017-07-06 17:27:08 -04:00
George Claghorn
1a5219ce87 Style 2017-07-06 14:25:14 -04:00
Stanislav Gospodinov
d065a68616 Adding server side integrity check for GCS Service 2017-07-06 19:14:10 +01:00
David Heinemeier Hansson
894e1e3183 Check integrity after uploads 2017-07-06 16:01:11 +02:00
David Heinemeier Hansson
152c4b0724 Compute checksum and byte_size client side
Then we can add integrity checks on uploads to prevent errors in
transport.
2017-07-06 15:38:01 +02:00
David Heinemeier Hansson
6de714a0ea Remember to add streaming 2017-07-06 15:35:58 +02:00
David Heinemeier Hansson
35d5bddabc Rename from Site to Service now that we're called Active Storage 2017-07-06 12:22:44 +02:00
Renamed from lib/active_storage/site/gcs_site.rb (Browse further)