• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
provide pretty-print methods for tabular data views

Handle the case when one is trying to access a non-existing room

    • -2
    • +10
    /openacs-4/packages/chat/www/room-enter.tcl
Improve last change and document it properly.

Set outdated HTML attributes as depreacted.

    • -4
    • +28
    /openacs-4/packages/xowiki/tcl/link-procs.tcl
- make repeatable formfields better configurable (provde max number for repeated elements via parameter)

- improve robustness, when a form field does not provide a "correction" instance variable after "make_correct"

- imporve documentation

Remove href from the variables we inspect the item for in a file link:

this variable is most likely set, therefore embed_options will be non-empty and most links downstream will be rendered via <embed>

instead than a plain link.

Furthermore, it does appear as non standard according to e.g. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed and would probably conflict with the src attribute, which is always set.

support show_max for short_text answers

omit question title in inclass-exam

Keep returning 0 when no transcript is created, as the code expects

Uniform the quoting criteria when dealing with transcripts:

- transcripts are stored as they are, no quoting in the data we store (and therefore HTML should be avoided)

- transcripts are displayed quoted, therefore disabling any effect from HTML eventually present in the content

- bring the logics to build transcript content in the api to avoid duplication

- avoid sending the transcript content to transcript-new-2, as we can generate it server side

Note: storing transcripts as a pre-formatted chunk of text is probably not the best approach, as any changes to the formatting cannot be applied to pre-existing data without a delicate upgrade. This new approach will make <br> tags inside older transcripts visible...

    • -12
    • +10
    /openacs-4/packages/chat/lib/current-messages.adp
    • -28
    • +68
    /openacs-4/packages/chat/tcl/xotcl-chat-procs.tcl
Remove lefrover files

add editor hints, whitespace changes

whitespace changes

- Convert frequenty used functions from plpgsql

to strict and stable SQL functions, which allow

the PostgreSQL more optimizations

* acs_group__member_p/3

* site_node__url/1

- bump version number to 5.10.0d27

file upgrade-5.10.0d26-5.10.0d27.sql was initially added on branch oacs-5-10.

use SQL functions (instead of plpgsql) defined as stabe and strict for

* content_folder__is_folder

* content_folder__is_sub_folder, and

* content_folder__is_empty

... having as well more sane constructs returning boolean values

file upgrade-5.10.0d10-5.10.0d11.sql was initially added on branch oacs-5-10.

improve performance of content_folder__is_sub_folder

file upgrade-5.10.0d9-5.10.0d10.sql was initially added on branch oacs-5-10.

Fix typo

Try to handle the case of a user accessing a non-existing chat without throwing a log error

file toggle-active.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/chat/www/toggle-active.tcl
Allow to toggle chat active state from the chat list

    • -7
    • +21
    /openacs-4/packages/chat/www/index.tcl
    • -0
    • +23
    /openacs-4/packages/chat/www/toggle-active.tcl
file upgrade-1.3.1d16-1.3.1d17.sql was initially added on branch oacs-5-10.

Redefine forum charter as text, therefore without length limit

    • -2
    • +2
    /openacs-4/packages/forums/forums.info
allow list on folder in all default policies

    • -3
    • +16
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -1
    • +7
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Fix typo in message-key name

Use '&amp;' instead of '&' in message key, to avoid xml parsing issues during import

fix brain blackout

Update 'es_ES' message keys

Make sure object_id is still a valid acs_object by the time it gets to the indexer: it can happen that objects meant to be indexed are in fact short-lived (e.g. xowiki-based objects created, scheduled for indexing and deleted shortly after)