• last updated 1 hour ago
Constraints: committers
Constraints: files
Constraints: dates
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Standardize spellings of names

  1. … 6 more files in changeset.
- Refactor ad_get_login_url reduce replicated code and to make semantics clearer

- ad_get_login_url handles now as well cases, where a subsite is mapped to an application package on a subsite

- fix a bug in util_current_location in connection with hostnode map

  1. … 2 more files in changeset.
no need to quote in the quoted string

Improve indentation

- replace javascript: urls by event listeners

  1. … 2 more files in changeset.
- adding nonce values to script tags

  1. … 11 more files in changeset.
- fix bug for host-node-mapped subsites: on the (subsite) admin-page

of a host-node-mapped subsites, the link to site-wide-admin should

always point to the main site.

- add new helper function util::configured_location to address the bug

above to return the configured location as configured for the

current network driver. While [util_current_location] honors the

virtual host information of the host header field,

util::configured_location returns the main configured location

(probably the main subsite).

- extend [util_driver_info]

* make the passed-in array name optional and to return always a dict

* include the configured host name in the result (dict/array)

- add cross references via @see to make it easier to switch between

related functions

- bump version number of acs-tcl to 5.9.1d10 and acs-subsite to

5.9.1d7 to address dependencies

  1. … 6 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
- adjust return status information

- use 422 (Unprocessable Entity) for complaints, which are mostly coming from page-contracts

  1. … 1 more file in changeset.
- standardize url construction to protect against injection attacks

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

  1. … 2547 more files in changeset.
- mark more of the functions as deprecated which are not called

by the major 80 packages and for which popular alternatives exist

* pkg_home (-> acs_package_root_dir)

* ad_get_user_info (-> acs_user::get)

* exists_or_null (-> tcl builtins)

* lmap (danger, this function is a built-in of Tcl 8.6)

* template::util::server_root (-> $::acs::rootdir)

* template::util::display_value (-> ns_log)

* template::util::proper_noun (-> string totitle)

* template::util::string_range (-> string range)

* template::util::get_cookie (-> ad_get_cookie)

* template::util::set_cookie (-> ad_set_cookie)

* template::util::clear_cookie (-> ad_set_cookie)

- util_wrap_list: fix bug, when length of first word less then indent

(space was missing)

  1. … 5 more files in changeset.
- mark functions as deprecated which are called only by deprecated functions

  1. … 2 more files in changeset.
- use "... eq {} " instead of "template::util::is_nil" where it is clear that the variable exists

  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.
- get rid of deprecated call to ad_header_with_extra_stuff

- use standard templating

  1. … 1 more file in changeset.
- use ad_return_top_of_page rather then the raw ReturnHeaders

  1. … 1 more file in changeset.
- modernize tcl

- don't do want aolserver/naviserver does anyhow

- replace deprecated "ad_get_user_id" by "ad_conn user_id"

  1. … 8 more files in changeset.
- replace deprecated "ad_parameter" by "parameter::get"

Performance improvements for rp_filter and parameter:

- improve performance of rp_filter (which is run on every

non-resources request) significantly (often a factor of 2)

- improve scalability by reducing number of required mutex locks

(e.g. for secret token handling)

  1. … 8 more files in changeset.
*** empty log message ***

  1. … 5 more files in changeset.
Fixed up the apm parameter stuff to the point where I can at least

register and unregister, and cache values of, global parameters. There's

some really funky code here, I also took the time to have the unregister

code use the unregister API in PL/[pg]SQL rather than roll its own.

  1. … 7 more files in changeset.
OCD repair of the hard coded @cvs-id strings

  1. … 14 more files in changeset.
remove deprecated calls to ad_parameter

  1. … 4 more files in changeset.
HTML 4.01 Strict cleanup

  1. … 27 more files in changeset.
Added support for custom error templates. Added negative float procedure from Brian Fenton (Quest)

  1. … 7 more files in changeset.
Added function to return a string as a file with filename and mime_type