• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup inconsistent doc and redundant statements

Log the error message

Return a 404 and trap the error when one supplies an invalid ID

Fix typo

Validate the portal_id via the page contract, keep passing the whole form down as before

Export by default only the declared query variables

Varibles are declared via package specification or in the includelet

definition. Previously, all query variables where exported.

improve spelling

extend tests and pinpoint essesntials

Cleanup smelly comment: we don't need to catch the error, if it fails it fails and the application should handle it

Minimize and corrrect test: strings containing the null character are expected to fail when fed to the DBMS, even when quoted

added support for eliptic curve certificates (ecdsa)

The change will become effective, once the letsencrypt packages

is updated

Improved startup time (of server, of threads) by using nsv_dict when available

During definition of attributes, the xo-db inteface checks whether

the db attributes managed by xotcl are in sync with the actual database.

This was done so far by a couple of small database query. When nsv_dict

is available, it can be used for quickly checking those values.

use better idiom for checking for the existence of objects

Restrict more the kind of items that can pass through the initial check

ad_conn provides since a long time a fallback when the package_id is queried outside of a connection context, hence no need for these concerning catches

Make fs::get_file_package_id more robust to cases where the package_id is not set on the object itself: climb up the hierarchy

Don't trust blindly the mime-type determined by the file extension and try to use the unix command "file" when available

add safety belt for unexpected behavior which can show up in some error cases.

Reduce dependencies on YUI 2

- Added native CSS classes for Tree renderer

(named "xowiki-tree" to avoid name clashes).

- Made TreeRenderer more configurable, by providing css class names etc.

- toc includelet: replaced default (when no style is provided)

from yuitree to list + xowiki-tree.

The old behavior can be achieved by {{toc -style yuitree}}

Note that not all features of the YUI tree might be available

- The CSS variant with xowiki-tree can also be used for the folder-tree,

but so far, the bootstrap3 renderer is more nice.

    • -14
    • +25
    /openacs-4/packages/xowiki/tcl/tree-procs.tcl
New automated test

file db-quoting-test.txt was initially added on branch oacs-5-10.

Provide a fallback for vhost_url in ad_conn for code executed before this value has been set by the request processor

provide a clean representation of questions to reduce hacking and complexity

file test-helper-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xowf/tcl/test/test-helper-procs.tcl
Display the actual smell in the test

As we cannot know which kind of exercise we got on a page in advance due to randomization, make the parameter we send for an answer dependant on the question type we find

Modernize api

Improve test robustness:

the folder in the test is required, so it might be the case that its state was already tampered with. Change the test to first make sure the state from db and object are consistent, whatever they are, then perform some set/fetch/check tests on 3 arbitrary states

extended regression test

improve spelling