Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extract Analyzable and Representable concerns | George Claghorn | 2018-01-10 | 1 | -147/+2 |
| | |||||
* | Allow overriding filename in `Blob#service_url` | Rosa Gutierrez | 2018-01-08 | 1 | -1/+1 |
| | | | | | | | This is useful when we have several representations for the same underlying file, each one with a different name, and we need to provide a custom download URL based on that name and not that of the underlying file. | ||||
* | Force content disposition to attachment for specific content types | Rosa Gutierrez | 2018-01-05 | 1 | -2/+7 |
| | | | | | | | | | | | | | | In this way we avoid HTML, XML, SVG and other files that can be rendered by the browser to be served inline by default. Depending on the origin from where these files are served, this might lead to XSS vulnerabilities, and in the best case, to more realistic phishing attacks and open redirects. We force it rather than falling back to it when other disposition is not provided. Otherwise it would be possible for someone to force inline just by passing `disposition=inline` in the URL. The list of content types to be served as attachments is configurable. | ||||
* | Update ActiveStorage::Blob#transformation docs [ci skip] | George Claghorn | 2017-12-16 | 1 | -3/+3 |
| | |||||
* | Restrict variants to variable image blobs | George Claghorn | 2017-12-15 | 1 | -4/+18 |
| | |||||
* | Purge variants with their blobs | George Claghorn | 2017-12-02 | 1 | -1/+2 |
| | |||||
* | Preserve existing metadata when analyzing a blob | George Claghorn | 2017-11-13 | 1 | -1/+1 |
| | | | | Closes #31138. | ||||
* | Extract metadata from images and videos | George Claghorn | 2017-10-22 | 1 | -1/+56 |
| | |||||
* | Accept variation keys in #preview and #variant | George Claghorn | 2017-10-12 | 1 | -2/+2 |
| | |||||
* | Introduce ActiveStorage::Blob#representation | George Claghorn | 2017-10-12 | 1 | -0/+26 |
| | |||||
* | Associate blobs with their attachments | George Claghorn | 2017-10-03 | 1 | -0/+2 |
| | |||||
* | Preview PDFs and videos | George Claghorn | 2017-09-28 | 1 | -8/+39 |
| | |||||
* | Update Active Storage docs [ci skip] | Yoshiyuki Hirano | 2017-08-30 | 1 | -2/+2 |
| | |||||
* | Encode Content-Disposition filenames according to RFC 2231 | George Claghorn | 2017-08-21 | 1 | -1/+1 |
| | | | | Closes #30134. | ||||
* | DRY | George Claghorn | 2017-08-20 | 1 | -1/+1 |
| | |||||
* | restores some double newlines deleted in ae87217 | Xavier Noria | 2017-08-15 | 1 | -0/+3 |
| | | | | | | 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 | -17/+16 |
| | |||||
* | Use frozen string literal in Active Storage | Koichi ITO | 2017-08-12 | 1 | -0/+2 |
| | |||||
* | Fix formatting of Active Storage docs [ci skip] | Koichi ITO | 2017-08-11 | 1 | -18/+18 |
| | | | | Follow up of #30188. | ||||
* | Use `content_type.start_with?("...")` than `content_type =~ /^.../` | Ryuta Kamizono | 2017-08-05 | 1 | -4/+4 |
| | | | | | `start_with?` is a little faster than regexp for prefix matching by a fixed string. | ||||
* | Do not eager load ActiveRecord::Base | Rafael Mendonça França | 2017-08-03 | 1 | -6/+0 |
| | | | | Everything inside the app directory of a engine is autoload/eager loaded automatically so we don't need to require them. | ||||
* | There is no reason to single line methods here | Rafael Mendonça França | 2017-08-03 | 1 | -4/+12 |
| | | | | | I know those methods are unlikely to change but having one line method is hard to read and also hard to modify. | ||||
* | Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58' | Rafael Mendonça França | 2017-07-31 | 1 | -0/+193 |
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58 |