• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge with missing files

  1. … 1464 more files in changeset.
merge from oacs-5-10

  1. … 8099 more files in changeset.
renamed misnomer "ad_parameter_from_file"

- removed hints on "*.ini" files

- provided a name that points to the configuration file ("ad_parameter_from_configuration_file")

- deprecated old name

- updated documentation with examples

  1. … 3 more files in changeset.
improved robustness during bootstrap

Flushing the cache completely is actually the right thing to do if we want to be more robust to cache pollution: see e.g. executing acs-authentication and acs-tcl automated tests during the same request

For consistency with other apis, cache the updated parameter value immediately and return it

Flush the cache only

this will behave as before, because specifying -delete will supersede all other flags and -set would not be applied.

revert escaped changes

  1. … 2 more files in changeset.
don't assume, the oauth package is installed

  1. … 3 more files in changeset.
revert escaped version

reduce verbosity

  1. … 2 more files in changeset.
Deprecate template::util::is_true, implemented as a simple string command oneliner since 2015 and inline occurrences

  1. … 33 more files in changeset.
Comment WIP

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"