• last updated 22 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
do not cache some volatile info in xowiki::file objects

We differentiate now between the classical name validation error and

the name-too-long error. Message keys had to be extended.

Version number bumped to 5.10.1d27

  1. … 7 more files in changeset.
Improved Bootrap5 support

- transformed PageInstance->adp_parse_tags into an adp_proc

xowiki::PageInstance->adp_parse_tags to ease usage outside methods.

- made personal-notification proc agonsitic of Boostrap 3

- renamed attribute "-glyphicon" to "-adpicon" in

personal-notification-messages->modal_message_dialog

and use adp:icon instead

- added regression test

- bumped version number to 5.10.1d26

  1. … 5 more files in changeset.
ADP-parsing for form content

- new method "PageInstance->adp_parse_tags"

This method is similar to

template::adp_compile -string $HTML

but it just performs tag substion (and not ADP variable

substitution, since this is done differently concerning instance

attributes, etc) on the provided HTML chunk.

- apply adp_parse_tags on "PageInstance->get_form". This means that

every "form" (no matter whether this comes from the instance

attributes of from the instance variable) run through the ADP tag

compiler.

Revert port of downstream feature: the same check can be performed more flexibly via the condition=regexp and condition=match

Port of downstream feature: condition proc on the FormPage checking that a page name respects some regular expression

Fix typo

Make sure result is defined, small improvements

Port of old local modification: when mime type is text/plain, feed the content straight to the indexer, rather than render the file as HTML, then convert it again to text in the search indexer

improve robustness on invalid input

improve error message

Fixes for Oracle 19c: boolean and timestamp handling

- a clause "true" is invalid in Oracle SQL (using "1=1" is fine).

- function "now()" does not exist, use "CURRENT_TIMESTAMP" instead

- addressing all attributes in a join via "*" is not allowed, when other

attributes are used as well. Using e.g., "bt.*" is OK.

  1. … 1 more file in changeset.
Fixes for Oracle 19c: added missing Oracle support

make API call a public one

Updated inferface for Page->create_form_page_instance

Since "create_form_page_instance" creates always a form

page, we can also pass the state at creation to it

(like other essential parameters). The default value

is "initial" (the default state in workflows).

Bumped version number to 5.10.1d15

  1. … 1 more file in changeset.
refactor code

  1. … 1 more file in changeset.
safetybelt for acunetix testing: refetch parameter page, when it is not initialized

hopefully a temporary measure

Address issue with .SELF. references in exams (xowf)

Since it is the goal of the exams to store all resources directly

under the questions, handling extra .SELF. references (which are

inserted by a downstream plugin for CKeditor) do not make sense. A

probably cleaner solution to this is to configure the CKeditor

to omit the .SELF. references in these cases.

address (partly) the issue with .SELF. links in exams

output warning message, in case form constraints could not be parsed

improve warning message

initialize variable for error cases

fix message for deprecated folder

whitespace changes

Various small improvements:

- Page->content_header_append/content_header_get: new methods to

include HTML content before the form. One use case ist to include

additional forms this way, since these cannot be included in the

main form of a FormPage. The additional content is displayed in the

www-view method.

- FormPage->create_form_fields_from_names: new convenience function to create

form-fields via their names. The definitions of the named form-fields are

taken from the provided form_constraints. This function is useful when

only a subset of the form-constraints definitions should be used

to create form-fields.

- improve comments

- improve argument checking on parent_id to be able to provide better

error messages

- reduce usage of regexp for performance reasons

- improve spelling

  1. … 2 more files in changeset.
still initialize array

improve comment.

since "nsv_get $array $member varname" returns 0, when the array does not exist, we do not need the extra value for initialization

cache parsed form_constraints via nsv instead of via global variable

reduce verbosity