• last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improved spelling

  1. … 10 more files in changeset.
added missing name of positional argument

added security::csp::add_static_resource_header for various backward compatibility versions for file delivery

Reduce usage of ns_mktemp in OpenACS

ns_mktemp uses the deprecated old POSIX call mktemp(), which should

not be used anymore for security reasons (race between the name

creation and opening the file). This change removes several usages of

"ns_mktemp" from OpenACS and replaces it with calls to the

safe Tcl call "file tempfile ..." (introduced by Tcl 8.6).

  1. … 2 more files in changeset.
provide explicit url when manually creating a connection context

use "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 8 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 34 more files in changeset.
base compatibility test on "icanuse"

prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 10 more files in changeset.
call isobject method with full namespace as we are not in a xotcl proc

ensure ::xo::cc is available

modernize code: use resolver variables rather than method calls

  1. … 6 more files in changeset.
move logic whether or not to use h264 streaming to ad_returnfile_background to make code path clearer

- modernize code (remove "my")

  1. … 5 more files in changeset.
- modernize code (remove "my")

  1. … 12 more files in changeset.
Throw application-specific disconnection errors instead than plain errors, so they can be handled as less severe

change references from "http://*tcl.tk/" to "https://*tcl-lang.org/"

  1. … 5 more files in changeset.
message-relay-procs: factor out subscription handling from bgdelivery

and chat-procs and provide compatibility for streaming chat modes

with HTTPS.

The message-relay-procs provide two different implementation for

delivering messages to subscribers:

a) via bgdelivery (traditional method): this is, what was used so far,

having the disadvantage that it only works on plain HTTP connections

b) via ns_connchan (new method): ns_connchan is a relatively new feature

of NaviServer which allows transparent reading/writing from connections.

Chat has a new instance variable named "message_relay", which consists

of preferences for the chat connections. So far, the traditional "bgdelivery"

is still the default mode.

bumped version numbers

- xotcl-core 5.10.0d14

- xowiki: 5.10.0d23

  1. … 5 more files in changeset.
Improve error handling idioms and handle additional error cases where the client has just disconnected

Try to trap additional disconnection-related errors

Put the puts operation in the try catch as well

Fix typo in comment

Use finer grained error handling to intercept disconnection from client

Treat failure to flush the channel as just a warning, because this usually just means client (e.g. browser in a chat) closed the connection

make sure to initialize global nonce value in bgdevlivery thread

improve spelling

  1. … 8 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
improve grammar

Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
Fix typo chartype->charset