• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixed cleanup for scheduled emails to avoid interference with immediate send operations

Delete the scheduled email after running the test case

::acs_mail_lite::configured_p: check, if we can connect to the mail server

This new function has the goal to centralize tests to check, whether

the SMTP server is properly configured and ready to accept mail

requests. This is currently just used in the regression test to skip

hopeless tests.

Later, we should extend the regression test to test whether

sending of real emails works.

  1. … 1 more file in changeset.
fixed regression test, when mailserver is not yet set up (nssmtpd only)

  1. … 1 more file in changeset.
Basic test of acs_mail_lite::send

file acs-mail-lite-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-mail-lite-procs.tcl
Deprecate template::util::is_true, implemented as a simple string command oneliner since 2015 and inline occurrences

  1. … 33 more files in changeset.
improve listing of test coverage

  1. … 8 more files in changeset.
Add default to avoid empty values. Fixes 'acs_mail_lite_inbound_procs_check' test case

make listing of tested procs more complete

  1. … 6 more files in changeset.
Fix typos

Fix priority check in 'acs_mail_lite_inbound_procs_check' test case

Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
Use only 100 objects for the test, as in large instances this can take several minutes

Rename 'random', 'randomInit' and 'randomRange' procs to something compliant to OpenACS naming convention, replace occurrences, create deprecated wrapper

  1. … 7 more files in changeset.
improve spelling

  1. … 9 more files in changeset.
Keep accepting empty values as proper ids, as deprecated ad_var_type_check_integer_p would have done

whitespace changes

  1. … 1 more file in changeset.
avoid usage of ad_var_type_check_integer_p

(use Tcl idiom "string is integer -strict" instead)

  1. … 1 more file in changeset.
Fix typo

max test cases explicit

Enable ns_imap dependent tests only when this is installed.

Whitespace cleanup

Fix typos

  1. … 5 more files in changeset.
Apply pachtes #960, #961, #962 and #963 from Ben Brink, bump version number to 5.10.0d3 such that changes in .info file get picked up

  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

    • -0
    • +737
    ./email-inbound-procs.tcl
  1. … 71 more files in changeset.