Commit Graph

89 Commits

Author SHA1 Message Date
Damian Mooyman
5589def46d BUG Fix BlogHolder::requireDefaultRecords not respecting SiteTree.create_default_pages config 2014-02-27 15:52:27 +13:00
Ingo Schommer
576e462823 PHP <5.3.4 compat (is_a() usage)
Our build infrastructure still runs an ancient 5.3.3,
and given this is the only blocker for it, worth
complicating the code a bit to retain this compatibility.
2013-10-21 10:19:41 +02:00
Ingo Schommer
83d36645f2 Merge remote-tracking branch 'origin/0.6' 2013-04-29 10:02:26 +02:00
Ingo Schommer
5e9e8e4e8c Fixed BlogEntryForm saving regression from df544e01f
Was saving to live before overwriting with draft again.
Since no write to draft ocurred before, this broke
the publish() call - e.g. visible by the test breakage
in BlogHolderFunctionalTest.
2013-04-29 09:59:35 +02: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
1815eea00a Fixed BlogHolder->providePermissions() declaration
Placed on controller instead of model. Thanks @tractorcow
for pointing this out.
2013-04-14 23:18:00 +02:00
Ingo Schommer
966d168119 Improved wording in Blog CMS fields 2013-04-11 01:30:56 +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
df544e01f2 BUGFIX: fix post in the front end when not logged in 2013-03-18 11:01:47 +13:00
carlos barberis
94e9543f6c BUGFIX: fix post in the front end when not logged in 2013-03-18 11:00:04 +13:00
cam-findlay
553b5686d7 Update code/BlogHolder.php
fix to the ownerID issue with BlogHolder.php was previously storing the ID of the downdown select having been renumbered from 0, now stores the actual Member->ID of the blog owner.
2012-11-13 09:59:48 +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
2cbbe096ca BUGFIX: replace Director::redirect 2012-06-21 13:45:07 +12:00
carlos barberis
efb1264926 ENHANCEMENT: make blog module independent of widget module 2012-05-28 18:12:53 +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
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
Carlos Barberis
d7bb8a6d74 BUGFIX: Fixed front end post entry form validation and its test 2010-08-03 00:44:30 +00:00
Saophalkun Ponlu
1f706f6e73 BUGFIX: resolve wrong character parsing when posting blog entry from the front-end 2010-06-17 06:05:37 +00:00
Saophalkun Ponlu
755787de5d MINOR: subsequent fix to commit r106598 2010-06-17 01:46:17 +00:00
Saophalkun Ponlu
fe2e699730 MINOR: merge r106597 from branch 0.4 2010-06-16 22:52:06 +00:00
Carlos Barberis
1e96d253b4 Reverted form to post entry to BlogHolder
ENHANCEMENT: added post as an allowed method on BlogTree
2010-05-28 02:33:58 +00:00
Carlos Barberis
b389d86f00 ENHANCEMENT: Moved postblog (post in the front end) to BlogTree, so it works in BlogTree 2010-05-28 01:38:19 +00:00
Carlos Barberis
b48504f795 ENHANMENT: continue replacing deprecated Director::urlParams() 2010-05-27 23:47:13 +00:00
Carlos Barberis
5a5cdf1aaf ENHANCEMENT: replaced deprecated Director::urlParams()
BUGFIX: tag working with nested urls
2010-05-27 23:30:14 +00:00
Carlos Barberis
606d526627 BUGFIX: Deleted old js from BlogHolder
ENHANCEMENT: do not show blog management widget when not logged in (ticket #5561 thanks ericdrex)
2010-05-27 21:38:24 +00:00
Saophalkun Ponlu
d9d12dd621 ENHANCEMENT: display only members of Administrators and Blog Management groups in the blog holder's blog owners dropdown field
FEATURE: allow blog owner customisation
2010-05-24 04:22:56 +00:00
Andrew O'Neil
a7f024bc45 Use "date" for archives, using numbers directly causes too many problems 2009-12-20 00:31:24 +00:00
Andrew O'Neil
e52171bf75 Allow extending of blog holder fields 2009-12-17 08:00:34 +00:00
Andrew O'Neil
5220e06737 FEATURE: Preliminary MetaWeblog support 2009-11-30 11:04:26 +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
Sam Minnee
9545d4f87c BUGFIX: Updated blog module to support 2.4 API changes 2009-10-26 22:03:52 +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
Sean Harvey
c37785c07b BUGFIX Fixed "tag" action not allowed on BlogHolder_Controller 2009-08-06 21:59:43 +00:00
Geoff Munn
af3b912749 COMMENT: in some cases, this might not be correctly triggered 2009-07-28 04:17:38 +00:00
Saophalkun Ponlu
67d8a8b423 Added unit test for BlogHolder_Controller's custom checkAccessAction function 2009-07-22 03:16:06 +00:00
Saophalkun Ponlu
a91d0eeb68 Applied an urgent hack to work new blog archive link (e.g 2009/05) 2009-07-20 02:29:10 +00:00
Sean Harvey
2e58553940 BUGFIX Ensure that a BlogHolder record doesn't exist properly by checking if the record has an ID 2009-07-16 03:18:55 +00:00
Sam Minnee
d0ee014aa5 BUGFIX: Improve r81254 to fix blog/rss and subclasses of BlogHolder_Controller 2009-07-07 23:04:02 +00:00
Ingo Schommer
1e809afc65 BUGFIX Using $allowed_actions in BlogHolder, permission checks on BlogHoder_Controller->postblog() 2009-07-07 22:11:11 +00:00
Julian Seidenberg
038cad9b63 BUGFIX: fixed permissions to allow non-admin user to post and manage blog entries 2009-05-27 01:26:34 +00:00
Sean Harvey
dfb9e17c2c BUGFIX Fixed call to deprecated function Form::loadNonBlankDataFrom() on BlogHolder, replacing it with Form::loadDataFrom() 2009-05-20 05:00:32 +00:00
Saophalkun Ponlu
61a2cc2332 MINOR: move Name field from BlogHolder to BlogTree 2009-05-20 02:18:48 +00:00