Commit Graph

209 Commits

Author SHA1 Message Date
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
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
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
Andrew O'Neil
e52171bf75 Allow extending of blog holder fields 2009-12-17 08:00:34 +00:00
Luke Hudson
5dbbcaeaf1 BUGFIX: Extend URL length from 50 to 2048 chars 2009-12-08 22:58:18 +00:00
Andrew O'Neil
5220e06737 FEATURE: Preliminary MetaWeblog support 2009-11-30 11:04:26 +00:00
Andrew O'Neil
67b159eab8 APICHANGE: WYSIWYG editing by default 2009-11-30 08:20:46 +00:00
Andrew O'Neil
10d15e1ddd APICHANGE: Drop 2.3 support - 0.3 will be 2.4 only 2009-11-30 08:18:56 +00:00
Carlos Barberis
a2b9e2f00c BUGFIX: using Controller::curr instead Director::get_current_page to work with 2.3 and 2.4 2009-11-18 03:00:40 +00:00
Luke Hudson
c14ff3851b Updates to blog to work with Sapphire 2.4 2009-11-11 23:11:32 +00:00
Andrew O'Neil
42beb23f42 BUGFIX: fix archive links 2009-10-29 03:15:01 +00:00
Andrew O'Neil
1af9fafdd7 BUGFIX: Fix tag links when blog is on home pages 2009-10-27 03:13:33 +00:00
Sam Minnee
9545d4f87c BUGFIX: Updated blog module to support 2.4 API changes 2009-10-26 22:03:52 +00:00
James Kirkus-Lamont
fea6a12472 MINOR: moved rss feed link to its own function to allow extensions to override 2009-10-20 23:17:35 +00:00
Andrew O'Neil
e688e0687e BUGFIX: Fix updateCMSFields() being called twice on BlogEntries 2009-10-06 03:13:00 +00:00
Sean Harvey
c920045933 ENHANCEMENT Allow BlogEntry::getCMSFields() fields to be manipulated on decorators 2009-09-24 23:10:54 +00:00
Ingo Schommer
26622686cc MINOR Added 'index' to $allowed_actions on BlogHolder, BlogTree, BlogEntry to comply to new RequestHandler API 2009-09-10 06:08:22 +00:00
Carlos Barberis
53bd0feb59 Added true in array_slice to fix problem displaying tags 2009-08-27 01:23:17 +00:00
Sean Harvey
c37785c07b BUGFIX Fixed "tag" action not allowed on BlogHolder_Controller 2009-08-06 21:59:43 +00:00
Geoff Munn
1a56611417 MINOR FIX: query changed to remove duplicate results 2009-08-05 03:38:23 +00:00
Geoff Munn
acbce1d507 MINOR FIX: instances where no SideBarID exists are now avoided 2009-08-05 02:38:32 +00:00
Sean Harvey
56be6ad6fa MINOR Fixed undefined Month in ArchiveWidget 2009-08-04 02:18:38 +00:00
Saophalkun Ponlu
1a2e2a1d98 BUGFIX: prevet calling loadDescendantBlogHolderIDListInto() on BlogPage and its subclass 2009-08-03 23:37:03 +00:00
Saophalkun Ponlu
a41cf18c23 BUGFIX: trackbackping generated an exception. getExtensionInstance returns an instance with NULL owner so TrackBackDecorator->owner->ID was always unavailable 2009-07-28 05:33:22 +00:00
Geoff Munn
af3b912749 COMMENT: in some cases, this might not be correctly triggered 2009-07-28 04:17:38 +00:00
Sean Harvey
c438757b28 BUGFIX Fixed checking for correct day, month and year values before setting the Date value in ArchiveWidget 2009-07-27 02:52:42 +00:00
Saophalkun Ponlu
67d8a8b423 Added unit test for BlogHolder_Controller's custom checkAccessAction function 2009-07-22 03:16:06 +00:00
Hamish Friedlander
6eebbb217c ENHANCEMENT: Allow configuration of the default number of entries to show on lists 2009-07-20 06:40:44 +00:00
Saophalkun Ponlu
6d0f161cf4 MINOR: Added sorting argument to callback function 2009-07-20 04:02:12 +00:00
Saophalkun Ponlu
a91d0eeb68 Applied an urgent hack to work new blog archive link (e.g 2009/05) 2009-07-20 02:29:10 +00:00
Saophalkun Ponlu
8589682b7e BUGFIX: BlogTree always got LandingPageFreshness value from its parent 2009-07-19 21:24:45 +00:00
Sean Harvey
2e58553940 BUGFIX Ensure that a BlogHolder record doesn't exist properly by checking if the record has an ID 2009-07-16 03:18:55 +00:00
Sam Minnee
076eeaa2a8 BUGFIX: Updated rss allowed_action to not use 'true' as a value because this has a bug in 2.3.2 2009-07-07 23:15:12 +00:00
Sam Minnee
d0ee014aa5 BUGFIX: Improve r81254 to fix blog/rss and subclasses of BlogHolder_Controller 2009-07-07 23:04:02 +00:00
Ingo Schommer
1e809afc65 BUGFIX Using $allowed_actions in BlogHolder, permission checks on BlogHoder_Controller->postblog() 2009-07-07 22:11:11 +00:00
Sean Harvey
f41973b838 BUGFIX If IsOwner method doesn't exist on parent object in BlogEntry::IsOwner(), don't attempt to call it 2009-07-01 04:24:42 +00:00
Sam Minnee
517df83ae2 BUGFIX: Prevent infinite loops in RSSWidget.
ENHANCEMENT: Improve the word of the RSSWidget text.
2009-06-09 00:46:38 +00:00
Julian Seidenberg
038cad9b63 BUGFIX: fixed permissions to allow non-admin user to post and manage blog entries 2009-05-27 01:26:34 +00:00
James Kirkus-Lamont
5755d3e679 BUGFIX: check if the parent of the blog holder has a method called 'SideBar' before calling it 2009-05-25 22:30:10 +00:00
Sean Harvey
b088e1ff8c MINOR Removed unused getBlogHolder() method from BlogManagementWidget.php 2009-05-21 04:16:18 +00:00
Julian Seidenberg
1b7de7e092 ENHANCEMENT: allow administators to make it possible for non-admin users to view blog management widget 2009-05-21 04:07:53 +00:00
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