Commit Graph

23 Commits

Author SHA1 Message Date
Ingo Schommer
df44239060 Method visibility according to coding conventions 2012-09-20 10:41:50 +02:00
Sean Harvey
5e567cbf80 BUGFIX Declare StaticPublisher::set_static_publisher_theme() and
StaticPublisher::static_publisher_theme() as static, since they're only
called statically. This is a fix for E_STRICT compliance.
2012-04-12 11:21:21 +12:00
Fred Condo
d99e3a0927 Code cleanup: removed trailing ?> markers per code standard.
All cms module except lang directory.
2012-02-13 12:48:41 -08:00
ajshort
6462c59f0f API CHANGE: Renamed SiteTreeDecorator to SiteTreeExtension.
MINOR: Replaced references to decorators with extensions.
2011-04-15 19:37:15 +10:00
Ingo Schommer
d3ebd0da22 MINOR Using ASSETS_DIR constant in StaticPublisher (fixes #5619) (from r105281)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:49:53 +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
cdfbc8a604 BUGFIX: static publishing now uses the last non-null theme, OR the value defined in StaticPublisher::static_publisher_theme. (from r103255)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111661 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 06:14:49 +00:00
Sam Minnee
5926dcc234 BUGFIX: realtime publishing now enabled by default (from r103127)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111659 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 06:14:31 +00:00
Ingo Schommer
653d162939 MINOR pingStatus ping frequency reduced
MINOR updated lang file for SiteConfig
MINOR improved documentation in StaticPublisher
MINOR improved documentation in CMSMain surrounding reports and siteconfig
MINOR migrated headers in SiteConfig to i18n'd (from r86429) (from r99112)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106135 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-06-03 01:34:52 +00:00
Ingo Schommer
2020a17082 MINOR disable real-time static publishing (from r99008)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106125 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-06-03 01:29:26 +00:00
Ingo Schommer
d7d5cbc1c1 MINOR: Removed debugging statements (from r90052) (from r96802)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102665 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:27:06 +00:00
Ingo Schommer
d06ea43054 MINOR: Fixed testing quirk of static publisher unpublishing. (from r90048) (from r96801)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102664 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:27:02 +00:00
Ingo Schommer
81f5920228 BUGFIX: Updated onAfterUnpublish to republish page from static cache as well as unpublish them. (from r90002) (from r96799)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:26:47 +00:00
Ingo Schommer
b1a088cea3 ENHANCEMENT: Added new onRenameLinkAsset() handler to static publishing for better link rewriting. (from r89014) (from r96792)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102482 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:58:43 +00:00
Sam Minnee
610c8cae18 MINOR disable realtime publishing for unit tests
MINOR fix a test that makes no sense
MINOR a couple bugs around embargo/expiry have been fixed (from r85505)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89222 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:14 +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
Sean Harvey
2680489318 BUGFIX Fixed issues with StaticPublisher->onAfterWrite() - merged from r74092
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@74093 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-06 01:28:03 +00:00
Ingo Schommer
bcbdfe2a13 MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71387 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-04 20:18:12 +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
3c8e45f65a MINOR merged branches/2.3 into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@67466 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-12-04 22:38:58 +00:00
Sam Minnee
a93a0c3c95 Updated SQL queries to be ansi compatable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66402 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-23 00:31:13 +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