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

- remove trailing white-space

- white space changes (replace tabs, remove trailing white space, fix indentation)

    • -408
    • +407
    /openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl
- white space change (replace trailing spaces)

- white space change

    • -567
    • +567
    /openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl
- white space change

    • -171
    • +171
    /openacs-4/packages/acs-tcl/tcl/text-html-procs.tcl
- use list operator for a more declarative reading

- fix indentation

- avoid nesting double quotes

Allow to delete node_ids having subnodes. This simply triggers unmount and delete

of site node, package instances and all its tree structure as one could do manually,

but packages themself are still responsible to "clean their own mess".

    • -124
    • +158
    /openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl
Don't use 'if not exists' idiom for postgres as present since version 9.5 only