Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Respond with 404 in ActiveStorage::DiskController#show when file missing | Cameron Bothner | 2018-08-21 | 1 | -0/+2 |
| | | | | | | `ActiveStorage::DiskController#show` generates a 404 Not Found response when the requested file is missing from the disk service. It previously raised `Errno::ENOENT`. | ||||
* | Extract ActiveStorage::SetCurrent | George Claghorn | 2018-08-16 | 2 | -5/+18 |
| | | | | Provide a handy concern for custom Active Storage controllers that can't inherit from ActiveStorage::BaseController. | ||||
* | Restore inadvertently-removed fallback | George Claghorn | 2018-07-15 | 1 | -1/+2 |
| | |||||
* | Support HTTP Range downloads from disk | George Claghorn | 2018-07-15 | 1 | -14/+15 |
| | | | | Closes #32193. | ||||
* | Permit configuring the default service URL expiry | George Claghorn | 2018-06-21 | 2 | -2/+2 |
| | |||||
* | Stream blobs from disk | George Claghorn | 2018-05-02 | 1 | -2/+13 |
| | |||||
* | Always exclude JSON root from direct_uploads#create response | Javan Makhmali | 2018-04-10 | 1 | -1/+1 |
| | | | | | | The JavaScript component expects a bare response. Fixes #32365 | ||||
* | Use a current model to provide the host for service urls | Andrew White | 2018-04-06 | 1 | -0/+4 |
| | | | | | | | 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). | ||||
* | Protect all active storage controllers agains CSRF | Rafael Mendonça França | 2018-04-06 | 5 | -5/+11 |
| | | | | | Before it was possible to for example use the direct upload controller without using the site. | ||||
* | Merge Previews/Variants controller into one Representations controller. | Kasper Timm Hansen | 2018-03-03 | 2 | -13/+3 |
| | | | | | | | | | 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. | ||||
* | Exclude ActiveStorage::SetBlob from API docs [ci skip] | George Claghorn | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Handle invalid signed blob IDs gracefully | George Claghorn | 2017-12-15 | 4 | -18/+28 |
| | |||||
* | Fix loading ActiveStorage::DiskController when CSRF protection is disabled ↵ | George Claghorn | 2017-11-21 | 1 | -1/+1 |
| | | | | by default | ||||
* | Fix direct uploads to local service | George Claghorn | 2017-11-20 | 1 | -0/+2 |
| | | | | | | | | Disable CSRF protection for ActiveStorage::DiskController#update. The local disk service is intended to imitate a third-party service like S3 or GCS, so we don't care where direct uploads originate: they’re authorized by signed tokens. Closes #30290. [Shinichi Maeshima & George Claghorn] | ||||
* | Preview PDFs and videos | George Claghorn | 2017-09-28 | 4 | -33/+19 |
| | |||||
* | DRY | George Claghorn | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | restores some double newlines deleted in ae87217 | Xavier Noria | 2017-08-15 | 1 | -0/+2 |
| | | | | | | These were intentional, see https://github.com/rails/rails/pull/30061#issuecomment-320068368 | ||||
* | minor tweaks in Active Storage after a walkthrough | Xavier Noria | 2017-08-15 | 1 | -2/+0 |
| | |||||
* | 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 | 2 | -0/+2 |
| | |||||
* | Do not eager load ActiveRecord::Base | Rafael Mendonça França | 2017-08-03 | 1 | -2/+0 |
| | | | | Everything inside the app directory of a engine is autoload/eager loaded automatically so we don't need to require them. | ||||
* | Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' | Rafael Mendonça França | 2017-07-31 | 4 | -0/+122 |
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58 |