• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Increase z-index property for 'Full screen' mode, to avoid issues with the footer of the openacs bootstrap theme

provide a better rejection message, for over-eager users

Introduce additional parameter "do_slowdown_overactive" (default off) for slowing down overactive users.

previously, this was on (when do_throttle was activated) causing sleep operations. However, even these

sleep operations can kill the server since it also blocks connection threads.

Treat all video/* content types as embedded content.

Background: many video player do a series of range requests (which are typically pretty cheap) that we do not want to block.

Provide member_state to page member-state-change, as this parameter is required since http://fisheye.openacs.org/browse/OpenACS/openacs-4/packages/acs-admin/www/users/member-state-change.tcl?r1=1.17.2.5&r2=1.17.2.6

Optimize avatar image size (~30%, using Trimage)

Make the default avatar images look slightly better when rounded

Chat Redesign:

+ Add avatars to chat user list.

+ acs-subsite: new default avatar images (x50 and x100)

+ acs-subsite: provide with a default avatar (x50) on portrait-bits.tcl

+ acs-subsite: restrict portrait-bits.tcl to authenticated users

+ xowiki and chat: add blocks and styles for the user picture

    • binary
    /openacs-4/packages/acs-subsite/www/shared/avatar-x100.png
    • binary
    /openacs-4/packages/acs-subsite/www/shared/avatar-x50.png
Chat Redesign: improve screen usage on 'Full screen' mode

Specify the timeout value on the wait command as well and avoid unneeded conversion

Fix typo in z-index property

reduced locking on parititoned chaches: return always the same Tcl_Obj as cache name rather than creating it always new, which prohibit caching in the Tcl_Obj

Chat Redesign: 'Full screen' trigger + icon, making the chat use the whole browser window.

    • -5
    • +16
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl
reduce number of hits in prepared statement nsv cache by using a per-interp cache

Chat Redesign: add LinkRegex global parameter to the chat package, containing the regexp that will look for URLs inside chat messages, so they can be properly formatted as html links.

Chat Redesign:

+ New style classes, opening the door to further graphic redesign.

+ Revamping of the user list.

+ Revamping of the input block.

+ Small changes in the messages block, including floating timestamps to the right.

+ Responsive design: use flexbox for chat layout.

+ Responsive design: make user list horizontally scrollable for 'small' widths.

+ Expose user_id in a hidden div, in the chat adp, so it can be used by the javascript part to check and assign different styles to the chat messages if they belong to the user watching the page.

+ xotcl-core: Pass color and user_id in the message, avoiding the creation of the user link at this level.

+ xotcl-core: Remove user_link proc.

+ xowiki: Avoid autocompletion in input field.

+ xowiki: Adding and relocation of div elements.

+ xowiki: Simple function to transform url-like elements of the messages into links.

+ xowiki: Create user links in chat-common.js.

+ xowiki: Check user_id and assign classes to elements depending on the user watching the page.

    • -28
    • +121
    /openacs-4/packages/chat/www/resources/chat.css
    • -6
    • +10
    /openacs-4/packages/xowiki/tcl/chat-procs.tcl
Trailing whitespace cleanup

add metering for "ns_proxy get" operation

    • -8
    • +12
    /openacs-4/packages/acs-tcl/tcl/proxy-procs.tcl
improve comments

Fix typo in comment

Use finer grained error handling to intercept disconnection from client

fix scope for variable scope

simplfy index expressions, strengthen input value checking

Replace deprecated proc template::util::leadingPad with ad_pad

Treat failure to flush the channel as just a warning, because this usually just means client (e.g. browser in a chat) closed the connection

PostgreSQL compatibility fix: Newer versions of PostgreSQL return default values with

type casts (e.g. 'en_US'::character varying). These have to be removed before

comparing with plain values.

add German translation for location.

Fix test for pseudo-boolean value that stopped to work because of

http://fisheye.openacs.org/changelog/OpenACS?cs=oacs-5-9%3Agustafn%3A20151001184401

reduce verbosity

Tolerate wrong locales from browsers by assuming our default one