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

Use db_0or1row flag to return an array natively, repair news_aggregator::aggregator::as_xml as for some reason creating the xml processing instruction via tDOM is broken on tDOM 0.8.3

Whitespace cleanup

Fix boolean adp expression, pass properties according to adp guidelines

Package rework and maintenance

- deprecate undocumented news_aggregator::source::get_identifier as no mention was found in upstream code (fixes automated tests)

- put all portable sql inline

- rework all sql idioms that could be made portable

- remove leftover sql statements

- simplify idioms