aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix repository URL [ci skip]yuuji.yaginuma2017-08-052-4/+4
| | | | changed `rails/activestorage` to `rails/rails`.
* Merge pull request #30020 from rails/active-storage-importDavid Heinemeier Hansson2017-08-04144-26/+7217
|\ | | | | Add Active Storage to Rails
| * Rename Azure to AzureStorage (#30057)Dino Maric2017-08-046-8/+8
| |
| * Fix tests for AWS buckets that include a . (#30059)Claudio B2017-08-042-3/+7
| | | | | | | | | | | | | | | | | | If an AWS bucket name includes a `.` (e.g. `bucket.name`), then the canonical URL for an object will start with "https://s3.amazonaws.com/bucket.name/" and not with "https://bucket.name.s3.amazonaws.com/". The URL tests have now been separated into two separate asserts, to ensure that both the "s3.amazonaws.com" and the "bucket.name" components are included, but not specifically in that order.
| * Add Active Storage to README and release (#30065)Claudio B2017-08-042-1/+3
| | | | | | Before we forget...
| * Make sure the test fails if the code chagesRafael Mendonça França2017-08-041-8/+10
| | | | | | | | | | | | | | | | The test was passing before because it was not being testes correctly. Now we create a different engine that is loaded before the already exising and we make sure that the first call for isolate_namespace is what takes effect.
| * Do not call isolate_namespace on the applicationRafael Mendonça França2017-08-041-1/+9
| | | | | | | | | | | | | | | | | | What we want to test is that two different calls to isolate_namespace with the same module doesn't change the original railtie. We can do that defining two different railties. We can't call in the application because this method is not supposed to be called in an Application class.
| * Include active_storage in all generated application.rb filesDavid Heinemeier Hansson2017-08-043-1/+4
| | | | | | | | And deal with a temporary test fix until we allow you to skip active storage.
| * Convert to strings so array can be sorted deterministicallyDavid Heinemeier Hansson2017-08-041-3/+3
| |
| * Deterministic comparisons pleaseDavid Heinemeier Hansson2017-08-031-3/+3
| |
| * Do not change the entire codebase style only because of active_storageRafael Mendonça França2017-08-032-5/+2
| | | | | | | | | | | | We are already removing the braces around hash parameters in the last argument in other places so we should not change the entire codebase because of two places.
| * Merge pull request #30041 from dixpac/change_azure_core_dependecyRafael França2017-08-032-13/+4
| |\ | | | | | | Change azure core dependency
| | * Depend on offical azure-coredixpac2017-08-032-13/+4
| | | | | | | | | | | | | | | No need to depend on my fork anymore, they've just release fix officially.
| * | Fix all rubocop violationsRafael Mendonça França2017-08-032-6/+5
| | |
| * | Merge pull request #30061 from claudiob/ast-rubocopRafael França2017-08-035-5/+5
| |\ \ | | | | | | | | Make Rubocop happy about ActiveStorage
| | * | Make Rubocop happier about ActiveStorageclaudiob2017-08-035-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running `rubocop activestorage` before this commit resulted in 20 offenses. This commit only fixes: - Trailing whitespace detected - Space inside } missing - Put one space between the method name and the first argument. The other offenses are left since they are intentional according to @georgeclaghorn (https://github.com/rails/rails/pull/30061#issuecomment-319999190)
| * | | We need to require the top file before individual oneRafael Mendonça França2017-08-031-0/+1
| | | |
| * | | Do not eager load ActiveRecord::BaseRafael Mendonça França2017-08-036-22/+6
| | | | | | | | | | | | | | | | Everything inside the app directory of a engine is autoload/eager loaded automatically so we don't need to require them.
| * | | Merge branch 'active-storage-import' of github.com:rails/rails into ↵David Heinemeier Hansson2017-08-035-7/+85
| |\ \ \ | | | | | | | | | | | | | | | active-storage-import
| | * | | Remove duplicated convert_direct_upload_option_to_urlRafael Mendonça França2017-08-032-7/+4
| | | | | | | | | | | | | | | | | | | | FormHelper includes FormTagHelper so we don't need to define two methods
| | * | | Refactor convert_direct_upload_option_to_urlRafael Mendonça França2017-08-032-3/+35
| | | | | | | | | | | | | | | | | | | | Also make sure file_field doesn't mutate the original options passed in.
| | * | | Make sure Action View doesn't break with Active StorageRafael Mendonça França2017-08-033-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | When Active Storage is not loaded and direct_upload is used on file_field_tag we should not raise an exception.
| * | | | Active Storage routes are now part of the default routesDavid Heinemeier Hansson2017-08-031-9/+37
| |/ / / | | | | | | | | | | | | It's worth considering whether we should hide these by default, but I'm kinda thinking no. It's very reasonable that someone would want to call these directly, so they should be documented.
| * | | Same issue from AR getting loaded earlierDavid Heinemeier Hansson2017-08-031-3/+3
| | | | | | | | | | | | | | | | cc @rafaelfranca
| * | | Including new default classes in loading testDavid Heinemeier Hansson2017-08-031-3/+3
| | | |
| * | | Active Storage loads AR earlier to extend it so require env laterDavid Heinemeier Hansson2017-08-031-3/+7
| | | |
| * | | There is no reason to single line methods hereRafael Mendonça França2017-08-031-4/+12
| |/ / | | | | | | | | | | | | I know those methods are unlikely to change but having one line method is hard to read and also hard to modify.
| * | Generating the app is where the exception is now raisedDavid Heinemeier Hansson2017-08-031-1/+1
| | |
| * | Can't initialize a message verifier without a key baseDavid Heinemeier Hansson2017-08-031-1/+3
| | |
| * | Merge pull request #30053 from ffmike/patch-2Richard Schneeman2017-08-031-1/+2
| |\ \ | | |/ | |/| Add Azure gems to README
| | * Tweak requiresMike Gunderloy2017-08-021-1/+1
| | | | | | | | | Omit azure-core (it's required by azure-storage), remove require:false to match other points.
| | * Use release azure-core gemMike Gunderloy2017-08-021-1/+1
| | |
| | * Update README.mdMike Gunderloy2017-08-021-1/+1
| | |
| | * Add Azure gems to READMEMike Gunderloy2017-08-021-1/+2
| |/
| * Merge pull request #30046 from ↵Rafael França2017-08-0217-28/+27
| |\ | | | | | | | | | | | | kamipo/fix_string_literals_violations_for_active_storage Fix `Style/StringLiterals` violations for Active Storage
| | * Fix `Style/StringLiterals` violations for Active StorageRyuta Kamizono2017-08-0317-28/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | ``` % be rubocop -a --only Style/StringLiterals activestorage Inspecting 74 files ........................................CCCCCCCCCC.C........CC.......C.C.. (snip) 74 files inspected, 31 offenses detected, 31 offenses corrected ```
| * Merge branch 'master' into active-storage-importDavid Heinemeier Hansson2017-08-0238-110/+211
| |\
| * \ Merge pull request #30040 from rbarysas/active-storage-importRyuta Kamizono2017-08-021-0/+1
| |\ \ | | | | | | | | Add Azure to the available services list [ci skip]
| | * | Add Azure to the available services listRolandas Barysas2017-08-021-0/+1
| |/ /
| * | Merge pull request #30035 from ytbryan/patch-1Ryuta Kamizono2017-08-021-3/+1
| |\ \ | | | | | | | | Add Azure to readme [ci skip]
| | * | Add Azure to readme Bryan Lim2017-08-021-3/+1
| |/ / | | | | | | previously https://github.com/rails/activestorage/pull/86
| * | Skip if credentials aren't providedDavid Heinemeier Hansson2017-08-012-2/+2
| | |
| * | Fix dummy app for inclusion in RailsDavid Heinemeier Hansson2017-08-011-2/+1
| | |
| * | Remove circular dependencyDavid Heinemeier Hansson2017-08-011-2/+0
| | |
| * | Merge branch 'master' into active-storage-importDavid Heinemeier Hansson2017-08-0117-35/+71
| |\ \
| * | | Prevent interpolation of ERB elementsDavid Heinemeier Hansson2017-08-011-6/+6
| | | |
| * | | Add the storage.yml file by defaultDavid Heinemeier Hansson2017-08-011-0/+1
| | | |
| * | | Follow same format as action_cableDavid Heinemeier Hansson2017-08-011-1/+3
| | | |
| * | | Cut down on installation adviceDavid Heinemeier Hansson2017-08-011-8/+4
| | | |
| * | | Drop README terms no longer relevantDavid Heinemeier Hansson2017-08-011-12/+0
| | | |