aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/service/disk_service_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix host for ActiveStorage DiskServicePeter Wagenet2019-07-091-2/+8
| | | | | Previous behavior would only set host, which didn't work correctly if the default_url_options contained the protocol or the port.
* url -> URL where apt except inside actionpack/Sharang Dashputre2019-04-011-1/+1
|
* Generate a new key for each service testGeorge Claghorn2018-06-251-2/+2
| | | | Sidestep Google Cloud Storage's restrictive per-object rate limit.
* Merge pull request #32144 from kazu9su/masterGeorge Claghorn2018-05-221-0/+4
|\ | | | | Add ActiveStorage::Service::DiskService#url_for_direct_upload test
| * Add ActiveStorage::Service::DiskService#url_for_direct_upload testtommy2018-03-011-0/+4
| |
* | Use a current model to provide the host for service urlsAndrew White2018-04-061-1/+1
|/ | | | | | | Trying to pass the current request down to the service so that it can create full urls instead of paths makes the API messy so use a model based on ActiveSupport::CurrentAttributes to provide the current host to services that need it (primarily the disk service).
* Provide a sensible default hostGeorge Claghorn2018-01-161-1/+1
|
* Extract content types from blob dataGeorge Claghorn2018-01-151-1/+1
|
* Preview PDFs and videosGeorge Claghorn2017-09-281-1/+1
|
* Fix order of Active Storage DiskService URL parametersKoichi ITO2017-08-261-1/+1
| | | | `content_type` parameter is before `disposition` parameter.
* Fix testsGeorge Claghorn2017-08-201-1/+1
|
* Use frozen string literal in Active StorageKoichi ITO2017-08-121-0/+2
|
* Fix ruby warningsyuuji.yaginuma2017-08-051-2/+2
| | | | | | | | | | This fixes following warnings: ``` test/models/variant_test.rb:11: warning: ambiguous first argument; put parentheses or a space even after `/' operator lib/active_storage/attached/macros.rb:63: warning: instance variable @active_storage_attached_highlights not initialized lib/active_storage/attached/macros.rb:25: warning: instance variable @active_storage_attached_avatar not initialized ```
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+12
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58