summaryrefslogtreecommitdiff
path: root/modules/comment
AgeCommit message (Collapse)Author
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-18Undo "else" clause -- we should keep the logic simple and easy toBharat Mediratta
follow, even if it's redundant. Expand a <ul> to multiple lines.
2010-06-17Fix for ticket #1163. Don't all guests to a comment when there are no ↵Tim Almdal
comments and the comment access permission is register users.
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 the admin_comments view to admin_manage_comments to match the controller.Bharat Mediratta
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-04-30Add page_title to admin views. Closes #1038.ckieffer
2010-04-21Comment updates. Add empty <li> to empty <ul> for HTML validation, fixes ↵Chad Kieffer
#1066. Minor CSS/JS fixes. Add scrollTo effect when clicking on 'Add a Comment'.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-23Reset the active user to admin in all test cases where we change theBharat Mediratta
user to something else.
2010-02-18Don't need 'right' class here. Positioning is absolute to the right.Chad Kieffer
2010-02-14HTML validation, avoid empty <ul>Andy Staudacher
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-29Strongly type the argument list to the model::validate method.Tim Almdal
2010-01-28Don't show a link to the user profile for the guest userTim Almdal
2010-01-27Localize validation messages.Bharat Mediratta
2010-01-27Localize error messages.Bharat Mediratta
2010-01-27Convert back to using ORM::factory(..., $id) instead of calling where().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-23Create a user profile page that is used as a landing page when referencing a ↵Tim Almdal
user in messages or pages. Partial fix for ticket #889 and a fix for #931.
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-20Stop using MY_ORM::original().Bharat Mediratta
2010-01-19Extend Gallery_Unit_Test_Case instead of Unit_Test_Case.Bharat Mediratta
2010-01-17Updated for model based validation.Bharat Mediratta
2010-01-17Updated for model based validation.Bharat Mediratta
2010-01-17Add validation for guest_email and guest_url.Bharat Mediratta
2010-01-17Updated for model based validation.Bharat Mediratta
2010-01-17Move rules down into validate() and improve valid_author().Bharat Mediratta
2010-01-16Convert comment code over to model based validation.Bharat Mediratta
2010-01-16Don't pass MY_ORM::original() to update event handlers, since afterBharat Mediratta
parent::save() it'll be reset. Clone it first. This is an alternate fix for #978.
2010-01-09Fix for ticket #972 and more. In Kohana 2.4, ORM::delete_all ignores any whereTim Almdal
clauses and deletes all the entries in the table unless an array of id's are passed as the parameter. This fix used the Database_builder to specify any where conditions. Thanks psvo for find the first one. :-)
2009-12-21Add missing execute() call -- tests ftw!Bharat Mediratta
2009-12-21Updated for K24Bharat 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 another Database::instance() query over to using db::build()Bharat Mediratta
2009-11-26Modify the expiration code to work with db::build()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-25Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/controllers/rest.php