• last updated 35 mins 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
    • +3
    ./oracle/notifications-core-create.sql
    • -3
    • +5
    ./postgresql/notifications-core-create.sql
  1. … 8 more files in changeset.
Fixes from sloan

* Increase field sizes for subject

* adds a manage page

* adds a object_id redirect (object-goto.tcl)

* linking to manage page in outgoing message.

    • -2
    • +2
    ./oracle/notifications-core-create.sql
    • -2
    • +2
    ./postgresql/notifications-core-create.sql
  1. … 14 more files in changeset.
fixes bug 1731/patch 442 Tilman Singer

    • -1
    • +2
    ./postgresql/notifications-replies-package-create.sql
fixing

    • -1
    • +13
    ./postgresql/upgrade/upgrade-0.1d-0.2d.sql
1. updated .info file with some missing files for PG

2. fixed the notification.delete func in both DBs

3. bumped pacakge version to 0.2d

    • -0
    • +2
    ./oracle/notifications-package-create.sql
    • -0
    • +1
    ./oracle/upgrade/upgrade-0.1d-0.2d.sql
    • -0
    • +1
    ./postgresql/notifications-package-create.sql
    • -0
    • +1
    ./postgresql/upgrade/upgrade-0.1d-0.2d.sql
  1. … 1 more file in changeset.
removed parens from around select clause in for clause which barfs on pg 7.1. fix from davb

    • -3
    • +3
    ./postgresql/notifications-package-create.sql
copyright OpenForce -> MIT

    • -2
    • +2
    ./oracle/delivery-method-sc-create.sql
    • -2
    • +2
    ./oracle/notification-type-sc-create.sql
    • -2
    • +2
    ./oracle/notifications-core-create.sql
    • -1
    • +1
    ./oracle/notifications-package-create.sql
    • -1
    • +1
    ./oracle/notifications-package-drop.sql
    • -1
    • +1
    ./oracle/notifications-replies-create.sql
    • -1
    • +1
    ./oracle/notifications-replies-package-create.sql
    • -3
    • +3
    ./postgresql/delivery-method-sc-create.sql
    • -2
    • +2
    ./postgresql/notification-type-sc-create.sql
    • -2
    • +2
    ./postgresql/notifications-core-create.sql
  1. … 99 more files in changeset.
postgres port stuff

    • -41
    • +41
    ./postgresql/notifications-package-create.sql
  1. … 7 more files in changeset.
ported notifications to PG (the new stuff)

    • -2
    • +5
    ./postgresql/delivery-method-sc-create.sql
    • -0
    • +67
    ./postgresql/email-sc-impl-create.sql
    • -9
    • +11
    ./postgresql/notifications-init.sql
    • -39
    • +11
    ./postgresql/notifications-package-create.sql
reporting to PG

    • -0
    • +69
    ./postgresql/delivery-method-sc-create.sql
    • -0
    • +73
    ./postgresql/notification-type-sc-create.sql
    • -0
    • +10
    ./postgresql/notifications-create.sql
    • -0
    • +42
    ./postgresql/notifications-replies-create.sql
    • -0
    • +62
    ./postgresql/notifications-replies-package-create.sql
adding replies

  1. … 5 more files in changeset.
fixed more typos

fixing typos

    • -0
    • +68
    ./oracle/delivery-method-sc-create.sql
    • -0
    • +61
    ./oracle/email-sc-impl-create.sql
    • -0
    • +68
    ./oracle/notification-type-sc-create.sql
    • -2
    • +2
    ./oracle/notifications-core-create.sql
merged

    • -2
    • +8
    ./oracle/notifications-core-create.sql
    • -4
    • +8
    ./oracle/notifications-package-create.sql
    • -2
    • +8
    ./postgresql/notifications-core-create.sql
    • -68
    • +99
    ./postgresql/notifications-package-create.sql
  1. … 6 more files in changeset.
fixed some defaults

    • -10
    • +15
    ./postgresql/notifications-core-create.sql
    • -211
    • +199
    ./postgresql/notifications-package-create.sql
fixing postgres port

    • -59
    • +88
    ./postgresql/notifications-core-create.sql
    • -34
    • +25
    ./postgresql/notifications-core-drop.sql
    • -0
    • +15
    ./postgresql/notifications-drop.sql
    • -39
    • +47
    ./postgresql/notifications-init.sql
  1. … 4 more files in changeset.
adding "on delete cascade" clauses where appropriate

    • -148
    • +163
    ./oracle/notifications-core-create.sql
    • -34
    • +23
    ./oracle/notifications-core-drop.sql
    • -162
    • +175
    ./postgresql/notifications-core-create.sql
begun adding support for replies

    • -0
    • +44
    ./oracle/notifications-replies-create.sql
    • -0
    • +83
    ./oracle/notifications-replies-package-create.sql
  1. … 5 more files in changeset.
begun PG port

    • -0
    • +211
    ./postgresql/notifications-core-create.sql
    • -0
    • +57
    ./postgresql/notifications-core-drop.sql
    • -0
    • +18
    ./postgresql/notifications-create.sql
    • -0
    • +53
    ./postgresql/notifications-init.sql
    • -0
    • +282
    ./postgresql/notifications-package-create.sql
    • -0
    • +47
    ./postgresql/notifications-package-drop.sql
updates to notifications made to clobs

    • -2
    • +2
    ./oracle/notifications-core-create.sql
    • -4
    • +5
    ./oracle/notifications-package-create.sql
  1. … 1 more file in changeset.
notifications now works for instantaneous stuff

    • -0
    • +1
    ./oracle/notifications-core-create.sql
    • -0
    • +45
    ./oracle/notifications-init.sql
    • -2
    • +20
    ./oracle/notifications-package-create.sql
  1. … 18 more files in changeset.
initial check in of notifications

    • -0
    • +0
    ./oracle/notifications-core-create.sql
    • -0
    • +0
    ./oracle/notifications-package-create.sql
    • -0
    • +0
    ./oracle/notifications-package-drop.sql
  1. … 11 more files in changeset.
Initial revision

    • -0
    • +201
    ./oracle/notifications-core-create.sql
    • -0
    • +60
    ./oracle/notifications-core-drop.sql
    • -0
    • +16
    ./oracle/notifications-create.sql
    • -0
    • +366
    ./oracle/notifications-package-create.sql
    • -0
    • +22
    ./oracle/notifications-package-drop.sql
  1. … 21 more files in changeset.