request-processor-procs.tcl

  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add kernel parameter to support conveniant setting of expiration dates for /resources/*. See as well http://openacs.org/forums/message-view?message_id=4231862

  1. … 1 more file in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

    • -584
    • +709
    ./request-processor-procs.tcl
  1. … 2547 more files in changeset.
- fix indentation

- mark doc_* interface a deprecated

  1. … 2 more files in changeset.
- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- use expand operator rather than eval to reduce likelyhood of

unwanted interference and to improve security

  1. … 9 more files in changeset.
- initialize untrusted_user_id in resources filter

- revert escaped change, add change to make clear that we do not want to accept empty strings

  1. … 1 more file in changeset.
- make clear that we do not want to accept empty strings

- remove tabs, make indentation more uniform

    • -609
    • +614
    ./request-processor-procs.tcl
- fix for bug #3219: check ExcludedFiles when serving resources

- fix bug with redirects and host-node maps (see http://openacs.org/forums/message-post?parent_id=4106585)

  1. … 1 more file in changeset.
- bug-fix for lookup of hosts defined via host_node_map (see http://openacs.org/forums/message-view?message_id=4106578)

- call ds_init for all types of concrete files for which handlers are registered

- fix 2 typos

  1. … 1 more file in changeset.
- provide fallback values for ad_conn in cases, requests fail early, but templated results are provided

- add ds_init call

  1. … 1 more file in changeset.
- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

  1. … 14 more files in changeset.
- revert escaped change for the time being

- use "... eq {} " instead of "template::util::is_nil" where it is clear that the variable exists

  1. … 1 more file in changeset.
- flatten nested "lindex" structures

- merge multiple "lappend" operations

- use "lassign" instead of multiple "lindex" operations

- improve performance util_convert_line_breaks_to_html by reducing

number of regsub operations and more precise regular expressions

- use numeric comparison operator for truth value comparisons

- use "lassign" instead of multiple "lindex" operations

- reduce number of remaining "string equal" operations

  1. … 13 more files in changeset.
- make ad_return deprecated; maybe this function was useful for ancient versions of tcl, but as it is, it does not make sense (see comment in code)

  1. … 1 more file in changeset.
- simplify various wierd ways to set the variable ::template::parse_level

  1. … 5 more files in changeset.
- use "lassign" instead of "foreach" idiom

- use namespace prefix instead of "global" statement

- use compiled string expressions

- use "in" expression instead of "lsearch -exact"

  1. … 1 more file in changeset.
- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- brace namespace eval

- don't abbreviate subcommands

- use tcl 8.5 extended index format for "string range"

- modernize tcl

  1. … 6 more files in changeset.
- use "lassign" instead of "util_unlist"

  1. … 19 more files in changeset.
- break overlong lines

- get rid of deprecated call to ad_footer

- fix for bug in request processor that leads to Errors of the form: "failed to redirect '404': exceeded recursion limit of 3" in the error.log

- include always vuh in ExtensionPrecedence to preserve documented sematics