notification-display-procs.tcl

  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
1. Changed cleanup sweep interval to 15 minutes

2. Fixed broken PostgreSQL and Oracle queries that were supposed to select

notifications for deletion but rather returned all notifications if any

were ripe for deletion, causing seemingly random failure to deliver

notifications. Sloan had hacked this with a kludge to only delete

notifications older than two days but this didn't work on openacs.org,

which supports weekly summaries of notifications.

3. Changed notification::new to not insert notifications that have no

pending requests. This avoids having to waste time deleting them

afterwards.

4. Added notification_request::request_exists which returns true if

there's at least one notification request for a given object and

notification type.

5. Added a couple of indexes to speed queries that ran slow on openacs.org.

  1. … 9 more files in changeset.
merge from oacs-4-6

  1. … 103 more files in changeset.
I18N: converting the notifications package to using the message catalog

  1. … 5 more files in changeset.
added notifications documentation!

  1. … 10 more files in changeset.
I took the liberty to go ahead and implement this pretty_name addition to subscribe_url that I mentioned in the bboard thread.

parameterized all the right stuff

  1. … 3 more files in changeset.
added better notification format

  1. … 3 more files in changeset.
notifications now works for instantaneous stuff

    • -0
    • +42
    ./notification-display-procs.tcl
  1. … 21 more files in changeset.