• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make tested API calls explicit, fix broken test case ('the_public' was spelled 'the_pubic')

make tested API calls explicit

make tested api calls explicit

max test cases explicit

make testes calls explicit

advertise "aa_equals" rather than "aa_true"+"string equal" in tutorial

prefer "aa_equals" over "aa_true"+"string equal"

prefer "aa_equals" over "aa_true"+"string equal"

prefer aa_equals over aa_true+string equal

rework test cases, make tested procs explicit

undo recent commit

replace "expr" by "incr"

whitespace changes, added editor hints

bump version of xotcl-core to 5.10.0d11 and fix dependencies

    • -1
    • +1
    /openacs-4/packages/xowiki/xowiki.info
remove internally used, transitional function ::xo::get_raw_request_body (use ns_getcontnet instead)

improve test condition

add partial abckword compatibility for ns_getcontent for AOLserver

remove escaped files

Replace upstream references to ::xowiki::get_raw_request_body and ::xowiki::read_file/::xowiki::write_file to the ::xo:: namespace

    • -4
    • +4
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/www/admin/test.tcl
Refactor file read/write xowiki utilities as xotcl-core utilities,

as webDAV will use them, remove leftover references to xowiki in dav-procs.tcl

found after freshing on a fresh instance

    • -0
    • +52
    /openacs-4/packages/xotcl-core/tcl/utilities-procs.tcl
Port of downstream webDAV interface and a reference xowiki-based storage backend

Limitations:

- this implementation supports only a limited set of clients which is currently hardcoded

- no locking is currently implemented. Storage managers such as xowiki can mitigate this using versioning... but you have been warned

Currently supported clients:

- Cyberduck: https://cyberduck.io/

- WinSCP: https://winscp.net

- davfs2: https://savannah.nongnu.org/projects/davfs2

- Gnome Virtual File System

- other neon-based dav implementations might work fine (at your own risk)

    • -0
    • +392
    /openacs-4/packages/xotcl-core/tcl/dav-procs.tcl
    • -0
    • +1
    /openacs-4/packages/xowiki/tcl/xowiki-dav-init.tcl
    • -0
    • +355
    /openacs-4/packages/xowiki/tcl/xowiki-dav-procs.tcl
Don't include Se as a tested proc, as not being a openacs class will make loading fail

Fix backslashes

Remove ns_parseurl from list of tested procs, as not being a openacs proc will trigger an error at load time

Test also the portrait api (exploit the fact that we are already creating bogus users), move helper procs to the beginning so they can be found by the testing machinery

Trim whitespace

Cache the portrait in the right cache (Thanks to Felix Mödritscher)

Translation of file descriptor must be binary as well when flushing in-memory payload to the spool file, or we would corrupt this content

util::http performance improvements:

- cache util::http::available as namespace variable, as in the worst case it would go to the db

- replace array idioms with dict idioms

Trim whitespace