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

    • -11
    • +11
    ./packages/xotcl-core/tcl/06-package-procs.tcl
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)

    • -18
    • +25
    ./packages/xowiki/tcl/test/xowiki-test-procs.tcl
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.

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

    • -6
    • +25
    ./packages/xowiki/tcl/dotlrn-portal-procs.tcl
    • -1
    • +24
    ./packages/xowiki/tcl/folder-procs.tcl
    • -24
    • +378
    ./packages/xowiki/tcl/includelet-procs.tcl
Whitespace changes

add test case for links with "resolve_local=true"

whitespace changes

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

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

simplify code

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

    • -38
    • +62
    ./packages/xotcl-core/tcl/06-param-procs.tcl
prefer dict over Tcl array

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

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

    • -3
    • +3
    ./packages/xowiki/tcl/test/test-procs.tcl
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
    ./packages/xowiki/tcl/test/xowiki-link-test-procs.tcl
define ::xowiki::test::require_link based on symbolic name

extend regression test

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

    • -1
    • +1
    ./packages/xowiki/www/prototypes/index.page
improve comment

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

    • -1
    • +8
    ./packages/xowiki/tcl/upgrade/upgrade.tcl
whitespace changes

    • -1
    • +1
    ./packages/xowiki/tcl/folder-procs.tcl
    • -2
    • +2
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -7
    • +17
    ./packages/xowiki/tcl/package-procs.tcl
    • -2
    • +5
    ./packages/xowiki/tcl/xowiki-utility-procs.tcl
fixes for links to folders of different package instances:

- when resolve_local is used, fetch the correct index page, when target folder has an index page defined

- when resolve_local is used, avoid potential resolving loop

various code improvements:

- improve comments

- use better variable names

- remove dead code

- Package.lookup: make it am ad_instproc and make clear, it returns an integer

    • -14
    • +31
    ./packages/xowiki/tcl/folder-procs.tcl
    • -3
    • +4
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -46
    • +68
    ./packages/xowiki/tcl/package-procs.tcl