1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

24 commits

Author SHA1 Message Date
David Heinemeier Hansson
d0e90b4a9d Blob/Variant#url -> #service_url to emphasize this URL isn't to be public 2017-07-24 11:14:29 -05:00
David Heinemeier Hansson
69922fc715 Everything under app/ is eager loaded, don't want that for service
Since it references all the specific cloud services that are intended only to be loaded on demand.
2017-07-24 08:48:42 -05:00
David Heinemeier Hansson
5944850bc1 Tell service which content-type to use for the response 2017-07-23 17:50:31 -05:00
David Heinemeier Hansson
f6ba62be18 Schema out of date and now obvious 2017-07-23 17:31:31 -05:00
David Heinemeier Hansson
e16d0c9cea No more GlobalID 2017-07-23 16:57:26 -05:00
David Heinemeier Hansson
f96abd1dfc Merge branch 'master' into explore-polymorphism 2017-07-23 16:35:37 -05:00
David Heinemeier Hansson
91d6c6e889 Return to same level of abstraction 2017-07-23 16:35:16 -05:00
David Heinemeier Hansson
eb9b019fee Return to same level of abstraction 2017-07-23 16:28:45 -05:00
George Claghorn
ac26aef11f Require mini_magick when it's used 2017-07-23 17:06:45 -04:00
David Heinemeier Hansson
229394b5ac Merge branch 'master' into explore-polymorphism 2017-07-23 15:55:53 -05:00
David Heinemeier Hansson
15efa6720f Specify verification purposes 2017-07-23 15:51:01 -05:00
David Heinemeier Hansson
5963766d84
Explore regular polymorphic associations rather than record_gid 2017-07-23 21:17:17 +02:00
David Heinemeier Hansson
347dc16632 VerifiedKeyWithExpiration no longer needed
Thanks to rails/rails#29854! This does mean that we now depend on rails/rails master.
2017-07-23 13:19:32 -05:00
David Heinemeier Hansson
c285c6824d Provide a BlobsController for stable blob URLs
We need to have stable urls for blobs and variants or caching won't work. So provide a controller that can give that and redirect to the service URL upon lookup.
2017-07-23 11:06:06 -05:00
David Heinemeier Hansson
46da4ee7da Switch to simpler signed_id for blob rather than full GlobalID
We don't need to lookup multiple different classes, so no need to use a globalid.
2017-07-23 11:05:20 -05:00
David Heinemeier Hansson
8f20624820 Switch to a single message verifier
No need for this proliferation
2017-07-23 11:03:25 -05:00
David Heinemeier Hansson
9e81741b34 Disk controller must rely on key alone
Otherwise it can't be used to display variants. It's better anyway since all other services won't know about blobs either. Better simulation. Closes #71
2017-07-23 10:56:53 -05:00
David Heinemeier Hansson
da12346695 Nix more needless requires 2017-07-22 10:00:16 -05:00
David Heinemeier Hansson
e0b89fa4fc No need for explicit requires any more 2017-07-22 09:56:40 -05:00
David Heinemeier Hansson
d50679f4ee Move models and jobs to the app setup
Follow engine conventions more closely
2017-07-22 09:47:24 -05:00
Koichi ITO
b44b0f2c3b Fix RuboCop offenses and warnings 2017-07-22 00:14:46 -04:00
David Heinemeier Hansson
796f8330ad Fix and test VariantsController 2017-07-21 16:12:29 -05:00
David Heinemeier Hansson
6c2cef21ce Fix-up variants controller 2017-07-20 17:34:32 -05:00
David Heinemeier Hansson
1c85eecee0 Move controllers to default engine location for auto loading 2017-07-20 17:34:13 -05:00