summaryrefslogtreecommitdiff
path: root/LibertyComment.php
AgeCommit message (Collapse)AuthorFilesLines
2013-04-06major clean up for Smarty 3.0 and another pass at cleaning the top menusspiderr1-1/+1
2012-05-07Split static log functionality from dyanamic sectionLester Caine ext:(%22)1-1/+1
2012-05-06replace all PHP4 style calls to LibertyMime base constructors with ↵spiderr1-1/+1
parent::__construct()
2012-05-02replace self:: with static::spiderr1-3/+3
2012-04-29Roll back getContentUrl to alternate static getDisplayUrl fixLester Caine ext:(%22)1-1/+1
'static::' giving warnings
2012-04-29Can't use getAttachment statically so added loadAttachment trimming the ↵Lester Caine ext:(%22)1-2/+2
$this elements
2012-04-29Strip extra white spaceLester Caine ext:(%22)1-26/+26
( simply ignoring is causing problems with comment merging )
2012-04-20fix getDisplayUrl in LibertyCommentspiderr1-14/+13
2012-04-20fix getDisplayUrl in LibertyCommentspiderr1-10/+6
2012-04-18major migration of getDisplayUrl to ->getDisplayUrl and ::getDisplayUrlFromHashChristian Fowler1-2/+2
2012-04-17Tidy up to remove 'STRICT' warningsLester Caine ext:(%22)1-7/+7
Split static and dynamic use of getDisplayUrl Create getContentUrl as the instantiated version parameters need to be identical across all classes getAttachment augmented by a static loadAttachment
2010-06-09Strip down CVS keywords.cvs2git1-1/+1
2010-04-17SCHEMA CHANGE - liberty_content_types - change content_description to ↵wjames51-4/+4
content_name, add column content_name_plural - update all class files and hashes where appropriate
2010-02-25Remove duplicate require_onceDaniel Sutcliffe1-2/+1
2010-01-30change display_url to show all comments, and add second direct_url to ↵Christian Fowler1-6/+6
getComments hash that returns a link showing content and *just* comment desired
2010-01-29fix root_content_type_guid array in getListTyler Bello1-9/+8
2009-09-24Fix to content_guid setting in storeComment. Didnt allow for alternate guids ↵Tyler Bello1-2/+3
of derived types
2009-09-15limit duplicate post check to the same content_id (root_id)Christian Fowler1-3/+3
2009-08-25move transaction completion outside of if checkTyler Bello1-5/+5
2009-07-15add gBitUser to global in loadCommentChristian Fowler1-2/+2
2009-06-18call mime laod if we're allowing attachments or admin to populate mStoragewjames51-1/+6
2009-06-17Mime is parent - comment out weird call to expungeMetaData until can be ↵wjames51-4/+15
explored makes no sense as is
2009-05-15add TODO comment to for expunge comment attachment_idChristian Fowler1-1/+2
2009-05-05user userCanUpdate, and make sure to check for valid pRootContentChristian Fowler1-4/+4
2009-05-01use is_editable, which comes from userCanEdit which should take all of the ↵Christian Fowler1-2/+2
removed conditionals into account
2009-03-26tidy ifelse to reduce redundant linesTekimaki1-11/+7
2009-03-25typoTekimaki1-2/+2
2009-03-25fine tune verify for passing in root and parent ids directlyTekimaki1-3/+5
2009-03-17upgrade Comments to LiberytMime to support attaching files to comments. big ↵wjames51-8/+68
move also of comment storage hash verification into LComm::verifyComment, everything else is support. new liberty admin option to enabled attachments on comments. boards and tickters verification bits move into verification services
2009-02-06when checking for a general user perm you call hasPermission on gBitUser, ↵Tekimaki1-2/+2
not hasUserPermission -- hasUserPermission runs the perm on the content object - in which case its the gBitUser itself - which will thus always return true since the user is the owner of themselves
2009-02-04fix comments getDisplayUrl - gets url based on root_id - related fix boards ↵Tekimaki1-3/+8
topics urls which are derived from comments - note the tpl tweak in boards
2009-02-03more robust getDisplayUrlTekimaki1-1/+4
2008-11-19always sort comments on created date since its critical to following the ↵wjames51-10/+10
conversation
2008-11-18add userCanUpdate, and remove root object stuff in userCanEdit since it was ↵Christian Fowler1-25/+15
so query and CPU intensive to completely load root objects on every row in getList call. change 'editable' hash_key to 'is_editable'
2008-09-15add feature to limit number of links that can be posted in a content. only ↵Christian Fowler1-3/+4
supported in LibertyComment currently (anti-spam), add new permission called p_liberty_trusted_editor, which is used with liberty_unstrusted_max_http_in_content
2008-06-15fix typo in config nameJams H Thompson1-3/+2
2008-05-20expunge tmp comment, not single deleteCommentChristian Fowler1-2/+2
2008-04-30new post-store service for comments - model for future post-derivative class ↵wjames51-1/+4
store services
2008-04-28woops remove copy by ref left in by accident and some debug junkwjames51-9/+2
2008-04-28new param to LibertyComments mRootObj for perm checking in userCanEdit, and ↵wjames51-2/+27
make use of editible property in tpl
2008-04-26new admin feature to limit editing of comments by n minutes, default 60 -- ↵wjames51-17/+33
also IMPORTANT: standardize liberty_comments table ref name as lcom, lcm cases changed to lcom so tthat we don't drive services crazy
2008-04-21set flags in comment list requests so services know if we're asking for a ↵wjames51-2/+3
raw list or if we are asking for a list in context of a content object.
2008-04-21brute force call in getNumComments to liberty_content_list_sql for status ↵wjames51-3/+35
enforcement
2008-04-21fix service call on load to load_sql from list_sqlwjames51-2/+2
2008-04-19fix typo in message_guid column nameChristian Fowler1-2/+2
2008-04-19change message_id column to message_guid, and add store method in ↵Christian Fowler1-1/+9
LibertyComments
2008-04-17move moderate comments out of liberty to its own pkgwjames51-26/+1
2008-04-17introduce options for moderating comments, e.g. screening them before they ↵wjames51-1/+26
are made public. features require moderation package and are hidden unless installed. outstanding issues remain, use of status id is effective but not fully respected in boards, all custom permissions are not fully and properly checked - a reference to root obj is needed in LibertyComments. there may be others. current sites should be completely uneffected unless they opt in and enable.
2008-03-06pass param hash into list_sql servicewjames51-2/+3
2008-03-04Fix verification of comment and content id.Nick Palmer1-2/+2