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

Fix typo

Replace old procedural api with OO idioms and deprecate it

  1. … 12 more files in changeset.
file upgrade-6.0.0d1-6.0.0d2.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-6.0.0d1-6.0.0d2.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-6.0.0d1-6.0.0d2.sql
Chat Reform: reduce complexity by removing the 'chat_avatar_allow' privilege, 'chat_room_edit' should suffice.

    • -0
    • +12
    ./sql/oracle/upgrade/upgrade-6.0.0d1-6.0.0d2.sql
file xotcl-chat-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./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

    • -290
    • +1
    ./sql/postgresql/chat-create.sql
Remove old commented-out code

Update translations

  1. … 2 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
    • +28
    ./sql/oracle/upgrade/upgrade-5.0.1d6-5.0.1d7.sql
    • -137
    • +8
    ./sql/postgresql/chat-create.sql
file upgrade-5.0.1d6-5.0.1d7.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.0.1d6-5.0.1d7.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.0.1d6-5.0.1d7.sql
Chat Redesign: add de_DE message keys for avatar display room attribute

Whitespace changes

    • -151
    • +149
    ./sql/oracle/chat-create.sql
Chat Redesign: enable/disable avatar pictures by room, using the new attribute 'avatar_p', instead of by package instance, using the 'ShowAvatar' parameter.

    • -0
    • +26
    ./sql/oracle/upgrade/upgrade-5.0.1d5-5.0.1d6.sql
    • -25
    • +34
    ./sql/postgresql/chat-create.sql
  1. … 5 more files in changeset.
file upgrade-5.0.1d5-5.0.1d6.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.0.1d5-5.0.1d6.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.0.1d5-5.0.1d6.sql
Bring files on oacs-5-10 in sync with HEAD

  1. … 3 more files in changeset.
Bring files on oacs-5-10 in sync with HEAD

  1. … 148 more files in changeset.
Whitespace changes + Added editor hints

  1. … 13 more files in changeset.
Chat Redesign:

  1. … 3 more files in changeset.
Chat Redesign:

+ Add specific container for the chat includelet (xowiki-chat-includelet).

+ Set a sensible default for the 'xowiki-chat-includelet' size.

+ Move the 'my-user-id' hidden element in the chat adp to the chat procs.

+ Rename 'my-user-id' element to 'xowiki-my-user-id'.

+ Get the ChatSkin parameter inside the login proc.

+ Include the skin parameter in the chat includelet.

  1. … 6 more files in changeset.
Chat Redesign: bump version number after parameter cleanup.

Chat Redesign: cleanup of obsolete parameters ('AppletHeight','AppletWidth','DefaultClient','ServerHost','ServerPort').

  1. … 2 more files in changeset.
Chat Redesign:

+ Skin support.

+ New 'ChatSkin' instance parameter, with currently two possible values: 'classic' and 'bubbles'.

+ Skins are located in the new packages/xowiki/www/resources/chat-skins/ directory.

+ New 'bubbles' skin, default for the chat package.

+ Old skin renamed to 'classic', default for the xowiki includelet.

+ New skins can be created by just adding the css and js files in the skins directory, and naming them accordingly. For example, being '$skin' the name of the new skin, the files should be named chat-$skin-common.js and chat-$skin.css.

+ New '-skin' parameter to the Chat login proc, containing the name of the skin (i.e. 'classic' or 'bubbles').

+ Bump version number.

  1. … 7 more files in changeset.
Fix contract doc

Use ad_include_contract and revise current usages (e.g. write_p was not used anywhere)

Use ad_include_contract on this page

Bring all sql inline

Replace silent catch idiom

Use ad_include_contract

Provide a working way to configure the plain xowiki chat includelet:

at Chat class instantiation one can now specify a configuration dict that will be

persisted in an nsv and used to set option parameters (instance variables) such as login messages, logout messages

and the messages time window (and potentially other options in the future). This persistent configuration happpens whenever a client

logs in.

  1. … 2 more files in changeset.