Commit Graph

269 Commits

Author SHA1 Message Date
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