Commit Graph

582 Commits

Author SHA1 Message Date
Bharat Mediratta
9f4fdcd8d5 Just reset the tag form after submission; no need to replace it with one from the backend because it's going to be the same form anyway. 2009-02-09 00:30:13 +00:00
Chad Kieffer
cdae043999 Clean up add user and group buttons to move the + icon to the left. The + icon doesn't appear within the button outline with buttons that aren't floated. Will have to debug later. 2009-02-08 20:45:09 +00:00
Tim Almdal
0f9c5feb89 Use the ORM method delete_all to remove selected records from the
database instead of calling the Database::query with raw sql.
2009-02-08 17:32:37 +00:00
Bharat Mediratta
d9b4d96c67 Use Album or Photo in the title instead of Item 2009-02-07 22:11:44 +00:00
Bharat Mediratta
7494a93692 Merged /gallery3/vendor/exifer/modified:r20011
Now we have the Gallery3 preamble on all exifer files.
2009-02-07 22:09:29 +00:00
Tim Almdal
37d90e663c Adding exifer library 2009-02-07 21:44:19 +00:00
Tim Almdal
12701b1801 The start of the exif module. so I can merger the exifer library 2009-02-07 21:21:08 +00:00
Chad Kieffer
67d551d5e3 jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page. 2009-02-06 06:34:47 +00:00
Tim Almdal
80d4df3a4a Convert all item->type == "album" to item->is_album()
Convert all item->type == "photo" to item->is_photo()
2009-02-06 03:47:36 +00:00
Bharat Mediratta
6a8daaef5e Don't try to show the recaptcha if we don't have a public key 2009-02-05 19:21:29 +00:00
Bharat Mediratta
1b231063a0 Set default charset to utf8 2009-02-05 08:00:42 +00:00
Bharat Mediratta
faa12ad17d clean up indentation 2009-02-05 07:59:13 +00:00
Tim Almdal
704fd72623 Delete subscriptions when a user is deleted 2009-02-04 17:25:30 +00:00
Tim Almdal
98bbf53657 Use the matches validation rule in order to perform cross field
validation between the password and password2 fields
2009-02-04 16:36:59 +00:00
Tim Almdal
f0aced6b75 Complete the Recover Password functionality (Ticket #5).
This change requires a reinstall in order to pick up the new hash
field in the user table.
2009-02-04 15:45:48 +00:00
Jakob Hilden
5b17619ea8 added inplace edit to tag admin (form still needs to be set to rename using AJAX)
removed unnecessary {element: dialogLinks[i]} from dialog and panelLink handling.  now uses event.currentTarget
2009-02-04 07:14:22 +00:00
Tim Almdal
2f5344c1da A preview of the password reset functionality. What's working... you
can start to logon, request the password to be reset, and an email is
sent to the users email address.  If you click on the link you get an
unformatted form.  But its a start :-)
2009-02-04 05:49:29 +00:00
Chad Kieffer
d656b6a3e6 Beginning of edit user panel fix. Form is displayed again. Added display of user email address to list. 2009-02-03 06:45:43 +00:00
Tim Almdal
eb56ee821f Add a confirmation password input field that must match the primary
password field in order for the update to succeed.  If there is no
data entered in the primary password field, the confirmation field is
ignored.

Addresses Trac Ticket #4
2009-02-03 00:17:40 +00:00
Tim Almdal
421129d7a8 Resolve Trac Ticket #32 2009-02-02 19:18:43 +00:00
Tim Almdal
f97dedf3e4 Fix for Trac Ticket #30 2009-02-02 16:37:09 +00:00
Tim Almdal
ef58ac91e8 Notifications now send emails when a comment is published. It won't
send the email if the comment status is not published.  This gives the
administrator to moderate the comments prior to being published.
2009-02-02 15:41:47 +00:00
Tim Almdal
89edd4d3ff Fix trac issue: #31 2009-02-02 15:36:43 +00:00
Tim Almdal
9e01c80ef4 Enable csrf validation on the add/remove notification controller 2009-02-02 13:28:42 +00:00
Andy Staudacher
60d3d6e704 code audit fixes + bug fix: don't call sendmail with an empty To list (in notifications module) 2009-02-02 07:32:45 +00:00
Tim Almdal
e3b5eca50e Add sending notifications when an item is deleted. We are almost
done, just need to do comments.
2009-02-02 05:00:09 +00:00
Tim Almdal
a70f3bf386 Have the quick delete file "item_before_delete" so that search and
notification modules can do their thing.  In addition, correct search
so it works properly and doesn't try to create an Item_id_Model class.
2009-02-02 04:58:19 +00:00
Tim Almdal
01d00dfd86 Change the item menu to allow the watch icon to change depending on
whether the item is currently being watched.  Currently the icon is
the same as the add icon and needs to be changed.
2009-02-02 03:55:33 +00:00
Tim Almdal
0eb593711b We no longer need a dialog to set or remove a watch, so remove it. 2009-02-02 03:21:29 +00:00
Tim Almdal
69a7e238a4 As we stagger towards completing the notification module.
Item changes and Item additions email notifications with this change.
Still to come is item deleted, comment added and comment updated.
2009-02-02 03:09:17 +00:00
Bharat Mediratta
51f13f0ca2 Reconcile search_records and items when we list the tasks so that we can tell if there're any out of date records that need updating 2009-02-02 01:24:13 +00:00
Bharat Mediratta
d728e274f6 First time running search maintenance task, remove any search_records
that are missing matching items.
2009-02-02 01:13:52 +00:00
Bharat Mediratta
97cc8dc626 Add an enclosure link to the original image. 2009-02-02 00:44:06 +00:00
Bharat Mediratta
8bd9d38996 Revert to pre-r19217 which means the label is no longer first (but its consistent again with the upstream code) 2009-02-01 19:16:28 +00:00
Chad Kieffer
8a4eb9eed2 For consistency with the rest of the admin UI, display User list as table, not list. Apply cursor: move to jQuery UI draggable and sortable. Clean up admin table styles a bit. 2009-02-01 18:37:45 +00:00
Tim Almdal
78106bcaea Remove models/notification.php as it is no longer used 2009-02-01 04:00:27 +00:00
Tim Almdal
6f35829173 Simplify the setting of a notifications. Notifications are not only
set on a album. The notifications are implicitly active for all child
elements.

It now sends emails if the email address of the subscribed user has
been set.  No email, no attempt to send the notification.

Still to do, come up with better messages as the current ones are just
place holders.
2009-02-01 03:58:31 +00:00
Tim Almdal
7ef2dae070 There doesn't seem to be a photo_created event anymore so change it to
item_created and check for a type of photo before trying to extract tags.
2009-01-31 17:38:20 +00:00
Bharat Mediratta
3d8164353f Put the checkbox back inside the <label> so that clicking on the text selects the checkbox. 2009-01-31 08:57:13 +00:00
Tim Almdal
38cf6ca403 The start of the notification module. At this point, the icon has been added to the item menu in the sidebar (both photo and album). There is a corresponding icon in themes/default/images that needs to be spruced up. You can add and remove notifications to albums and photos, but nothing happens under the covers for event handling. 2009-01-30 20:52:25 +00:00
Tim Almdal
b925d9da53 Make the rendering of a checkbox consistent with other Forge controls. Checkbox originally rendered the input box as a child element of the label element, which resulted in the label appearing under the checkbox. All the other controls render the label element first and then the input control as a peer. This change just makes it consistent. 2009-01-30 14:14:49 +00:00
Tim Almdal
a3aef69317 Correct indentation 2009-01-30 13:03:56 +00:00
Bharat Mediratta
6091350c94 Fix lint errors 2009-01-29 03:23:46 +00:00
Bharat Mediratta
e52431a81b Fix url for delete group link. 2009-01-29 01:41:32 +00:00
Bharat Mediratta
6bfadc14ed Fully implement the user administration backend with drag/drop to add
users to groups.
2009-01-28 22:42:50 +00:00
Bharat Mediratta
1a62a26a36 Add drag and drop support to the admin_users interface. This is still
a work in progress but it actually works mostly.
2009-01-28 09:50:15 +00:00
Bharat Mediratta
97e4125956 Add module name to log::success() calls 2009-01-28 09:45:52 +00:00
Bharat Mediratta
6220db47b3 Simplify the recaptcha admin page. It's not guaranteed to verify your
recaptcha private key properly anymore, but it's more intuitive to
configure in the admin UI.
2009-01-28 08:15:56 +00:00
Bharat Mediratta
ca8e92376a Add gravatars to users 2009-01-27 21:57:41 +00:00
Bharat Mediratta
9048a5afca Clean up indentation 2009-01-27 21:54:22 +00:00