Commit Graph

237 Commits

Author SHA1 Message Date
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
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
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
Ingo Schommer
3593f03f7e BUGFIX Fixed XSS vulnerability in BlogTree when filtering by tags 2010-10-03 20:02:43 +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
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