Ingo Schommer
9519ad3a6f
BUGFIX: check the $removeAll var before removing cache files. PATCH via ajshort ( #5672 ) (from r107095)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112584 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:41:44 +00:00
Ingo Schommer
819d449c80
ENHANCEMENT: throw user error when not passing correctly formatted array rather than simply passing (from r107088)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:41:38 +00:00
Ingo Schommer
1d7b62b929
BUGFIX Fixed publication of homepage with '/' URL through StaticPublisher ( fixes #5514 , thanks ktauber) (from r103960)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112449 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:31:54 +00:00
Sam Minnee
cb9e8481f9
ENHANCEMENT: use FileSystem class to create cache directory to unsure the right permissions are set (from r103730)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112175 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:19:46 +00:00
Sam Minnee
36fe2eab56
ENHANCEMENT: create cache directory when it does not exist before running the cache build test (from r103708)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112174 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:19:38 +00:00
Ingo Schommer
01b02969f9
MINOR Fixed phpdoc documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@103384 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-23 00:11:32 +00:00
Ingo Schommer
6c300f5659
MINOR added locking to static publisher to avoid two queues running at the same time. (from r87792) (from r98164)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102757 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:14:34 +00:00
Ingo Schommer
29292b865d
BUGFIX: Don't rely on the current directory for any logic. (from r97727)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102738 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:24:12 +00:00
Sean Harvey
399f9d4e31
ENHANCEMENT FilesystemSyncTask: If folderID GET parameter is available, only synchronise that folder ID - useful for only synchronising a specific folder and it's children (from r82841)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:37:02 +00:00
Sean Harvey
b2fe474fde
ENHANCEMENT Return the results of the FilesystemSyncTask to the status message in the CMS instead of a generic success message (from r82618)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:34:41 +00: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
Sam Minnee
9bc3f5fe2a
ENHANCEMENT: Added manual Filesystem::sync() button to improve load time of admin/assets area.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-01 22:28:06 +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
Sam Minnee
e79dd5558b
Updating queries to be more DB agnostic
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66506 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-24 09:30:41 +00:00
Ingo Schommer
024bf71ccf
BUGFIX Fixed SiteTreeMaintenanceTask from extending unkown class Task to extending Controller
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65512 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-10 01:45:35 +00:00
Ingo Schommer
d113768d7b
FEATURE Added SiteTreeMaintenanceTask
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64417 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 12:21:30 +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