• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
security::cookie_name: since this is used in acs-lang, it has to be public

  1. … 4 more files in changeset.
Make parameter::get_from_package_key usable during inital boot

This change makes parameter::get_from_package_key usable during

initial boot, i.e. before the table apm_parameters is created.

In these cases, the function returns just the default value.

remove incorrect and misleading comment and simplify code accordingly

Improving ad_parameter_cache:

- added handling of cachingmode "none"

- added implementation via "nsv_dict" (cluster aware)

- execute parameter callbacks cluster-wide

- version number bumped to 5.10.1d4

  1. … 3 more files in changeset.
Cache the information about a package being a singleton and expose into a private api, use the api in parameter::get_from_package_key, called quite often in our downstream pages

  1. … 2 more files in changeset.
improve spelling (follow LDP)

  1. … 15 more files in changeset.
add callback invocation into parameter::set_global_value and parameter::set_value

to achieve a more consistent behavior

  1. … 1 more file in changeset.
Add '-delete' flag to 'ad_parameter_cache' in 'parameter::set_value', to delete the value from cache before setting, making the value coherent amongst threads (thanks Antonio for the fix).

parameter::get_from_package_key: check as well in "global" package parameter

and make clear, that lookup from non-singleton packages does not make

sense.

allow parameter::get_from_package_key to be called before acs-tcl/tcl/utilities-procs.tcl are called

improve comments

  1. … 10 more files in changeset.
Whitespace changes

Fix typos

Remove useless "catch" since template::util::is_true will not raise an error

- use "ad_try" instead of "with_catch"

- use "ad_try" instead of "with_finally"

  1. … 4 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
add "see also" references to parameter::get and "parameter::get_global_value"

- improve comment

- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
- remove globals for errorInfo/errorCode and use namespace qualifiers instead

  1. … 12 more files in changeset.
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.
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.
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
add param docs for localize and boolean for parameter;:get

add a parameter::set_default function used by teh set-parameter-default install action

  1. … 1 more file in changeset.
add proc doc to a bunch of procs, declare some things with explicit namespaces rather than in namespace eval, make some public things private

  1. … 25 more files in changeset.
Adding functionality for autosubmition of errors into de the bug-tracker.

Sending an email to the system owner when an error have occurred, detailling info

like user_id, browser's user, error details, etc.

  1. … 5 more files in changeset.
adding new boolean switch to parameter::get for parsing of boolean parameter values

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.