• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace deprecated proc call

Fix proc doc

Introduce SSE notifications on the page, but bind their availability and usage to a package parameter set to false by default

  1. … 2 more files in changeset.
Provide a Notification API implementation for rendering notifications obtained via the SSE backend

This include should be used e.g. on the website master so that SSE notifications are displayed whenever occurring. We do not do it by default for now.

    • -0
    • +50
    ./lib/notification-sse.adp
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.