Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correct typos | Janko Marohnić | 2018-04-23 | 1 | -2/+2 |
| | |||||
* | Recommend using :resize_to_fit after all | Janko Marohnić | 2018-04-23 | 1 | -2/+2 |
| | |||||
* | Replace :resize_to_fit with :resize in the guide | Janko Marohnić | 2018-04-23 | 1 | -1/+1 |
| | |||||
* | Rename ActiveStorage.processor to .variant_processor | Janko Marohnić | 2018-04-22 | 1 | -1/+1 |
| | |||||
* | Use ImageProcessing gem for ActiveStorage variants | Janko Marohnić | 2018-04-18 | 1 | -6/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImageProcessing gem is a wrapper around MiniMagick and ruby-vips, and implements an interface for common image resizing and processing. This is the canonical image processing gem recommended in [Shrine], and that's where it developed from. The initial implementation was extracted from Refile, which also implements on-the-fly transformations. Some features that ImageProcessing gem adds on top of MiniMagick: * resizing macros - #resize_to_limit - #resize_to_fit - #resize_to_fill - #resize_and_pad * automatic orientation * automatic thumbnail sharpening * avoids the complex and inefficient MiniMagick::Image class * will use "magick" instead of "convert" on ImageMagick 7 However, the biggest feature of the ImageProcessing gem is that it has an alternative implementation that uses libvips. Libvips is an alternative to ImageMagick that can process images very rapidly (we've seen up 10x faster than ImageMagick). What's great is that the ImageProcessing gem provides the same interface for both implementations. The macros are named the same, and the libvips implementation does auto orientation and thumbnail sharpening as well; only the operations/options specific to ImageMagick/libvips differ. The integration provided by this PR should work for both implementations. The plan is to introduce the ImageProcessing backend in Rails 6.0 as the default backend and deprecate the MiniMagick backend, then in Rails 6.1 remove the MiniMagick backend. | ||||
* | Allow full use of the AWS S3 SDK authentication options (#32270) | Brian Knight | 2018-03-19 | 1 | -0/+7 |
| | | | | | | | | | If an explicit AWS key pair and/or region is not provided in config/storage.yml, attempt to use environment variables, shared credentials, or IAM role credentials. Order of precedence is determined by the AWS SDK[1]. [1]: https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/setup-config.html | ||||
* | Remove path config option from Azure service | Andrew White | 2018-03-12 | 1 | -1/+0 |
| | | | | | | | | | | | The Active Storage service for Azure Storage has an option called `path` that is ambiguous in meaning. It needs to be set to the primary blob storage endpoint but that can be determined from the blobs client anyway. To simplify the configuration this commit removes the `path` option and gets the endpoint from the blobs client instead. Closes #32225. | ||||
* | Generate root-relative paths in Active Storage disk service URL methods | George Claghorn | 2018-03-05 | 1 | -9/+0 |
| | | | | Fixes #32129. | ||||
* | Add note to Active Storage guide about S3 permissions [ci skip] | Andrew White | 2018-02-21 | 1 | -0/+2 |
| | |||||
* | ActiveStorage file cleanup in Integration Tests | Jeremy Prevost | 2018-02-15 | 1 | -0/+24 |
| | | | | | Documents ActiveStorage file cleanup in Integration Tests which is similar but slightly different than the existing docs for System Tests. | ||||
* | Update `google-cloud-storage` gem version [ci skip] | yuuji.yaginuma | 2018-01-28 | 1 | -1/+1 |
| | | | | | | | Because we use `credentials` in an example of configuration files, but `credentials` can not be used unless it is 1.8.0 or later. Ref: 9d65ac3 | ||||
* | Provide a sensible default host | George Claghorn | 2018-01-16 | 1 | -3/+9 |
| | |||||
* | Extract content types from blob data | George Claghorn | 2018-01-15 | 1 | -0/+3 |
| | |||||
* | Merge pull request #31534 from claudiob/kaspth-approach | Kasper Timm Hansen | 2018-01-09 | 1 | -3/+0 |
|\ | | | | | Don't include Active Storage migrations in new apps | ||||
| * | Don't run rails active_storage:install in new apps | claudiob | 2017-12-14 | 1 | -3/+0 |
| | | | | | | | | See #31315 for full discussion | ||||
* | | Tweak headings [ci skip] | George Claghorn | 2017-12-29 | 1 | -16/+16 |
| | | |||||
* | | Demonstrate providing keyfile data in lieu of a path [ci skip] | George Claghorn | 2017-12-28 | 1 | -24/+33 |
| | | |||||
* | | Link to the client gems [ci skip] | George Claghorn | 2017-12-28 | 1 | -3/+4 |
| | | |||||
* | | Fix Active Storage Overview guide [ci skip] | Yoshiyuki Hirano | 2017-12-16 | 1 | -5/+5 |
| | | |||||
* | | [ci skip] Use :amazon, not :s3, to reflect code | Claudio B | 2017-12-15 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | The [template](https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/config/storage.yml.tt#L10) that generates the `config/storage.yml` file has the Amazon S3 key specified as `:amazon`, not `:s3`. The guides should reflect the nomenclature, given that every other service also has the name of the company as the key (:google, :microsoft). | ||||
* | | Sync header title with file name [ci skip] | Ryuta Kamizono | 2017-12-15 | 1 | -2/+2 |
| | | | | | | | | Like other Basics and Overview guides. | ||||
* | | Fix in ASt guide [ci skip] | Yauheni Dakuka | 2017-12-15 | 1 | -5/+5 |
|/ | |||||
* | Tweak whitespace | Jeffrey Guenther | 2017-12-14 | 1 | -0/+1 |
| | |||||
* | Formatting updates | Jeffrey Guenther | 2017-12-14 | 1 | -14/+19 |
| | |||||
* | Apply edits and suggestions | Jeffrey Guenther | 2017-12-08 | 1 | -20/+19 |
| | |||||
* | Incorporate latest round of feedback | Jeffrey Guenther | 2017-12-04 | 1 | -57/+67 |
| | |||||
* | Change info to note | Jeffrey Guenther | 2017-11-30 | 1 | -1/+9 |
| | |||||
* | Adds Javan's event example | Jeffrey Guenther | 2017-11-30 | 1 | -2/+98 |
| | |||||
* | First pass on incoporating George's feedback | Jeffrey Guenther | 2017-11-30 | 1 | -20/+53 |
| | |||||
* | Removes note | Jeffrey Guenther | 2017-11-21 | 1 | -3/+0 |
| | |||||
* | Corrects Active Job spelling | Jeffrey Guenther | 2017-11-21 | 1 | -2/+2 |
| | |||||
* | Updates add multiple attachments example | Jeffrey Guenther | 2017-11-21 | 1 | -4/+8 |
| | |||||
* | Adds tools caveat for generating previews | Jeffrey Guenther | 2017-11-20 | 1 | -0/+6 |
| | |||||
* | Remove mention of filename from download | Jeffrey Guenther | 2017-11-20 | 1 | -1/+1 |
| | |||||
* | Updates direct download discussion | Jeffrey Guenther | 2017-11-20 | 1 | -6/+1 |
| | |||||
* | Adds download link helper explanation | Jeffrey Guenther | 2017-11-20 | 1 | -2/+9 |
| | |||||
* | Proofreading | Jeffrey Guenther | 2017-11-18 | 1 | -2/+2 |
| | |||||
* | Integrates George's suggestions | Jeffrey Guenther | 2017-11-18 | 1 | -52/+135 |
| | | | | | - Describes how to setup each of the services in the `services.yml` - Integrates copy changes | ||||
* | Adds testing section | Jeffrey Guenther | 2017-11-16 | 1 | -2/+42 |
| | |||||
* | Adds more explanation to points and add setup section | Jeffrey Guenther | 2017-11-16 | 1 | -6/+69 |
| | |||||
* | Adds content from README and conversations with George | Jeffrey Guenther | 2017-11-09 | 1 | -4/+184 |
| | |||||
* | Adds todo for preview | Jeffrey Guenther | 2017-11-09 | 1 | -0/+1 |
| | |||||
* | Begins guide for ActiveStorage | Jeffrey Guenther | 2017-11-02 | 1 | -0/+21 |