• last updated 5 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Whitespace changes

    • -571
    • +571
Fix typos

Fix typo in proc doc

Fix variable name preventing validation_errors to be handled in www-save-attributes

Fix typos in proc doc

Converge render method for chat and xotcl-core package

Add ':' to formatting to uniform with the render method

Whitespace changes

Fix abbreviation in proc doc

Preliminary xowiki chat rework

- update javascript to comply with CSP (setInterval...)

- exploit template resource loading machinery to load javascripts

- remove code duplication

- remove inline styling

    • -95
    • +78
Unquote single quote from JSON before appending messages to chat

Fix quoting of single quotes in JSON

Remove leftover alert

Avoid javascript eval idiom as CSP will refuse to execute when unsafe-eval is disabled

This requires moving to a more approprate JSON parser... which is also pickier regarding single quotes, so I had to rework JSON encoding to please it.

Make ad_sanitize_html not hardly dependant on a connection being there (thanks to Markus moser for the report)

Also, update documentation and make idioms less awkward.

(this passes automated tests)

Add editor hints + Whitespace changes

    • -34
    • +40
    • -1
    • +7
    • -1
    • +7
Make util_current_location robust such it does not raise an exception when not connected. In these cases, the configured ad_url is returned. This is not perfect either, since it would not work with host-node mapped subsites, and maybe, there are cases, where one wants just information based on the actual connection. so, maybe, one should provide either a higher level API and/or parameterize util_current_location in the future.

extend list of embedded content types

improve comments

improve capitalization and wording in comments

Fix typo

Whitespace changes

Fix typos

Whitespace changes

Fix typos

dotlrn cache reform: move caching from util_memoize into three seperate caches to reduce stress on util_memoize.

These caches are:

- ::dotlrn::dotlrn_cache

Default general purpose cache for dotlrn-wide value (e.g. available applets, etc)

- ::dotlrn::dotlrn_user_cache

Partitioned cache for values specific to a user (e.g. personal_portal_id, theme_id, etc)

- ::dotlrn::dotlrn_community_cache

Partitioned cache for values specific to a community (e.g name, roles, portal_id, etc)

    • -2
    • +2
    • -2
    • +6
    • -63
    • +100
    • -3
    • +32
    • -7
    • +22
    • -0
    • +8
    • -3
    • +1
Trailing space cleanup

Whitespace changes

    • -206
    • +206
Fix typos in proc doc

Better separate data from formatting

    • -1
    • +6
    • -9
    • +1