• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

fix backslashes

overwork test cases: moderinze tests, make tested api functions explicit

Trim whitespace

Repair form validation of URL

New test to check whether configured news feeds look ok

Fix typo or this file would not load

fix typo

Trim whitespace

Fix typo

Replace array idioms with dict idioms

whitespace changes

since test case ids are only significant per package_key, record such pairs in procdoc data structure

don't raise error on wrong inputs

Display warnings in the test results page

improve testcases by removing useless expr commands

    • -10
    • +10
    /openacs-4/packages/views/tcl/test/views-procs.tcl
update tutorial: don't recommend to use "expr" for aa_true or aa_false

procdoc change: Preserve pre-existing values, e.g. from testcases, which might be loaded in a different order (testcase might be loaded before proc)

.CVS: ----------------------------------------------------------------------

improve testcases by removing useless expr commands

  1. … 3 more files in changeset.
make tested procs explicit

improve testcases by removing useless expr commands