Commit Graph

148 Commits

Author SHA1 Message Date
Sean Harvey
43118ecb03 MINOR Renamed deprecated extraDBFields() function on TrackBackDecorator to extraStatics() 2009-05-20 05:37:30 +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
488319ceb5 MINOR: change blog alternative name to use global project_name variable 2009-05-20 02:34:57 +00:00
Saophalkun Ponlu
61a2cc2332 MINOR: move Name field from BlogHolder to BlogTree 2009-05-20 02:18:48 +00:00
Hamish Friedlander
05cf841808 BUGFIX: Segfault on BlogTree#Sidebar calling getComponent. Fix by directly getting sidebar for now. 2009-05-15 03:46:49 +00:00
Sean Harvey
23591eec35 BUGFIX Fixed BlogTree, ArchiveWidget SQL queries to work with ANSI and non-ANSI compatible queries 2009-05-11 02:48:24 +00:00
Hamish Friedlander
58775ea256 ENHANCEMENT: Allow specifying the class buckets to assign tags into based on popularity 2009-05-06 05:02:01 +00:00
Hamish Friedlander
2d1eb07478 BUGFIX: Use parent->canAddChildren, not parent->canEdit to determine if this user can add children to parent blog holder 2009-05-06 05:01:28 +00:00
Hamish Friedlander
37a6070714 BUGFIX: Check owner with less complex logic 2009-05-06 05:00:54 +00:00
Hamish Friedlander
16c7b2d431 FEATURE: Add an additional level of blog container, called the tree. You can now use blogs in the previous manner (holder has many entries) or as a deep tree of many holders. Viewing a level up the tree will show all blog entries within that tree.
@todo:
More Tests
Better documentation
2009-04-30 22:05:54 +00:00
Andrew O'Neil
05b0992f7e MINOR: Show BlogManagementWidget if the user has permissions to post 2009-04-26 23:52:14 +00:00
Ingo Schommer
0adb9da466 ENHANCEMENT Added 'rss' suffix to BlogHolder->rss() to point back to the feed properly (was causing feed validation errors) 2009-02-25 06:55:58 +00:00
Will Rossiter
94601547af FEATURE: added userblog support. Thanks simon_w - #3463 2009-02-07 02:19:27 +00:00
Will Rossiter
058a3c393c BUGFIX: added missing semi colon 2009-01-20 04:37:44 +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
Andrew O'Neil
f636f90fae BUGFIX: Fix rss feed 2008-12-17 03:59:02 +00:00
Andrew O'Neil
4c5f0e1075 FEATURE: Allow use of tiny mce on front end 2008-12-16 22:44:55 +00:00
Andrew O'Neil
8e708d98a7 FEATURE: Enable disabling of TrackBacks 2008-12-16 22:35:32 +00:00
Andrew O'Neil
3443ff9f60 BUGFIX: SetDate doesn't need to be called, as the date is automatically set the the current time 2008-12-16 21:27:05 +00:00
Andrew O'Neil
18f2639e51 Add PageComments to allowed_actions 2008-12-16 20:37:14 +00:00
Andrew O'Neil
fe9afc2e36 #2774 - Functions in tag cloud widget out of place 2008-12-16 04:49:52 +00:00
Andrew O'Neil
2bcbb8ee7d BUGFIX: #1709 - Archive widgets shows months and years for unpublished posts 2008-12-16 04:35:28 +00:00
Andrew O'Neil
bbba843ba5 BUGFIX: Fix tag cloud 2008-12-16 04:31:06 +00:00
Andrew O'Neil
1298e15c07 BUGFIX: Fix trackbacks 2008-12-16 04:29:34 +00:00
Andrew O'Neil
e3a21012fb BUGFIX: Fix not being able to post from frontend, change posting code to be more SilverStripey 2008-12-16 04:25:35 +00:00
Sam Minnee
968b9ff467 Fixed blog RSS caching 2008-12-12 23:14:47 +00:00
Sean Harvey
d556d052c0 MINOR Removed useless $db array in SubscribeRSSWidget since it's not being used 2008-12-10 07:13:59 +00:00
Sean Harvey
475b41bbda ENHANCEMENT Use of themedCSS() in BlogEntry instead of relative paths to css files
MINOR Code cleanup on BlogEntry class
2008-12-10 07:05:18 +00:00
Sean Harvey
bf70b7e7bc MINOR phpDoc for BlogEntry
BUGFIX Unncessary use of Convert::raw2sql() in BlogEntry_Controller->unpublishPost() for making an integer SQL safe, just use (int) instead to cast it
2008-12-10 07:01:06 +00:00
Sean Harvey
3e8754e50d MINOR Tidy up of ArchiveWidget
ENHANCEMENT Use of instanceof instead of is_a() so BlogHolder and BlogEntry subclasses still work properly
2008-12-10 06:58:28 +00:00
Sean Harvey
4b6a22f6a3 ENHANCEMENT Added SubscribeRSSWidget for linking directly to blog RSS from the BlogHolder 2008-12-10 06:49:06 +00:00
Sean Harvey
dcb23d6cc3 ENHANCEMENT Addition of Date, so date can be used in the RSS feed
ENHANCEMENT Allow casting of Date and Title so can be modified in template
2008-12-10 00:58:17 +00:00
Sean Harvey
01b48e74b7 BUGFIX Fix RSS feeds in RSSWidget not working. Since SimplePie has manifest_excluse, we need to include the SimplePie.php file manually in order to use the SimplePie class for RSSWidget->FeedItems() 2008-12-09 23:15:11 +00:00
Will Rossiter
3f50a8e36c MINOR: comment improvements and fixes 2008-12-04 21:34:49 +00:00
Andrew O'Neil
bda7fd1cd7 Reverted changes that shouldnt be in core 2008-12-02 02:58:14 +00:00
Saophalkun Ponlu
0ba0c52553 Moved LegacyIDs from BlogEntry and File to Decorators 2008-12-02 02:46:42 +00:00
Saophalkun Ponlu
efbe5242ce Added LegacyID. Used for blog migration 2008-12-02 01:53:52 +00:00
Sean Harvey
8e74406b43 ENHANCEMENT Added IsWYSIWYGEnabled() to check if it's enabled or not, used for templates to determine whether to return parsed content or just standard HTML 2008-11-27 01:43:55 +00:00
Sean Harvey
bccb236a40 ENHANCEMENT Added empty statics to BlogHolder to allow for decoration of BlogHolder 2008-11-25 05:01:20 +00:00
Sean Harvey
cbf39d1ec8 ENHANCEMENT Added empty relationship statics so BlogEntry can be decorated by a DataObjectDecorator 2008-11-25 04:24:51 +00:00
Sean Harvey
224fe02c3b BUGFIX Fixed some potential security issues in BlogHolder page type 2008-11-06 00:36:58 +00:00
Sean Harvey
c3c97201d4 BUGFIX Fixed possible Member::currentUser() problem with inconsistent function names 2008-11-06 00:35:10 +00:00
Will Rossiter
8f037c4628 BUGFIX: default child needs to be a string rather then an array 2008-10-27 07:06:39 +00:00
Sean Harvey
c3331581ee MINOR whitespace change 2008-10-24 00:05:01 +00:00
Sean Harvey
16736e25a4 BUGFIX Check if SimplePie exists before attempting to create a new instance of it, since it's a 3rd party class 2008-10-23 23:07:19 +00:00
Ingo Schommer
d3c7ad41fd BUGFIX Fixing usage of deprecated APIs 2008-10-16 13:46:59 +00:00
Ingo Schommer
4f7c9b34d2 MINOR Misc deprecation fixes 2008-10-16 08:45:38 +00:00
Sean Harvey
e6c0d70d99 BUGFIX Missing Hierarchy and Versioned extensions because of overloaded $extensions variable 2008-09-15 03:59:39 +00:00
Andrew O'Neil
b05a3a2cc6 FEATURE: Added receiving of TrackPack pings 2008-09-12 02:09:13 +00:00
Andrew O'Neil
f9aa8d9ab2 Use MONTH() and YEAR() SQL functions to check date on entries.
Refactored BlogEntries() to be more testable.
Added tests for Entries().
2008-09-11 23:36:15 +00:00
Sean Harvey
fffc4d6b77 ENHANCEMENT Allow Blog RSS feed to be named by CMS field on BlogHolder. If it's not set, then fall back to using "mysite blog" or whatever the global $project variable is set to 2008-09-03 23:57:40 +00:00
Sean Harvey
237dd4564f MINOR invalid use of single quotes as HTML
MINOR whitespace in PHP cleanup
2008-08-21 01:37:37 +00:00
Sean Harvey
54f0af86ba MINOR whitespace 2008-08-21 01:30:04 +00:00
Sean Harvey
ccd3bc1a49 BUGFIX Renamed Tags in TagCloudWidget->Tags() to TagsCollection() which is less confusing and now renders the tags correctly 2008-07-29 04:17:34 +00:00
Sean Harvey
6256c6d871 API CHANGE Removed Newsletter references in blog module. This shouldn't be in here because it's easy enough to create one on a per-project basis 2008-07-28 04:12:16 +00:00
Ingo Schommer
359446212a API CHANGE Changed BlogEntry->Tags() to TagsCollection() to avoid confusion with the property "Tags" which is of DBField type "Text" (not DataObjectSet) - necessary to adjust to changed DataObject-write() behaviour of using DBField instances to write the value (rather than directly editing the SQL manipulation). See r52927 for details. 2008-07-20 07:45:55 +00:00
Ingo Schommer
4df0def63b Merged revisions 56170 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/blog/branches/trunk-dnc

........
  r56170 | ischommer | 2008-06-13 11:25:35 +1200 (Fri, 13 Jun 2008) | 1 line
  
  BUGFIX Adding getAbsoluteRssURL() to RSSWidget to avoid SimplePie confusion on relative URLs (causes timeouts)
........
2008-06-12 23:39:47 +00:00
Will Rossiter
55e1174884 fixed the show by tag 2008-04-22 01:20:59 +00:00
Will Rossiter
b1e4d27b42 browse by tag was not working. 2008-04-22 00:30:40 +00:00
Sam Minnee
80974881a1 Added LandingPageFreshness variable to blog holder, which lets authors choose which entries to show on the landing page 2008-04-08 23:34:28 +00:00
Sam Minnee
9289d6ed04 Added editable Title field to TagCloudWidget 2008-04-08 23:22:08 +00:00
Sam Minnee
e3eeffafc9 Reverted previous change 2008-04-08 23:21:13 +00:00
Sam Minnee
6a3225df22 Added editable Title field to TagCloudWidget 2008-04-08 23:09:11 +00:00
Will Rossiter
9da8415588 now I see why you need that title function. So added it back 2008-02-25 08:48:33 +00:00
Will Rossiter
293dd54f64 Removed custom title and method in favour of using defaults 2008-02-24 08:23:04 +00:00
Will Rossiter
99b3127e70 2008-02-24 08:19:24 +00:00
Matt Peel
33471e3926 Changed Tag Cloud site name to Tag Cloud. 2008-01-23 22:56:22 +00:00
Matt Peel
4423407f48 2008-01-22 03:44:44 +00:00
Jeremy Shipman
5d10b7589c Fixed date ranges for archive blogs 2008-01-14 03:34:47 +00:00
Jeremy Shipman
36a6d0342b Date format bug #1941 2008-01-14 02:19:53 +00:00
Andrew O'Neil
b819135fe5 simon_w: #2123 - Blog RSS sorted by date 2008-01-13 20:16:27 +00:00
Andrew O'Neil
43fd90621e Fix RSS feed when using WYSIWYG editing 2008-01-07 19:40:36 +00:00
Andrew O'Neil
9590b3558f Remove debug message 2008-01-07 01:49:29 +00:00
Andrew O'Neil
1dca7415c5 Fix typo 2008-01-06 22:48:49 +00:00
Sean Harvey
fe23b0cef9 Abstracted fields onto BlogRole from subscribe form, added some documentation about what it does 2007-12-20 04:32:01 +00:00
Sean Harvey
d971db30d0 Added ConfirmNewsletterSignup_member.ss as an example how to customise, added themedCSS requirements to controller 2007-12-20 03:39:03 +00:00
Sean Harvey
d1c6825941 Don't show the NewsletterSignupForm unless there is a newsletter related to a BlogHolder that exists 2007-12-20 03:31:38 +00:00
Sean Harvey
10f5213192 Instead of directly checking ClassName, check if an instance instead 2007-12-20 03:26:20 +00:00
Sean Harvey
3117340cc5 Moved NewsletterSignupForm to the object, made a link to this from the blogentry page 2007-12-20 02:23:20 +00:00
Andrew O'Neil
5668169744 We don't need to escape the summary before parsing bbcode, as the parser does that for us 2007-12-18 03:21:47 +00:00
Sean Harvey
1058c98081 Added return false otherwise it won't redirect 2007-12-18 02:42:52 +00:00
Andrew O'Neil
abcb951837 use microformat style tags in tagcloud 2007-12-18 02:10:44 +00:00
Andrew O'Neil
6229b8960d v.golev: #1982 - Blog module i18n patch 2007-12-18 01:41:51 +00:00
Sean Harvey
2c6edcf0df Newsletter changes for blogholders 2007-12-15 22:47:20 +00:00
Sean Harvey
acb5d1abae Added newsletter sign up and confirm functionality (as required) and templates 2007-12-14 00:54:53 +00:00
Will Rossiter
d10e859d1b 2007-12-13 22:40:31 +00:00
Sam Minnee
104301e42d Added BlogEntry::allow_wysiwyg_editing() for people who don't want to use BBCode 2007-12-11 22:13:19 +00:00
Jeremy Shipman
641d35c942 ambiguous SQL fix 2007-12-02 22:32:28 +00:00
Andrew O'Neil
9daebb0fb0 support for rel-tag microformat 2007-11-23 08:35:49 +00:00
Andrew O'Neil
4adb7674b9 Don't set the url segment, as it capitalises 2007-11-23 07:50:27 +00:00
Jeremy Shipman
5786b6d6a0 Commenting blog 2007-11-14 01:16:13 +00:00
Jeremy Shipman
408cf5c8bb Commenting blog 2007-11-14 01:15:40 +00:00
Andrew O'Neil
acd6e1a6c5 #1500 - Infinite loop in Blog's RSS widget 2007-11-01 21:56:44 +00:00
Andrew O'Neil
aae55078db Use short tags 2007-09-17 10:14:28 +00:00
Sean Harvey
fc03f9f329 check if the method exists before jumping into the foreach loop. was causing problems in some situations 2007-09-11 06:38:05 +00:00
Andrew O'Neil
bbd2815316 Move blog to open source path 2007-09-06 22:33:58 +00:00