Commit Graph

287 Commits

Author SHA1 Message Date
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
carlos barberis 3cefdf4416 BUGFIX: compatible with new FieldList (SS3) 2012-05-19 15:26:45 +12:00
carlos barberis fc9a93337a BUGFIX: fix path to DB class on TypoImport.php 2012-05-19 15:07:13 +12:00
carlos barberis 26d101e555 BUGFIX: convert SS_Map to array before merging 2012-05-19 14:40:39 +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 c574d12226 BUGFIX: Removed use of subtabs, to be compatible with SS3. 2012-03-24 16:31:00 +13:00
Sam Minnee 5d1ac0961e BUGFIX: Removed use of deprecated toDropdownMap(). 2012-03-24 16:27:49 +13: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
Will Rossiter b395e6f12f Merge pull request #1 from oddnoc/master
MINOR: Removed debug in MetaWeblog. FIXES #6118.
2011-06-13 00:22:20 -07:00
John Clarke 1ed87c004e BUGFIX: support for legacy installations for the date based blog entry listing using slashes rather than dashes. PATCH via jcinteractive. (#5) 2011-05-07 12:28:44 +12:00
phalkunz 8ccd23db5a MINOR: Fix RSS validator warning. Thanks to tim. 2011-01-21 15:51:06 +13:00
phalkunz db45cb9b49 MINOR: Make use of Link()'s parameter 2011-01-21 15:48:47 +13:00
phalkunz e2f088e1e8 MINOR: Blog tag now supports multibyte chars in the front-end. Thanks to hex0id. 2011-01-20 13:38:28 +13:00
Fred Condo 2cd7216f2a BUGFIX: #6118 Remove Debug::log call. 2011-01-17 13:02:45 +01:00
Carlos Barberis 938828cc3d MINOR: reverted show in menus true by default 2011-01-11 22:19:33 +00: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
Carlos Barberis 658ca91eeb MINOR: show in menus is true by default 2011-01-11 22:12:18 +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
Saophalkun Ponlu eb52713954 MINOR: Allow decorating db and cms fields of widgets in one decorator. Thanks to smurkas 2010-12-10 03:20:26 +00:00
Carlos Barberis 438feba01e BUGFIX: TagCloudWidget sorts by frecuency even with limit equal 0, see ticket 6060 2010-10-08 03:28:11 +00:00
Carlos Barberis 1a6bb1482c BUGFIX: TagCloudWidget uses themedCSS instead css (ticket 6059, thanks artyom) 2010-10-07 22:31:04 +00:00
Saophalkun Ponlu 4971fb4730 BUGFIX Fixed XSS vulnerability in BlogTree? when filtering by tags 2010-10-03 21:44:57 +00:00
Saophalkun Ponlu a6734d3609 BUGFIX Fixed XSS vulnerability in BlogTree? when filtering by tags 2010-10-03 21:40:01 +00:00
Ingo Schommer 3593f03f7e BUGFIX Fixed XSS vulnerability in BlogTree when filtering by tags 2010-10-03 20:02:43 +00:00
Ingo Schommer 475a190112 BUGFIX: Fixed front end post entry form validation and its test (merged from r108801) 2010-09-01 20:52:19 +00:00
Will Rossiter 965b81c0a3 FEATURE: allow disabling of the built in RSS link generated to allow feedburner links etc to be used otherwise. MINOR: removed commented out code 2010-08-20 02:37:35 +00:00
Carlos Barberis d7bb8a6d74 BUGFIX: Fixed front end post entry form validation and its test 2010-08-03 00:44:30 +00:00
Carlos Barberis d491c442dc ENHANCEMENT: Added option to view archives just by year (ticket #5667)
ENHANCEMENT: added action on BlogTree
2010-07-01 23:30:13 +00:00
Carlos Barberis 9cfd303ecf BUGFIX: Got rid of link to post new entry in the front end on a BlogTree (method does not exist on BlogTree).
Thanks smurkas (#4692)
2010-07-01 21:49:58 +00:00
Ingo Schommer d75c402999 MINOR Fixed TrackbackURL->isDuplicate() with ANSI compliant SQL (see r106984 and r107129) 2010-06-28 01:10:17 +00:00
Andreas Piening 3bf8ebc49c MINOR: fixed malformed sql query 2010-06-28 00:30:10 +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 834b6d8f91 ENHANCEMENT: Allow notifying multiple trackback urls per blog entry
APICHANGE: TrackBackDecorator::trackbackNotify() allow one parameter
APICHANGE: remove TrackBackDecorator::ShouldTrackbackNotify()
2010-06-23 05:50:02 +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
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
Saophalkun Ponlu c925304eca BUGFIX: resolve locale issue when posting blog entry from the front-end 2010-06-16 22:40:02 +00:00
Saophalkun Ponlu 8de8414c86 BUGFIX: postgres and sql server compatibility 2010-05-28 03:46:17 +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
Will Rossiter c681ba3762 BUGFIX: fixed link rewriting on summary page 2010-05-25 22:10:46 +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
Will Rossiter 3e952feefc BUGFIX: restored filtering by Author to the entries function 2010-05-18 03:21:08 +00:00
Will Rossiter b066dce821 APICHANGE: removed BlogTree_URL class and its little static children. Changed to SelectedTag and SelectedDate to allow to be called in the template. SelectedDate now also returns a Date object rather than a string. BUGFIX: fixed missing Viewing posts by date text and added a viewing by post date text. 2010-05-16 02:38:19 +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
Geoff Munn 23e817fe6b BUG FIX: date checks now database agnostic 2010-04-29 22:39:40 +00:00
Tom Rix c31bb7e6b6 MINOR improve test coverage 2010-03-19 00:15:41 +00:00
Geoff Munn 5d2019f246 BUG FIX: table and column names quoted properly 2010-03-11 20:47:59 +00:00
Saophalkun Ponlu c1f20717d1 BUGFIX: returns null when there's no blog IDs 2010-03-11 01:28:37 +00:00
Geoff Munn c23b49323f BUG FIX: month calculation system fixed to be database-agnostic 2010-03-08 22:08:21 +00:00
Sean Harvey 3198619d0b ENHANCEMENT Blog widgets now respect updateCMSFields - related to r99929 2010-02-25 04:24:22 +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
Andreas Piening 54b1c07049 MINOR: added datetime helper function 2010-02-02 04:27:06 +00:00
Andreas Piening aa32a6a55d MINOR: substituted proprietary SQL datetime operation 2010-02-01 05:27:18 +00:00
Ingo Schommer bcaea3eafb BUGFIX Limiting BlogHolder->LandingPageFreshness to requests without a controller action only. Controller actions are not regarded as the "landing page", as they cause other views like 'tags' or 'rss', which shouldn't be filtered (from r96200) 2009-12-22 21:07:44 +00:00
Ingo Schommer 1d2c96b6de BUGFIX Limiting BlogHolder->LandingPageFreshness to requests without a controller action only. Controller actions are not regarded as the "landing page", as they cause other views like 'tags' or 'rss', which shouldn't be filtered 2009-12-22 20:55:23 +00:00
Saophalkun Ponlu eb1dc8019e MINOR: correct the path to SimplePie include 2009-12-22 02:58:33 +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