• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve robustness of "file delete" operations

Improve robustness of "file delete" operations

  1. … 5 more files in changeset.
Improve robustness of "file delete" operations

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/atjob-procs.tcl
    • -10
    • +13
    /openacs-4/packages/xowf/tcl/test-item-procs.tcl
    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
  1. … 11 more files in changeset.
make object creation explicit to avoid potential name clashes

    • -12
    • +12
    /openacs-4/packages/xowiki/www/admin/list.tcl
- new function to address problem in issue #3312: ad_urlencode_url.

This function can be passed a url with or without a location and makes

sure, that the folder_path is encoded correctly.

- use ad_urlencode_url as well in export_vars

New function ad_urlencode_folder_path to perform an urlencode operation on the segments of the provided folder path

- fix variable name in lmap statement

- push coockie encoding to emulation level (naviserver does this natively, the aolserver variant handles it no the low-level functions)

ease reading of debug messages; don't unset coockie(s) if there is no session cookie

no need to quote in the quoted string

Fix wrong version number

Fix upgrade logics, because old instances named constraint differently. Also, skip execution when not needed, as can be demanding (acts on acs_objects).

Added missing data model upgrade from version 5.2, affecting long lived installations.

file upgrade-5.9.1b3-5.9.1b4.sql was initially added on branch oacs-5-9.

Use already baked solution to retrieve the file path

    • -5
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Add missing namespace (Thanks to Günter Ernst)

When deleting a service contract implementation, also delete related acs_object (Many thanks to Günter Ernst for reporting and fix)

file upgrade-5.9.1b3-5.9.1b4.sql was initially added on branch oacs-5-9.

Change also the value of instance variable, as this will be used e.g. by update_item_index without fetching from db again.

- fixing ckeditor4 form-field for non-repeated usages (many thanks to Thomas Renner)

Fix path to resource file

- remove parameters reaffirming defaults

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
White space change: remove tabs and trailing spaces

Improve comment, remove useless parenthesis

Don't login the user, that is automatically created via import

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Invite user to log in only when this is not already true

Allow to specify values different to "." and ".." in parent argument

    • -0
    • +8
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
- improve commented out debug line

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
applied changes provided by Brian for oracle. For details, see issue #3302

Make sure that the file-creation.log exists, without using "exec touch", which is not available under windows (see issue #3311).