User: vauxia Branch: HEAD Date: Sat, 28 Feb 2009 05:00:52 +0000 Modified files: /modules/watch/includes/views views_plugin_display_watch.inc watch.views.inc /modules/watch/includes watch.run.inc watch.system.inc /modules/watch watch.install watch.module Log message: Working proof-of-concept: - Handles subscriptions to views, including exposed filters and arguments. - Effects an "is this * in a view with subscribers?" query on save ops for nodes, comments, node_revisions, etc. - Effects a similar query for subscribed views on cron runs. - Stores affirmative results in a queue table so you can easily see an aggregate of all of the results of all of the views you've subscribed to. - Calls hook_watch_run_notify() so that other modules can optionally deliver the results to subscribers. It's flexible and as efficient as this sort of thing can be. I'm looking for input! Still missing: - Access control (piggyback on Views' access control) - UI for subscribing to views. - UI for subscribing to views with arguments/filters/etc. that you didn't generate (e.g. posts by the same author) Links: http://cvs.drupal.org/diff.php?path=contributions/modules/watch/includes/vie... http://cvs.drupal.org/diff.php?path=contributions/modules/watch/includes/vie... http://cvs.drupal.org/diff.php?path=contributions/modules/watch/includes/wat... http://cvs.drupal.org/diff.php?path=contributions/modules/watch/includes/wat... http://cvs.drupal.org/diff.php?path=contributions/modules/watch/watch.instal... http://cvs.drupal.org/diff.php?path=contributions/modules/watch/watch.module...