• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
when rendering a link, make sure the target instance exists

    • -4
    • +11
    /openacs-4/packages/xowiki/tcl/link-procs.tcl
improve wording

Improve documentation

Deprecate duplicated and untested proc auth::driver::GetParameters

Fix reported api, extend test

Extend test to cover more api

New test for auth::authority::edit and auth::authority::get_element

Allow numbers in the first part of a proc name when counting its length in a way that apidoc::tclcode_to_html won't generate false positives when e.g. an XoTcl object called "9" exists and a word contains the character "9"