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

Create stubs only when required and close to actual methods

- reduce verbosity

new procs must be created when util object exists!

Check for new require object's features explicitly by utility presence rather than oacs version. Do check only at file load time and define procs accordingly

- improve wording

- use ns_parseurl when available

- provide emulation for ns_parseurl for older versions of NaviServer or AOLserver

- use function instread of variable

- regenerated documentation

  1. … 191 more files in changeset.
new require method to create sequences

Fix missing list command in page context

Use quoting on default value

Make the code more robust when people still hasn't run the upgrade script but have the latest code

file upgrade-5.9.1d25-5.9.1d26.sql was initially added on branch oacs-5-9.

- fix bug when updateing a user portrait, which was saved as "lob"

- make upgrade script more robust (when run twice)