• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Trim whitespace

Fix typo

Replace array idioms with dict idioms

whitespace changes

since test case ids are only significant per package_key, record such pairs in procdoc data structure

don't raise error on wrong inputs

Display warnings in the test results page

improve testcases by removing useless expr commands

    • -10
    • +10
    /openacs-4/packages/views/tcl/test/views-procs.tcl
update tutorial: don't recommend to use "expr" for aa_true or aa_false

procdoc change: Preserve pre-existing values, e.g. from testcases, which might be loaded in a different order (testcase might be loaded before proc)

.CVS: ----------------------------------------------------------------------

improve testcases by removing useless expr commands

  1. … 3 more files in changeset.
make tested procs explicit

improve testcases by removing useless expr commands

make feedback from testruns nicer (remove redundant messages)

Declass constraint names breaking the very strict OpenACS naming convention from errors to warnings

Rationale: it is sometimes impossible to have constraint names that are both < 30 chars and consistent with the naming scheme 'table_name'_'column_name'_'constraint_type' for all those defined on a particular table (see e.g. acs_named_objects).

Breaking this convention might be suboptimal, but is not harmful in itself.

flush per-request cache (fixes regression test properly)

simplify code

improve testcase viewing page:

- use syntax highlighting to testcase body

- fix label for body:

* just use numbering when appropriate

* start numbering of bodies with 1

improve test cases: align comment with operations, remove useless "expr" commands

improve log message to be able to distinguish between multiple commands with different parameters

Make string_truncate behave as before (looking for spaces at end_position + 1) and therefore not breaking tests for ad_html_text_convert. Update docs so this property of being less or equal than len is clearly specified

Revert change... more investigation needed

Trim whitespace

node_id shoudl probably be parent_id (fixes automated tests)

Trim whitespace

improve startuptime for large sites

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-init.tcl
    • -1
    • +3
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Whitespace cleanup

Add '-equal' parameter to 'string_truncate', which allows to truncate a string to a length shorter or *equal* than a specified length.

The fact that 'string_truncate' was producing strings strictly shorter than the specified length, was making the behavior of 'ad_html_text_convert' inconsistent, and breaking automated tests.

This small addition fixes both the behavior and the tests, while retaining compatibility.

Add 'Markdown' tests for 'ad_html_text_convert'

Replace deprecated header_stuff with head