• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
strengthen parameter checking

  1. … 4 more files in changeset.
More restricted checking for object_ids

This avoids SQL errors in cases, where values are passed in via query variables

which are valid integers but out of range for SQL integer, which are 32-bit

integers. The better solution would even be to define an NSF argument type

"object_id", but unfortunately, this requires a newer version of NSF than

we target for the release.

new web-callback method "www-update-references"

This method can be called on the package-level to

referesh all page references (from wiki-links) for

an instance.

provide a friendly error message

allow at most 50K days, otherwise Tcl time scanner bails out

strengthen regular expression for "days"; valid arguments are e.g. "20d" or "14days"

revert incompatible change

Accept only integers as value for the rss query parameter

provide page-contract error instead of backtrace

added utility function xowiki::filter_option_list to select a subset from an option list

added form.form to ease creation of forms as form pages (important for using forms from global instance as form pages in workflows)

  1. … 3 more files in changeset.
add debugging output for migration phase

Add a new subsite::parameter_changed implementation for xowiki, reacting to the switching of the use_hstore parameter

This way it won't be necessary for other packages to generate the hstore manually using private api

  1. … 1 more file in changeset.
improve warning message

avoid array notation for per_thread caches to ease flushing

  1. … 5 more files in changeset.
address issue #3460

  1. … 1 more file in changeset.
follow naming convention as used in other places as well

start key with the package name, use array notation

  1. … 1 more file in changeset.
make end of resub options explicit

  1. … 12 more files in changeset.
cache failed name lookups in a per-request cache (flushing maybe overly conservative)

  1. … 3 more files in changeset.
improve spelling

  1. … 4 more files in changeset.
Add missing parameter in doc

  1. … 1 more file in changeset.
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. … 8 more files in changeset.
prefer SQL max() function over sort and limit 1

  1. … 1 more file in changeset.
make "instantiate_forms" a method of packages

this reads better than the previous variant based on the Weblog class.

  1. … 14 more files in changeset.
Use full URL paths for bulk actions.

This change allows one to mark items from multiple child-resources

displayed on one page and add these to the clipboard. Use the same

logic for bluk-delete and bulk adding to the clipboard.

  1. … 2 more files in changeset.
Make :folder_id available as a package instance variable immediately, in a way that if the folder instantiation needs e.g. to fetch a parameter, the folder_id will be there to determine the right parameter page, which otherwise would be looked up e.g. in the site-wide pages and cached with wrong values for the cache lifetime

Make ::xowiki::Package default_locale react to changes in the connection locale by caching only when the parameter use_connection_locale is not set, use ::xowiki::Package default_locale result instead of always the connection locale to determine nls_language for new Pages and FormPages, so that default language for a particular xowiki instance is decided by use_connection_locale parameter

  1. … 2 more files in changeset.
move "unify_forms" to xotcl-core, rename it to "form_unify", added "form_usages"

  1. … 1 more file in changeset.
improve spelling

  1. … 10 more files in changeset.
handle toplevel and other forms as well

added support call for unifying forms

  1. … 1 more file in changeset.