• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -27
    • +51
    /openacs-4/packages/chat/tcl/chat-procs.tcl
    • -12
    • +69
    /openacs-4/packages/chat/tcl/chat-procs.xql
    • -50
    • +60
    /openacs-4/packages/chat/www/room-edit.tcl
    • -13
    • +12
    /openacs-4/packages/chat/www/room.tcl
file upgrade-5.0d12-5.0d13.sql was initially added on branch oacs-5-9.

- extend dynamic repeat field creating for nested cases

    • -12
    • +33
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Commit some leftover change, apply some review suggestions

- add functionality to dynamically add components for repeated form fields (no preallocation needed).

This is per default deactivated, .js support for "adding more" is missing.

    • -8
    • +48
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
    • -1
    • +19
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Added info file incrementing the version

Refined error reporting: by returning a page containing the prefix

"chat-errmsg: "

one can decide what to show in case of error, otherwise we stick to the old behaviour (predefined message).

    • -2
    • +7
    /openacs-4/packages/chat/www/ajax/chat.js
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.

    • -20
    • +58
    /openacs-4/packages/chat/tcl/chat-ajax-procs.tcl
    • -134
    • +172
    /openacs-4/packages/chat/tcl/chat-procs.tcl
    • -19
    • +5
    /openacs-4/packages/chat/www/chat.tcl
    • -2
    • +15
    /openacs-4/packages/chat/www/room.tcl
    • -5
    • +6
    /openacs-4/packages/chat/www/ajax/chat.js
    • -20
    • +14
    /openacs-4/packages/chat/www/ajax/chat.tcl
file upgrade-5.0d11-5.0d12.sql was initially added on branch oacs-5-9.

- move global declaration up the file

- add csrf token to exported list on "show deprecated" link

- use variable names consistently

- fix handling of csrf token

Fix typo

Increase timeout to 5 minutes for util::http and pure ns_http implementations (required on slow connections)

- add ability to distinguish by HTTP-method in add_url_stat (can be used for dynamic connection pool management)

- use more XOTcl 2.* features: use variable resolver on many places (potentially 4 times or more faster)

- fix dead link

- fix links and unify names

  1. … 318 more files in changeset.
- fixing broken links

Fixed typo on German translation

Allow the use of naturalnum page parameter type with ::xowiki::Package initialize (thanks to Stefan Sobernig)

Put again naturalnum instead of integer in xowiki's permission admin page

Fix generation of event handlers for HTML in file-storage plugin popup

- one more typo

- fix recent editing bug

- improve handling of sitewiede-admin pages (especially in services)

Fix typo in proc doc

Remove changes not meant to be committed

Fix bug when uninstalling packages having been upgraded over time

acs_privilege_descendant_map is obsolete: http://openacs.org/forums/message-view?message_id=5330206

Align text with what's in the code: The special directory name is sitewide-admin...