Commit Graph

555 Commits

Author SHA1 Message Date
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
Bharat Mediratta
a30c28b5fc Make the comment -> recaptcha binding happen via an event dispatch as
opposed to a direct call.
2009-01-27 08:21:54 +00:00
Tim Almdal
af56018f7c Forgot to add the Form_Recaptcha class 2009-01-26 16:16:00 +00:00
Tim Almdal
bfb5c42124 Adding Recaptcha to the comment module. Recaptcha integration consists of a Form_Recaptcha class derived from Form_Input that can be added to any class that requires Recaptcha verfication. 2009-01-26 16:12:57 +00:00
Chad Kieffer
57f5cdeb30 Use url:site() on add user link, change user list from class to id to make it unique, changed gFirstRow to gHeaderRow to make more semantically meaningful. Fixed closing span that I broke after Bharat fixed it last night. 2009-01-25 21:17:04 +00:00
Tim Almdal
09e7f63d73 Removed all the complex code to locate the forms. Now the admin
screen just has the public and private keys and if the public key is
provided a recaptcha box shows up which is used to validate the public
private key pair.
2009-01-25 17:34:27 +00:00
Tim Almdal
4bb2c53c8f Added the ability to identify and present the defined forms to the
adminstrator. The forms are presented as a checklist, I would have
preferred a selection list, but Forge doesn't have one.  The generated
html to contain the recaptcha challenge is defined as <ul> as that was
the only way to force itto line up.
2009-01-25 16:35:25 +00:00
Chad Kieffer
ffa1fa45f6 Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet. 2009-01-25 06:55:24 +00:00
Tim Almdal
a8233ed979 Undo the adding underscores to the id on forge generated forms 2009-01-25 06:28:04 +00:00
Bharat Mediratta
b0ad4e0222 Fix all 'add' links and make them open in a dialog 2009-01-25 02:29:01 +00:00
Bharat Mediratta
7c317fa6f2 Fix indentation which helped me to find an extra </span>. Simplified
some of the logic.
2009-01-25 02:21:53 +00:00
Bharat Mediratta
70c050d995 Delete the rearrange module; it's been subsumed by the move controller 2009-01-25 01:44:26 +00:00
Chad Kieffer
55cd2afde5 Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet. 2009-01-24 20:06:13 +00:00
Tim Almdal
cbff78daa8 Supply a form id on all forms. This id can be used by modules other
than the originating module to provide additional functionality to the form.
2009-01-24 17:26:47 +00:00
Tim Almdal
3438bf7b3d The adminstration portion of the recaptcha module. I haven't figured out how to integrate it with the other module forms. 2009-01-23 17:05:20 +00:00
Chad Kieffer
6941af664f Ajaxified user edit forms. They're populated, but don't submit yet. 2009-01-23 06:19:19 +00:00
Jakob Hilden
1cc5d36657 toggling of user edit panel works now.
added groups to the admin_user view, so you will eventually be able to edit users, groups and memberships on one admin page.
2009-01-22 08:37:58 +00:00
Chad Kieffer
ddb995eaf6 Added new UI element, gPanel, which is a similar mechanism to gDialog. Panels are hidden inline elements that can be revealed within list items, tables cells, etc. Still need to add the toggle off and ajaxify content. 2009-01-22 06:35:55 +00:00
Jakob Hilden
6d99c29172 totally incomplete version of user admin UI. 2009-01-20 22:16:25 +00:00
Bharat Mediratta
f2cfd9798e Use xxx_test as the default database name. This means that we no
longer have to manually tweak database.php, yay!
2009-01-20 09:40:14 +00:00
Bharat Mediratta
1cc7b3f4be Don't force validation anymore; we're clearing the form properly in
the controller on successful add.
2009-01-18 23:27:26 +00:00
Bharat Mediratta
b39be71a4e We don't need to reset the form anymore, since it's reset on the server side. 2009-01-18 23:26:53 +00:00
Bharat Mediratta
f0eb8cb641 Reset the form before sending it back on success so that we clear the values. 2009-01-18 23:25:42 +00:00
Tim Almdal
9275742ef9 Change the event handlers for maintaining the search index to update
the index when items change.
2009-01-18 23:23:12 +00:00
Tim Almdal
dd5be1ece0 Remove blank line at the top of the file 2009-01-18 16:55:55 +00:00
Bharat Mediratta
883db822f1 Update the index right away if there are only < 10 items 2009-01-18 09:08:51 +00:00
Bharat Mediratta
7b68ca9946 Refactor dashboard -> block_manager since it'll manage blocks site
wide, not just in the dashboard.
2009-01-18 06:55:04 +00:00
Bharat Mediratta
3d1ea2904d Rename theme callback helpers from xxx_block to xxx_theme to make room
for us to rename the dashboard helper to be a block helper since
sidebar blocks are not just in the dashboard.
2009-01-18 05:01:00 +00:00