• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Whitespace cleanup

Create testing instance outside the transaction so it is visible for http requests as well and tear it down, always require empty instances

    • -9
    • +15
    ./xowiki/tcl/test/xowiki-test-procs.tcl
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
    ./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)

    • -34
    • +6
    ./acs-automated-testing/tcl/aa-test-procs.tcl
Let go the init_classes approach and require what is needed for each test locally (fixes path_resolve and basically all xowiki tests)

    • -14
    • +2
    ./xowiki/tcl/test/xowiki-link-test-procs.tcl
    • -18
    • +25
    ./xowiki/tcl/test/xowiki-test-procs.tcl
Make test dependent on xotcl

Whitespace changes

    • -13
    • +11
    ./acs-admin/www/apm/packages-install-2.tcl
Fix typo

    • -2
    • +2
    ./acs-admin/www/apm/packages-install-2.tcl
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.

Add documentation to includelets

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

    • -29
    • +29
    ./acs-automated-testing/www/admin/testcase.adp
add test case for links with "resolve_local=true"

    • -2
    • +35
    ./xowiki/tcl/test/xowiki-link-test-procs.tcl
whitespace changes

improve comment

cleanup for link test cases (remove created instances)

    • -60
    • +85
    ./xowiki/tcl/test/xowiki-link-test-procs.tcl
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
    ./xotcl-core/tcl/06-param-procs.tcl
prefer dict over Tcl array

prefer common testing framework components

remove trailing newlines

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

    • -0
    • +82
    ./xowiki/tcl/test/xowiki-link-test-procs.tcl
file xowiki-link-test-procs.tcl was initially added on branch oacs-5-10.

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

extend regression test

    • -14
    • +16
    ./xowiki/tcl/test/test-procs.tcl
point link for xowiki-documentation to openacs instance

improve comment

Bump version number to 5.10.0d37 and refetch site-wide pages

whitespace changes

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

Fix call to get_context in functions used in third party applications (see #3424)