Commit Graph
2082 Commits
Author SHA1 Message Date
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
Tim Almdal 41dbe5cf6c Changed the Sendmail library to allow the separator between mail
headers to be specified as a parameter.  The documents say that it
should be "\r\n".  Some sendmail programs seem to violate the
specification and get confused.  In these cases the header separator
is just "\n".

This change allows the header separator to be set by the a
configuration parameter.
2009-02-02 02:58:12 +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 d49484c9a6 Update the handling of the to field if the input field is an array 2009-02-01 03:55:40 +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
Tim Almdal 7239a4d8bc Add the ability to generate the id parameter on Menu Dialog. 2009-01-29 18:25:14 +00:00
Bharat Mediratta b4f92c7de6 Add delete support as a quick-edit option 2009-01-29 09:26:39 +00:00
Bharat Mediratta 6091350c94 Fix lint errors 2009-01-29 03:23:46 +00:00
Bharat Mediratta 894a33d744 Add support for pretty urls. So now instead of urls like:
http://example.com/gallery3/index.php/albums/2
  http://example.com/gallery3/index.php/photos/9

You'll see urls like:
  http://example.com/gallery3/index.php/Family/Weddings
  http://example.com/gallery3/index.php/Family/Weddings/Bob.jpg
2009-01-29 03:22:02 +00:00
Bharat Mediratta ad82721c3b Fix an off-by-one issue-- the destination level is the target's child, not the target itself. 2009-01-29 03:17:09 +00:00
Bharat Mediratta 8d4b0afa4f Support making an album the album cover for its parent 2009-01-29 03:14:43 +00:00
Bharat Mediratta 01d81ec6b4 Update the level when moving items 2009-01-29 02:57:29 +00:00
Bharat Mediratta d2b4c636c2 replace title with level, for ease in diagnosing levelling issues. 2009-01-29 02:53:54 +00:00
Bharat Mediratta b7bfd011cb Remove extra debug call to install() 2009-01-29 02:19:52 +00:00
Bharat Mediratta f85bc9bb7b Consolidate all our hooks into one file 2009-01-29 01:47:28 +00:00
Bharat Mediratta e52431a81b Fix url for delete group link. 2009-01-29 01:41:32 +00:00
Bharat Mediratta 33d7fa8cf6 Make the application home page the scaffolding. 2009-01-29 01:38:40 +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 25b8008304 Fix button background image url 2009-01-28 19:31:10 +00:00
Bharat Mediratta 43b30c0ee2 Add Menu::add_after() 2009-01-28 19:25:01 +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 713c8e8ab3 Update to jquery-ui 1.6rc5 with Droppable 2009-01-28 09:47:12 +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
Tim Almdal 66fae63558 Create a sendmail library to wrap the call to the system sendmail
facility. Something quirky is happening in the first test, see comment
in code, but I couldn't figure it out.  Left a @todo for now.
2009-01-28 04:22:59 +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
Bharat Mediratta 2a9d48f8bb Rename Admin_Themedetails -> Admin_Theme_Details 2009-01-27 07:47:55 +00:00
Bharat Mediratta 47067c72ea Remove unused theme code left over from before virshu moved theme
settings into Admin_Themedetails.
2009-01-27 07:30:28 +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
Chad Kieffer f315b9822d Annotate and number admin_default's style sheet sections. Changed gSelected from green to neutral light gray BG color. Various user admin style updates. 2009-01-25 21:14:44 +00:00
Chad Kieffer 24f7fcd914 Apply rounded corners to gBlocks in gAvailable, not gAvailable. 2009-01-25 21:11:57 +00:00
Chad Kieffer 573f787d63 Set dialog width to 200px for dialog's whose content is less than 400px wide, like the login form. 2009-01-25 20:58:15 +00:00
Chad Kieffer be2b1b6400 Add opacity values for gUnavailable in IE with the filter attribute. 2009-01-25 20:28:07 +00:00