• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Whitespace cleanup

Rename string_truncate and string_truncate_middle to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences

As string_truncate_middle was defined in xotcl-request-monitor, bring it to acs-tcl instead

  1. … 11 more files in changeset.
Deprecated get_referrer and NsSettoTclString, replace them with versions that respect OpenACS naming convention

  1. … 7 more files in changeset.
Provide convenience link to default locale (resolves issue #3430)

fix for issue # 3429

Trailing whitespace cleanup

Code cleanup: use "ad_form" for form processing and "ad_include_contract"; dropped support for "change-locale-include"-include attribute "return_p" as it was never used in the include's code.

move test cases for lc_monetary_currency to acs-outdated, where the definition lives

  1. … 2 more files in changeset.
use existing api

validate user_locale

improve spelling

  1. … 12 more files in changeset.
improve spelling

  1. … 10 more files in changeset.
Trailing whitespace cleanup

Prefer '==' over 'eq' on numeric comparison

  1. … 3 more files in changeset.
Fix regression on enabling/disabling locales

replace deprecated function ad_var_type_check_number_p which was used improperly

Simplify multirow logic using 'template::util::list_to_multirow'

Add the option to unregister (delete permanently the message key from all locales) a message key that has been already marked as deleted. Useful for cleaning up old message keys

file message-unregister.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./admin/message-unregister.adp
file message-unregister.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./admin/message-unregister.tcl
Fix query and logic for retrieving a particular locale stats for acs-lang admin/index page. In particular, messages that do not exist in a certain locale are properly computed in order to calculate deleted and untranslated ones, at the price of executing one query per locale instead of just a big one.

Default deleted_p should be false for non-existing translations

Allow to undelete a message from acs-lang 'edit-localized-message', instead of showing the option to delete it whatever the state is

Refactor acs-lang 'admin/index' page, adding the new columns 'total' and 'deleted' to the listing, and reworking the query so it is faster (53ms -> 7ms), correct (number of messages by state are computed coherently with other acs-lang pages) and gives more information

file index.xql was initially added on branch oacs-5-10.

Refactor acs-lang 'message-list', using a single query for counting the different message states instead of one per state, and simplifying tcl logic

Rework acs-lang 'package-list' query 'packages_locale_status' query (89ms -> 4ms)