• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Chat Reform: reduce complexity by removing the 'chat_avatar_allow' privilege, 'chat_room_edit' should suffice.

file xotcl-chat-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/chat/tcl/xotcl-chat-procs.tcl
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

    • -212
    • +101
    /openacs-4/packages/chat/tcl/chat-procs.tcl
    • -0
    • +336
    /openacs-4/packages/chat/tcl/xotcl-chat-procs.tcl
Remove old commented-out code

    • -221
    • +1
    /openacs-4/packages/chat/tcl/chat-procs.tcl
Replace ad_decode idioms

Replace ad_decode idioms

No need for ad_decode and also no need to count all swas, we just want to know if there is one

Replace ad_decode idioms

Replace ad_decode idiom

Replace ad_decode idioms

Replace ad_decode idioms

Replace ad_decode idioms

Replace ad_decode idioms

Replace ad_decode idioms

    • -2
    • +4
    /openacs-4/packages/dotlrn/tcl/dotlrn-procs.tcl
Replace ad_decode idiom and unnest expr

Replace ad_decode idiom

Replace ad_decode idioms

Replace ad_decode idiom

Replace ad_decode idiom

Replace ad_decode idiom

Replace ad_decode idiom

    • -2
    • +2
    /openacs-4/packages/search/tcl/search-procs.tcl
Update translations

Update translation

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

    • -226
    • +0
    /openacs-4/packages/chat/tcl/chat-procs-oracle.xql
    • -6
    • +42
    /openacs-4/packages/chat/tcl/chat-procs.tcl
file upgrade-5.0.1d6-5.0.1d7.sql was initially added on branch oacs-5-10.

Check csrf token for existance (might not be there e.g. in a scheduled procedure rendering the page)

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Chat Redesign: add de_DE message keys for avatar display room attribute

Don't try to parse empty content

Whitespace changes

    • -13
    • +13
    /openacs-4/packages/chat/tcl/chat-procs.xql
Chat Redesign: enable/disable avatar pictures by room, using the new attribute 'avatar_p', instead of by package instance, using the 'ShowAvatar' parameter.

    • -11
    • +10
    /openacs-4/packages/chat/tcl/chat-ajax-procs.tcl
    • -1
    • +3
    /openacs-4/packages/chat/tcl/chat-procs.tcl
    • -3
    • +6
    /openacs-4/packages/chat/tcl/chat-procs.xql
    • -2
    • +10
    /openacs-4/packages/chat/www/room-edit.tcl
  1. … 5 more files in changeset.