Commit Graph

15 Commits

Author SHA1 Message Date
Ingo Schommer
aeacbafe16 BUGFIX Fixed publication of homepage with '/' URL through StaticPublisher (fixes #5514, thanks ktauber)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103960 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:32 +13:00
Saophalkun Ponlu
9a4f7be9a1 ENHANCEMENT: use FileSystem class to create cache directory to unsure the right permissions are set
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103730 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:30 +13:00
Saophalkun Ponlu
3fcbefb18b ENHANCEMENT: create cache directory when it does not exist before running the cache build test
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:30 +13:00
Sam Minnee
0fc5b63270 MINOR added locking to static publisher to avoid two queues running at the same time. (from r87792)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98164 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:31 +13:00
Sam Minnee
51cb7f35f3 BUGFIX: Don't rely on the current directory for any logic.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@97727 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:29 +13:00
Sam Minnee
53bb4296df Add support for configuring multiple static publisher on a single site (from r70203)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88638 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-12 03:39:44 +00:00
Ingo Schommer
7df00b12bf MINOR Unified permission control for RebuildStaticCacheTask and StaticExporter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86004 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-10 01:49:07 +00:00
Tom Rix
f1ab64fb50 ENHANCEMENT FilesystemPublisher no longer wipes out the whole cache, but removes pages that are not on the live site, but rebuilds the files one by one. It also now hooks into onAfterUnpublish() to remove files from the cache when they are removed from the CMS. If for some reason this fails, it will be picked up when a /dev/buildcache is done.
CHANGE default fileextension is now html (was null)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-22 22:57:02 +00:00
Tom Rix
ac589ba236 ENHANCEMENT STaticPublisher can now play nice with Subsites, you just need to set FilesystemPublisher::domain_based_caching to true.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81683 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 04:42:02 +00:00
Ingo Schommer
c66ebfaeb8 MINOR phpdoc documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-22 22:58:18 +00:00
Ingo Schommer
300435fb13 MINOR Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69958 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-10 11:36:30 +00:00
Ingo Schommer
7b3068ac4f MINOR Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-05 06:17:59 +00:00
Sam Minnee
ab776401db Static caching merges from dnc branch
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@68901 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-12-15 01:31:01 +00:00
Ingo Schommer
740e3b724f ENHANCEMENT Added user_error() if RebuildStaticCacheTask is called without a Page->allPagesToCache() method defined
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63198 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-28 22:41:02 +00:00
Sam Minnee
387b5edd21 Merged changes from branches/2.2.2-assets:
Static publishing
Ability to lock down comments to logged-in members only

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-12 02:59:27 +00:00