summaryrefslogtreecommitdiff
path: root/modules/comment/helpers
AgeCommit message (Collapse)Author
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-10-08Installer for comment module version 6 still set rss_visible to "both"Bharat Mediratta
not "all". Fix that now and rebuild the installer package. Fixes #1917.
2012-08-02Fix up per item feed urls. Fixes #1906.Bharat Mediratta
2012-05-07Oops, fix up a bug originally added inBharat Mediratta
7d66ab2e949bc915f108737f08cac2f9057ef729 when I tweaked the name of the rss_available variable to be rss_visible, but got it wrong. Bump the comment module to 6 so that we run the installer and clean up old vars. Fixes #1854.
2012-05-07Update date format to make it RFC822 compliant. Thanks to moullas. Fixes ↵Bharat Mediratta
#1798.
2012-03-29Improve comment RSS feed visibility, initially added by Thomas E. Horner inBharat Mediratta
fc942aacda07346fa9af04853659eaeac1e766d3. Change some variable names, refactor out visibility checking code, actually check visibility at generation time instead of just suppressing the UI, update module.info Fixes #1829.
2012-03-29Merge commit 'fc942aa'Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-07-08availability of rss is now configurableThomas E. Horner
2011-03-27A little more work on kandsten's fix for IPv6 support inBharat Mediratta
10785b1e820c5e10d982c6b49125903886f7b889: - some style cleanup - bump the module version in module.info - rebuild the installer.sql
2011-03-27Extend comment module field lenghts to fit IPv6 remote host addresses and ↵Kriss Andsten
long (but legally so) hostnames.
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-15Fix all the head() and admin_head() theme callbacks to return theBharat Mediratta
results of the $theme->css() and $theme->script() calls. This handles the case where combining scripts/css returns HTML instead of putting it in the queue for combination. Fixes #1611.
2010-09-16Convert the guest_url ORM validation failure back to the url formBharat Mediratta
parameter and put in a message requiring a valid url. Fixes ticket
2010-09-04Use the title of the root album as the site title for all RSS feeds.Bharat Mediratta
Fixes ticket #1307.
2010-08-22Add "captcha_protect_form" event that the recaptcha module grabs andBharat Mediratta
uses to add a captcha to the end of the first group in the form. If there are no groups, it adds the captcha at the end of the form. Updated user_profile and comment forms to use it.
2010-06-20Rename the feed variable from "children" to "comments" since thatBharat Mediratta
makes more semantic sense.
2010-06-20Oops. Remove debug line.Bharat Mediratta
2010-06-20Simplify the descendent logic. viewable() already joins with theBharat Mediratta
items table so there's no need for a subquery. The subquery could generate way too many ids since it didn't pay attention to permissions. This isn't a security problem since we were restricting the item ids according to permissions in the outer query, but it's wasteful.
2010-06-16Remove comment_rest::post() -- that's in comments_rest now.Bharat Mediratta
2010-06-16Add REST support for comments. You can view, add, edit and deleteBharat Mediratta
comments.
2010-06-16slap my wrist... i forgot a debugging statementTim Almdal
2010-06-16Fix for ticket #1131. If the rss feed is for an item, then retrieve the ↵Tim Almdal
item. Using the left and right pointers find all the comments for the child items. Thanks to jankoprowski for the initial investigation.
2010-06-15Fix a bug in the upgrader where we weren't bumping the version numberBharat Mediratta
during the upgrade path, so the 2nd stanza (version 2 to version 3) was never getting executed.
2010-06-05Create a UI under Admin > Settings > Comments where you can limitBharat Mediratta
comments only to registered users. It's simplistic, but is better than adding a permission since generally this setting will be used Gallery-wide. Fixes ticket #1002
2010-05-16Rename admin/comments to admin/manage_comments to make room forBharat Mediratta
admin/comments to be a settings page.
2010-05-14Require a well-formed email address for all comments.Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-31Fix lots of warnings that pop up when we're in E_STRICT mode. They'reBharat Mediratta
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
2010-01-27Localize validation messages.Bharat Mediratta
2010-01-27Localize error messages.Bharat Mediratta
2010-01-25Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/libraries/MY_ORM.php
2010-01-24Refactor creating the user profile page content into the the event module. ↵Tim Almdal
The show_user_profile is used to provide content to the user profile page. Add the list of the users comments to the profile page.
2010-01-23Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/tests/xss_data.txt
2010-01-22Treat identity providers just like other modules and use the admin_module toTim Almdal
install and switch to a different identity provider.
2010-01-16Convert comment code over to model based validation.Bharat Mediratta
2009-12-21Add missing execute() call -- tests ftw!Bharat Mediratta
2009-12-06Update database queries.Bharat Mediratta
2009-11-26Convert some more Database::instance() calls to db::build() form.Bharat Mediratta
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-25ORM::orderby -> ORM::order_byBharat Mediratta
2009-11-25Refactor the comment module as part of ticket: #917 "Remove Rest Controller"Tim Almdal
* Remove the methods create, update, delete, get_edit_form as there are not used * Change the return when a comment is created to return the html for the new comment. This saves a second get request to down load the comment.
2009-11-12Re-generate the install.sql so that the keys of the block lists are an md5 ↵Tim Almdal
hash of the module_name:block_id. Also change the packager so we delete the _cache variable for the module gallery not core.
2009-11-09Revert "Try an new approach to extending forms. Create an extend_form ↵Tim Almdal
event. For the first attempt replace the comment_add_form and item_add_form events." This reverts commit 809e738536b6639bb42ecae8eb1e183543fed93c.
2009-11-01Try an new approach to extending forms. Create an extend_form event. For ↵Tim Almdal
the first attempt replace the comment_add_form and item_add_form events.
2009-11-01Convert the event handlers for the "identity provider changed" and ↵Tim Almdal
"user_deleted" events to use ORM or the Kohana query builder to build the database update calls instead of coding the sql directly.
2009-10-31Revert "Cleanup typo and change what is passwed into the event. pass the ↵Tim Almdal
group that the recaptch element should be attached to instead of the whole form. This allows the recaptch event to have no knowledge of the containing form." Revert "Generalize the adding of the recaptcha form by changing the name of the event to recaptch_add. This prevents us from having to keep modifying the recaptch module anytime we add a form that requires recaptcha." This reverts commits e45ea9359d6cb603be0bc28376d92883aa8d7c7e and bfafef95e8090b66f3322f73e532056b10ca116a.
2009-10-31Add identity_change handlers to resolve the ownership issues of comments, ↵Tim Almdal
subscription, items and tasks.
2009-10-30Patch to clean up loose ends when a user is deleted.Tim Almdal
* For items and tasks the owner id is set to admin * For notification subscriptions, the subscription is deleted * For comments, I've extracted the user name, email and url and set the guest_name, guest_email and guest_url columns while setting the author_id to identity::guest()->id Fix for ticket #777.
2009-10-29Cleanup typo and change what is passwed into the event. pass the group that ↵Tim Almdal
the recaptch element should be attached to instead of the whole form. This allows the recaptch event to have no knowledge of the containing form.