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

Give some feedback in case of error

Repair broken opml export, exploit new api to streamline query, fix typo

Return 0 also when a default is there but is the empty string

Bring other sql inline, simplify idioms

Bring sql for this proc inline, remove unused statements

Document public procs (fixes automated tests), rework code, remove leftover statements

Modernize tcl

Trim whitespace

Remove obsolete xql files

Make all sql portable and bring it in line, remove code duplication

Further UI fixing after tests to make so that actions are displayed only when the proper conditions are met

Revision of the index page:

- pass template properties according to conventions

- streamline boolean expressions

- fix UI, show purge button and its explanation when the actual form is generated

- make sql portable and bring it inline

- better exploit api