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

Tolerate usages of get_members_not_cached in "frontend code" around by making new member_state parameter optional and therefore not breaking previous contract

Fix typo

use consistently 'ad_script_abort' after 'ns_returnfile'

schema queries: allow mixed case for column and table names (similar to function_args

bump versiom number to 5.10.0d11

Add missing 'ad_script_abort' after 'ns_returnfile'

Improve m=revisions: Don't loose templating, but treat revsions like a page

Add "View" to default menu of "This Page" (when e.g. viewing revisions,

this allows to switch back to the view of the current version)

Bump version number to 5.10.0d19.

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
New utility function "Page.update_publish_status" which does

essentially, what admin/set-publish-status did before (update of

publish status and related handling of syndication)

New externally callable method "toggle-publish-status". This replaces

the call of admin/set-publish-status in the includelet child-resources

to make it easier usable from the xowiki security policies.

New flag "-nocleanup" for ::xowiki::datasource, to make it callable

inside arbitrary pages without loosing calling context.

    • -25
    • +24
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -1
    • +31
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Deprecate duplicated api and replace its only occurence in upstream codebase

Use the database to check whether default table values looking different actually are once casted to the column datatype

handle different variants of boolean return values from the DB