notification-request-procs.tcl

  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- get rid of empty_string_p in non-deprecated code

- make use of tcl byte-code compiler

  1. … 42 more files in changeset.
Added a new procedure to return all request_ids, so you could loop over the list and delete them (if you want to)

  1. … 1 more file in changeset.
Added procedure for retrieving the list of subscribers

  1. … 2 more files in changeset.
Added request_count procedure from 5.1

  1. … 1 more file in changeset.
Added new request proc from 5.1

  1. … 1 more file in changeset.
Added ability to count number of notifications of a type on a particular object

  1. … 2 more files in changeset.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
fix from Sloan: proc to delete all notifications for a user, which will be used later when we have callbacks to call things like this when we delete a user from core

  1. … 4 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 41 more files in changeset.
Upgrade to 4.6.2: Notifications extensions - dynamic notifications recipients.

  1. … 20 more files in changeset.
Added support for dynamic notifications

  1. … 32 more files in changeset.
Merge of all changes from oacs-4-6 to HEAD. All changes up to tag jcd-merge-2

on oacs-4-6 are included.

  1. … 56 more files in changeset.
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.
added notifications documentation!

  1. … 10 more files in changeset.
only add notification if it doesn't already exist

notifications now works for instantaneous stuff

  1. … 21 more files in changeset.
initial check in of notifications

  1. … 15 more files in changeset.
Initial revision

    • -0
    • +43
    ./notification-request-procs.tcl
  1. … 25 more files in changeset.