• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Whitespace cleanup

State dependecny from package-procs, or ::xowiki::CSS class won't be available to this library at boot

bump version numbers of 5.9|5.10 packages to 5.10.0b1

adjust dependencies

  1. … 87 more files in changeset.
New CSS abstraction: xowiki::CSS

Before this change, the application developer was responsible to

initialize the CSS-speficic settings (such as setting default values

for parameter classes). The new object xowiki::CSS is initialized

automatically, when an xowiki class (or one of its subclasses) is

initialized. Furthermore, it provides a per-thread caching to reduce

double work. Furthermore, the xowiki::CSS provides a mapping between

abstract and concrete CSS class names, such that switching between

different CSS toolkits becomes easier (e.g. upgrade from bootstrap 3

to newer versions).

xowiki::CSS initialize ;# make sure, everything is in line with PreferredCSSToolkit

xowiki::CSS clear ;# reset the mapping

xowiki::CSS toolkit ;# return the toolkit name

xowiki::CSS class /classname/ ;# perform CSS class name mapping

The methods "setCSSDefaults" and "preferredCSSToolkit" as deprecated.

The version number was bumped to 5.10.0d81

improved code comments

more cleanup for setting of potentially unencoded return_url

streamline returnredirect commands

make sure, the provided URL is always properly encoded

prefer variable resolver over method calls for unset

minor refactoring to correct old-style widgetSpecs; prefer variable resolver over method calls for unset

support editor=none in arbitrary form-field specs

prefer usage of "xo::write_tmp_file" over "xo::write_file" for writing tmp files

Do not urlencode the return URL in every case, but only when this falls back to the current URL from the connection context, normally coming from "ns_conn url" which will return it "raw", as in not encoded for any purpose

URLencode the return URL, or the server might complain for invalid characters (e.g. unencoded umlaut characters)

Remove hard-coded styling with the "style" element to get a more consistent appearance

(many thanks to Monika Andergassen for looking into this).

    • -7
    • +7
    ./www/resources/xowiki-yui-specific.css
improve query variable checking

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.

added value checker, improved comments and logging statements

upgrade default ckeditor from 4.15.1 to 4.16.1 (released in May 2021)

  1. … 2 more files in changeset.
file jquery-3.6.0.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery-3.6.0.js
  1. … 1 more file in changeset.
file jquery-3.6.0.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery-3.6.0.min.js
  1. … 1 more file in changeset.
Upgrade to jQuery 3.6.0 (released March 2021)

    • -10872
    • +0
    ./www/resources/jquery/jquery-3.5.1.js
    • -2
    • +0
    ./www/resources/jquery/jquery-3.5.1.min.js
    • -0
    • +10881
    ./www/resources/jquery/jquery-3.6.0.js
    • -0
    • +2
    ./www/resources/jquery/jquery-3.6.0.min.js
  1. … 5 more files in changeset.
parameterize xowiki::test::edit_form_page with -next_page_must_contain

This changes supports more flexible checking of expected content on page after editing.

Default is backwards compatible

file photo.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/photo.form.page
reduce warnings on loading: Move resources to non-deprecated location

    • -0
    • +11
    ./resources/prototypes/folder.form.page
    • -0
    • +11
    ./resources/prototypes/form.form.page
    • -0
    • +10
    ./resources/prototypes/link.form.page
    • -0
    • +11
    ./resources/prototypes/page.form.page
    • -0
    • +8
    ./resources/prototypes/photo.form.page
    • -14
    • +0
    ./www/prototypes/import-archive.form.page
file folder.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/folder.form.page
file page.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/page.form.page
file link.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/link.form.page
file import-archive.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/import-archive.form.page
file form.form.page was initially added on branch oacs-5-10.

    • -0
    • +0
    ./resources/prototypes/form.form.page
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.