Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extract content types from blob data | George Claghorn | 2018-01-15 | 4 | -5/+64 |
| | |||||
* | Instrument image transformation | George Claghorn | 2018-01-10 | 1 | -7/+9 |
| | |||||
* | Update error names in docs [ci skip] | George Claghorn | 2018-01-10 | 1 | -3/+3 |
| | |||||
* | Add missing `# frozen_string_literal: true` | Ryuta Kamizono | 2018-01-11 | 2 | -0/+4 |
| | |||||
* | Correct comment [ci skip] | George Claghorn | 2018-01-10 | 1 | -1/+1 |
| | |||||
* | Extract Analyzable and Representable concerns | George Claghorn | 2018-01-10 | 3 | -147/+148 |
| | |||||
* | 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. | ||||
* | Restore support for the -layers transformation | George Claghorn | 2018-01-02 | 1 | -14/+14 |
| | |||||
* | prevent shadowing outer variables | Dorian Marié | 2017-12-25 | 1 | -4/+4 |
| | |||||
* | Add support for combined MiniMagick transformations | Robert Glaser | 2017-12-22 | 1 | -6/+16 |
| | |||||
* | [ci skip] Remove needless from doc for ActiveStorage::Variant | Yoshiyuki Hirano | 2017-12-22 | 1 | -1/+1 |
| | |||||
* | Delete MiniMagick tempfile when transformation fails | George Claghorn | 2017-12-18 | 1 | -1/+7 |
| | |||||
* | Ensure MiniMagick tempfiles are properly unlinked after image transformation | George Claghorn | 2017-12-18 | 1 | -9/+18 |
| | |||||
* | Convert non-web image (e.g. PSD) variants to PNG | George Claghorn | 2017-12-18 | 1 | -3/+34 |
| | |||||
* | 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 |
| | |||||
* | Exclude ActiveStorage::Filename{#parameters,::Parameters} from API docs [ci ↵ | George Claghorn | 2017-12-13 | 2 | -2/+2 |
| | | | | skip] | ||||
* | Fix optimizing GIF variants using mogrify's -layers option | George Claghorn | 2017-12-11 | 1 | -5/+7 |
| | |||||
* | Revert "Invoke mogrify once when transforming an image" | George Claghorn | 2017-12-11 | 1 | -8/+6 |
| | | | | This reverts commit a80f81af055f02bf4625c90470aa90441cf6fc24. | ||||
* | Invoke mogrify once when transforming an image | George Claghorn | 2017-12-11 | 1 | -6/+8 |
| | | | | Execute a single mogrify command with multiple options rather than one command per option. Permit the use of all mogrify options, not just the ones that fall through to MiniMagick::Image#method_missing. | ||||
* | 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 | 2 | -1/+63 |
| | |||||
* | Clarify comment [ci skip] | George Claghorn | 2017-10-13 | 1 | -1/+1 |
| | |||||
* | Accept variation keys in #preview and #variant | George Claghorn | 2017-10-12 | 2 | -7/+12 |
| | |||||
* | Introduce ActiveStorage::Blob#representation | George Claghorn | 2017-10-12 | 2 | -0/+30 |
| | |||||
* | Replace variation key use with SHA256 of key to prevent long filenames | khall | 2017-10-05 | 1 | -1/+1 |
| | | | | | | | If a variant has a large set of options associated with it, the generated filename will be too long, causing Errno::ENAMETOOLONG to be raised. This change replaces those potentially long filenames with a much more compact SHA256 hash. Fixes #30662. | ||||
* | Fix third-party system libraries list in ActiveStorage::Preview [ci skip] | Yoshiyuki Hirano | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | Associate blobs with their attachments | George Claghorn | 2017-10-03 | 1 | -0/+2 |
| | |||||
* | Preview PDFs and videos | George Claghorn | 2017-09-28 | 4 | -11/+141 |
| | |||||
* | Add missing word [ci skip] | George Claghorn | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Flesh out ActiveStorage::Filename docs | George Claghorn | 2017-09-20 | 1 | -6/+14 |
| | |||||
* | Remove unused require in ActiveStorage::Variation | Yoshiyuki Hirano | 2017-09-18 | 1 | -2/+0 |
| | |||||
* | Have attachments touch their records | George Claghorn | 2017-08-31 | 1 | -1/+1 |
| | |||||
* | Update Active Storage docs [ci skip] | Yoshiyuki Hirano | 2017-08-30 | 2 | -7/+15 |
| | |||||
* | Synchronously destroy attachments | George Claghorn | 2017-08-29 | 1 | -6/+4 |
| | |||||
* | Enable links in Active Storage docs [ci skip] | Yoshiyuki Hirano | 2017-08-26 | 2 | -2/+2 |
| | |||||
* | Fix link in doc for active storage [ci skip] | Yoshiyuki Hirano | 2017-08-25 | 1 | -1/+1 |
| | |||||
* | Add frozen string literal pragma | George Claghorn | 2017-08-21 | 1 | -0/+2 |
| | |||||
* | Encode Content-Disposition filenames according to RFC 2231 | George Claghorn | 2017-08-21 | 3 | -1/+39 |
| | | | | Closes #30134. | ||||
* | DRY | George Claghorn | 2017-08-20 | 1 | -1/+1 |
| | |||||
* | Rename ActiveStorage::Filename#extname to extension_with_delimiter | George Claghorn | 2017-08-20 | 1 | -9/+11 |
| | |||||
* | restores some double newlines deleted in ae87217 | Xavier Noria | 2017-08-15 | 2 | -0/+4 |
| | | | | | | 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 | 4 | -29/+27 |
| | |||||
* | Use frozen string literal in Active Storage | Koichi ITO | 2017-08-12 | 5 | -0/+10 |
| | |||||
* | Fix formatting of Active Storage docs [ci skip] | Koichi ITO | 2017-08-11 | 4 | -30/+30 |
| | | | | Follow up of #30188. | ||||
* | Fix a typo | qsona | 2017-08-10 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Merge pull request #30061 from claudiob/ast-rubocop | Rafael França | 2017-08-03 | 2 | -2/+2 |
|\ | | | | | Make Rubocop happy about ActiveStorage |