• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
upgrade jquery-ui from 1.13.0 to 1.13.2

    • -152
    • +168
    ./www/resources/jquery/jquery-ui.js
    • -2
    • +2
    ./www/resources/jquery/jquery-ui.min.js
Provide some means to change the behavior of a single package instance

- New package parameter: PackageInitParameter

When set to some value other than empty, the package "init" method

(e.g. of xowiki::Package, or one of the subclasses) can handle

this separately.

- This submit adds a handler for the value "swa-only", and returns

a user-friendly message in this case. Of course, we could achieve

something similar via permissions as well, but this allows us

to tailor the behavior in more details.

- In general, this mechanism can also be used to provide some hints

about some specific packages, or tailor these in some other ways.

- Currently, this new package parameter is not added to the

.info file, so configure it via parameter pages.

    • -1
    • +1
    ./resources/templates/error-template.adp
removed test depending on some internals.

These test are convered by the web-tests, so these seem not necessary

    • -30
    • +39
    ./tcl/test/xowiki-admin-tests-procs.tcl
Use signed value for form_parameter "__object_name"

Bumped version number to 5.10.1d40

rename helper form-field to avoid potential confusion with value checkers

Value checkers will let empty values pass through

E.g. for a query like "?popular=&summary=1", the checker won't complain for "popular" being empty. Make sure empty values are normalized to false.

increased value checking for paramter that might be influenced by user input

removed hard-coded styling to improver stylability via CSS on admin page

Many thanks to Monika Andergasse for the suggestion

Protect against malicious inputs, where the value won't be a list

Update api

    • -2
    • +2
    ./lib/portlets/weblog-mini-calendar.tcl
  1. … 3 more files in changeset.
Strip the possible validation constraint after the first colon character when building the cache key for a parameter, so that the value is stored correctly regardless of the format used to query the parameter

Fixes xowiki.xowiki_test_cases automated test

Fix typo

Prefer xo::dc api

improved support for cluster-wide operations

  1. … 2 more files in changeset.
provide for FormPages a differentiated error message

This treats in particular the case of a language prefix followed by

an empty name.

disallow names, which look like a language prefix followed by an empty name

Empty names are not allowed.

The error message is just always the same for wiki pages, so

this is not perfect.

improve strictness of tests

  1. … 8 more files in changeset.
improved checking of parameter values, which might be influenced via query parameters

improve field validation

fix sort-handles for list-table

before this change, the sort-handles were only styled for

tables of CSS class table, for the CSS class "list-table",

the sorting indicators were undistinguishable

reduce verbosity

Fix typo

Make use of new API "ad_mktmpdir" and "ad_opentmpfile" instead of "ad_tmpnam"

  1. … 4 more files in changeset.
register URN for highcharts from CDN only, when highcharts package is not installed

file jquery.ui.touch-punch-0.2.3.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/jquery/jquery.ui.touch-punch-0.2.3.js
Added support for drag&drop on reorder items for mobile devices

Additionally, provided a minimal width for drag items (there is probably a better solution for this)

fix icon for boostrap5 (CSS value)

Added support for passing parameter_name:value_constraint to xowiki::Package->get_parameter

- The get_parameter method can get values from query-parameters, therefore

we have to validate these.

- Use the new feature at several places (especially for boolean values)

- Still, more places should be checked

- bumped xowiki to 5.10.1d37

- bumped xotcl-core to 5.10.1d14

  1. … 3 more files in changeset.
removed obsolete argument

add information how many pages are currently selected in dnd mode