• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix issue #3392, improve testability via paramterization of clock value, add regression test, improve Tcl sanity

    • -160
    • +180
    ./packages/acs-templating/tcl/date-procs.tcl
white space changes

Deprecate unamusing template::util::date::now_min_interval_plus_hour

    • -2
    • +8
    ./packages/acs-templating/tcl/date-procs.tcl
Fix obvious bug; Note that the proc is still buggy, as it blindly incr's the hour value, even if it is 23 o'clock

    • -2
    • +2
    ./packages/acs-templating/tcl/date-procs.tcl
Fix log warning message

    • -3
    • +3
    ./packages/acs-templating/tcl/tag-procs.tcl
Delete unneeded line

    • -2
    • +1
    ./packages/acs-tcl/tcl/security-procs.tcl
Use testing authority in auth_create_user test

improve protection against attacked cookies

    • -3
    • +3
    ./packages/acs-tcl/tcl/security-procs.tcl
Do not depend on dt_systime

Apparently, this makes xolp tests more robust with respect to issue discussed in https://stackoverflow.com/questions/49031790/how-can-i-debug-a-tcl-8-6-error-in-clock-tcl#49033144

    • -1
    • +1
    ./packages/xolp/tcl/xolp-indicator-procs.tcl
Add a quick run of the basic CRUD operations on ORM to avoid issues when e.g. no particular object member is explicitly supplied

    • -0
    • +23
    ./packages/xotcl-core/tcl/test/xotcl-test-procs.tcl
Check for existance of :context_id

    • -2
    • +3
    ./packages/xotcl-core/tcl/cr-procs.tcl
Make sure init test classes are named differently, or xowiki tests will interfere with xowf ones

    • -3
    • +3
    ./packages/xowf/tcl/test/xowf-test-procs.tcl
Keep old behavior when we drill down to package

    • -32
    • +62
    ./packages/acs-automated-testing/www/admin/index.adp
Extend UI allowing to select packages for which we want tests to be run

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
    ./packages/acs-lang/www/admin/message-unregister.adp
file message-unregister.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./packages/acs-lang/www/admin/message-unregister.tcl
Extend aa_runseries proc to allow multiple package keys to be specified (goal is being able to select just the packages we want for testing)

Fix typo

    • -2
    • +2
    ./packages/acs-tcl/tcl/utilities-procs.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.

    • -14
    • +57
    ./packages/acs-lang/www/admin/index.tcl
    • -5
    • +7
    ./packages/acs-lang/www/admin/index.xql
Allow to specify and update the context_id for a CrItem (fixes xotcl-core.test_cr_items automated test)

    • -3
    • +19
    ./packages/xotcl-core/tcl/cr-procs.tcl
Modifying IP really comes from the item and not from the revision (as normally comes from the automatically generated view ${table_name}i which says so)

new support function util::var_subst_quotehtml to perform variable substitution with ns_quotehtml

    • -2
    • +33
    ./packages/acs-tcl/tcl/utilities-procs.tcl
Update database idioms

    • -13
    • +11
    ./packages/xotcl-core/tcl/cr-procs.tcl
use capitals for abbreaviation

    • -2
    • +2
    ./packages/acs-tcl/tcl/utilities-procs.tcl
- improve error message

- break overlong lines

Use a prepared statement

    • -2
    • +3
    ./packages/xotcl-core/tcl/05-db-procs.tcl
Update object memory image according to its new database values when we update (fixes xotcl-core.test_xo_db_object automated test)

    • -1
    • +9
    ./packages/xotcl-core/tcl/05-db-procs.tcl
Do not return empty context_ids for the test, make sure value will have to change

Save the object title as well when updating (improves xotcl-core automated tests)

    • -1
    • +3
    ./packages/xotcl-core/tcl/05-db-procs.tcl