antoniop in OpenACS

Whitespace cleanup

Access CSP nonce token via the api, as this will work also outside a connection context

(one might argue that js outside a connection is not that useful, but who am I to judge...)

Whitespace cleanup

Bump version number

Better localization for "Join policy" in German

Reduce duplication

Return forbidden only when connected

Localize bulk-actions label in the child-resources include (many thanks to Monika Andergassen)

Port from downstream

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Cleanup commented code

Whitespace cleanup

child-resources: specify urls involved in bulk-delete action more explicitly in a way that the includelet will work also when put in other non-folder pages

    • -2
    • +5
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Shorten idiom

    • -2
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Add a test about group membership for tcl api as well (will right now fail on direct membership)

Replace deprecated proc

Replace deprecated api in this weird adp

Deprecate trivial empty_string_p

Do not add the language prefix when the lookup already found exactly the page we were trying to reference (complies with current automated tests)

    • -3
    • +4
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Check if an upload file was supplied when validating

Bump version number

Small step in the direction of gender-neutral German localization so we don't have to create a downstream message key just for this

Replace acs_object_party_privilege_map with permission api

Replace deprecated view in queries

Rework query to use permission api instead of just removed materialized views

Comment log statement: found_id might not be an object by the time this code is executed

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
As stated in xowiki::Package.item_ref, a trailing slash indicates a folder in case of ambiguity

Use a safer varname for xowf tests as well

As apparently test init cases can pollute each other's namespace, use a different variable name

Add page contract

Add ad_include_contract

    • -2
    • +8
    /openacs-4/packages/faq/lib/faq-add-edit.tcl
Replace string equal idiom