• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Provide more infrastructure support for host-node-maps for more flexible domain handling

- add optional -cookie_domain parameter to the following functions

ad_user_login

ad_user_logout

sec_generate_session_id_cookie

auth::issue_login (wrapper for ad_user_login)

if not specified, the functions are full backward compatible

- add optional parameter -host_node_id to auth::authenticate

which refers to the node_id in the host-node-map

- pass host_node_id from from/to register pages

TODO:

1) probably, sec_generate_session_id_cookie picks up the wrong

session_id via [ad_conn session_id]

2) check interaction with CookieDomain (probably, we need

must not pass host_node_id wheren CookieDomain is non-empty)

  1. … 5 more files in changeset.
- fix bug for obtaining logout_url on host-node mapped subsites

- factor out security::get_register_subsite to streamline behavior of ad_get_login_url and ad_get_logout_url

security::driver: consider additionally nsssl_v4 nsssl_v6 as possible names

Make sure that driver dict d is set in host-node-mapped cases (many thanks to stefan sobernig for pointin that out)

- 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

Fix typo in comment

Use per-thread caching instead of nsv for never-changing variable (use ::acs::database_type instead of nsv ad_database_type; when available)

This improves concurrency and performance for tight loops (e.g. in developer support)

  1. … 1 more file in changeset.
- use shortcut for "select" in db_exec_plsql to bypass anonymous function creation

Fix code in cases, were object_type is not provided

Improve translation of ad-return-complaint message. Add missing translation

    • -2
    • +3
    ./catalog/acs-tcl.it_IT.ISO-8859-1.xml
- Remove duplicate processing of tags (was duplicated since 16 (!!) years, many thanks to Franz Penz for noticing)

- remove unneeded variable

allow host header fields with trailing dots (as these are allowed from DNS)

Correct square braces

Bump version number to make dependency on kernel changes (i18n) explicit

Add as well API functions [membership_rel::get] and

[membership_rel::get_group_id] analogous to [membership_rel::get_user_id]

Add new API call membership_rel::get_user_id to avoid code duplication

Make encoding the url part the default behavior. Add extra exception for the trivial case of dummy url '#'.

Make url part encoding in export_vars optional by the -base_encode flag to avoid regressions in existing code (e.g. urls containing anchors)

Add ability to include actual user in the access log (see as well updated sample OpenACS config file in the NaviServer repository)

Remove over-eager safety check

Prefer variable over proc to access the kernel id

    • -10
    • +18
    ./tcl/request-processor-procs.tcl
Modernize Tcl code

reflow overlong lines

add query parameters on redirect to cononical site

Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL, NaviServer)

  1. … 29 more files in changeset.
Fix editing bug

Fix spelling errors

    • -4
    • +4
    ./tcl/test/application-data-link-procs.tcl
fix dirty editor buffer leftover

Fix spelling errors

  1. … 8 more files in changeset.
- Tcl idioms: simplify access to first character

  1. … 8 more files in changeset.