• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- do not depend on beta or development versions

- make sure that released versions are not beta or development

- align version numbers (e.g. use also 5.9.1 for xotcl-core)

- bump version numbers to 5.9.1

  1. … 83 more files in changeset.
Use ad_script_abort everytime one issues ad_return_complaint, or subsequent errors will trigger without the user noticing

Port some improvements from Learn@WU codebase:

- check whether chat room exists exploits cache

- chat room retrieval enriches with some acs_objects metadata

Fix potential errors when we try entering a chat room that has been deleted and check for its activity status

Don't lookup creator name for messages coming from the system, as they won't be found

Fix spelling errors

  1. … 4 more files in changeset.
Fix spelling errors

    • -1
    • +1
    ./sql/postgresql/upgrade/upgrade-5.0d10-5.0d11.sql
  1. … 11 more files in changeset.
Replace innerHTML idiom with a more DOM compliant one, as IE would show undefined username otherwise.

Updated es_ES message keys

Added missing message keys for en_US

Don't abort script when people sends a message over a non-existing

chat, as this is required by the chat sweeper to happen.

Updating of German translation for many packages (many thanks to Markus Moser)

    • -1
    • +21
    ./catalog/chat.de_DE.ISO-8859-1.xml
  1. … 25 more files in changeset.
Updated es_ES translation

  1. … 20 more files in changeset.
Fix typos in message keys

  1. … 1 more file in changeset.
Italian localization of message keys for many packages

    • -0
    • +139
    ./catalog/chat.it_IT.ISO-8859-1.xml
  1. … 25 more files in changeset.
- 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
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.
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.