• last updated 22 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- make boolean tests in .adp files more uniform

- make boolean tests in .adp files more uniform

    • -5
    • +5
    /openacs-4/packages/faq/www/one-faq.adp
- make boolean tests in .adp files more uniform

make boolean tests in .adp files more uniform

    • -4
    • +4
    /openacs-4/packages/dotlrn/www/control-panel.adp
    • -1
    • +1
    /openacs-4/packages/dotlrn/www/member-add-2.adp
    • -1
    • +1
    /openacs-4/packages/dotlrn/www/members-chunk.adp
    • -8
    • +8
    /openacs-4/packages/dotlrn/www/admin/user.adp
- make boolean tests in .adp files more uniform

    • -1
    • +1
    /openacs-4/packages/chat/www/java-chat.adp
- brace "if" condition

    • -2
    • +2
    /openacs-4/packages/chat/tcl/chat-procs.tcl
- make boolean tests in .adp files more uniform

    • -2
    • +2
    /openacs-4/packages/calendar/www/view.adp
- - make boolean tests in .adp files more uniform

- make boolean tests in .adp files more uniform

  1. … 20 more files in changeset.
- improve robustness of calculations

- improve messages

- make boolean tests in .adp files more uniform

  1. … 42 more files in changeset.
- make boolean tests in .adp files more uniform

- make boolean tests more uniform

- use "true" instead of 0/1 comparison for boolean values in .adp file

Don't put empty site node folders into the breadcrumbs (that is, site nodes not having a package underneath)

Fix "new application" button, so we can put app into folders

Move requirement of packages into proc.

Fix typo, allow to resuse tDOM object built when fixing markup instead of parsing again

- new utility to try 'fixing' invalid HTML

- fixed recognition of protocol agnostic urls

- use location from connection context and configurations to determine whether full urls are local

- optionally use new utility when plain parsing fails to try accepting a broader kind of invalid markup

- some update in test cases

- rename of the utilities with the 'dom' prefix, to make clear that this is the dom approach for sanitizing markup.

As it is sometimes prone to format and content loss, its use should be carefully considered.

- make qn more robust, when runnin on the topLevel

- move test cases from utility procs into regression test

Improved behavior on links by using RFC compliant URL recognition.

Created (working) test cases

file text-html-procs.tcl was initially added on branch oacs-5-9.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/test/text-html-procs.tcl
Fix typo

New utility to sanitize HTML allowing to specify different sets of tags,

attributes and protocols to allow and two generic policies: strip javascript

and remove external references. It can also be used only for validation.

Removed leftover statement

Keep old proc behavior regarding deletion of the package so we don't break any previous code

Use lreverse instead of inverting the list manually

Use better idiom to concatenate subnodes