Commit Graph
10 Commits
Author SHA1 Message Date
Bharat Mediratta 5b3b675b6d Non-trivial changes to the event handling code:
1) The item_updated event no longer takes the old and new items.
   Instead we overload ORM to track the original data and make
   that available via the item.  This will allow us to move event
   publishing down into the API methods which in turn will give us
   more stability since we won't require each controller to remember
   to do it.

2) ORM class now tracks the original values.  It doesn't track
   the original relationships (no need for that, yet)

3) Added new events:
     item_deleted
     group_deleted
     user_deleted
2009-07-16 11:19:34 -07:00
Bharat Mediratta 774e0b3737 Avoid complex inserts in available_tasks() to make admin/maintenance
run faster.  This fixes ticket #235.

Incidentally, refactor exif and search to use the same patterns
overall so that if you understand one, you understand the other and
they generally use the same strings for localization.
2009-05-20 06:10:14 +00:00
Bharat Mediratta 5495037a3d Gee it's May already. Update copyright to 2009. 2009-05-13 20:04:58 +00:00
Bharat Mediratta 8b33371e99 Index photos as they're added 2009-05-11 05:18:23 +00:00
Tim Almdal 938bca7601 Remove back ticks from sql 2009-03-18 03:35:08 +00:00
Tim Almdal 8e1817d4e4 Couple of sql statements that had incorrect prefix handling or no
prefix handling.
2009-03-18 01:20:30 +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 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
Bharat Mediratta ccff396fae Fix a silly bug in item_created() 2009-01-17 05:22:07 +00:00
Bharat Mediratta d568a1e9fd Implement relevance ranked boolean searching on a full text index of
item and comment data.  Whew!

It's not pretty yet.  And you have to manually update the index
currently in admin/maintenance.  But it works.
2009-01-17 00:52:50 +00:00