• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve test cases: align comment with operations, remove useless "expr" commands

    • -25
    • +26
    ./packages/acs-tcl/tcl/test/acs-tcl-apm-procs.tcl
improve log message to be able to distinguish between multiple commands with different parameters

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

    • -13
    • +5
    ./packages/acs-tcl/tcl/text-html-procs.tcl
Revert change... more investigation needed

    • -2
    • +2
    ./packages/acs-tcl/tcl/site-nodes-procs.tcl
Trim whitespace

    • -34
    • +33
    ./packages/acs-tcl/tcl/acs-cache-procs.tcl
node_id shoudl probably be parent_id (fixes automated tests)

    • -2
    • +2
    ./packages/acs-tcl/tcl/site-nodes-procs.tcl
Trim whitespace

improve startuptime for large sites

    • -0
    • +4
    ./packages/xowf/tcl/test/xowf-test-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.

    • -4
    • +13
    ./packages/acs-tcl/tcl/text-html-procs.tcl
Add 'Markdown' tests for 'ad_html_text_convert'

Replace deprecated header_stuff with head

    • -1
    • +1
    ./packages/news-aggregator/www/index.adp
Give some feedback in case of error

    • -5
    • +8
    ./packages/news-aggregator/www/opml.tcl
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

    • -9
    • +8
    ./packages/news-aggregator/www/index.vuh
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

    • -2
    • +4
    ./packages/news-aggregator/www/index.adp
    • -8
    • +13
    ./packages/news-aggregator/www/index.tcl
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

    • -8
    • +16
    ./packages/news-aggregator/www/index.adp
    • -50
    • +43
    ./packages/news-aggregator/www/index.tcl
    • -14
    • +0
    ./packages/news-aggregator/www/index.xql
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

- use information from acs_testing in api-browser: provide link for

test cases.

- new function: api_add_to_proc_doc for updating apidoc information

from other packages

- bump version of acs-automated testing to 5.10.0d4 and

acs-api-browser to 5.10.0d2

- toc includelet:

* new flag: "-renderer" (default "")

specify an explicit renderer. This is an alternative to the

classic "rendering by style", where there style determines the renderer.

* new flag: "-include_in_foldertree" (default true)

it is now possible to avoid inclusion of all folder-tree element

in the standard folder tree. Default set for backwards

compatibility.

    • -7
    • +7
    ./packages/acs-api-browser/www/proc-view.tcl
remove dead code