Dashboard

- improve indentation

- update mimetype definition of javascript to the form specified via IANA content types

- add JSON mimetpye

file upgrade-5.9.1d12-5.9.1d13.sql was initially added on branch oacs-5-9.

version update:

- add class BanUser (use. e.g. ip address to disallow requests from a user)

- optional user tracking in DB

- modernize mime types

- used explicit "create" statements

- bump version number to 0.46

- modernize mimetypes

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- reduce attack vector on dates

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
- add property "payload" to "WorkflowConstruct" in order to simplify

customized workflow "allocate" actions (payload might contain a dict

with the fields {name parent_id m})

- simplify form loading and document source code

    • -78
    • +148
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
- initialize navigation array

- fix one more occurance...

- trying to reduce ad_urlencode_query patch to minimal change

After fixing previous commit, use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

Reverting and fixing previous commit, which erroneously brought HEAD version in 5-9 branch

    • -1335
    • +1493
    /openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl
Use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

    • -1493
    • +1335
    /openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl
Use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

nx::shell reform: Provide an alternative nx::shell impl (nx::shell2), used by all four shell scripts. nx::shell2 builds on Tcl's event loop, rather than while + update. This avoids blocking the Tk main window (update). In addition, nx::shell2 is closer to Tcl's native shells (e.g., no extra lines on enter, catches EOF).

- use consistently ns_quotehtml

- don't quote message keys in summary field in bugs table

- add "cascade" to make uninstall clean

- use [util_current_location] instead of host-header field to show

correct host also when no host header field is available

- use wildcard matching for driver names to detect protocol

in case multiple drivers of the same type are loaded with

names with different suffixes

- make code more robst, when source_p is passed in as empty string

Improved mongodb interface for json/bson parsing: - rename function mongo::json to mongo::json::generate - introduce mongo::json::parse

- fix an old bug in the user-info adp include. The old version assumed, that every url that is not starting with "http://" has to be prefixed with "http://". This is certainly a problem, when the user url starts with "https://"

- fix typo in parameter name TclTraceLogSeverities

    • -1
    • +1
    /openacs-4/packages/acs-tcl/acs-tcl.info
file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

- don't try to normalize_name when it is empty

- change mime type for .swf from "application/x-shockwave-flash" to IANA complient entry "application/vnd.adobe.flash-movie"

file upgrade-5.9.1d11-5.9.1d12.sql was initially added on branch oacs-5-9.

Fix doc on introspection for configure options

- cleanup up and improve debug statements - add generated code

- remove redundant line