Commit Graph

255 Commits

Author SHA1 Message Date
Daniel Hensby
e2cf6421c6
Merge branch '0.5' into 0.6 2018-02-20 13:24:43 +00:00
Daniel Hensby
ded09bda7d
Merge branch '0.4' into 0.5 2018-02-20 13:20:46 +00:00
Daniel Hensby
dfaa974697
Merge branch '0.3' into 0.4 2018-02-20 13:17:23 +00:00
Daniel Hensby
5e05ac92e5
Merge branch '0.2' into 0.3 2018-02-20 13:11:09 +00:00
Damian Mooyman
ad060cabf4 BUG Fixes LandingPageFreshness parsing issue. fixes #13 2014-02-21 16:52:13 +13:00
Ingo Schommer
eb7f7488f1 Check for if(class_exists('Widget')) in TagCloudWidget 2013-07-17 09:20:03 +02:00
madmatt
a15bc7a75d Fix PUT-221 - BlogEntryForm needs an explicit call to Requirements::javascript() when Requirements::set_suffix_requirements(true) is called. 2013-04-29 20:36:18 +12: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
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
ee532292d2 NEW Making widgets dependency optional 2013-04-11 12:35:22 +02:00
Ingo Schommer
966d168119 Improved wording in Blog CMS fields 2013-04-11 01:30:56 +02:00
Ingo Schommer
92b6de1d77 Moved LandingPageFreshness to "Settings" tab
It just adds clutter under the main tab, and pushes
the actually important "Content" field further down the CMS screen
2013-04-11 01:30:56 +02:00
Ingo Schommer
899a81cb79 API Removed BlogTree.Name, use BlogTree.Title instead
We already have $Title and $MenuTitle, I don't really see a common
use case for $Name in addition to that
2013-04-11 01:30:55 +02:00
Ingo Schommer
e265ae35e8 NEW Show "post" date and author in CMS list view for blog entries 2013-04-08 00:50:00 +02: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
debd7e4e1b Merge pull request #69 from icecaster/patch-1
Fixed RSS Link, using 'rss' as $action param
2013-02-28 12:28:59 -08:00
Ingo Schommer
50b19daca1 Show "selected author" headline when filtering 2013-02-28 17:33:21 +01:00
carlos barberis
c2a6ba5b69 SECURITY: avoid XSS vulnerability within the Tags field in BlogEntry 2013-02-07 13:31:08 +13:00
Tim Klein
95eb0d2c38 Fixed RSS Link, using 'rss' as $action param
Fixed RSS Link, using 'rss' as $action param for Link() method on BlogHolder.
This fixes the rss url when removing trailing slashes from page urls
2013-01-18 17:58:34 +13:00
cam-findlay
de44b90a4a Update code/BlogTree.php
Name of a blog could do with more space than default 50 characters.

Example a blog name with a tagline for consistant branding...

"My Awesome Brand Blog - Servicing customers and good things like that"
2012-11-14 08:50:25 +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
cam-findlay
e441b4e690 Update code/BlogTree.php
BUGFIX missing return for rss feeds
2012-10-28 16:21:46 +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
carlos barberis
cfa7410cf2 BUGFIX: replace deprecated DataObjectSet for ArrayList 2012-10-05 09:32:49 +13:00
carlos barberis
b1f4a4f5b1 BUGFIX: Fix blog management widget to work with comments module 2012-10-01 14:54:22 +13: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
carlos barberis
795f1a6a21 BUGFIX: fix blog widgets so their methods are accessible from templates 2012-09-20 16:36:01 +12:00
Saophalkun Ponlu
520721c4f2 Merge pull request #46 from adrexia/ui-improvements
ENHANCEMENT: UI Improvements and template updates
2012-08-28 19:46:37 -07:00
Damian Mooyman
9f9a560767 FIXED: Missing hook to extensions updateCMSFields function 2012-08-23 16:20:06 +12:00
Will Rossiter
ac4e6f2b56 Merge pull request #41 from mattclegg/master
Merge pull request #41 from mattclegg/master
2012-08-22 00:27:20 -07: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
mattclegg
6fd6bd869d BUGFIX Removed duplicate calls to extension
$this->extend('updateCMSFields', $fields);
is already called by;
$fields = parent::getCMSFields();
2012-08-16 15:15:56 +02:00
Morven Lewis-Everley
74c5545e0c Issue #44: Fix archive widget so that dates render correctly 2012-08-14 15:40:18 +01:00
mattclegg
3ae0b78c7d MINOR Amend fallback to return first from DataList 2012-07-30 23:27:45 +01:00
mattclegg
0533ad56e2 MINOR updating previous request for ss3 2012-07-30 22:46:58 +01:00
carlos barberis
8c12345695 BUGFIX: check method SideBar exists in parent before calling it. 2012-07-18 10:47:28 +12:00
Saophalkun Ponlu
bf287d9e77 BUGFIX: Fix an error caused Zend_Date::sub() api change 2012-07-15 01:19:09 +12:00
carlos barberis
221f587236 Merge pull request #34 from jaredkipe/master
Fixed ambiguous column in filter. (BlogTree.php::Entries())
2012-07-11 14:19:49 -07:00
jaredkipe
9702fd5db4 Update code/BlogTree.php Fixed ambiguous column ParentID in filter. 2012-07-11 11:13:25 -07: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
Frank Mullenger
c3d9ee41e7 ENHANCEMENT: Paginated list for blog entries. Check WidgetAreaEditor
class exists.
2012-07-03 20:16:23 +12:00
Frank Mullenger
697ed18dbd Using PaginatedList for blog entries. 2012-07-03 13:16:18 +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
carlos barberis
31c56ca471 BUGFIX: get rid of unnecessary code in BlogEntry::unpublishPost 2012-05-19 15:27:29 +12:00