• last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
put the notification creation in a db_transaction to ensure same subscription is created only once (e.g. double-clicks)

Harden page contract

Harden page contract

Fix incorrect HTTP status code on result page

The command "ad_return_error" returns HTTP status code 500 (internal server error).

In this script, this status code was returned in cases, where no notifications

were found for an object. "ad_return_exception_page" is better suited for such

cases.

Whitespace changes

Fix proc signature

  1. … 7 more files in changeset.
Replace leftover occurrences

  1. … 1 more file in changeset.
Deprecate notification::get_delivery_method_id, same as notification::delivery::get_id and looking more established

  1. … 7 more files in changeset.
Deprecate notification::get_interval_id, duplicated by notification::interval::get_id_from_name which appears to be more established

  1. … 5 more files in changeset.
improve input validation

Reduce divergency between oracle and postgres codebase

Cleanup leftover file

Remove attack surface

Check permissions when one accesses the script and also when one performs the actual unsubscribing operation

Harden safety: require login, do not let people outside the requester fiddle with the frequency

make clear from the user-interface that admin is managing the notifications of someone else

Use already existing message-key.

Reduce divergency between oracle and postgres

  1. … 3 more files in changeset.
improve spelling

  1. … 10 more files in changeset.
Add ad_page_contract to pages (fixes automated tests)