• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reduce hardcoded execs: the util might be improved to avoid them at some point

Use common interface for object reference in bulk actions

- use same interface in child-resources and form-usages (when bulk-actions are used)

- move "get_ids_for_bulk_actions" from page to package (to make in usable in www/admin)

- use consistently "get_ids_for_bulk_actions" (also in www/admin/*.tcl)

- provide backward compatibility (still support "name" and "-parent_id")

  1. … 4 more files in changeset.
distinguish between url and item_ref

don't rely on uppercase header field names

  1. … 8 more files in changeset.
whitespace changes

fix typoCVS: ----------------------------------------------------------------------

add transtional code to support semi-upgraded folders (having no description field set)

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. … 5 more files in changeset.
provide additional configuration hooks when creating new pages

- p.source (copy variables from that site-wide page upon creation)

- p.configure (call a method for configuration of the page)

Port of downstream behavior:

create_link instproc is supposed to return an object. In case of error, just crash and let the anchor insproc handle the exception, instead of trying to use the error message as an object.

relax url detection

add check if item_id exists

fix typo in log statement

Added points in addition to minutes to test items and inclass-exam workflows

  1. … 6 more files in changeset.
return raw value for form-fields of type label, when disableOutputEscaping is set

use localized_text for folders and links

  1. … 2 more files in changeset.
no need to subst

resolve message keys in titles

reduce verbosity

factor out script wrappers

fix typo

undo recent changes on too global localizations

The new form-field class localized_text text solves the goals

of for providing a formfield interface to message keys in a

loca fashion rather than altering the behavior of all form

field and of all property interfaces.

New form-field class: localized_text

This class can be used to provide an interface for specifying

internationalized text strings saved in message keys via input

from a form. When editing the content provided via the input field

is saved together with an item-specific message keys in the

message key tables via lang::util::convert_to_i18n.

This formfield class is especially useful for xowiki items which

have no language-prefix (e.g. folders or links). In other cases it

is probably still a better idea to create same named pages with

different language prefixes.

improve spelling

Disable any conversion on the _name property (:name Page instance variable): this property is special and receives already its necessary conversion at validation time, happening before conversion time and should not be overridden

Implement 'language_specific' formfields and 'localized' FormPage properties:

- properties can be stored and retrieved specifying a -localized flag: this flag will make transparently store and retrieve the property value from a custom message key created in the acs-translations package referencing the FormPage. This localization mechanism is additional to that of language-prefixed pages and can address the need of multi-language content for non-prefixable objects such as folders

- via specifying language_specific in the formfield spec, one can enable this new localization mechanism when interacting with the FormPage via a xowiki::Form

TODO: handle export/import of pages (e.g. serializing available translation and generate the new message keys for the imported page), add some nicer UI to make the user aware of e.g. current translation context

Improve sql portability

  1. … 4 more files in changeset.
prefer SQL max() function over sort and limit 1

  1. … 1 more file in changeset.
Improve doc and minor refactoring to reduce the diff with possible upcoming change

remove unnecessary parameter package_id