chat-procs-postgresql.xql

  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Chat data-model reform:

- introduce on delete cascade on foreign key constraints so package can be removed easily e.g. from the subsite UI

- remove remaining stored procedures (and function_args definitions) to relieve the burden on the development process and reduce divergency between oracle and postgres code

- converge oracle and postgres datamodels:

. oracle -> add missing messages_time_window column

. postgres -> remove creation_date from chat_transcripts, which was found to be still existing on old downstream installations

  1. … 9 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

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

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

  1. … 11 more files in changeset.
Introduced new options to set chat rooms so login and/or logout message are not issued everytime a user enters/exits the chat.

  1. … 15 more files in changeset.
- remove unneeded queries and .xql file

  1. … 5 more files in changeset.
Rolled back HEAD to the version on the 5.3 branch

  1. … 110 more files in changeset.
reverting pablom's commits to oacs-5-2: see http://openacs.org/forums/message-view?message_id=1042586

  1. … 57 more files in changeset.
Fixing a lot of bad programming techniques and try to get .LRN out of the package, in vain...

  1. … 8 more files in changeset.
"New version of the package"

  1. … 88 more files in changeset.
Improvements in order to increase the funcionalities, overall in the creation and using of chat rooms

  1. … 12 more files in changeset.
brought chat in cvs head to the same level as in oacs-5-2, normalized comparisons and expr (using eq etc.)

  1. … 81 more files in changeset.
reverting to previous revision to avoid duplicated queries. chat_flush_rooms.get_rooms and chat_flush_rooms.get_archives_messages are now in the common xql chat-procs.xql

update to make xotcl a dependency

  1. … 12 more files in changeset.
extracting queries for auto-flushing

  1. … 2 more files in changeset.
Support flushing of messages at night

  1. … 18 more files in changeset.
Valencia chat package. Provides support for postgresql and few enhancements like user search.

    • -0
    • +223
    ./chat-procs-postgresql.xql
  1. … 90 more files in changeset.