Commit Graph

76 Commits

Author SHA1 Message Date
helpfulrobot
6ca144c4c4 Added standard .editorconfig file 2015-12-17 10:25:52 +13:00
Will Rossiter
680bd6b36f Merge pull request #49 from adamjudd/patch-1
Force publishPages() to use the Live stage
2015-10-14 16:40:20 +13:00
Adam Judd
ea8014fadd Force publishPages() to use the Live stage
Fixes #42
2015-10-12 13:40:03 +10:30
Damian Mooyman
4a3d43d533 Merge pull request #48 from dhensby/patch-4
Move to new travis containerised infrastructure
2015-07-22 08:59:00 +12:00
Daniel Hensby
c2c53b445d Move to new travis containerised infrastructure 2015-07-21 11:03:52 +01:00
Damian Mooyman
62d5bc5daf Merge pull request #40 from christopherdarling/patch-1
DOCS: fix references to static-main.php
2015-07-02 12:25:34 +12:00
Will Rossiter
937a3b5606 Merge pull request #45 from Ben-Speakman/patch-1
Fix RsyncMultiHostPublisher config loading error
2015-05-19 10:02:44 +12:00
Ben Speakman
8e24d17efd Fix RsyncMultiHostPublisher config loading error
Fixes issue #36
2015-05-18 11:01:05 +01:00
Will Rossiter
136cfea039 Merge pull request #44 from nickspiel/patch-2
Only publish 'legal' pages
2015-05-11 15:09:33 +12: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
4504fd0900 GET parameters should fall through cache 2015-03-10 16:17:43 +13: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
Will Rossiter
52f04b7435 Add environment flags for managing publisher settings
SS_STATICPUBLISHER_ENABLED - Set in the environment file if static publisher enabled or disabled

SS_STATICPUBLISHER_CACHEDIR - Set the cache directory (if not /cache)

SS_STATICPUBLISHER_DEBUG - modify debug flag.
2015-03-07 00:22:14 +13:00
Mateusz U
3e14e51643 Merge pull request #38 from ss23/master
Fix static exporter to export URLs properly
2015-01-09 12:01:47 +13:00
☃ Stephen Shkardoon ☃
e496341b70 Fix static exporter to export URLs properly 2015-01-09 11:42:25 +13:00
Will Rossiter
1a5527b635 Merge pull request #41 from dhensby/pulls/editorconfig
adding .editorconfig
2015-01-05 14:38:24 +13:00
Daniel Hensby
401980b19b adding .editorconfig 2015-01-03 17:44:31 +00:00
Christopher Darling
bc77768412 DOCS: fix references to static-main.php
framework/static-main.php no longer exists and is now part of this module, references to static-main.php have been updated to staticpublisher/main.php
2014-11-18 12:16:26 +00:00
Will Rossiter
76ba1a8b25 Merge pull request #37 from dhensby/pulls/rebase-31
Removed commented code and relevant method externalReferencesFor
2014-09-03 21:04:56 +12: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
Ingo Schommer
9bdf8e68d9 Running CI against SilverStripe master 2014-08-03 22:04:35 +12:00
Will Rossiter
1a4e07c036 Fix incorrect set call. 2014-03-23 18:09:04 +13:00
Will Rossiter
efb7b1dc94 Merge pull request #33 from dhensby/patch-2
FIX start and count of urls is ignored
2014-03-01 09:09:48 +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
Ingo Schommer
3bb94ab139 Merge pull request #32 from silverstripe-labs/travis-release
Travis: Use 3.1 releases for core (5.3 pgsql & 5.4 mysql)
2014-02-17 16:50:28 +13:00
Stig Lindqvist
bed42a51d4 Travis: Use 3.1 releases for core (5.3 pgsql & 5.4 mysql) 2014-02-17 16:42:47 +13:00
Stig Lindqvist
01cfdb8511 Update LICENSE
Updating the (c) year to 2014
2014-02-17 16:34:47 +13:00
Sam Minnee
94ebd838d8 Include cms in travis test, as cms is required for test run. 2014-02-14 12:11:41 +13: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
Sean Harvey
02c2e66d69 Merge pull request #30 from stojg/use-config-system
BUG Static publisher republish even when config systems says no
2013-11-03 15:10:13 -08:00
Stig Lindqvist
f884605b4a BUG Static publisher republish even when config systems says no 2013-11-04 11:56:51 +13:00
Will Rossiter
9b8e4798ba Merge pull request #27 from nickspiel/master
Fixes BASE_URL php Notice.
2013-09-18 01:46:51 -07:00
Nick Spiel
5ff80cad6c Fixes BASE_URL php Notice. 2013-09-18 10:31:55 +10:00
Will Rossiter
00e49ccd19 Update buildcache url in documentation (Fixes: #23) 2013-09-16 19:49:30 +12:00
Stig Lindqvist
bacc1d44ba Merge pull request #24 from mateusz/standard-error-pages
NEW Generate static versions of ErrorPages.
2013-09-15 19:28:54 -07: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
Mateusz U
689116bcd2 Merge pull request #25 from stojg/fix-tests-for-31
Fix unittests for 3.1rc
2013-09-15 19:21:57 -07:00
Stig Lindqvist
a6ea8bfe95 Fix unittests for 3.1rc 2013-09-16 13:53:57 +12:00
Ingo Schommer
9bd1092e37 Fixed composer constraint to allow for RC releases (composer fixed its tilde behaviour now) 2013-08-14 12:00:33 +02:00
Will Rossiter
2827e4897f Merge pull request #20 from stojg/content-type-19
NEW Pass through the Content-type when using .php extension
2013-06-11 02:53:11 -07: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
fc1e7bd8a2 FIX: Update use of deprecated methods 2013-05-24 18:31:07 +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
Will Rossiter
7bbfe62883 Merge pull request #18 from dhensby/patch-typo
FIX Path to PHP cache file
2013-05-23 03:51:47 -07:00