• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo

fix site issues #136 and #140

  1. … 317 more files in changeset.
fix site issue #139

Replace old procedural api with OO idioms and deprecate it

    • -11
    • +12
    /openacs-4/packages/chat/tcl/chat-ajax-procs.tcl
    • -2
    • +2
    /openacs-4/packages/chat/tcl/chat-init.tcl
    • -35
    • +25
    /openacs-4/packages/chat/tcl/chat-procs.tcl
    • -100
    • +0
    /openacs-4/packages/chat/tcl/chat-procs.xql
    • -2
    • +5
    /openacs-4/packages/chat/www/room-delete-2.tcl
    • -2
    • +3
    /openacs-4/packages/chat/www/room-delete.tcl
  1. … 12 more files in changeset.
file upgrade-6.0.0d1-6.0.0d2.sql was initially added on branch oacs-5-10.

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.