xowiki-form-procs.tcl

  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix creating/editing of xowiki::Forms

This change essentially reverts the change of July 2, which broke

the feature to specify "editor=none". This is important for the

"form" form-field entry, which requires a FORM tag, that is

usually removed by actual version of the ckeditor.

  1. … 1 more file in changeset.
In order to make the "editor=" formfield spec option have any effect, one should catch the value from the spec early, before the formfield is reclassed and initialized

This also exposes that the editor=none value is not valid (detected by xowiki and xowf automated tests). For this to be valid one should define it as a richtext subclass.

  1. … 1 more file in changeset.
use ad_proc -private

make end of resub options explicit

  1. … 12 more files in changeset.
improve spelling

  1. … 4 more files in changeset.
fix propagation of validate results in old-style (ad_form-based) forms. One should really switch to FormPages soon.

  1. … 1 more file in changeset.
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.
introduced "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 50 more files in changeset.
improve spelling

  1. … 19 more files in changeset.
fix bug: never update references in the search renderer

before, it was possible that the search renderer added some

unsresolved references, although these were already fixed.

This was caused by the asynchrnous search queue, which

might have inserted such values.

The interface of Page.render was extended to be able to

specify, that the references should be always updated in the DB,

or just when unresolved references are encountered, or

never.

  1. … 3 more files in changeset.
  1. … 4 more files in changeset.
improve input validaton on query variables

  1. … 7 more files in changeset.
improving comments, variable names, and indentation

  1. … 2 more files in changeset.
Make file optional, validator already takes care to check whether this is a new upload and therefore requires one or not

Check if an upload file was supplied when validating

reduce old-style "my" references

  1. … 4 more files in changeset.
- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 33 more files in changeset.
improve spelling and deactivate changes that were probably needed only for Firefox 2

  1. … 9 more files in changeset.
ease editing of "Form" entry (staring with <form> tag, don't fight with CKEditor cleanup)

  1. … 1 more file in changeset.
Use generic caching infrastructure

  1. … 5 more files in changeset.
Improve comments a little

  1. … 9 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
improve code documentation

  1. … 10 more files in changeset.
prefer XOTcl2 idioms

  1. … 7 more files in changeset.
prefer XOTcl2 idioms also in commented-out statements

  1. … 11 more files in changeset.
prefer XOTcl2 idioms

  1. … 7 more files in changeset.
Fix typos

  1. … 24 more files in changeset.
Persist sanitized timestamp into data object before saving (Many thanks to Markus Moser)

Prefer XOTcl2 idioms

  1. … 3 more files in changeset.
Comment richtext related debug logging