• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo

- switch from db_0or1row (plain forwarder to the db_0or1row command)

to a construct based on an explicit db_with_handle, using as well

the new "mset" methods

- update dependencies

- bump version to 5.9.1d18

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
    • -10
    • +14
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- new method for ::xotcl::Object mset: set a series of instance

variables via the provided attribute value list (as e.g. returned by

[array get], [ns_set array], ...

- implement the prepared statement handling within the scope of

a "db_with_handle", to make sure, the prepare and the subsequent

command are using the same handle (and therefore session).

- use for prepared statement caching the result of [ns_db session_id]

when available

- bump version to 0.155

- build prepared statements more eager - for the time being

add regexp, which did not make it to the CVS so far

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