• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge with missing files

  1. … 1464 more files in changeset.
merge from oacs-5-10

  1. … 8099 more files in changeset.
whitespace changes

  1. … 15 more files in changeset.
improved spelling

  1. … 1 more file in changeset.
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.