Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Respond with 404 in ActiveStorage::DiskController#show when file missing | Cameron Bothner | 2018-08-21 | 1 | -0/+8 |
| | | | | | | `ActiveStorage::DiskController#show` generates a 404 Not Found response when the requested file is missing from the disk service. It previously raised `Errno::ENOENT`. | ||||
* | Restore inadvertently-removed fallback | George Claghorn | 2018-07-15 | 1 | -0/+6 |
| | |||||
* | Support HTTP Range downloads from disk | George Claghorn | 2018-07-15 | 1 | -2/+11 |
| | | | | Closes #32193. | ||||
* | Assert correct response body | George Claghorn | 2018-05-03 | 1 | -4/+6 |
| | |||||
* | Always exclude JSON root from direct_uploads#create response | Javan Makhmali | 2018-04-10 | 1 | -0/+23 |
| | | | | | | The JavaScript component expects a bare response. Fixes #32365 | ||||
* | Update test to reflect GCS direct upload header change | George Claghorn | 2018-03-06 | 1 | -1/+1 |
| | |||||
* | Merge Previews/Variants controller into one Representations controller. | Kasper Timm Hansen | 2018-03-03 | 3 | -65/+61 |
| | | | | | | | | | Since ActiveStorage::Blob::Representable unifies the idea of previews and variants under one roof as representation, we may as well have the controllers follow suit. Thus ActiveStorage::RepresenationsController enters the fray. I've copied the old tests for both previews and variants and unified those as well. | ||||
* | Update test to reflect direct upload header changes | George Claghorn | 2018-02-26 | 1 | -1/+1 |
| | |||||
* | Allow S3 tests against buckets in other regions | Andrew White | 2018-02-21 | 1 | -1/+1 |
| | | | | | Only us-east-1 gives URLs like bucket.s3.amazonaws.com whereas other regions have URLs like s3-eu-west-1.amazonaws.com/ubxd-rails | ||||
* | Use assert_predicate and assert_not_predicate | Daniel Colson | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | Handle invalid signed blob IDs gracefully | George Claghorn | 2017-12-15 | 3 | -0/+23 |
| | |||||
* | Preview PDFs and videos | George Claghorn | 2017-09-28 | 3 | -3/+27 |
| | |||||
* | Encode Content-Disposition filenames according to RFC 2231 | George Claghorn | 2017-08-21 | 1 | -2/+2 |
| | | | | Closes #30134. | ||||
* | DRY | George Claghorn | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | Should escape regexp wildcard character `.` | Koichi ITO | 2017-08-14 | 2 | -2/+2 |
| | |||||
* | Use frozen string literal in Active Storage | Koichi ITO | 2017-08-12 | 4 | -0/+8 |
| | |||||
* | Enable browser caching for blobs and variants (#30196) | Anton Khamets | 2017-08-11 | 1 | -0/+15 |
| | |||||
* | Fix ruby warnings | yuuji.yaginuma | 2017-08-05 | 2 | -3/+3 |
| | | | | | | | | | | 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 ``` | ||||
* | Rename Azure to AzureStorage (#30057) | Dino Maric | 2017-08-04 | 1 | -2/+2 |
| | |||||
* | Fix tests for AWS buckets that include a . (#30059) | Claudio B | 2017-08-04 | 1 | -1/+2 |
| | | | | | | | | | If an AWS bucket name includes a `.` (e.g. `bucket.name`), then the canonical URL for an object will start with "https://s3.amazonaws.com/bucket.name/" and not with "https://bucket.name.s3.amazonaws.com/". The URL tests have now been separated into two separate asserts, to ensure that both the "s3.amazonaws.com" and the "bucket.name" components are included, but not specifically in that order. | ||||
* | Skip if credentials aren't provided | David Heinemeier Hansson | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' | Rafael Mendonça França | 2017-07-31 | 3 | -0/+199 |
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58 |