• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Allow allow to specify context_id for the object in save and save_new methods

Add acs_object attributes to ::xo::db::Object slots definition

Pretty names have been taken from acs_attributes defined on a vanilla instance on acs_object, which apparently are not localized. Changes to cr-procs are to make sure new object members from slots don't interfere with previous behavior for CrItems

Don't call security::secure_conn_p if not connected

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. … 4 more files in changeset.
file message-relay-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./message-relay-procs.tcl
reduce verbosity

report server tag name as well to get precise version info

Remove unwanted change

Reflect changes in util__table_column_exists in tcl api and make xotcl-core dependant on latest acs-kernel

  1. … 1 more file in changeset.
xo::broadcast: allow to send messages to threads seleced via pattern

address global variable __csrf_token directly

  1. … 1 more file in changeset.
Use the database to check whether default table values looking different actually are once casted to the column datatype

handle different variants of boolean return values from the DB

improve comments

add thread object name for naming mutex and make creation/destroy logging more conformant

Replace single quotes wuith double quotes in javascript expressions involving acs_ListBulkActionClick

this is really needed only for the URL part, but was done on the name as well for consistency. The reason

is even a properly encoded URL could still contain single quotes, therefore breaking the expression,

while double quotes are expected to be encoded in valid, urlencoded URLs. This relies on trusting the developer

to properly encode URLs, which should be expected. An alternative could involve active escaping of

javascript special characters by e.g. ad_js_escape.

  1. … 6 more files in changeset.
backport from oacs-5-9, which might avoid problems with oacs 5-8 when used with recent versions of nsf

improve log messages

  1. … 1 more file in changeset.
provide ip address to be stored in acs_objects on save operation

Move chat machinery from xotcl-core to xowiki

Rationale: this feature makes little sense without the front-end xowiki provides and makes chat implementation harder to understand, as components are scattered in different packages.

  1. … 1 more file in changeset.
improve robustness of API browser when trying to browse non-existing objects

  1. … 1 more file in changeset.
improve robustness of API browser when trying to browse non-existing objects

improve robustness of API browser when trying to browse non-existing objects

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

reduce number of hits in prepared statement nsv cache by using a per-interp cache

Chat Redesign:

+ New style classes, opening the door to further graphic redesign.

+ Revamping of the user list.

+ Revamping of the input block.

+ Small changes in the messages block, including floating timestamps to the right.

+ Responsive design: use flexbox for chat layout.

+ Responsive design: make user list horizontally scrollable for 'small' widths.

+ Expose user_id in a hidden div, in the chat adp, so it can be used by the javascript part to check and assign different styles to the chat messages if they belong to the user watching the page.

+ xotcl-core: Pass color and user_id in the message, avoiding the creation of the user link at this level.

+ xotcl-core: Remove user_link proc.

+ xowiki: Avoid autocompletion in input field.

+ xowiki: Adding and relocation of div elements.

+ xowiki: Simple function to transform url-like elements of the messages into links.

+ xowiki: Create user links in chat-common.js.

+ xowiki: Check user_id and assign classes to elements depending on the user watching the page.

  1. … 4 more files in changeset.
Fix typo in comment

Use finer grained error handling to intercept disconnection from client