Commit Graph

20 Commits

Author SHA1 Message Date
☃ Stephen Shkardoon ☃
e496341b70 Fix static exporter to export URLs properly 2015-01-09 11:42:25 +13:00
Stig Lindqvist
9821120d72 Removed commented code and relevant method externalReferencesFor 2014-09-01 11:03:24 +01:00
☃ Stephen Shkardoon ☃
dfbfd7fbbc Merge pull request #21 from dhensby/patch-1
Use Config::nest() where appropriate
2014-09-01 00:52:55 +12:00
Will Rossiter
1a4e07c036 Fix incorrect set call. 2014-03-23 18:09:04 +13:00
Daniel Hensby
cac7372f33 FIX Config settings returned to normal after publishing completes
When calling this function onAfterWrite of a DO, the site theme was used to render the CMS form. This fix corrects that by restoring all the config options that are changed
2014-02-28 11:25:29 +00:00
Daniel Hensby
e0ea5aa89b FIX start and count of urls is ignored
When setting the start and count values for the `RebuildStaticCacheTask` the limits are ignored because the $urls variable is never reused after it is defined.
2014-02-28 11:14:42 +00:00
Will Rossiter
ea1461acd7 API: Remove CMS constraint.
This also changes getObjectsToExport() to getExportUrls() to allow extensions to provide plain text url's for Director::test().

Pushes the controller to dev/staticexporter as some framework install doesn't include default class routing.
2014-01-14 20:36:46 +13:00
Stig Lindqvist
f884605b4a BUG Static publisher republish even when config systems says no 2013-11-04 11:56:51 +13:00
Mateusz Uzdowski
ec3bba50b7 NEW Generate static versions of ErrorPages.
The error-XXX.html pages generated in assets folder use the dynamic URL
so they can't be used on the frontend. Provide a copy of these in cache
folder during the publisher processing task.
2013-09-16 14:22:24 +12:00
Stig Lindqvist
8710217ca2 NEW Pass through the Content-type when using .php extension 2013-06-11 21:38:18 +12:00
Will Rossiter
48e3ed9d35 FIX: Clear DataObject cache when loading each page (Fixes #10)
Include performance figures in the export log for reference.
2013-06-08 13:57:57 +12:00
Will Rossiter
20e3e5f019 API: Deprecate static methods in favour of Config API. 2013-05-24 19:46:15 +12:00
Will Rossiter
462651d59d FIX: Restore missing getMetadata from silverstripe-cms/f9504e. (Fixes #16) 2013-05-24 18:22:03 +12:00
Tom Densham
ba51f661d4 FIX: Ensure that theme is detected properly 2013-05-24 18:13:04 +12:00
Daniel Hensby
3470e7dd22 FIX Path to PHP cache file
Currently linking to the wrong dir for the CachedPHPPage.tmpl
2013-05-23 10:47:18 +01:00
Will Rossiter
410ded98b2 FIX: leave trailing slashes along. 2013-04-06 18:35:08 +13:00
Will Rossiter
2e9c3109c7 FIX: update for Config API 2013-04-06 17:24:51 +13:00
Will Rossiter
841ecd9fe5 Rename static to staticpublisher. 2012-09-25 20:02:26 +12:00
Will Rossiter
ba6e935177 Protect main.php 2012-09-21 19:48:50 +12:00
Will Rossiter
c3c55c4b0e Initial import 2012-09-21 17:47:26 +12:00