• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
intensify validation of form variables

Fixed markup for Navbar for Bootstrap 3 and /5

Many thanks to Monika Andergassen for the contribution

fix typo

Cleanup copy paste

Test external command dependencies

    • -0
    • +20
    ./test/xowiki-admin-tests-procs.tcl
  1. … 1 more file in changeset.
Added optional "-name" to xowiki::update_item_index

This attribute was missing from the changeble attributes

of the xowiki_form_instance_item_index

improved parameter checking

Update api

Cleanup reference to deprecated api

Quote name, as this will be shown in the error message

handle the case when instantiate_includelet is not returning an object (e.g. invalid top_includelet via user input)

Don't provide the url here, the require proc will takwe it from the connection, if any, and fallback otherwise

Follow-up for https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20230313120323

- make sure the anonymous users nsv is created when the chat is instantiated

- make sure xo::cc is available when the anonymous identifier is generated

- handle in the Chat package, that the uid may not be a user, but an IP address

- adapt other chat skins to the new anonymous user logics

  1. … 5 more files in changeset.
upgraded query-3.6.3 to query-3.6.4

  1. … 4 more files in changeset.
Added support for anonymous users in chat class

Previous version of the chat class required a login for participating

in the chat. The new version also supports a mixed mode, with

authenticated and non-authenticated users can participate. For

unauthenticated users, the disambiguation is performed over the peer

IP address, similar to the xotcl-request-monitor. Instead of the raw

IP address, an artificial username is displayed for such users (like

e.g. userXXX).

For unauthenticated users, some differences apply:

- one cannot provide a link to the private page

- unauthenticated users cannot access the user-portrait

of authenticated users.

The GUI changes are only made on chat-skins/chat-classic.js, not on

the other skins.

  1. … 1 more file in changeset.
revert escaped change

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. … 3 more files in changeset.
file package-custom-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./package-custom-procs.tcl
update jquery from 3.6.0 to 3.6.3

  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.
removed test depending on some internals.

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

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

Bumped version number to 5.10.1d40

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

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

Update api

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