• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix documentation for group::update.

Cleanup commented code

Deprecate template::util::is_true, implemented as a simple string command oneliner since 2015 and inline occurrences

  1. … 33 more files in changeset.
make end of options explicit

  1. … 17 more files in changeset.
prefer db_0or1row for exists-queries

support passing a dict as argument to "group::update" (not only array)

Improve sql portability

  1. … 5 more files in changeset.
Replace limit with a portable idiom

When a new group is created, flush all the group::get_id caches with the same name so that the new group has a chance to be retrieved

Note that it is wrong to assume a group_name will be unique, although this is normally not far from the truth in our everyday practice

acs-lang reform

Provide an optional object_id which can be used to register message keys that will be bound to the lifecycle of an acs-object. When the object is deleted, so will the message key.

This is useful for groups that automatically define a message key for their pretty name. Tcl api was already aware of this and would cleanup such message keys, but other idioms e.g. stored procedures used to delete groups would leave leftovers behind. These can become relatively numerous on group-intensive systems such as LEARN.

Other future usages for this new feature might be the automatic localization of xowiki FormPage properties.

  1. … 9 more files in changeset.
mprove spelling: move closer to the linux documentation recommendations, standardize variable names

  1. … 19 more files in changeset.
Take care of removing the automatically generated group name translation when deleting the group

Correct inconsistent message key creation between group::new (underscore) and group update (dot)

improve spelling

  1. … 18 more files in changeset.
Remove spaces after complaints at load time

mark argument explicitly as required, add default for cascade_p

group::member_p: add warnings, when group name resoling failed instead of silently returning 0

group::member_p_not_cached: remove misleading defaults

Allow to filter members by relationship type