gernst in OpenACS

Make page for managing the parameter "PrivateEmailLevelP" subsite aware.

Use already existing message-key.

Fixed typo in message-key. Bump acs-lang version to reload message keys.

Remove unused variable

Use template::util::tcl_to_sql_list for proper list element quoting

ns_quotehtml user submitted value inside an error message to prevent potential XSS attack

Fix incorrect proc name

Code cleanup: use "ad_form" for form processing and "ad_include_contract"; dropped support for "change-locale-include"-include attribute "return_p" as it was never used in the include's code.

Throw an error instead of a warning when trying to use template::data::validate::oneof without having specifyed the parameter "-options" on the form element which should be validated.

Added validation "oneof" to form element validations. It checks the user submitted value to be part of a predefined list of possible values of a form element. This is typically the case with widgets of type "select" or "multiselect".

fix typo

Added switch "-ulevel" to proc "util::var_subst_quotehtml";

ad_form: quote form field values in validation error messages to prevent XSS attacks

Quote form field values in validation error messages to prevent XSS attacks

Improve proc documentation

Quote the value of the "inform"-widget value before rendering it

Quote the value of the "inform"-widget value before rendering it

Fix incorrect default value

dotlrn cache reform: added missing cache flush; added caching of "community_key"

Make sure variable is an array

fixed embedded variable name in message-key

Use the existing API when doing changes to the properties of an authority, otherwise the cache is not updated accordingly.

made value retrival for parameters "DefaultDimensionalStyle" and "DefaultListFilterStyle" theme aware

Remove stupid upvar tricks

make portal::show_proc_helper theme aware

Proc "util_get_subset_missing": make sure to return the found elements.

Added test case for this proc.

fix the value which is used for the partition_key during flush_cache operation

dotlrn cache reform: move caching from util_memoize into three seperate caches to reduce stress on util_memoize.

These caches are:

- ::dotlrn::dotlrn_cache

Default general purpose cache for dotlrn-wide value (e.g. available applets, etc)

- ::dotlrn::dotlrn_user_cache

Partitioned cache for values specific to a user (e.g. personal_portal_id, theme_id, etc)

- ::dotlrn::dotlrn_community_cache

Partitioned cache for values specific to a community (e.g name, roles, portal_id, etc)

    • -2
    • +2
    /openacs-4/packages/dotlrn/dotlrn.info
    • -2
    • +6
    /openacs-4/packages/dotlrn/tcl/applets-procs.tcl
    • -63
    • +100
    /openacs-4/packages/dotlrn/tcl/community-procs.tcl
    • -3
    • +32
    /openacs-4/packages/dotlrn/tcl/dotlrn-init.tcl
    • -7
    • +22
    /openacs-4/packages/dotlrn/tcl/dotlrn-procs.tcl
    • -0
    • +8
    /openacs-4/packages/dotlrn/tcl/dotlrn-procs.xql
    • -3
    • +1
    /openacs-4/packages/dotlrn/www/member-add-3.tcl
prefer acs_object__new/9 over acs_object__new/7

Fix syntax error

Do not try to flush autonamed cache entries