• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make cleanup safer

- make sure that destroy_on_cleanup is called before init for package instance objects, such that it is not possible that an error in Package->init causes half-dead objects in memory

- provide means to remove form_link from form-usages

keep rendered state for form fields

- provide default "" for link anchors

- make all switch statements safe (as principle)

Removed the condition to build extra_vars so it won't be NULL, otherwise a null value was causing the query to retrieve URLs of items to fail.

added match operator for correctness checks in form-fields

- new attribute for formfields: correct_when, can be used to specify an expression, when an answer is supposed to be correct

- definition of operators: eq ge gt le lt in btwn

handle cases, where no file storage instance exists

correctly escape the rss_xml_frag (by Michael Totschnig) http://openacs.org/bugtracker/openacs/patch?patch_number=882

add permission checking to first_instance

- search for first readable package instance for the given user instead of arbitrary first

- fix handling of script_dir for xinha

- add script_dir to list of exported variables for xinha

update dependency

    • -4
    • +4
    /openacs-4/packages/xowiki/xowiki.info
bump version number

- additional method for package hander: first_instance

- make get_package_id_from_package_key more robust

- handling of script_dir for xinha (in case, no /xowiki is mounted). The directory is needed for the OacsFS plugin

reduce verbosity

    • -2
    • +1
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- avoid problems, if invalid cross xowiki instance links are used

    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- use asynchronous http requests in cluster operations

- some more cleanup after changes

generalized anchor handling

    • -11
    • +3
    /openacs-4/packages/xowiki/tcl/link-procs.tcl
    • -5
    • +12
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -4
    • +10
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- substitute & in where clauses

- provide more comments

    • -3
    • +6
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
handle @current_user@ for FormPages as well (in case, it does not exist)

    • -20
    • +28
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- use untrusted_user_id instead of user_id for @current_user@, in case the login expires

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- fix method name