• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- use "ns_ictl trace delete" instead of "ns_ictl ondelete"

chat-procs overhaul:

- don't double encode everything

- avoid deprecated js functions escape()/unescape()

xowiki/www/ajax/streaming-chat.js, xowiki/www/ajax/scripted-streaming-chat.js

- scripted-mode: fix incorrect markup

- fix parameter passing to xowiki/www/ajax/chat.tcl to avoid rejects

- fix json_encode: one quote to man in xotcl-core/tcl/chat-procs.tcl

- don't dropt "user has_entered_the_room" in "xo::Chat instproc login",

since xowiki chat has otherwise no idea, who is logged in

  1. … 5 more files in changeset.
Introduced new options to set chat rooms so login and/or logout message are not issued everytime a user enters/exits the chat.

  1. … 15 more files in changeset.
Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information.

Applied the new proc to the different situations in the system when we require mime_type retrieval: content-repository, file-storage and xotcl CrItem

TODO: get the real mime_type from the file content, but this would require some modification in the data model.

  1. … 7 more files in changeset.
- revert this mornings change, since this leads to many warnings

- use for hex codes 2-digit notation \xHH to make it compatible for tcl8.6

  1. … 5 more files in changeset.
- improve comment

- use same uplevel idiom everywhere (many thanks to antonio)

- use template::add_event_listener

- bump version number to 0.151

- don't overwrite "xotcl::Object instproc serialize", since this is already defined by nsf (at least in versions 2.0 or newer)

- change value of ns_log_redirector_manager only, when it is defined

- renamve template::add_acs_confirm_handler into template::add_confirm_handler

  1. … 9 more files in changeset.
- iunclude information about ns_sets in the debug output

- adding an xo::stats command for occasionaly needed statistics on potential memory leaks

- make class "create" operations explicit

- update version dependencies

Committing some fixes I had in stash since a while for this list interface, essentially fixing bugs.

Thing works properly for my use cases (of then), but probably something that is not a wrapper would be better.

Also removed javascript handler from directly in the markup to the body handler to comply with CSP

- added new function template::add_acs_confirm_handler for standardized confirm interactions ("are you sure") in order to get rid of onclick handlers

- bump version numbers to reflect dependencies

  1. … 1 more file in changeset.
- replace "my log ..." by "ns_log notice ..." as default exit handler (many thanks to Guenter Ernst for reporting)

- do not prevent default behavior

- reduce verbosity

- make sure to load bootstrap after jquery

- fix js function name

- save dirty buffer

- replace on-click handler by event listener

- add CSP directives

- replace onclick handle by event listener

- use explicit "create" statement

- use always template::head procs

- bump version number to 0.150

- updated package info

- bump version number to 0.149 to allow other packages to rely on the initialize parameter of "get_instance_from_db"

- add optional parameter "-initialize true|false" to "get_instance_from_db"