• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix for issue #3379

    • -9
    • +18
    ./acs-authentication/tcl/authentication-procs.tcl
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

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

Streamline faq entry deletion exploiting newly defined on delete cascade

    • -12
    • +0
    ./faq/www/admin/q_and_a-delete-postgresql.xql
Streamline faq deletion exploiting newly defined on delete cascade

    • -13
    • +0
    ./faq/www/admin/faq-delete-postgresql.xql
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.

    • -2
    • +21
    ./faq/sql/postgresql/faq-sc-create.sql
    • -0
    • +24
    ./faq/sql/postgresql/upgrade/upgrade-5.10.0d6-5.10.0d7.sql
check for connection and provide fallback for return_url

Fix typos

Whitespace changes + editor hints

    • -56
    • +62
    ./intermedia-driver/tcl/intermedia-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.

    • -1
    • +1
    ./intermedia-driver/tcl/intermedia-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)

    • -0
    • +64
    ./faq/sql/oracle/upgrade/upgrade-5.10.0d5-5.10.0d6.sql
    • -0
    • +62
    ./faq/sql/postgresql/upgrade/upgrade-5.10.0d5-5.10.0d6.sql
Remove extra whitespace

Whitespace changes

Make xowf tests flexible in case a locale different than en_US is in use

    • -13
    • +14
    ./xowf/tcl/test/xowf-test-procs.tcl
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'

    • -1
    • +2
    ./acs-subsite/www/shared/portrait-bits.tcl
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'

    • -1
    • +2
    ./acs-subsite/www/shared/portrait-bits.tcl
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.

    • -13
    • +12
    ./xowiki/tcl/xowiki-www-procs.tcl
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.

    • -14
    • +3
    ./xowiki/www/admin/set-publish-state.tcl
Deprecate duplicated api and replace its only occurence in upstream codebase

    • -9
    • +0
    ./acs-subsite/tcl/plpgsql-utility-procs-postgresql.xql
    • -4
    • +6
    ./acs-subsite/tcl/plpgsql-utility-procs.tcl
    • -3
    • +10
    ./acs-tcl/tcl/00-database-procs.tcl
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