• last updated 47 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
whitespace changes

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -7
    • +17
    /openacs-4/packages/xowiki/tcl/package-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
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -46
    • +68
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Fix call to get_context in functions used in third party applications (see #3424)

change required version number of the kernel to make it installable

deactivate parameter "template", which can be used for XSS attacks. Not sure, who needs this. many thanks to Stefan Sobernig for noting!

added suggestion #3424

added suggestion #3425

add turkish catalog file (as provied by Michael Aram, suggestion #3419)

file xotcl-core.tr_TR.utf-8.xml was initially added on branch oacs-5-10.

improve comment

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl