Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Disk storage: ensure URLs end with the blob filename since some user agents ↵ | Jeremy Daer | 2017-07-08 | 3 | -5/+5 |
| | | | | don't respect Content-Disposition filename | ||||
* | Merge pull request #15 from robin850/documentation | David Heinemeier Hansson | 2017-07-08 | 6 | -5/+100 |
|\ | | | | | Add some documentation | ||||
| * | Add some documentation | Robin Dupret | 2017-07-07 | 6 | -5/+100 |
| | | |||||
* | | Change type of created_at columns from time to datetime | George Claghorn | 2017-07-07 | 1 | -8/+8 |
| | | | | | | | | We intend to store a date and time, not merely a time. | ||||
* | | It is an engine (because of tasks) not a railtie | David Heinemeier Hansson | 2017-07-07 | 2 | -2/+2 |
|/ | |||||
* | Create db/migrate if it doesn't exist | George Claghorn | 2017-07-06 | 1 | -0/+1 |
| | |||||
* | Merge pull request #8 from robin850/fix-migrations | George Claghorn | 2017-07-06 | 1 | -1/+1 |
|\ | | | | | Fix the migration class name | ||||
| * | Fix the migration class name | Robin Dupret | 2017-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | Due to Active Support auto loading feature, the migration class shouldn't be name-spaced under the `ActiveStorage` constant, otherwise, running the migrations would throw an error. | ||||
* | | Use safe navigation | George Claghorn | 2017-07-06 | 1 | -1/+1 |
| | | |||||
* | | Remove unnecessary method delegations | George Claghorn | 2017-07-06 | 1 | -1/+1 |
|/ | |||||
* | Fix test | George Claghorn | 2017-07-06 | 1 | -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. | ||||
* | Merge branch 'master' into s3_integrity | John Williams | 2017-07-06 | 1 | -2/+3 |
|\ | |||||
| * | Style | George Claghorn | 2017-07-06 | 1 | -5/+3 |
| | | |||||
| * | Adding server side integrity check for GCS Service | Stanislav Gospodinov | 2017-07-06 | 1 | -2/+5 |
| | | |||||
* | | Send checksum to S3 to verify file integrity | John Williams | 2017-07-06 | 1 | -2/+1 |
|/ | |||||
* | Fix hash usage consistency. | Ra'Shaun Stovall | 2017-07-06 | 1 | -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 uploads | David Heinemeier Hansson | 2017-07-06 | 6 | -7/+19 |
| | |||||
* | Dropped from the interface | David Heinemeier Hansson | 2017-07-06 | 1 | -9/+0 |
| | |||||
* | Need the byte helpers | David Heinemeier Hansson | 2017-07-06 | 2 | -0/+2 |
| | |||||
* | Compute checksum and byte_size client side | David Heinemeier Hansson | 2017-07-06 | 4 | -37/+15 |
| | | | | | Then we can add integrity checks on uploads to prevent errors in transport. | ||||
* | Remember to add streaming | David Heinemeier Hansson | 2017-07-06 | 1 | -0/+1 |
| | |||||
* | This is even more explaining and upload/download don't have some inherent ↵ | David Heinemeier Hansson | 2017-07-06 | 1 | -4/+2 |
| | | | | need to synchronize chunk sizes anyway | ||||
* | We have the technology! | David Heinemeier Hansson | 2017-07-06 | 1 | -1/+1 |
| | |||||
* | Convert magic number to constant | David Heinemeier Hansson | 2017-07-06 | 1 | -2/+4 |
| | |||||
* | Extract configuration into config/storage_configuration.yml | David Heinemeier Hansson | 2017-07-06 | 4 | -29/+67 |
| | |||||
* | Add task to install the migration needed | David Heinemeier Hansson | 2017-07-06 | 2 | -1/+13 |
| | |||||
* | Mirror: only hit all sites for upload and delete | George Claghorn | 2017-07-06 | 1 | -21/+4 |
| | | | | The mirror service exists for the purpose of migration, where all blobs exist in the primary subservice and a subset of blobs exist in the secondary subservice. Since the primary subservice is the source of truth until a migration is completed, operations like existence checks need not be performed against the secondary subservices. | ||||
* | Rename from Site to Service now that we're called Active Storage | David Heinemeier Hansson | 2017-07-06 | 9 | -75/+75 |
| | |||||
* | ActiveVault -> ActiveStorage | David Heinemeier Hansson | 2017-07-06 | 22 | -104/+104 |
| | | | | Yaroslav agreed to hand over the gem name ❤️ | ||||
* | ActiveVault::Site::MirrorSite#url | George Claghorn | 2017-07-05 | 1 | -2/+6 |
| | |||||
* | Basic MirrorSite | David Heinemeier Hansson | 2017-07-05 | 1 | -3/+6 |
| | | | | Still need to convert it to threading | ||||
* | Default to purging later when the owning record is destroyed | David Heinemeier Hansson | 2017-07-05 | 4 | -5/+21 |
| | |||||
* | Moving this to the macro definition | David Heinemeier Hansson | 2017-07-05 | 1 | -4/+0 |
| | |||||
* | Only purge if attached | David Heinemeier Hansson | 2017-07-05 | 2 | -4/+22 |
| | |||||
* | Avoid duplicate attachments | David Heinemeier Hansson | 2017-07-05 | 1 | -1/+1 |
| | |||||
* | Require the Active Support core extension used | George Claghorn | 2017-07-05 | 1 | -0/+1 |
| | |||||
* | Ensure the array is flat | David Heinemeier Hansson | 2017-07-05 | 1 | -1/+1 |
| | |||||
* | Fix configuration names | David Heinemeier Hansson | 2017-07-05 | 1 | -3/+3 |
| | |||||
* | Attached one and many | David Heinemeier Hansson | 2017-07-05 | 7 | -34/+98 |
| | |||||
* | Add attachments | David Heinemeier Hansson | 2017-07-05 | 4 | -7/+85 |
| | |||||
* | Assign plain metadata for now | David Heinemeier Hansson | 2017-07-05 | 1 | -0/+1 |
| | |||||
* | Use active_vault as the table prefix | David Heinemeier Hansson | 2017-07-05 | 2 | -2/+2 |
| | | | | At least pretend this can be used outside of Rails as well | ||||
* | Merge remote-tracking branch 'origin/master' | David Heinemeier Hansson | 2017-07-05 | 1 | -0/+5 |
|\ | |||||
| * | ActiveFile::Site::GCSSite#url | George Claghorn | 2017-07-04 | 1 | -0/+5 |
| | | |||||
* | | Rename from ActiveFile to ActiveVault since activefile gem name was taken | David Heinemeier Hansson | 2017-07-05 | 16 | -39/+39 |
|/ | |||||
* | Quote the filename to deal with spaces | David Heinemeier Hansson | 2017-07-04 | 1 | -1/+1 |
| | |||||
* | Better error reporting | David Heinemeier Hansson | 2017-07-04 | 1 | -2/+2 |
| | |||||
* | Wait on Marcel for now | David Heinemeier Hansson | 2017-07-04 | 1 | -1/+2 |
| | |||||
* | Fix filename reference | David Heinemeier Hansson | 2017-07-04 | 1 | -1/+1 |
| | |||||
* | Fix up DiskController and add basic testing | David Heinemeier Hansson | 2017-07-04 | 2 | -3/+12 |
| |