aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fixed broken `bundle exec rake install`yalab2017-09-261-0/+2
|
* Add missing word [ci skip]George Claghorn2017-09-201-1/+1
|
* Flesh out ActiveStorage::Filename docsGeorge Claghorn2017-09-201-6/+14
|
* Merge pull request #30629 from yhirano55/add_scope_to_has_one_attached_macroEileen M. Uchitelle2017-09-202-0/+19
|\ | | | | Add `with_attached_*` scope to `has_one_attached` macro
| * Add `with_attached_*` scope to `has_one_attached` macroYoshiyuki Hirano2017-09-192-0/+19
| | | | | | | | | | * For avoiding N+1 problem, added `with_attached_*` scope to `has_one_attached` macro.
* | Remove unused require in ActiveStorage::VariationYoshiyuki Hirano2017-09-181-2/+0
|/
* Merge pull request #30628 from yhirano55/add_local_option_to_message_formRyuta Kamizono2017-09-171-1/+1
|\ | | | | Add local option to Message form [ci skip]
| * Add local option to Message form [ci skip]Yoshiyuki Hirano2017-09-171-1/+1
| | | | | | | | | | | | | | * MessagesController redirects to `GET /message/:id`. * It looks it don't expect XHR request. * `form_with` behaves for XHR by default. * I've added `local: true` option to `form_with`.