• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add include contract

Fix typo

Allow dots in the proc name when building the doc HTML to accomodate e.g. for procs such as "system.methodHelp"

Whitespace cleanup

    • -15
    • +15
    /openacs-4/packages/xml-rpc/tcl/system-procs.tcl
Create testing instance outside the transaction so it is visible for http requests as well and tear it down, always require empty instances

Use a common idiom to retrieve the first instance that is not cache dependent (ToDo reproduce the issue with ::xo::parameter get_package_id_from_package_key in an own test)

Use ns_conn location as a simpler way to retrieve the test URL (and more robust e.g. when behind a https proxy)

Let go the init_classes approach and require what is needed for each test locally (fixes path_resolve and basically all xowiki tests)

Make test dependent on xotcl

Whitespace changes

Fix typo

address issue #3426: maintain a table of unresolved references

These unresolved references are local links of the form [[...]]). Since

backlink references (e.g. {{my-references}}) are mainted on on page edits

via ids, dead links could not be maintained this way.

A new table is created to maintain such dead links, and refreshes references

to dead links, when such pages are created.

    • -9
    • +49
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Add documentation to includelets

    • -2
    • +1
    /openacs-4/packages/xowiki/xowiki.info
    • -1
    • +24
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -24
    • +378
    /openacs-4/packages/xowiki/tcl/includelet-procs.tcl
Whitespace changes

add test case for links with "resolve_local=true"

whitespace changes

    • -3
    • +7
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
improve comment

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
cleanup for link test cases (remove created instances)

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
simplify code

    • -6
    • +2
    /openacs-4/packages/xowiki/www/admin/test.tcl
bump version number to reflect interface change

add function to set parameter value via xo::* interface: "xo::parameter set_value ..."

xo::parameter->clear_per_package_instance_value: removed needless argument

prefer dict over Tcl array

    • -25
    • +25
    /openacs-4/packages/xowiki/www/admin/test.tcl
prefer common testing framework components

    • -59
    • +17
    /openacs-4/packages/xowiki/www/admin/test.tcl
remove trailing newlines

add test cases for link rendering, for links pointing to folders in different instances

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

    • -0
    • +0
    /openacs-4/packages/xowiki/tcl/test/xowiki-link-test-procs.tcl
define ::xowiki::test::require_link based on symbolic name

extend regression test

    • -28
    • +30
    /openacs-4/packages/xowiki/www/admin/test.tcl
point link for xowiki-documentation to openacs instance

improve comment

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Bump version number to 5.10.0d37 and refetch site-wide pages

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info