acs-lang-test-procs.tcl

  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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 handling of invalid (hacked) ad_locale cookies.

Previously, invalid ad_locale cookies lead to an error, which in turn

prevented all communication with OpenACS. So, a user had to delete the

cookie manually. Now, we just produce a warning, ignore and delete such

broken cookies.

  1. … 1 more file in changeset.
Fix typo

Do not rely on error trapping for file retrieval, introduce a test for this proc

  1. … 1 more file in changeset.
improve spelling

Add 'message-undelete' page to make use of the new '::message::undelete' proc for undeleting messages, a couple of icons, the undelete option in 'message-list' and the undelete action in automated tests

  1. … 6 more files in changeset.
Exclude locales that are not enabled from test

Do not test deleted keys

Display error message when the test fails

Update test case for lang::util::default_locale_from_lang

fix typos

rework test cases, make tested procs explicit

  1. … 2 more files in changeset.
Fix typo or this file would not load

improve testcases by removing useless expr commands

  1. … 17 more files in changeset.
improve spelling

  1. … 12 more files in changeset.
Delete thread cache variable as well when setting a new locale and use this corrected api to repair broken test

  1. … 1 more file in changeset.
modernize code

whitespace cleanup

  1. … 9 more files in changeset.
Use "ad_try" instead of "with_catch"

  1. … 4 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 8 more files in changeset.
Fix spelling errors

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

  1. … 19 more files in changeset.
Get rid of strange construct: [lindex [array get $array $name] 1]

  1. … 5 more files in changeset.
- no need to use backslash for continuation between curly brackets

- improve readability of code

- modernize tcl

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

  1. … 754 more files in changeset.
- remove globals for errorInfo and use namespace qualifiers instead

  1. … 15 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 $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

  1. … 12 more files in changeset.
- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 9 more files in changeset.