• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move functionality of xowiki::CSS to tempate::CSS

template CSS provides an abstraction for CSS class names and other

styling elements depending on user preferences or on the current theme

Backwards compatibility for xowiki::CSS was provided via a stub function

  1. … 22 more files in changeset.
added inline documentation for API browser

  1. … 4 more files in changeset.
merge with missing files

  1. … 54 more files in changeset.
merge with missing files

  1. … 1464 more files in changeset.
merge from oacs-5-10

  1. … 8099 more files in changeset.
spell "site-wide" consistently with a dash

  1. … 34 more files in changeset.
Don't set result variables for "header_stuff"

The method "header_stuff" was changes ages ago to

side-effect via the standard OpenACS template::head

interface rather than outputting to a variable, which

has to be passed around. This change removes some

leftover of this time.

  1. … 1 more file in changeset.
generalized handling of error pages in disconnected stage

Ensure we are still connected before we try to render the error to the user

For instance, the error may have beeen triggered by unexpected lack of connection, e.g. when we try to return content after a redirect has already been issued.

reduced verbosity

Make sure method variable exists, fixes automated tests

Whitespace cleanup

improve bootstrap3/bootstrap5 handling of personal notification messages

Many thanks for Monika Andergassen for providing the patch.

  1. … 1 more file in changeset.
move "-destroy_on_cleanup" towards the end of the parameter list

This change improves protection about ambiguous user input

  1. … 8 more files in changeset.
use CSSclass "form-range" for Bootstrap5

more fixups fr bootstrap5

use for bootstrap5 for select input form-select instead of form-control

Many thanks to Monika Andergassen for noting

improved spelling

  1. … 2 more files in changeset.
intensify validation of form variables

  1. … 1 more file in changeset.
improved parameter checking

  1. … 3 more files in changeset.
Factor out Package->process_init_parameter into package-custom-procs

This change makes it easier to provide instance specific customization.

In general, these package-custom-procs could also be kept in other

packages.

  1. … 4 more files in changeset.
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 more file in changeset.
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

  1. … 8 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

improved checking of parameter values, which might be influenced via query parameters

  1. … 6 more files in changeset.
improve field validation

  1. … 3 more files in changeset.
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. … 10 more files in changeset.
improve spelling

  1. … 7 more files in changeset.
improve spacing on inline radio boxes in bootstrap5 (many thanks to Monika Andergassen)

  1. … 1 more file in changeset.