aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
Commit message (Collapse)AuthorAgeFilesLines
* Fix optimizing GIF variants using mogrify's -layers optionGeorge Claghorn2017-12-111-5/+7
|
* Revert "Invoke mogrify once when transforming an image"George Claghorn2017-12-111-8/+6
| | | | This reverts commit a80f81af055f02bf4625c90470aa90441cf6fc24.
* Merge pull request #31399 from yhirano55/return_nil_if_raise_http_errorGeorge Claghorn2017-12-111-1/+1
|\ | | | | Return `nil` instead of `false` if raise `Azure::Core::Http::HTTPError`
| * Return `nil` instead of `false` if raise `Azure::Core::Http::HTTPError`Yoshiyuki Hirano2017-12-121-1/+1
| | | | | | | | | | | | | | * If it raise error `Azure::Core::Http::HTTPError`, return `nil` instead of `false` in `ActiveStorage::Service::AzureStorageService#delete`. * Other services behave as same as this.
* | Invoke mogrify once when transforming an imageGeorge Claghorn2017-12-111-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.
* | `webpack` is assigned but never used in webpack.config.jsYoshiyuki Hirano2017-12-111-1/+0
|/ | | | * Removed webpack const, so it is assigned but never used in webpack.config.js.
* Swap raw video width and height if angle is 90 or 270 degreesGeorge Claghorn2017-12-082-3/+15
|
* Fix customizing Content-Type via GCS service URLsGeorge Claghorn2017-12-072-1/+21
|
* Fix instrumention name: delete_prefixed like the others.Kasper Timm Hansen2017-12-031-1/+1
|
* Purge variants with their blobsGeorge Claghorn2017-12-0210-31/+107
|
* Make ASt previewer/analyzer binary paths configurableGeorge Claghorn2017-12-014-4/+32
|
* Add ActiveStorage::Previewer#logger to match ActiveStorage::Analyzer#loggerGeorge Claghorn2017-11-301-0/+4
|
* Use `credentials` instead of `keyfile` in GCS seviceyuuji.yaginuma2017-11-292-1/+3
| | | | | | | | | | | | | The `keyfile` was renamed to `credentials` in `google-cloud-storage` 1.8.0. https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/google-cloud-storage/CHANGELOG.md#180--2017-11-14 Although `keyfile` can still be used, but it looks like deprecate. https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/ddf7b2a856d676316525eb581c1a4cc83ca6097b/google-cloud-storage/lib/google/cloud/storage.rb#L589...L590 Therefore, I think that should use `credentials` in newly generated applications. Ref: https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/1802
* Preparing for 5.2.0.beta2 releaseRafael Mendonça França2017-11-283-2/+9
|
* Fix typos and add a few suggestionsFatos Morina2017-11-281-0/+14
|
* Include migration files in gemyuuji.yaginuma2017-11-281-1/+1
| | | | Fixes #31245
* Preparing for 5.2.0.beta1 releaseRafael Mendonça França2017-11-273-2/+4
|
* Update yarn lockRafael Mendonça França2017-11-271-10/+0
|
* Avoid connecting to GCS during app bootGeorge Claghorn2017-11-232-12/+14
|
* Fix loading ActiveStorage::DiskController when CSRF protection is disabled ↵George Claghorn2017-11-211-1/+1
| | | | by default
* Fix that some ASt route helpers silently discarded optionsGeorge Claghorn2017-11-211-10/+10
|
* Provide attachment writersGeorge Claghorn2017-11-202-0/+40
| | | | | | | | | | | | | Permit creating a record and attaching files in a single step. # Before: User.create!(user_params.except(:avatar)).tap do |user| user.avatar.attach(user_params[:avatar]) end # After: User.create!(user_params) [Yoshiyuki Hirano & George Claghorn]
* Load 5.2 defaults in ASt dummy appGeorge Claghorn2017-11-201-1/+1
|
* Fix direct uploads to local serviceGeorge Claghorn2017-11-203-0/+6
| | | | | | | | 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]
* Permit attaching files to new recordsGeorge Claghorn2017-11-193-5/+53
| | | | Closes #31164.
* Fix ASt CI failure with rack-test 0.7.1Ryuta Kamizono2017-11-201-1/+1
| | | | Due to https://github.com/rack-test/rack-test/commit/5fd3631078e7c73aaed7d4371f70fb2a79384be9.
* Introduce ActiveStorage::Attached::{One,Many}#detachGeorge Claghorn2017-11-143-7/+40
|
* Preserve existing metadata when analyzing a blobGeorge Claghorn2017-11-133-3/+28
| | | | Closes #31138.
* Remove needless block parameterGeorge Claghorn2017-11-071-1/+1
|
* Fix streaming downloads from S3/Azure StorageGeorge Claghorn2017-11-063-7/+17
| | | Closes #31073.
* Permit configuring Active Storage's job queueGeorge Claghorn2017-11-035-16/+13
|
* Allow third-party previewers/analyzers to customize their tempdirsGeorge Claghorn2017-11-022-3/+10
|
* Use the indicative mood consistently [ci skip]George Claghorn2017-10-221-1/+1
|
* Fix links [ci skip]George Claghorn2017-10-221-2/+2
|
* Extract metadata from images and videosGeorge Claghorn2017-10-2225-37/+407
|
* Merge pull request #30821 from GBH/active-storage-readmeEileen M. Uchitelle2017-10-221-0/+4
|\ | | | | ActiveStorage install note [skip ci]
| * how do we install active_storage? [skip ci]Oleg2017-10-061-0/+4
| |
* | [Active Storage] require_relative => requireAkira Matsuda2017-10-211-1/+1
| |
* | Use `require_relative` instead of `require` with full path in activestorage/bogdanvlviv2017-10-131-1/+1
| | | | | | | | Related to #29417
* | Define path with __dir__ in activestorage/bogdanvlviv2017-10-133-4/+4
| | | | | | | | Related to #29176
* | Clarify comment [ci skip]George Claghorn2017-10-131-1/+1
| |
* | Accept variation keys in #preview and #variantGeorge Claghorn2017-10-122-7/+12
| |
* | Introduce ActiveStorage::Blob#representationGeorge Claghorn2017-10-124-0/+73
| |
* | Replace variation key use with SHA256 of key to prevent long filenameskhall2017-10-052-1/+6
|/ | | | | | | 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 Hirano2017-10-041-2/+2
|
* Associate blobs with their attachmentsGeorge Claghorn2017-10-031-0/+2
|
* Fix `test "signed URL generation"` failureRyuta Kamizono2017-09-301-1/+1
| | | | https://travis-ci.org/rails/rails/jobs/281044755#L5582-L5586
* Fix "warning: `*' interpreted as argument prefix"Ryuta Kamizono2017-09-301-1/+1
|
* Preview PDFs and videosGeorge Claghorn2017-09-2835-68/+436
|
* Set version in activestorage/package.json in proper format.bogdanvlviv2017-09-271-1/+1
| | | | | | `5.2.0.alpha` => `5.2.0-alpha` System versioning isn't compliant with npm.