• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reimplement the message-list UI using the template::list

    • -81
    • +1
    ./acs-lang/www/admin/message-list.adp
    • -4
    • +100
    ./acs-lang/www/admin/message-list.tcl
Reimplement package-list UI using the template::list

    • -57
    • +1
    ./acs-lang/www/admin/package-list.adp
    • -1
    • +66
    ./acs-lang/www/admin/package-list.tcl
Cleanup message keys that do not exist in the english locale (they do exist in their "_time" variant, e.g. Time_must_be_after_min_time, already translated in spanish)

    • -2
    • +0
    ./acs-templating/catalog/acs-templating.es_ES.ISO-8859-1.xml
Update italian localization

    • -0
    • +7
    ./xowf/catalog/xowf.it_IT.ISO-8859-1.xml
Don't append an extra empty string to the form command when we are dealing with flags (that have therefore no value)

Fixes regression from https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Aantoniop%3A20220331163354, because now we treat flags properly

    • -2
    • +5
    ./acs-tcl/tcl/form-processing-procs.tcl
Reimplement the main admin locale UI using the template::list

Depend on the new features in acs-tcl

Add missing message key

Export message keys from the UI to normalize sorting and quoting

    • -29
    • +21
    ./acs-tcl/catalog/acs-tcl.en_US.ISO-8859-1.xml
Fix typo

    • -2
    • +2
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
Provide a default value for the filter

    • -1
    • +5
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
New ad_page_contract filter object_type

Rhis can enforce an object id to not only be formally correct, but also to be an object of a specific type. It can also be used as a simple existance check

    • -1
    • +25
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
Fix query name

    • -1
    • +1
    ./acs-tcl/tcl/object-type-procs-oracle.xql
Add include contract

    • -11
    • +9
    ./categories/www/include/widget.tcl
Add include contract, bring export page parameter in the page contract, fix javascript handlers

    • -2
    • +12
    ./calendar/www/view-print-display.tcl
Update documentation

    • -1
    • +7
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
Add include contract

    • -27
    • +17
    ./categories/lib/contributions.tcl
Accept previously valid formats

Streamline idiom

Add include contract

Notice that this page is stored under www, but is de-facto an include.

    • -10
    • +10
    ./calendar/www/mini-calendar.tcl
Improve test

    • -0
    • +10
    ./acs-tcl/tcl/test/tcl-documentation-procs.tcl
Collect common definition of an argspec flag in a proc to improve clarity

    • -6
    • +16
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
Introduce a new clock ad_page_contract filter:

this filter enforces that a datestring belongs to one of the clock formats specified in the argspec. By default, this will be %Y-%m-%d.

    • -1
    • +24
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
Cleanup

    • -7
    • +2
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
ad_page/include_contract argspec parsing reform: allow arbitrary characters in the argspec flag parameters

This reform allows to specify an argspec containing pipes, parenthesys and other so far forbidden characters as parameters for a flag. The purpose is to enhance the expressiveness of existing validators (e.g. the oneof validator) and enable new one, for instance, a date validator using a clock format as parameter.

Pipes and parenthesys need to be escaped via the backslash character in the new syntax.

    • -11
    • +93
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
    • -0
    • +112
    ./acs-tcl/tcl/test/tcl-documentation-procs.tcl
file tcl-documentation-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-tcl/tcl/test/tcl-documentation-procs.tcl
Whitespace changes

Fix array format in message keys

See acs-lang.message__format automated test, where the expected behavior of lang::message::format is documented

    • -4
    • +4
    ./acs-tcl/catalog/acs-tcl.el_GR.utf-8.xml
    • -1
    • +1
    ./acs-tcl/catalog/acs-tcl.pl_PL.utf-8.xml
    • -4
    • +4
    ./acs-tcl/catalog/acs-tcl.ru_RU.utf-8.xml
undo part of last change

unfortunatly, the 0.9.3 issue can't be fixed so simple as hoped. The "-html" flag is necessary for dealing with autoclosed entries.

for orthogonaly, remove "-html" flag from dom parse to avoid a potential top-level <html> element