• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use built-in "ns_parsequery" instead of manual parsing of query parameters

Use built-in "ns_parsequery" instead of manual parsing of query parameters

Use built-in "ns_parsequery" instead of manual parsing of query parameters.

Note, that this change might alter query processing, since previously

query parameter without explicit values were treated as boolean values

(like in HTML), now these are treated like "x=" before. The new version is

about 10x faster.

Furthermore, new tests of the regression tests were added for query parameter

processing.

file api-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xotcl-core/tcl/test/api-test-procs.tcl
fixed description of test file

Formatting change

Refactor of category mapping UI:

- remove reference to obsolete and unmaintained acs_named_objects, which was preventing the UI to work in practice

- rework pagination and other idioms to long standing template::list best practices

- reduce hardcoded styling

Whitespace changes

Use the new 'url' input type

Add new 'url' input type to 'ad_form'

Whitespace changes

Refactoring of the upload-size-limit admin page of the file-storage. Sets a default value of 2GB when no maxinput is found in the config file, and uses the new 'number' ad_form widget. Bump version for the widget dependency

Make sure that in case of errors that are also detected as timeouts, we do not reschedule the failed picture twice

perform conditional updates of context_id, fetch now storage_type as well to streamline code in the future

Fix typo

fix typo

extend regression test: provide tests of the basic life-cycle steps of the inclass-exam

fix typo

added new regression test

file cookie-consent-test-procs.tcl was initially added on branch oacs-5-10.

improve test coverage

reduce public footprint

reduce public footprint

extend regression test

extend regression test

mark unused "content::item::get_context" deprecated, since it should be called on "acs_object"

extend regression test

improve code orthogonality: support "acs_object::get ... -element" similar to "party::get"; return dict from acs_object::get

    • -9
    • +25
    /openacs-4/packages/acs-tcl/tcl/object-procs.tcl
add tests for "acs_object::get ... -element"; use "string equal" instead of "string match" (since the latter is semantically incorrect)

provide friendly error message in error.log in case provided answer-values (for e.g. MC) are invalid