Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Example of keyfile specification | David Heinemeier Hansson | 2017-07-09 | 1 | -1/+12 |
| | |||||
* | Merge pull request #26 from jeremy/service-configurator | David Heinemeier Hansson | 2017-07-09 | 2 | -4/+3 |
|\ | | | | | Clarify how a service can build other composed services | ||||
| * | Clarify how a service can build other composed services | Jeremy Daer | 2017-07-09 | 2 | -4/+3 |
| | | | | | | | | | | | | | | | | | | * Service.build takes the literal YAML config hash for the service and a reference to the Configurator that's doing the building. * Services that compose additional services can use the Configurator to look them up and build them by name. See MirrorService for an example. References #23 | ||||
* | | Match new configurator needs | David Heinemeier Hansson | 2017-07-09 | 1 | -0/+2 |
|/ | |||||
* | Configure services that reference other services | Jeremy Daer | 2017-07-08 | 5 | -15/+20 |
| | | | | | | | | * Move service configuration from the Engine to Service * Delegate configuration mechanics to internal Service::Configurator * Delegate service building to the concrete Service classes, allowing them to configure composed services. * Implement for the Mirror service. | ||||
* | Mirror: explicit primary service and list of mirrors | Jeremy Daer | 2017-07-08 | 1 | -5/+13 |
| | | | | | | | | | | | | Pass separate primary service and list of mirrors rather than treating the first of the services list as the primary. Nice fit for keyword args, and something we've long wanted in the equivalent Basecamp file repository. Upload returns the results of the underlying service uploads rather than the io.rewind result. Rewind before uploading rather than afterward, and demonstrate that behavior with a test. Test that more than one mirror works. | ||||
* | Merge pull request #21 from jeremy/disk-binary-io | David Heinemeier Hansson | 2017-07-09 | 1 | -6/+4 |
|\ | | | | | Disk service: use binary IO throughout, not UTF-8 | ||||
| * | Disk service: use binary IO throughout, not UTF-8 | Jeremy Daer | 2017-07-08 | 1 | -6/+4 |
| | | |||||
* | | Disk storage: ensure URLs end with the blob filename since some user agents ↵ | Jeremy Daer | 2017-07-08 | 2 | -4/+4 |
|/ | | | | don't respect Content-Disposition filename | ||||
* | Tests: skip GCS/AWS service tests if unconfigured | Jeremy Daer | 2017-07-08 | 1 | -0/+1 |
| | |||||
* | Merge pull request #8 from robin850/fix-migrations | George Claghorn | 2017-07-06 | 2 | -3/+3 |
|\ | | | | | Fix the migration class name | ||||
| * | Fix the migration class name | Robin Dupret | 2017-07-06 | 2 | -3/+3 |
| | | | | | | | | | | | | 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. | ||||
* | | Test deleting a nonexistent key | George Claghorn | 2017-07-06 | 1 | -0/+6 |
| | | |||||
* | | Correct config path in error message | John Williams | 2017-07-06 | 1 | -1/+1 |
|/ | |||||
* | Fix test | George Claghorn | 2017-07-06 | 1 | -2/+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. | ||||
* | Helper methods are private | David Heinemeier Hansson | 2017-07-06 | 1 | -4/+5 |
| | |||||
* | Check integrity after uploads | David Heinemeier Hansson | 2017-07-06 | 1 | -2/+15 |
| | |||||
* | It's base64 now since the clouds expect that | David Heinemeier Hansson | 2017-07-06 | 1 | -1/+1 |
| | | | | Gotta please them clouds. SPEAK THE CLOUD. | ||||
* | Compute checksum and byte_size client side | David Heinemeier Hansson | 2017-07-06 | 1 | -8/+0 |
| | | | | | Then we can add integrity checks on uploads to prevent errors in transport. | ||||
* | Flesh out mirror tests | George Claghorn | 2017-07-06 | 1 | -7/+26 |
| | |||||
* | Rename from Site to Service now that we're called Active Storage | David Heinemeier Hansson | 2017-07-06 | 14 | -140/+140 |
| | |||||
* | ActiveVault -> ActiveStorage | David Heinemeier Hansson | 2017-07-06 | 13 | -70/+63 |
| | | | | Yaroslav agreed to hand over the gem name ❤️ | ||||
* | ActiveVault::Site::MirrorSite#url | George Claghorn | 2017-07-05 | 1 | -1/+8 |
| | |||||
* | Basic MirrorSite | David Heinemeier Hansson | 2017-07-05 | 1 | -0/+30 |
| | | | | Still need to convert it to threading | ||||
* | Default to purging later when the owning record is destroyed | David Heinemeier Hansson | 2017-07-05 | 1 | -0/+34 |
| | |||||
* | Fix test | George Claghorn | 2017-07-05 | 1 | -1/+1 |
| | |||||
* | Attached one and many | David Heinemeier Hansson | 2017-07-05 | 2 | -7/+41 |
| | |||||
* | Add attachments | David Heinemeier Hansson | 2017-07-05 | 4 | -2/+46 |
| | |||||
* | Merge remote-tracking branch 'origin/master' | David Heinemeier Hansson | 2017-07-05 | 1 | -0/+9 |
|\ | |||||
| * | Eliminate SIGNER | George Claghorn | 2017-07-04 | 1 | -4/+5 |
| | | |||||
| * | ActiveFile::Site::GCSSite#url | George Claghorn | 2017-07-04 | 1 | -1/+9 |
| | | |||||
* | | Rename from ActiveFile to ActiveVault since activefile gem name was taken | David Heinemeier Hansson | 2017-07-05 | 10 | -40/+40 |
|/ | |||||
* | Fix up DiskController and add basic testing | David Heinemeier Hansson | 2017-07-04 | 1 | -0/+34 |
| | |||||
* | Extract create_blob test helper | David Heinemeier Hansson | 2017-07-04 | 2 | -5/+8 |
| | |||||
* | Actually #url needs to deal with the disposition | David Heinemeier Hansson | 2017-07-04 | 1 | -2/+8 |
| | |||||
* | Test filename | David Heinemeier Hansson | 2017-07-04 | 1 | -0/+36 |
| | |||||
* | Use lazy-loaded factory method for site configuration | David Heinemeier Hansson | 2017-07-04 | 10 | -32/+32 |
| | |||||
* | Differentiate between io streams and read data | David Heinemeier Hansson | 2017-07-04 | 1 | -1/+1 |
| | |||||
* | Extract cloud site configuration to gitignored YAML file | David Heinemeier Hansson | 2017-07-04 | 5 | -14/+26 |
| | |||||
* | Extract shared tests | David Heinemeier Hansson | 2017-07-04 | 6 | -128/+45 |
| | |||||
* | Remove unnecessary requires | George Claghorn | 2017-07-03 | 2 | -5/+1 |
| | |||||
* | Add a Google Cloud Storage site | George Claghorn | 2017-07-03 | 1 | -0/+64 |
| | |||||
* | Update for AWS S3 v2 API and test it when supplying the right ENVs | David Heinemeier Hansson | 2017-07-03 | 1 | -0/+65 |
| | |||||
* | Fix and test expiration | David Heinemeier Hansson | 2017-07-03 | 1 | -0/+8 |
| | |||||
* | Match File.exist? | David Heinemeier Hansson | 2017-07-03 | 1 | -3/+3 |
| | |||||
* | Download disk blobs with verified URLs | David Heinemeier Hansson | 2017-07-03 | 3 | -4/+22 |
| | |||||
* | WIP: Disk URLs | David Heinemeier Hansson | 2017-07-03 | 1 | -1/+11 |
| | |||||
* | Use self-explaining named parameter | David Heinemeier Hansson | 2017-07-03 | 2 | -2/+2 |
| | |||||
* | Uploading will set blob's byte size and checksum | David Heinemeier Hansson | 2017-07-01 | 1 | -3/+7 |
| | |||||
* | Test basic upload | David Heinemeier Hansson | 2017-07-01 | 1 | -0/+8 |
| |