• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- make boolean tests in .adp files more uniform

  1. … 1 more file in changeset.
- brace "if" condition

Replace inline js event when sending the message to comply with CSP

Creating a transcript is an administrative action, regular users can already

see every transcript created, including the current conversation.

Therefore, disable create transcript button for people without privilege.

(Privilege would be enforced anyway afterwards)

Uniform cache for chat room infos to the established nomenclature.

Increase size so that 1000 maximum entries would fit in the cache.

Removed unnecessary decoding of received messages, fixed encoding of sent messages so special characters are properly urlencoded.

Fix typo

Added catalog file of new message keys

Allow user to specify how far in the past people connecting to the chat will see.

This is important on Learn@WU because people joining the chat room later want to

see the full conversation and before this was not settable from the UI. (Now defaults

to 4 hours) Useful also when somebody accidentally refreshes the chat after the

timewindow has passed.

Took this chance to ease a bit every future development: removed stored procedures

slowing greatly any change on the data model in favor of plain sql statements.

Incremented usage of cache.

Removed duplicated database operation when managing transcripts.

Fixed transcript name not being shown when deleting.

    • -247
    • +6
    ./sql/postgresql/chat-create.sql
    • -0
    • +18
    ./sql/postgresql/upgrade/upgrade-5.0d12-5.0d13.sql
file upgrade-5.0d12-5.0d13.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.0d12-5.0d13.sql
Commit some leftover change, apply some review suggestions

Added info file incrementing the version

Refined error reporting: by returning a page containing the prefix

"chat-errmsg: "

one can decide what to show in case of error, otherwise we stick to the old behaviour (predefined message).

Chats won't throw an error anymore when people keep looking to a room that has been closed.

Instead, user will be informed that the room is unavailable.

Added missing locale key source of errors in the log.

Fixed wrong stored procedure, stating different arguments than in actual usage.

Cleaned up weird idioms in xql files and chat api, moved many db operations into tcl api.

Exploited cache (ns_cache) to retrieve quickly chat room information.

Improved code quality a bit.

Ported upstream some local modification, like prettifying of flags in chat room management

and fix of double quoting in chat's javascript.

    • -110
    • +11
    ./sql/postgresql/chat-create.sql
    • -0
    • +57
    ./sql/postgresql/upgrade/upgrade-5.0d11-5.0d12.sql
    • -217
    • +99
    ./tcl/chat-procs-postgresql.xql
  1. … 1 more file in changeset.
file upgrade-5.0d11-5.0d12.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.0d11-5.0d12.sql
Added message keys for new options allowing to disable entrance and exit message in chat

Fix typo from previous commit

    • -0
    • +1
    ./sql/postgresql/upgrade/upgrade-5.0d10-5.0d11.sql
Introduced new options to set chat rooms so login and/or logout message are not issued everytime a user enters/exits the chat.

    • -0
    • +255
    ./sql/oracle/upgrade/upgrade-5.0d10-5.0d11.sql
    • -20
    • +47
    ./sql/postgresql/chat-create.sql
    • -0
    • +113
    ./sql/postgresql/upgrade/upgrade-5.0d10-5.0d11.sql
  1. … 1 more file in changeset.
file upgrade-5.0d10-5.0d11.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.0d10-5.0d11.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.0d10-5.0d11.sql
Fixed table alias

- reduce dependencies on acs_object_party_privilege_map

- remove unneeded queries and .xql file

- modernize HTML

    • -245
    • +245
    ./www/doc/requirements.html
- modernize SQL

    • -107
    • +193
    ./sql/postgresql/chat-create.sql
    • -32
    • +50
    ./sql/postgresql/upgrade/upgrade-5.0d4-5.0d5.sql
    • -42
    • +68
    ./sql/postgresql/upgrade/upgrade-5.0d6-5.0d7.sql
    • -13
    • +20
    ./sql/postgresql/upgrade/upgrade-5.0d8-5.0d9.sql
  1. … 4 more files in changeset.
- apply fresh patches to oacs-5-9 branch

  1. … 39 more files in changeset.
- tighten page contracts

  1. … 15 more files in changeset.
- modernize HTML markup

- follow adp converions for properties

  1. … 5 more files in changeset.
- remove deprecated calls

  1. … 5 more files in changeset.
- modernize Tcl

Javascript support for streaming ajax based chat interface

    • -0
    • +73
    ./www/ajax/scripted-streaming-chat.js