• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Smartify idioms

Fix typo

reduce verbosity

    • -3
    • +5
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Similar to the folder-create script, complain if the filename turns out empty after sanitizing

Allow the maximum size permitted by the datamodel in the UI, but then validate it before saving

When deleting, make sure supplied id is actually a room id

    • -1
    • +10
    /openacs-4/packages/chat/www/room-delete-2.tcl
    • -1
    • +9
    /openacs-4/packages/chat/www/room-delete.tcl
Trap the attempt to retrieve a non-existing forum and return a 404 in this case

this might need to happen in other places and/or be refined

Make error consistent with the already existing check in the content-repository

Handle more gracefully the case, which should not happen on a production system, that the file being downloaded does not exist on the filesystem

simplify idioms

- deactivate unused link-templates

- make quoting of label more consistent (it is passed in already quoted from the rich-text editors)

- whitespace changes

    • -125
    • +146
    /openacs-4/packages/xowiki/tcl/link-procs.tcl
Deprecate template::util::list_opts: it can be replaced by trivial tcl idioms

Streamline ns_set idioms

Streamline ns_set idiom

Streamline idioms

Streamline ns_set idioms

Fix typo

Deprecate template::util::set_to_vars: it can be replaced with trivial idioms

Deprecate template::util::set_to_list: this proc can be replaced with trivial ns_set and tcl idioms

support link rendering in pages, which are not yet prepared for display

Streamline idiom and merge if condition

Fix typo

Streamline ns_set idioms

Whitespace cleanup

Streamline ns_set idiom

Streamline ns_set idioms

Improve ns_set idiom

Streamline idioms

Uniform documentation style

Get rid of trivial private api publish::set_to_pairs