Commit Graph

83 Commits

Author SHA1 Message Date
Damian Mooyman f97119941e BUG Fix issue with populateDefault breaking during dev/build 2014-12-08 18:43:50 +13:00
JorisDebonnet fcdf9d325a Set default author
The default author did not work, at least on my installation. I believe this is a better solution (although of course you can argue whether it should be getName() or FirstName).
2014-10-08 08:58:48 +13:00
Damian Mooyman d788f6a979 BUG Fixed parsing of spaces and other whitespace in tag clouds. Fixes #59
BUG Fixed incorrect encoding of SelectedAuthor and SelectedTag; Now correctly cast for templates using the `cast` config, not within filtering.
BUG Fixed TagCloudWidget.popularities config from being incorrectly accessed as a static property
BUG Fixed TagCloudWidget::getCMSFields triggering extend('updateCMSFields') twice
BUG Fixed TagCloudWidget::getTagsCollection discarding tag label capitalisation
BUG Fixed TagCloudWidget::getTagsCollection not correctly respecting minimum tag counts (as well as maximum tag counts) when determining the popularity CSS class to assign.
Test cases for TagCloudWidget
API BlogEntry::TagNames now safely extracts tags from a blog entry as an associative 'lowercase' => 'Entered Tag' format
PHPDoc fixes
Removed trailing '?>' tags from PHP files
2014-02-28 17:07:56 +13:00
Michael Wu fecfa23326 Bug fix - change timefield format 2013-06-06 21:57:01 +10:00
Ingo Schommer e33881615d Merge remote-tracking branch 'origin/0.6'
Conflicts:
	.travis.yml
	README.md
	_config.php
	code/BlogHolder.php
	code/BlogTree.php
	code/widgets/ArchiveWidget.php
	code/widgets/BlogManagementWidget.php
	code/widgets/BlogTreeExtension.php
	code/widgets/RSSWidget.php
	code/widgets/SubscribeRSSWidget.php
	composer.json
2013-04-29 09:26:41 +02:00
Ingo Schommer d1d9452757 API Moved "SideBar" widget relation to "widgets" module
Removed BlogTreeExtension in favour of the new WidgetPageExtension
in the "widgets module". Use the following code to update:

Object::add_extension('BlogTree', 'WidgetPageExtension');
Object::add_extension('BlogEntry', 'WidgetPageExtension');

The template placeholder has been renamed from $SideBar to
$SideBarView. In case you're overriding blog templates,
please adjust accordingly.

This change means that widgets can theoretically be applied
to individual blog entries as well, since they need the
"SideBar" relationship as well. In practice, this defaults
to "InheritSideBar" though, which pulls them from the BlogHolder as usual.
2013-04-16 16:04:44 +02:00
Ingo Schommer d351d33621 API Remove Trackback support
It was disabled since migrating the module to SS3,
and the whole concept has become less relevant since spammers discovered trackbacks
(ref http://en.wikipedia.org/wiki/Trackback#Spam).

Since we don't have the resources to make a spam-proof trackback system,
its prudent to remove it instead.
2013-04-11 01:21:04 +02:00
Sean Harvey 95c8a8490c Fixing static definitions to private for 3.1 compatibility 2013-04-04 15:30:33 +13:00
Sean Harvey 9bbf420e0d Fixing $allowed_actions to be private for 3.1 compatibility 2013-04-04 15:24:53 +13:00
carlos barberis c2a6ba5b69 SECURITY: avoid XSS vulnerability within the Tags field in BlogEntry 2013-02-07 13:31:08 +13:00
Saophalkun Ponlu 289940b7e7 Add an option show full blog entry on the holder
https://github.com/silverstripe/silverstripe-blog/issues/57
2012-10-18 10:10:16 +13:00
Simon Elvery 17421c9965 BUGFIX Specify names and improve descriptions for page types. 2012-10-09 10:14:31 +10:00
Ian Walls 13b10c6331 Issue #42: Descriptions for BlogEntry, BlogHolder and BlogTree
For SilverStripe 3+, descriptions can be shown for each available page type
when pages are created.  This commit adds descriptions for the BlogEntry,
BlogHolder and BlogTree classes, as derived from comments within the code.
2012-09-21 11:39:31 -04:00
Naomi Guyer 448d34757e ENHANCEMENT: UI Improvements
Replaced the old page icons, and moved where the blog specific fields
appear in the CMS to above the content area
2012-08-17 14:08:43 +12:00
carlos barberis 8c12345695 BUGFIX: check method SideBar exists in parent before calling it. 2012-07-18 10:47:28 +12:00
Jeremy Bridson 248fef4424 ENHANCEMENT:added a clearfix to blogEntry.ss for the editpost links. added css requirements to php to detect subthemes css 2012-07-09 12:05:53 +12:00
carlos barberis fae45f3826 MINOR: Merge ss3-fixes into master 2012-07-08 11:25:53 +12:00
carlos barberis 2cbbe096ca BUGFIX: replace Director::redirect 2012-06-21 13:45:07 +12:00
carlos barberis 5a21b4eeb9 MINOR: resolve conflicts after merging 2012-05-21 15:58:40 +12:00
carlos barberis 36c31be314 MINOR: update Requirements in README 2012-05-21 14:58:26 +12:00
carlos barberis 31c56ca471 BUGFIX: get rid of unnecessary code in BlogEntry::unpublishPost 2012-05-19 15:27:29 +12:00
carlos barberis c723c3398a ENHANCEMENT: make blog module compatible with SS3 2012-05-19 14:26:55 +12:00
Sean Harvey 90a0e80667 Revert "BUGFIX Initial fixes to support at least building the blog module on SS3"
This reverts commit 8b58156211.
2012-04-14 11:08:18 +12:00
Sean Harvey 8b58156211 BUGFIX Initial fixes to support at least building the blog module on SS3 2012-04-12 13:53:32 +12:00
Sam Minnee 4beea9e8c0 BUGFIX: Don't rely on existence of SiteTree::PageComments. 2012-03-24 16:27:03 +13:00
Matt Gunn 836f745ef3 fixing for ss3 (parentid) 2012-03-24 13:36:45 +13:00
Fabian Graßl 9796265e7c Use SS_Datetime instead of Datetime. Allows the usage of Object::useCustomClass('SS_Datetime', 'LocalDatetime'); 2012-01-08 15:03:00 +01:00
Carlos Barberis 40a52b8cfd MINOR: reverted show in menus true by default 2011-01-11 22:18:26 +00:00
Carlos Barberis c4dde4bccd MINOR: Show in menus is true now by default 2011-01-11 22:15:52 +00:00
Ingo Schommer 66f7263f8a MINOR Added BlogEntry_Controller->PageComments() as a temporary workaround to avoid deprecation warnings from new 'comments' module 2010-12-16 01:36:08 +00:00
Will Rossiter 20ad8dfbbc BUGFIX: getParent() may return null. Prevent calling function on null (esp when running tests) 2010-06-26 04:47:15 +00:00
Saophalkun Ponlu 68df540615 FEATURE: Add send trackback notification 2010-06-22 01:13:10 +00:00
Saophalkun Ponlu 8b4b0f9ac6 ENHANCEMENT: create a template function, BlogEntry::Content(), for consistency of template writing and enable using text summary functionalities in template 2010-06-17 23:19:56 +00:00
Will Rossiter c681ba3762 BUGFIX: fixed link rewriting on summary page 2010-05-25 22:10:46 +00:00
Will Rossiter 3864a78ab5 FEATURE: added NextBlogEntry() and PreviousBlogEntry() functions to allow getting the next / previous posts by date in the template using $NextBlogEntry and $PreviousBlogEntry respectively 2010-05-16 01:10:24 +00:00
Ingo Schommer e45daff36e ENHANCEMENT Adjusted BlogEntry to new DatetimeField API replacing PopupDateTimeField 2010-02-17 05:04:17 +00:00
Andrew O'Neil 0bf95f21c3 BUGFIX: Sometimes link doesnt work correctly 2010-02-12 23:47:43 +00:00
Andrew O'Neil 67b159eab8 APICHANGE: WYSIWYG editing by default 2009-11-30 08:20:46 +00:00
Andrew O'Neil 10d15e1ddd APICHANGE: Drop 2.3 support - 0.3 will be 2.4 only 2009-11-30 08:18:56 +00:00
Andrew O'Neil 1af9fafdd7 BUGFIX: Fix tag links when blog is on home pages 2009-10-27 03:13:33 +00:00
Sam Minnee 9545d4f87c BUGFIX: Updated blog module to support 2.4 API changes 2009-10-26 22:03:52 +00:00
Andrew O'Neil e688e0687e BUGFIX: Fix updateCMSFields() being called twice on BlogEntries 2009-10-06 03:13:00 +00:00
Sean Harvey c920045933 ENHANCEMENT Allow BlogEntry::getCMSFields() fields to be manipulated on decorators 2009-09-24 23:10:54 +00:00
Ingo Schommer 26622686cc MINOR Added 'index' to $allowed_actions on BlogHolder, BlogTree, BlogEntry to comply to new RequestHandler API 2009-09-10 06:08:22 +00:00
Saophalkun Ponlu a41cf18c23 BUGFIX: trackbackping generated an exception. getExtensionInstance returns an instance with NULL owner so TrackBackDecorator->owner->ID was always unavailable 2009-07-28 05:33:22 +00:00
Sean Harvey f41973b838 BUGFIX If IsOwner method doesn't exist on parent object in BlogEntry::IsOwner(), don't attempt to call it 2009-07-01 04:24:42 +00:00
Will Rossiter 94601547af FEATURE: added userblog support. Thanks simon_w - #3463 2009-02-07 02:19:27 +00:00
Will Rossiter 32f4579718 MINOR: added empty statics to blog 2009-01-20 04:01:45 +00:00
Sean Harvey 94391c22d7 BUGFIX Allow SearchForm URL action for default SS search on BlogEntry 2009-01-12 22:27:05 +00:00
Will Rossiter 3c8df2e623 MINOR: added seperate URLTag element so you can use the tag segment for something else 2008-12-18 05:26:43 +00:00