aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Move all controller tests to controller/ dirdixpac2017-07-222-0/+0
|
* Fix RuboCop offenses and warningsKoichi ITO2017-07-221-3/+3
|
* Test actual transformation via controller tooDavid Heinemeier Hansson2017-07-213-7/+7
|
* Test actual transformationsDavid Heinemeier Hansson2017-07-213-2/+15
|
* Extract test helper for image blob fixturesDavid Heinemeier Hansson2017-07-213-7/+9
|
* Fix and test VariantsControllerDavid Heinemeier Hansson2017-07-212-0/+27
|
* Over-indentedDavid Heinemeier Hansson2017-07-211-2/+2
|
* Precise namingDavid Heinemeier Hansson2017-07-211-1/+1
|
* Extract variation value objectDavid Heinemeier Hansson2017-07-212-7/+13
|
* Hacky way to mount routes for engine controller testsDavid Heinemeier Hansson2017-07-211-0/+11
|
* Make processing an explicit stepDavid Heinemeier Hansson2017-07-201-3/+1
|
* Extract routes.rb to engine location for auto configurationDavid Heinemeier Hansson2017-07-201-11/+0
|
* Use the direct accessorDavid Heinemeier Hansson2017-07-201-3/+1
|
* Merge branch 'master' into variantsDavid Heinemeier Hansson2017-07-2010-35/+104
|\
| * Accept S3 upload options (e.g. server_side_encryption)James Baer2017-07-201-0/+18
| |
| * Use descriptive new freeze_time helperGeorge Claghorn2017-07-193-3/+3
| |
| * Replace hard-coded S3 bucket name with configured bucketJames T. Perreault2017-07-172-2/+2
| |
| * Remove unused requireGeorge Claghorn2017-07-171-1/+0
| |
| * Add direct upload support to GCS serviceMichael Herold2017-07-172-2/+52
| |
| * Fix S3 direct upload testGeorge Claghorn2017-07-161-13/+3
| |
| * Added rubocop / codeclimate config and fixed current offenses (#45)Cristian Bica2017-07-147-14/+13
| |
| * Fix regular expression on s3 test URL generation test (#44)Dino Maric2017-07-131-5/+5
| | | | | | | | | | | | | | So tests are passing if the bucket name is rails-active storage. But developers specify their own s3 tests configuration (in my case was activestorage-test) then this regex fails. Also the first part is dynamic and based on bucket name and region
| * Expose chunked downloadsGeorge Claghorn2017-07-101-0/+13
| |
* | Very incomplete first stabDavid Heinemeier Hansson2017-07-113-0/+19
|/
* Configurator tests: work against test-local configJeremy Daer2017-07-091-3/+3
| | | | | | So tests pass when service configs aren't set up. References #28
* Tests: Dir.mktmpdir neatly wraps up tmpdir + joinJeremy Daer2017-07-093-6/+5
|
* Add basic tests to the Configurator#build (#28)Dino Maric2017-07-091-0/+15
|
* Accept sgids for existing blobs created via direct upload as an attachableDavid Heinemeier Hansson2017-07-091-0/+5
|
* Direct uploads for S3David Heinemeier Hansson2017-07-097-19/+91
|
* Test URL generation for S3 and DiskDavid Heinemeier Hansson2017-07-092-0/+10
|
* Instrument and log the servicesDavid Heinemeier Hansson2017-07-091-0/+1
|
* Example of keyfile specificationDavid Heinemeier Hansson2017-07-091-1/+12
|
* Merge pull request #26 from jeremy/service-configuratorDavid Heinemeier Hansson2017-07-092-4/+3
|\ | | | | Clarify how a service can build other composed services
| * Clarify how a service can build other composed servicesJeremy Daer2017-07-092-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 needsDavid Heinemeier Hansson2017-07-091-0/+2
|/
* Configure services that reference other servicesJeremy Daer2017-07-085-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 mirrorsJeremy Daer2017-07-081-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-ioDavid Heinemeier Hansson2017-07-091-6/+4
|\ | | | | Disk service: use binary IO throughout, not UTF-8
| * Disk service: use binary IO throughout, not UTF-8Jeremy Daer2017-07-081-6/+4
| |
* | Disk storage: ensure URLs end with the blob filename since some user agents ↵Jeremy Daer2017-07-082-4/+4
|/ | | | don't respect Content-Disposition filename
* Tests: skip GCS/AWS service tests if unconfiguredJeremy Daer2017-07-081-0/+1
|
* Merge pull request #8 from robin850/fix-migrationsGeorge Claghorn2017-07-062-3/+3
|\ | | | | Fix the migration class name
| * Fix the migration class nameRobin Dupret2017-07-062-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 keyGeorge Claghorn2017-07-061-0/+6
| |
* | Correct config path in error messageJohn Williams2017-07-061-1/+1
|/
* Fix testGeorge Claghorn2017-07-061-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 privateDavid Heinemeier Hansson2017-07-061-4/+5
|
* Check integrity after uploadsDavid Heinemeier Hansson2017-07-061-2/+15
|
* It's base64 now since the clouds expect thatDavid Heinemeier Hansson2017-07-061-1/+1
| | | | Gotta please them clouds. SPEAK THE CLOUD.
* Compute checksum and byte_size client sideDavid Heinemeier Hansson2017-07-061-8/+0
| | | | | Then we can add integrity checks on uploads to prevent errors in transport.