• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prettify code

- tighten page contract

Revive installing by apm file from the UI

- tighen page contracts

- tighten page contracts

    • -3
    • +3
    /openacs-4/packages/forums/www/message-post.tcl
    • -2
    • +2
    /openacs-4/packages/forums/www/search.tcl
- tighten page contracts

Fix apm tarball file generation (many thanks to Michael Feurstein for report)

Use prepared statements for get_references

Use prepared statements for last_visited updates

    • -4
    • +4
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
set id under quotes, otherwise IE raises an error (many thanks for felix spotting this)

- improve proc documentation

- Make security::locations aware of potentially multiple drivers listening on multiple ports

- use "ns_driver info" when available

Use namespace qualifiers instead of the Tcl "global" command

- tighten page contracts

- provide faster import of instance variables through the user of lassign

Use "in" idiom instead of lsearch

Fix typo, simplify and clarify content-type header manipulation

Don't add extra content-type when users specifies their own

Fix missing square bracket

Don't mess with user-defined content-type, unless required

Pass dbn to subsequent calls

White space changes (remove tabs, remove trailing spaces)

Add url to the long-calls.log, in case it is not too long

Format totaltime in the same way as the other times

Spool POST payload bigger than a threshold (default ~25MB) to a file, instead of keeping in memory the entire request.

This exploits (transparently) -body_file option in the ns_http API and native curl features.

Put some caching into utilities around to reduce db calls and execs.

    • -357
    • +583
    /openacs-4/packages/acs-tcl/tcl/http-client-procs.tcl
- reduce verbosity

- add partialtimes to long-call info

- bump version number to 0.50

Added support for prepared statements to other ::xo::dc operations

- add support for providing max entry cache size (when used with NaviServer)

- use lower case name for prepared statements

- improve performance

- switch to XOTcl 2.0 idioms