Commit Graph

33 Commits

Author SHA1 Message Date
Ryan McLaren
ef4d84290d Update TagCloudWidget.php
BUG: Fixes [Notice] Undefined variable: popularity.
2014-03-04 14:49:40 -04: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
Will Rossiter
6653cc2546 Merge pull request #98 from tractorcow/3.0-simplepie-encoding-fix
BUG Fixed incorrect html encoding of SimplePie rss titles
2014-01-10 15:28:32 -08:00
Damian Mooyman
f4b51f0a0e BUG / Housekeeping of Widget code:
- TagCloudWidget not wrapped with if(class_exists('Widget')) check for dependency module
- Default titles for RSS Widget and TagCloudWidget not being translated.
- Fixed poor indentation, and excessive line length (scrutinizer errors)
- Removal of several blank 'private static $relation = array()' that added no value
- Missing PHPDoc for widget classes
- Fixed missing EOL and removed closing ?> from php files for consistency
2013-08-15 09:24:10 +12:00
Damian Mooyman
9555373c21 BUG Fixed incorrect html encoding of SimplePie rss titles 2013-07-29 15:16:38 +12:00
Ingo Schommer
294074ba04 Suggest install of simplepie lib (been removed from SS core master) 2013-07-01 10:02:39 +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
ee532292d2 NEW Making widgets dependency optional 2013-04-11 12:35:22 +02:00
Sean Harvey
3c286381ec Fixing further statics for 3.1 compatibility 2013-04-05 11:20:03 +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
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
carlos barberis
795f1a6a21 BUGFIX: fix blog widgets so their methods are accessible from templates 2012-09-20 16:36:01 +12:00
Morven Lewis-Everley
74c5545e0c Issue #44: Fix archive widget so that dates render correctly 2012-08-14 15:40:18 +01: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
phalkunz
e2f088e1e8 MINOR: Blog tag now supports multibyte chars in the front-end. Thanks to hex0id. 2011-01-20 13:38:28 +13: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
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
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
Geoff Munn
5d2019f246 BUG FIX: table and column names quoted properly 2010-03-11 20:47:59 +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
Andreas Piening
54b1c07049 MINOR: added datetime helper function 2010-02-02 04:27:06 +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
Andrew O'Neil
5220e06737 FEATURE: Preliminary MetaWeblog support 2009-11-30 11:04:26 +00:00