• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use built-in "ns_parsequery" instead of manual parsing of query parameters.

Note, that this change might alter query processing, since previously

query parameter without explicit values were treated as boolean values

(like in HTML), now these are treated like "x=" before. The new version is

about 10x faster.

Furthermore, new tests of the regression tests were added for query parameter

processing.

  1. … 1 more file in changeset.
improve spelling

  1. … 1 more file in changeset.
improve comments

  1. … 1 more file in changeset.
replace array by dict, provide error message, when someone tries to setup a connection context without a proper url

Provide a fallback empty URL when one tries to require the connection context without one and outside of a connection

improve spelling

  1. … 5 more files in changeset.
don't rely on uppercase header field names

  1. … 10 more files in changeset.
whitespace changes

  1. … 1 more file in changeset.
add new API command for the connection context (e.g. xo:cc): eval_as_user {-user_id:integer cmd}

  1. … 1 more file in changeset.
add method for saveing/restoring perconnection_parameters

VS: ----------------------------------------------------------------------

make sure that parseargs treats argument as a single one

provide interface for setting query parameter

provide API to unset query and connection parameters

use ad_return_complaint for invalid query parameter parsing (at least in connection threads)

improve error message in case the value is not validated: return the proper variable name

Allow valuecheckers to be specified in query_parameter calls (implemented via argument checking)

Example: :query_parameter return_url:localurl /

improve spelling

  1. … 15 more files in changeset.
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 10 more files in changeset.
modernize code: use resolver variables rather than method calls

  1. … 6 more files in changeset.
remove xotcl-core specific per-request caching, since acs-tcl performs nowadays as well per-request caching on permissions

- modernize code (remove "my")

  1. … 5 more files in changeset.
- modernize code (remove "my")

  1. … 12 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
improve spelling

  1. … 12 more files in changeset.
improving comments

  1. … 3 more files in changeset.
improve spelling

  1. … 7 more files in changeset.
prefer XOTcl2 idioms

  1. … 4 more files in changeset.
Reduce numbber of "catch" operations

  1. … 8 more files in changeset.
Use consistently xo::library to ensure application specific subclassability

  1. … 13 more files in changeset.
fix typo