Bharat Mediratta
9396342250
Drop the requirement to have the install() function set the module
...
version. It's redundant. Fixes #1985 .
2013-01-31 19:55:53 -05:00
Bharat Mediratta
d45a737779
Update copyright to 2013. Fixes #1953 .
2013-01-21 01:22:01 -05:00
Bharat Mediratta
b7e89613fc
Installer for comment module version 6 still set rss_visible to "both"
...
not "all". Fix that now and rebuild the installer package. Fixes #1917 .
2012-10-08 14:04:40 -07:00
Bharat Mediratta
71e33d9cb6
Fix up per item feed urls. Fixes #1906 .
2012-08-02 12:58:28 -07:00
Bharat Mediratta
5400c4be26
Oops, fix up a bug originally added in
...
7d66ab2e94 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-07 13:45:13 -07:00
Bharat Mediratta
6effd5f75e
Update date format to make it RFC822 compliant. Thanks to moullas. Fixes #1798 .
2012-05-07 13:30:39 -07:00
Bharat Mediratta
7d66ab2e94
Improve comment RSS feed visibility, initially added by Thomas E. Horner in
...
fc942aacda .
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-29 13:06:44 -07:00
Bharat Mediratta
60286bfba3
Merge commit 'fc942aa'
2012-03-29 06:37:00 -07:00
Bharat Mediratta
bf2bb3e1ea
Update copyright to 2012. #1822
2012-02-27 09:48:23 -08:00
Thomas E. Horner
fc942aacda
availability of rss is now configurable
2011-07-08 09:33:51 +02:00
Bharat Mediratta
c12c43a415
A little more work on kandsten's fix for IPv6 support in
...
10785b1e82 :
- some style cleanup
- bump the module version in module.info
- rebuild the installer.sql
2011-03-27 11:38:37 -07:00
Kriss Andsten
10785b1e82
Extend comment module field lenghts to fit IPv6 remote host addresses and long (but legally so) hostnames.
2011-03-27 11:34:52 -07:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
ee13b934f4
Fix all the head() and admin_head() theme callbacks to return the
...
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 .
2011-01-15 13:14:43 -08:00
Bharat Mediratta
3e3098956c
Convert the guest_url ORM validation failure back to the url form
...
parameter and put in a message requiring a valid url. Fixes ticket
2010-09-16 14:19:28 -07:00
Bharat Mediratta
db75ac642a
Use the title of the root album as the site title for all RSS feeds.
...
Fixes ticket #1307 .
2010-09-04 13:40:39 -07:00
Bharat Mediratta
dc80cde379
Add "captcha_protect_form" event that the recaptcha module grabs and
...
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-08-22 13:00:08 -07:00
Bharat Mediratta
74e821b03e
Rename the feed variable from "children" to "comments" since that
...
makes more semantic sense.
2010-06-20 17:21:25 -07:00
Bharat Mediratta
7938a57dbe
Oops. Remove debug line.
2010-06-20 10:57:48 -07:00
Bharat Mediratta
7500273228
Simplify the descendent logic. viewable() already joins with the
...
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-20 10:55:10 -07:00
Bharat Mediratta
a27189ce9f
Remove comment_rest::post() -- that's in comments_rest now.
2010-06-16 20:02:52 -07:00
Bharat Mediratta
1aeaa7daab
Add REST support for comments. You can view, add, edit and delete
...
comments.
2010-06-16 18:05:15 -07:00
Tim Almdal
8ee60e6b5d
slap my wrist... i forgot a debugging statement
2010-06-16 11:17:18 -07:00
Tim Almdal
ea8653f947
Fix for ticket #1131 . If the rss feed is for an item, then retrieve the item. Using the left and right pointers find all the comments for the child items. Thanks to jankoprowski for the initial investigation.
2010-06-16 08:39:09 -07:00
Bharat Mediratta
94ada2361d
Fix a bug in the upgrader where we weren't bumping the version number
...
during the upgrade path, so the 2nd stanza (version 2 to version 3) was never getting executed.
2010-06-15 16:14:30 -07:00
Bharat Mediratta
87fde3f360
Create a UI under Admin > Settings > Comments where you can limit
...
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-06-05 23:35:32 -07:00
Bharat Mediratta
2157285d9b
Rename admin/comments to admin/manage_comments to make room for
...
admin/comments to be a settings page.
2010-05-16 22:53:19 -07:00
Bharat Mediratta
ad0e7254eb
Require a well-formed email address for all comments.
2010-05-14 16:19:53 -07:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Bharat Mediratta
c050acf30a
Fix lots of warnings that pop up when we're in E_STRICT mode. They're
...
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-31 16:07:41 -08:00
Bharat Mediratta
bbe70119ef
Localize validation messages.
2010-01-27 23:05:57 -08:00
Bharat Mediratta
31e4c21719
Localize error messages.
2010-01-27 23:03:47 -08:00
Bharat Mediratta
1606961153
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
...
Conflicts:
modules/gallery/libraries/MY_ORM.php
2010-01-25 19:49:17 -08:00
Tim Almdal
7c06e21ec4
Refactor creating the user profile page content into the the event module. 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-24 15:27:33 -08:00
Bharat Mediratta
fecac4a859
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
...
Conflicts:
modules/gallery/tests/xss_data.txt
2010-01-23 16:29:10 -08:00
Tim Almdal
603c3049a1
Treat identity providers just like other modules and use the admin_module to
...
install and switch to a different identity provider.
2010-01-22 09:39:29 -08:00
Bharat Mediratta
1c85cf6397
Convert comment code over to model based validation.
2010-01-16 22:27:07 -08:00
Bharat Mediratta
31a545fa26
Add missing execute() call -- tests ftw!
2009-12-21 15:58:22 -08:00
Bharat Mediratta
a6dbd25cf1
Update database queries.
2009-12-06 21:38:09 -08:00
Bharat Mediratta
96b00d6cfe
Convert some more Database::instance() calls to db::build() form.
2009-11-26 21:14:54 -08:00
Bharat Mediratta
1fd0e14359
Convert all DB where() calls to take 3 arguments.
...
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-26 12:09:04 -08:00
Bharat Mediratta
0121bfd585
ORM::orderby -> ORM::order_by
2009-11-25 19:26:52 -08:00
Tim Almdal
4c3b9e363a
Refactor the comment module as part of ticket: #917 "Remove Rest Controller"
...
* 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-25 08:12:50 -08:00
Tim Almdal
a5a8cfd1bc
Re-generate the install.sql so that the keys of the block lists are an md5 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-12 13:14:02 -08:00
Tim Almdal
26f8240e34
Revert "Try an new approach to extending forms. Create an extend_form event. For the first attempt replace the comment_add_form and item_add_form events."
...
This reverts commit 809e738536 .
2009-11-09 11:52:43 -08:00
Tim Almdal
809e738536
Try an new approach to extending forms. Create an extend_form event. For the first attempt replace the comment_add_form and item_add_form events.
2009-11-01 13:14:11 -08:00
Tim Almdal
376eb5673f
Convert the event handlers for the "identity provider changed" and "user_deleted" events to use ORM or the Kohana query builder to build the database update calls instead of coding the sql directly.
2009-11-01 10:22:56 -08:00
Tim Almdal
488b67014b
Revert "Cleanup typo and change what is passwed into the event. pass the 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 e45ea9359d and bfafef95e8 .
2009-10-31 16:26:20 -07:00
Tim Almdal
903b5f6f67
Add identity_change handlers to resolve the ownership issues of comments, subscription, items and tasks.
2009-10-31 14:23:05 -07:00
Tim Almdal
90465012d1
Patch to clean up loose ends when a user is deleted.
...
* 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-30 14:23:57 -07:00