Commit Graph

88 Commits

Author SHA1 Message Date
helpfulrobot
07d0783ad4 Added standard Scrutinizer config 2016-02-17 05:17:52 +13:00
Daniel Hensby
d53b3ad855 Merge pull request #54 from helpfulrobot/add-standard-code-of-conduct-file
Added standard code of conduct file
2016-02-16 09:43:16 +00:00
helpfulrobot
bc63358766 Added standard code of conduct file 2016-02-16 11:07:27 +13:00
☃ Stephen Shkardoon ☃
99e5162f23 Merge pull request #34 from dhensby/patch-3
FIX Removing dependence on cache dir name
2016-02-03 11:46:04 +13: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
Will Rossiter
f1e0cdd5dc Merge pull request #52 from helpfulrobot/add-standard-gitattributes-file
Added standard .gitattributes file
2016-01-18 15:44:22 +13:00
Will Rossiter
9d65ac32d7 Merge pull request #29 from kevcenteno/master
Added cache headers for .html files
2016-01-18 15:44:10 +13:00
helpfulrobot
fa78a98d9c Added standard .gitattributes file 2016-01-16 18:29:44 +13:00
Damian Mooyman
1a37a8033a Merge pull request #51 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-12-21 10:30:04 +13:00
helpfulrobot
5a5693b095 Converted to PSR-2 2015-12-20 17:19:24 +13:00
Damian Mooyman
6208a75ac5 Merge pull request #50 from helpfulrobot/add-standard-editorconfig-file
Added standard .editorconfig file
2015-12-17 14:08:21 +13:00
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
Kevin Centeno
e2f4698402 Added cache headers for .html files
"This code snippet checks if a page has been modified since it was last displayed. If so, it sends a "304 not modified" header and exits, otherwise the content is rendered." source: http://css-tricks.com/snippets/php/intelligent-php-cache-control/

Adds Last-Modified, Etag (using md5; performance is still good for files under 1MB), and Cache-Control header.
2013-10-04 15:47:36 -04: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