• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup broken tests from the old good days, timezone features in acs-lang are already tested in lang_test__lc_procs

Keep using ad_conn in lang::conn::timezone as set_get_timezone needs to simulate lack of connection and ad_conn allows to override the "real" value

Refactor 'locale_language_fallback' testcase, using 'aa_run_with_teardown' and preventing errors when the 'en_GB' locale is not enabled

    • -20
    • +44
    ./tcl/test/acs-lang-test-procs.tcl
prefer "ns_conn isconnected" over "ad_conn isconnected", since the latter might not notice changes in the connect state

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

    • -1
    • +1
    ./www/admin/export-locale-to-files.tcl
    • -1
    • +1
    ./www/admin/import-locale-from-files.tcl
  1. … 13 more files in changeset.
improve error message

provide a more friendly error message for broken configurations

avoid repeated lookup for the same locale

remove quotes from quoted vars

- simplifying one more expression

- bump version number to 5.10.0d11

reduced the number of mutex locks for message keys lookup by a factor of two by using naviserver commands

use dot instead of colon as separator between package name and cache key to ease readability

  1. … 8 more files in changeset.
acs::per_thread_cache: standardize per-thread caching

- added per-thread cache based on namespaced Tcl variables.

- use per-thread-cache on several occasions

- bump version number of acs-tcl to 5.10.0d34

  1. … 11 more files in changeset.
improve SQL quoting

  1. … 4 more files in changeset.
Update es_ES message keys

    • -0
    • +1
    ./catalog/acs-lang.es_ES.ISO-8859-1.xml
  1. … 1 more file in changeset.
Fix alt text of image

Fix typo

make lang::conn::language able to run running disconnected; improve documentation

bump version number to 5.10.0d8

make lang::conn::locale more robust when running disconnected

Whitespace cleanup

    • -12
    • +12
    ./tcl/localization-procs-oracle.xql
    • -10
    • +9
    ./tcl/localization-procs-postgresql.xql
Delete leftover page from the old good days:

- it is supposed to test the localization data model, but columns are wrong, so it probably refers to an older version

- similar tests already take place in the appropriate acs-automated-tests framework, so makes little point to fix it or port it

- makes use of deprecated api (e.g. ad_footer)

improve page contracts

improve page_contracts

    • -6
    • +6
    ./www/admin/edit-localized-message.tcl
    • -1
    • +1
    ./www/admin/export-locale-to-files.tcl
    • -2
    • +2
    ./www/admin/import-locale-from-files.tcl
    • -2
    • +2
    ./www/admin/message-conflict-resolve.tcl
    • -2
    • +2
    ./www/admin/message-conflict-revert.tcl
  1. … 6 more files in changeset.
Use ad_page_contract

  1. … 1 more file in changeset.
Use ad_include_contract

  1. … 1 more file in changeset.
Add remark: this file seems to be a leftover from the old good days

Use ad_include_contract

    • -6
    • +11
    ./www/admin/message-usage-include.tcl
Whitespace cleanup

Use ad_include_contract