request-processor-procs.tcl

  • last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
added "ad_conn bot_p" to check, whether request was initiated by a bot

This feature is based on a simple heuristic based on the user-agent

(which can be certainly extended). It is useful to avoid e.g. Google

bot to run into "notifications subscribe" + login attempts, which

are useful for not-logged-in user, but not for bots. These attemps

lead to failures in google statistics that might reduce the google

ranking of a web site.

  1. … 2 more files in changeset.
improve handling of errors, which are triggerd by the error template

fix typo

introduced "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 50 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 34 more files in changeset.
improve comments and spelling

  1. … 2 more files in changeset.
provide better recovery from internal redirects, where ::ad_conn is not available

provide better handling of deactivated packages

use dot instead of colon as separator between package name and cache key to ease readability

  1. … 10 more files in changeset.
acs::per_thread_cache: standardize per-thread caching

- added per-thread cache based on namespaced Tcl variables.

- use per-thread-cache on several occasions

- bump version number of acs-tcl to 5.10.0d34

  1. … 14 more files in changeset.
improve handling of invalid characters

Deprecated get_referrer and NsSettoTclString, replace them with versions that respect OpenACS naming convention

  1. … 7 more files in changeset.
Move root_of_host to acs:: namespace, replace occurrences, create deprecated wrapper

  1. … 1 more file in changeset.
reduced clobbing of global namespace

move rp filter consistently under the rp_* prefix

Switch order of "ns_return 500" and "ad_log error" to see the error message also in cases, where "ns_return 500" will fail due to a already closed connection,

(Many thanks to Franz Penz for the suggestion)

  1. … 6 more files in changeset.
improve spelling

  1. … 15 more files in changeset.
Reduce duplication

security fix for OSes with case-insensitive file systems

security fix for OSes with case-insensitive file systems

- improve error message

- break overlong lines

use "ad_log" instead of "ns_log" in "obscure case"

return the directory listing in templated form (when someone manages to activate the fancy directory listings)

fix for issue #3390 (typo in cmd name)

dont rely on upper/lower case on header fields

improve spelling

  1. … 14 more files in changeset.
follow usual naming conventions

  1. … 2 more files in changeset.
reduce verbosity