• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup stale sse connections

Introduce a new delivery method for notifications based on Server Sent events

By subscribing to /notifications/sse/subscribe one will receive notifications as JSON messages. This can be used e.g. to update a UI in real time based on events on the system.

    • -0
    • +245
    ./tcl/notification-sse-procs.tcl
    • -0
    • +10
    ./www/sse/subscribe.tcl
Prefer unset to array unset when we do not need a pattern match

See https://wiki.tcl-lang.org/page/Dict+VS+Array+Speed

merge with missing files

    • -0
    • +0
    ./sql/oracle/notifications-core-create.sql
    • -0
    • +0
    ./tcl/notifications-security-procs.tcl
  1. … 1450 more files in changeset.
merge from oacs-5-10

    • -2
    • +3
    ./sql/oracle/notifications-core-create.sql
    • -0
    • +5
    ./sql/oracle/upgrade/upgrade-5.10.0d4-5.10.0d5.sql
    • -12
    • +26
    ./tcl/notification-callback-procs.tcl
    • -10
    • +0
    ./tcl/notification-callback-procs.xql
    • -13
    • +16
    ./tcl/notification-display-procs.tcl
    • -12
    • +25
    ./tcl/notification-email-procs.tcl
  1. … 8085 more files in changeset.
file notifications-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/notifications-test-procs.tcl
file upgrade-5.10.0d6-5.10.0d7.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.10.0d6-5.10.0d7.sql
file upgrade-5.10.0d4-5.10.0d5.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.10.0d4-5.10.0d5.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.10.0d4-5.10.0d5.sql
Update italian localization

    • -0
    • +2
    ./catalog/notifications.it_IT.ISO-8859-1.xml
whitespace changes

Whitespace changes

Localize notification subscribers and bump version number

    • -0
    • +2
    ./catalog/notifications.de_DE.ISO-8859-1.xml
    • -0
    • +2
    ./catalog/notifications.en_US.ISO-8859-1.xml
    • -0
    • +2
    ./catalog/notifications.es_ES.ISO-8859-1.xml
allow passing of pretty_names that contain content including less and greater sign

  1. … 1 more file in changeset.
Delete from duplicated notification request entries before trying to add the unique constraint to deal with broken data

improve comment

whitespace changes

Address issue #3358: avoid duplicate entries in notification_requests via data model, in case the check in notification::request::new for existing requests with the same type_id, object_id and user_id is somehow bypassed

    • -8
    • +10
    ./sql/oracle/notifications-core-create.sql
    • -0
    • +4
    ./sql/oracle/upgrade/upgrade-5.10.0d2-5.10.0d3.sql
    • -0
    • +4
    ./sql/postgresql/upgrade/upgrade-5.10.0d2-5.10.0d3.sql
Undeprecate and reimplement: require_admin_request, can_admin_request_p, require_notify_object and can_notify_object_p. Fixes in two templates (request-delete, request-change-frequency). (Many thanks to Felix Mödritscher for the patch!)

    • -16
    • +26
    ./tcl/notifications-security-procs.tcl
Fix parameter name in proc doc

Port a few downstream modifications to the main codebase

When changing notification frequency, show also name and creation date for the object

Driver is making easier to merge this script

Trim whitespace

Fix proc and contract doc elements, so they are properly parsed by apidoc::api_*_documentation.

- @cvs_id -> @cvs-id

- @version -> @cvs-id

- @creation_date -> @creation-date

- @date -> @creation-date

- Different variations of $Id$

- Remove wrong @param entry

- Fix typos

  1. … 368 more files in changeset.
Prefer 'person::name' to 'acs_user::get_element ... -name'

  1. … 8 more files in changeset.
Prefer again 'person::name', as the proc has been reimplemented using 'person::get_person_info', which uses the new 'person_info_cache' cache.

  1. … 13 more files in changeset.
Deprecate 'notification::email::get_parameter', just a wrapper for 'parameter::get', used almost nowhere.

Whitespace changes

  1. … 11 more files in changeset.
Prefer 'acs_user::get_element ...' to 'person::name ...', in cases when 'person' is a user, as it doesn't rely on util_memoize_cache.

  1. … 13 more files in changeset.
Remove unnecessary join, as users are always persons and unnecessary stored procedure in order_by as we compute this in the column already

Remove divergency between oracle and postgres, bring all sql inline

    • -17
    • +0
    ./www/request-change-frequency-oracle.xql
    • -17
    • +0
    ./www/request-change-frequency-postgresql.xql
fix adp expressions

  1. … 2 more files in changeset.