notification-email-procs.tcl

  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo in comment

When sending a notification on behalf of a person, if the system is not configured to process replies to notification, do not set the reply-to address to anything different than the sender

reduce public footprint

  1. … 3 more files in changeset.
fix an at lease 11 year old bug... not sure, why this was not discovered earlier

Replace parse_incoming_email with ad_parse_incoming_email, replace occurrences

  1. … 1 more file in changeset.
improve spelling

  1. … 14 more files in changeset.
improve comment

Fix parameter name in proc doc

Deprecate 'notification::email::get_parameter', just a wrapper for 'parameter::get', used almost nowhere.

Reuse person API instead of querying by hand

  1. … 1 more file in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
unify spelling of URL

  1. … 3 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 71 more files in changeset.
Rework variable assignment (set -> lassign) + Whitespace changes

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Improve robustness of "file delete" operations

  1. … 25 more files in changeset.
- replace regular expression by ad_html_qualify_links

- bum version number to 5.9.1d2

  1. … 1 more file in changeset.
- use the right variable name

- fix code for making urls absolute. regexps like [^(http|https|mailto:)] don't work, as the author expected.

- replace deprecated "cc_email_from_party ..." by "party::email -party_id ..."

- replace deprecated "cc_lookup_email_user ..." by "party::get_by_email -email ..."

  1. … 2 more files in changeset.
- add editor hints to keep spaces/tabs in the future more consistent

  1. … 350 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- use tcl 8.5 index expression

- bump verison number

  1. … 1 more file in changeset.
- fix a bug (actually in api-browser) which barfs on rendering the source, when it tries to resolve the message-keye, which require extra variables

- get rid of empty_string_p in non-deprecated code

- make use of tcl byte-code compiler

  1. … 42 more files in changeset.
- replace deprecated command "ns_unlink" with native tcl command "file delete"

  1. … 7 more files in changeset.
Merged oacs-5-7 to HEAD

  1. … 167 more files in changeset.
daveb's fix from hub for urls in notifications - still is broken for host-node mapped urls

Remove unnecessary code

Added logic to send out the notification in the user language if set, fallback to system one, in case the notification content is i18n'd.