• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Major reform in the chat backend: use xotcl-core ORM to define all the relevant objects and data model

This greatly converges oracle and postgres codebase and will make easier to apply incremental updates to the data model in the future. It will also automatically update the acs_object_type metadata automatically

TODO: remove legacy procs, temporarly reimplemented using the new backend

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

    • -0
    • +34
    ./postgresql/upgrade/upgrade-5.0.1d6-5.0.1d7.sql
  1. … 4 more files in changeset.
file upgrade-5.0.1d6-5.0.1d7.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.0.1d6-5.0.1d7.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.0.1d6-5.0.1d7.sql
Whitespace changes

  1. … 1 more file in changeset.
Chat Redesign: enable/disable avatar pictures by room, using the new attribute 'avatar_p', instead of by package instance, using the 'ShowAvatar' parameter.

    • -0
    • +19
    ./postgresql/upgrade/upgrade-5.0.1d5-5.0.1d6.sql
  1. … 14 more files in changeset.
file upgrade-5.0.1d5-5.0.1d6.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.0.1d5-5.0.1d6.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.0.1d5-5.0.1d6.sql
Align case of acs_object_type with that of the actual table (fixes automated tests)

This change intentionally ignores Oracle, as its behavior with respect to case is not clear to me.

    • -0
    • +8
    ./postgresql/upgrade/upgrade-5.0-5.0.1d0.sql
  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

    • -0
    • +255
    ./oracle/upgrade/upgrade-5.0d10-5.0d11.sql
    • -0
    • +114
    ./postgresql/upgrade/upgrade-5.0d10-5.0d11.sql
    • -32
    • +50
    ./postgresql/upgrade/upgrade-5.0d4-5.0d5.sql
    • -42
    • +68
    ./postgresql/upgrade/upgrade-5.0d6-5.0d7.sql
    • -13
    • +20
    ./postgresql/upgrade/upgrade-5.0d8-5.0d9.sql
  1. … 7825 more files in changeset.
Fix spelling errors

  1. … 15 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. … 10 more files in changeset.
file upgrade-5.0d12-5.0d13.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.0d12-5.0d13.sql
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. … 10 more files in changeset.
file upgrade-5.0d11-5.0d12.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.0d11-5.0d12.sql
Fix typo from previous commit

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
    ./oracle/upgrade/upgrade-5.0d10-5.0d11.sql
    • -0
    • +113
    ./postgresql/upgrade/upgrade-5.0d10-5.0d11.sql
  1. … 12 more files in changeset.
file upgrade-5.0d10-5.0d11.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.0d10-5.0d11.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.0d10-5.0d11.sql
- modernize SQL

    • -107
    • +193
    ./postgresql/chat-create.sql
    • -32
    • +50
    ./postgresql/upgrade/upgrade-5.0d4-5.0d5.sql
    • -42
    • +68
    ./postgresql/upgrade/upgrade-5.0d6-5.0d7.sql
    • -13
    • +20
    ./postgresql/upgrade/upgrade-5.0d8-5.0d9.sql
  1. … 4 more files in changeset.
PG 9.0 support. Avoiding using acs_object_id_seq view for fetchting next value for the t_acs_object_id_seq sequence.

    • -0
    • +49
    ./postgresql/upgrade/upgrade-5.0d8-5.0d9.sql
  1. … 1 more file in changeset.
upgrade script for 2.3.0->2.4 which is really a downgrade ; does the same as upgrade-5.0d4-5.0d5.sql

    • -0
    • +264
    ./oracle/upgrade/upgrade-5.0d6-5.0d7.sql
upgrade scripts which is really a downgrade; does the same as upgrade-5.0d4-5.0d5.sql

    • -0
    • +92
    ./postgresql/upgrade/upgrade-5.0d6-5.0d7.sql
Rolled back HEAD to the version on the 5.3 branch

    • -758
    • +156
    ./postgresql/chat-create.sql
  1. … 106 more files in changeset.
reverting pablom's commits to oacs-5-2: see http://openacs.org/forums/message-view?message_id=1042586

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

  1. … 7 more files in changeset.
removing dependencies with xotcl

adding upgrade script for postgres

    • -0
    • +692
    ./postgresql/upgrade/upgrade-5.0d6-5.1d.sql
  1. … 5 more files in changeset.
"New version of the package"

    • -164
    • +683
    ./postgresql/chat-create.sql
  1. … 87 more files in changeset.
Improvements in order to increase the funcionalities, overall in the creation and using of chat rooms

  1. … 11 more files in changeset.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 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.)

    • -0
    • +252
    ./oracle/upgrade/upgrade-5.0d4-5.0d5.sql
  1. … 77 more files in changeset.
Changing chat_msgs.creation_date from date to timestamptz datatype

update to make xotcl a dependency

  1. … 12 more files in changeset.