• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
util::zip reform.

+ Use '::zipfile::mkzip', introduced in tcllib 1.18, if available.

+ For unix-like systems, with older tcllib versions, bash was used for changing directories. This method was problematic when using certain characters for the filenames, such as backticks, for example. In order to avoid this and properly quote everything, we use tclsh instead, in a convoluted and funny way (thanks to Nathan Coulter for the hack).

+ TODO: test this method also on windows, and unify the legacy implementations if it works.

Remove unwanted change

Reflect changes in util__table_column_exists in tcl api and make xotcl-core dependant on latest acs-kernel

Drop function first, as name of parameters changed

Don't rely on the delete trigger being named consistently on different installations

Add again double quotes in the add constraint as well

Add double quotes in case constraints were defined using e.g. $ in the old days

Use generic acs_object__delete, so also eventual relations are deleted

    • -0
    • +17
    /openacs-4/packages/faq/www/admin/faq-delete-oracle.xql
    • -0
    • +17
    /openacs-4/packages/faq/www/admin/q_and_a-delete-oracle.xql
Actually delete from the acs_object, or it will stay around

ad_return_url: change default value for default_url to "."

this is not terribly important, but probably a better approximation

fix for issue #3379

switch from security::nonce_token to ::security::csp::nonce and update comments

switch from security::nonce_token to ::security::csp::nonce

The latter one is available since more then two years in OpenACS.

xo::broadcast: allow to send messages to threads seleced via pattern

address global variable __csrf_token directly

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
terminate message key properly

Allow ad_return_url to be called also, when connection is closed.

This might be the case e.g. for the search renderer. In this case, a default_url is used

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
    • -15
    • +19
    /openacs-4/packages/acs-tcl/tcl/defs-procs.tcl
    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
    • -6
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Streamline faq entry deletion exploiting newly defined on delete cascade

Streamline faq deletion exploiting newly defined on delete cascade

    • -10
    • +1
    /openacs-4/packages/faq/www/admin/faq-delete.tcl
Put on delete cascade defined in previous upgrades in creation sql as well

Faq vs Search trigger reform: turns out after delete trigger on faq_q_and_as is quite pointless and makes it more complicated for faq package instances to properly uninstantiated. More details in the comments.

check for connection and provide fallback for return_url

    • -1
    • +5
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Fix typos

    • -13
    • +13
    /openacs-4/packages/search/tcl/search-procs.tcl
Whitespace changes + editor hints

    • -61
    • +59
    /openacs-4/packages/search/tcl/search-procs.tcl
Deprecate broken proc 'search::is_guest_p', and replace its only occurrence in the whole codebase, in the 'intermedia-driver' package, with working code.

    • -2
    • +6
    /openacs-4/packages/search/tcl/search-procs.tcl
Introduce ON DELETE CASCADE on faq main datamodel tables, so generic acs_object db api can be used to e.g. delete a faq (fixes downstream errors when deleting FAQ package)

Remove extra whitespace

Whitespace changes

    • -11
    • +10
    /openacs-4/packages/dotlrn/www/register.tcl
Make xowf tests flexible in case a locale different than en_US is in use

name arguments consistently