acs-mail-lite-callback-procs.tcl

  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge with missing files

  1. … 1464 more files in changeset.
merge from oacs-5-10

  1. … 8099 more files in changeset.
Make api deprecated, complies with acs-api-browser.graph__bad_calls automated test

  1. … 1 more file in changeset.
mprove spelling: move closer to the linux documentation recommendations

  1. … 21 more files in changeset.
Removed obsolete @arch-tag

  1. … 26 more files in changeset.
Whitespace changes

    • -33
    • +33
    ./acs-mail-lite-callback-procs.tcl
acs_mail_lite::incoming_email calls deprecated acs_mail_lite::parse_bounce_address. Comment, that this should not stay so.

fix more typos

  1. … 5 more files in changeset.
fix typos

  1. … 3 more files in changeset.
merge with changes from https://github.com/tekbasse/acs-mail-lite/tree/master/tcl

in essence, these changes provide support for handling email with attachments based on nsIMAP.

see https://openacs.org/forums/message-view?message_id=5378972 for more background

    • -5
    • +134
    ./acs-mail-lite-callback-procs.tcl
  1. … 71 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

    • -15
    • +14
    ./acs-mail-lite-callback-procs.tcl
  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 12 more files in changeset.
- perform cleanup and call callback as well in error situations

to be able to handle failed smtp deliveries

- add optional arguments "-status" and "-errorMsg" to interface

of callback acs_mail_lite::send

  1. … 1 more file in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 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.
New feature: now one can send plain filesystem files as email attachments, instead than only those into file-storage

  1. … 8 more files in changeset.
- use "lassign" instead of "util_unlist"

  1. … 19 more files in changeset.
Remove complex-send as agreed in TIP#127

  1. … 20 more files in changeset.
- eliminated dead code

Fix typo user should be user_id

TIP#127 Add object_id as optional parameter to acs_mail_lite::send

  1. … 3 more files in changeset.
Added an explicit blank body to two callbacks added by Malte, so automated

tests will pass. This is about the third release in which I've had to do

this. Simply adding "-" after the empty doc comment block is sufficient,

ad_proc treats that as an empty body.

Replace send procs with a refactored version of complex_send, allowing cc, bcc and attachments

    • -23
    • +52
    ./acs-mail-lite-callback-procs.tcl
  1. … 6 more files in changeset.
Indent code

  1. … 3 more files in changeset.
Added checking for valid emails and record bounces when the email is not valid

  1. … 4 more files in changeset.
When i added documentation blocks to these callbacks, the call back def code

started complaining that the body {\n} is not empty. Replaced this with the

"-" empty body marker. Interestingly:

ad_proc -callback {

params

} {

}

apparenly does not trigger the "non-empty body" error. Apparently the callback def

only checks if there's a docblock passsed to ad_proc ... a "gotcha".

Upgraded version to reflect it is part of core now. Added incoming_object_email callback as per http://openacs.org/xowiki/incoming_email. Moved incoming e-mail procs to a separate file

  1. … 3 more files in changeset.
Added dummy "Malte: please document these callbacks" comments to appease

our automated test procs. This release is supposed to be the "no core

tests fail" release ... adding procs without doc comments breaks that.

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Support for from_addr in addition sender_id in the complex_send callback. Correctly handle incoming file attachments. Get rid of hard coded subject_encoding

  1. … 3 more files in changeset.