• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- improve quoting saftey by using "list" instead of constant braces

- write error message to log file in case smtp::sendmessage raises an error. This way, we try to avoid that a catch on an above calling level swallows silently the error message

- improve variable name

- stop renaming predefined AOLserver/NaviServer command ns_sendmai (for the time migration phase, simply overwrite it)

- replace calls to deprecated "ns_sendmail" to calls to "acs_mail_lite::send"

  1. … 2 more files in changeset.
- make documentation readable on API browser

- simply string expressions

- remove unneeded quoting

- use "in" or not in (ni) operator instead of lsearch

- improve domain guessing for naviserver configurations

- use "lassign" instead of "util_unlist"

  1. … 19 more files in changeset.
- replace deprecated "export_url_vars" by "export_vars -url"

- fix bracing in "export_vars -form"

  1. … 121 more files in changeset.
if processing of email message causes an error, keep it locked to prevent repeated attempts by sweeper and memory leakage

- replace deprecated command "ns_unlink" with native tcl command "file delete"

  1. … 7 more files in changeset.
Don't use the encoded subject in the call to the callback

- guard body from non-positional argument interpretation (many thanks to Franz Penz for the bug fix)

Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

  1. … 212 more files in changeset.
- fix test files__tcl_file_common_errors

- report errors as such in aa-test (wrote warnings into error log, this was ignored since ages)

- fixed naming in acs-tcl, acs-mail-lite and acs-subsite

  1. … 3 more files in changeset.
Implements TIP #140. Rollout support params are package parameters now (instead of config.tcl ones). ns_sendmail is now deprecated but provided as a wrapper to acs_mail_lite::send for backward compatibility.

  1. … 1 more file in changeset.
Added comment to explain Dcc vs Bcc

Rolling back Victor's change. DCC is correct (BCC wouldn't work as expected).

most likely the author meant BCC instead of DCC.

Added rollout support without using ns_sendmail anymore. Beware that the email message will be print out to the log raw, so if there are attachments, they will be print out too.

Remove complex-send as agreed in TIP#127

    • -103
    • +0
    ./complex-send-procs-postgresql.xql
  1. … 16 more files in changeset.
the arg is -paramter not -name to parameter::get_from_package_key, not sure how this ever worked...

remove duplicate procs bounce_prefix and address_domain which live in incoming-mail-procs.tcl and bounce-procs.tcl

- eliminated dead code

Fix typo user should be user_id

- reduce lock contention with other background jobs scheduled at full minutes

  1. … 1 more file in changeset.
TIP#127 Add object_id as optional parameter to acs_mail_lite::send

Envelope sender disappeared during the refactoring of send between 5.3 and 5.4 and therefore was set using the from address. This led messages to be identified as junk by SPF, and bounces to be sent back to the user. This is a fix that puts the correct envelope sender back.

Since acs_mail_lite::send now accepts a multiple TO address, the user_id part of the bounce address it set to 0 if there are multiple recipients.

Envelope sender disappeared during the refactoring of send between 5.3 and 5.4 and therefore was set using the from address. This led messages to be identified as junk by SPF, and bounces to be sent back to the user. This is a fix that puts the correct envelope sender back.

Since acs_mail_lite::send now accepts a multiple TO address, the user_id part of the bounce address it set to 0 if there are multiple recipients.

fix bug, where months higher equal 08 lead to problems due to octal interpretation (can't use invalid octal number as operand...), aborting immediate ma

il sends in aug. or later.

fix bug, where months higher equal 08 lead to problems due to octal interpretation (can't use invalid octal number as operand...), aborting immediate mail sends in aug. or later.

Fix 3087 reordering the insert by putting the clob ones (cc, bcc, body and extraheaders) at the end to avoid crash on oracle 10g.

    • -10
    • +10
    ./acs-mail-lite-procs-oracle.xql