• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix extra parenthesys

whitespace cleanup

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

  1. … 2 more files in changeset.
Reduce divergence between postgres and oracle codebase

    • -12
    • +1
    ./lang-catalog-procs-postgresql.xql
Reduce divergence between oracle and postgres codebase

    • -29
    • +0
    ./lang-message-procs-postgresql.xql
Reduce divergency between oracle and postgres codebase

merged changes from the oacs-5-9 branch and resolved conflicts

    • -0
    • +6
    ./test/acs-lang-localization-procs.tcl
  1. … 7820 more files in changeset.
make sure, the message key in the comment is shown correctly in API browser

- fixing regexp for message key in group::new

- Introducing lang::util::message_key_regexp to avoid similar confusions in the future

- bump verison number of acs-lang to 5.9.1b4

- bump version number of acs-subsite to 5.9.1b5

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

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

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

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

  1. … 2 more files in changeset.
- use util::trim_leading_zeros instead of private function

  1. … 1 more file in changeset.
add function "lc_trim_leading_zeros" to acs-lang localization procs, since date-time procs are not acs-core, such that the function defined there cannot be used in the core

Fix date computation: year of date 07072017 was treated as an octal number. (Example [lc_time_fmt 0708-08-17 %Q])

Remove unneeded test and improve documentation

Some more Tcl cleanup

- use curly brackes to enable byte code compilation

- don't use "[expr ...]" when not needed

- prefer "incr i -1" over "set i [expr {$i - 1}] "

  1. … 15 more files in changeset.
- add nonces to script tags

- add body handlers

  1. … 7 more files in changeset.
- use for hex codes 2-digit notation \xHH to make it compatible for tcl8.6

  1. … 5 more files in changeset.
- fix spelling of variable name

- Make parsing of "Accept-Language" header fields more robust:

ignore spaces after the comma, ignore wildcard value "*"

- Accept locales as syntactically correct when these contain numeric values (such as e.g. "es_419" for “Latin American Spanish”).

Since lang::conn::valid_locale_p is used in lang::conn::get_accept_language_header, OpenACS throws exceptions

on invalid locales, these caused problem even when these are low on the preference list of the Accept-Language header field.

- allow empty locale cookie

- return the invalid cookie in the error

- add validator for locale (useful, when headers or locale-cookie were hacked)

- provide an error message for invalid locale values

- improve indentation

.xql-file reform of acs-lang

- remove unneeded sql queries

lang::catalog::reset_upgrade_status_message_keys.reset_status"

lang::catalog::import_from_file.reset_upgrade_status_messages

lang::catalog::import_from_file.mark_message_as_deleted

lang::catalog::import_from_file.mark_message_key_as_deleted

lang::message::register.message_exists_p

- add per-request caching of acs_translator_mode_p