• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
prefer db_0or1row for exists-queries

improve message wording for message key

    • -1
    • +1
    ./catalog/acs-subsite.de_DE.ISO-8859-1.xml
Add page contract

    • -5
    • +5
    ./www/admin/group-types/groups-list.tcl
don't rely on uppercase header field names

  1. … 10 more files in changeset.
switch to simple new group::update call with dict as argument

This change fixes as well a bug in install::xml::action::set-join-policy

since group::get returns a member "text" which is not accepted by

group::update.

  1. … 3 more files in changeset.
support passing a dict as argument to "group::update" (not only array)

prefer db_0or1row +"where exists" over db_string + "select case"

  1. … 3 more files in changeset.
Improve sql portability

    • -12
    • +15
    ./tcl/test/acs-subsite-procs.tcl
  1. … 1 more file in changeset.
Replace limit with a portable idiom

Make apm callbacks private and move them together with the others

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

Cover more group api

this also exposes a potential problem with group::get_id when a group is created, deleted, and then a new one is created with the same name (e.g. executing the test multiple times). As the memoize cache is not maintained, the returned group_id will be incorrect.

Increase proc coverage

Fix typo

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. … 8 more files in changeset.
New test checking that no leftover groups localizations are still there on the system

Cleanup test message key

Test covering the automagical localization of group pretty names

fix for issue #3445

a broken query (without a table alias) was

in the .xql file, where the correct query was

in the source (where it was ignored). This

can be quite confusing. It is probably

a good idea to improve code locality

and use .xql just in cases, where the

query is NOT included in the source.

I took the opportunity to fix more such cases

in this file.

Many thanks to Tony Kirkham for the bug report.

CVS: ----------------------------------------------------------------------

flag that submission is coming via ajax

fix cleanup typo

whitespace changes

    • -1114
    • +1113
    ./www/resources/core.js
new function: acs_ListBulkActionMultiFormClick()

//

// The function acs_ListBulkActionMultiFormClick() is similar to

// acs_ListBulkActionClick() but it iterates over all forms with the

// same name and submits the input elements of all such forms.

//

improve spelling

  1. … 15 more files in changeset.
provide scaleable version for managing unmounted instances for pg12

    • -27
    • +41
    ./www/admin/site-map/unmounted.tcl
use "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 9 more files in changeset.
prefer "ns_conn isconnected" over "ad_conn isconnected", since the latter might not notice changes in the connect state

  1. … 15 more files in changeset.
fix performance problem with pg12 by using permission_p_recursive_array

    • -21
    • +27
    ./www/admin/site-map/index-postgresql.xql
mprove spelling: move closer to the linux documentation recommendations, standardize variable names

  1. … 12 more files in changeset.
use "-varname" parameter for message_exists_p