Dashboard

- improve robustness against incorrect input

Fix indentation from previous commit

Fixed problem when exporting empty variables pointed by Gustaf:

when one exported something like {{var ""} ... this was seen as absence of value,

so $var was searched for one in the caller scope. Hardened check for presence of an explicit value.

- validate email

- reject requests where host contains invalid characters

- improve formatting

- hardening page contract

    • -4
    • +20
    /openacs-4/packages/search/www/search.tcl
- make daysInMonth more robust, when year contains leading zeros

- strengthen page contract

- don't log errors on abort script operations

- add simple validator for email addresses

- add simple validator for email addresses

- fix case, where deleted_p is not set

- dont'report user-input unquoted

improve demo example: www/doc/demo/form.tcl

- add second validator

- protect against runtime errors from duplicate user_ids

- fix typo in validator label

- harden page contracts

- split ad_log into two parts; util::request_info returns now the request information as a string, can be used in web-interface as well

- use ad_return_complaint for the complaint message of the page contract

- remove moved files

    • -52
    • +0
    /openacs-4/packages/xowiki/www/oacs-view.adp
    • -79
    • +0
    /openacs-4/packages/xowiki/www/oacs-view2.adp
    • -83
    • +0
    /openacs-4/packages/xowiki/www/oacs-view3.adp
    • -81
    • +0
    /openacs-4/packages/xowiki/www/view-book.adp
    • -26
    • +0
    /openacs-4/packages/xowiki/www/view-book.tcl
    • -38
    • +0
    /openacs-4/packages/xowiki/www/view-default.adp
    • -29
    • +0
    /openacs-4/packages/xowiki/www/view-links.adp
    • -25
    • +0
    /openacs-4/packages/xowiki/www/view-page.adp
    • -15
    • +0
    /openacs-4/packages/xowiki/www/view-plain.adp
- reduce verbosity

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- improve version comparison logic for PostgreSQL to deal with beta versions

- remove the dependency on acs-tcl, since this would be a cyclical dependency, causing installation to fail

- add dependency problems to error.log as well

- add missing enumeration type to create script

- fix ambiguity for content_item__new in template__new

- add/update mime types for text/csv text/vcard, text/calendar

- bump version number to 5.9.1d17

file upgrade-5.9.1d15-5.9.1d16.sql was initially added on branch oacs-5-9.

file upgrade-5.9.1d16-5.9.1d17.sql was initially added on branch oacs-5-9.

- clean dirty editor buffer

- strengthen page contract

- write content only for POST data