• 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

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.