11 Commits

Author SHA1 Message Date
Samuel Georges
6e7fa7de88 Allow CmsObjects to define their own Twig cache key 2016-03-21 13:42:03 +11:00
Samuel Georges
24a620e890 Convert CmsObject and CmsCompoundObject to use Halcyon
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00
Samuel Georges
d65bc5c2ad Introduce a CmsObject interface
This will be useful to decouple ComponentPartial and Asset objects from their Halcyon counterparts
An Asset is technically not a template, it may be hosted via a CDN or others
A ComponentPartial is also different, it is read only and doesn't require caching
2016-03-09 20:51:04 +11:00
Samuel Georges
5a70cec7a2 Improved fix for #1672 2016-01-02 13:41:57 +11:00
Samuel Georges
ecb54ff92c Rollback #1672 2016-01-02 13:40:32 +11:00
DQ Sully
2fae5a30b9 Fix Twig Caching
When October would load a file from its changed source, Twig would not see the message until it had gone. See Cms\Classes\Loader->isFresh. This meant a template would not update unless you deleted the Twig cache, or that template's TTL expired. Fix: add another variable (freshness) that would only change after being observed, and accurately reflected if a template's source had been modified
2015-12-28 10:09:15 -07:00
Samuel Georges
302f397835 Add cms.twig.processTwigContent hook to Twig loader 2015-06-05 17:23:38 +10:00
Stefan Talen
9c1dcb0dba Updating modules/cms/twig 2014-10-11 01:42:04 +02:00
Sam Georges
bfb5099910 Typo 2014-05-18 09:20:14 +10:00
Pascal Borreli
459c8e0cfa Fixed typos 2014-05-17 18:08:01 +02:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00