Commit Graph

28 Commits

Author SHA1 Message Date
Daniel Hensby 97cef021d6 Remove random publishing of 10 pages 2016-02-24 15:37:18 +00:00
Daniel Hensby f3d3b570d6 FIX Removing dependence on cache dir name
Removing the dependence that cache dir is actually named `cache`
2016-02-02 13:01:31 +00:00
helpfulrobot 5a5693b095 Converted to PSR-2 2015-12-20 17:19:24 +13:00
Adam Judd ea8014fadd Force publishPages() to use the Live stage
Fixes #42
2015-10-12 13:40:03 +10:30
Ben Speakman 8e24d17efd Fix RsyncMultiHostPublisher config loading error
Fixes issue #36
2015-05-18 11:01:05 +01:00
Nick Spiel 0ebd8c7c0b Only publish 'legal' pages
The republish function now only publishes pages that are returned in the allPagesToCache(); function in the Page class.
2015-04-21 20:33:20 +10:00
Will Rossiter 6d84b1e049 Pass quiet mode through to publisher 2015-03-09 15:48:39 +13:00
Will Rossiter c8d1b4b2e4 NEW Add quiet mode to RebuildStaticCacheTask 2015-03-07 00:22:45 +13:00
☃ 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