• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Chat reform:

- rework xotcl-core chat machinery to return its responses through JSON and include information about active users

- depend on xowiki instead of xotcl-core only

- exploit xowiki "Comet" server push implementation when the browser supports it

- reduce code duplication

- drop plain HTML chat

- reduce hardcoded styling

- minor cleanups

    • -73
    • +0
    ./chat/www/ajax/scripted-streaming-chat.js
  1. … 9 more files in changeset.
improve spelling

    • -2
    • +2
    ./acs-content-repository/tcl/deprecated-procs.tcl
    • -1
    • +1
    ./acs-content-repository/www/doc/tutorial.html
    • -3
    • +3
    ./xotcl-core/tcl/http-client-procs.tcl
whitespace cleanup

new feature: warn host administrator about expiring certificates

    • -0
    • +19
    ./acs-admin/tcl/acs-admin-init.tcl
    • -0
    • +88
    ./acs-admin/tcl/acs-admin-procs.tcl
order by last name rather than first name in members list when sorting by name

capitalize URL, improve wording

    • -9
    • +9
    ./acs-subsite/tcl/application-group-procs.tcl
don't make it plain user easy to snarf full address list

allow specification of page_size

Deprecate ah::yui::js_sources and ah::js_sources properly

Whitespace changes

    • -229
    • +229
    ./ajaxhelper/tcl/ajax-yahoo-procs.tcl
    • -110
    • +110
    ./ajaxhelper/tcl/dynamic-load-procs.tcl
    • -571
    • +571
    ./ajaxhelper/tcl/ajax-procs.tcl
Fix typos

    • -1
    • +1
    ./ajaxhelper/tcl/dynamic-load-procs.tcl
    • -3
    • +3
    ./file-storage/tcl/file-storage-procs.tcl
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

    • -2
    • +2
    ./xowiki/www/ajax/scripted-streaming-chat.js
Whitespace changes

    • -38
    • +38
    ./dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl
    • -18
    • +17
    ./dotlrn-portlet/tcl/dotlrn-members-staff-portlet-procs.tcl
Fix abbreviation in proc doc

    • -2
    • +2
    ./dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl
    • -2
    • +2
    ./dotlrn-portlet/tcl/dotlrn-members-staff-portlet-procs.tcl
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

Unquote single quote from JSON before appending messages to chat

    • -2
    • +3
    ./xowiki/www/ajax/scripted-streaming-chat.js
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)

    • -33
    • +45
    ./acs-tcl/tcl/text-html-procs.tcl
Add editor hints + Whitespace changes

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

    • -3
    • +3
    ./xotcl-request-monitor/tcl/throttle_mod-procs.tcl
improve comments

    • -3
    • +3
    ./acs-tcl/tcl/request-processor-procs.tcl
    • -3
    • +4
    ./acs-tcl/tcl/site-node-apm-integration-procs.tcl
    • -11
    • +11
    ./acs-tcl/tcl/utilities-procs.tcl
    • -5
    • +5
    ./acs-admin/www/test/signed-cookies-test.tcl
    • -2
    • +2
    ./acs-api-browser/www/package-view.tcl
improve capitalization and wording in comments

    • -11
    • +11
    ./acs-templating/tcl/head-procs.tcl
    • -13
    • +16
    ./acs-templating/tcl/list-procs.tcl
    • -4
    • +4
    ./acs-templating/www/doc/demo/list6/index.tcl
    • -2
    • +2
    ./acs-templating/www/scripts/xinha/attach-file.tcl
Fix typo