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

simplify code

prefer dict over Tcl array

prefer common testing framework components

define ::xowiki::test::require_link based on symbolic name

extend regression test

  1. … 1 more file in changeset.
Whitespace changes

  1. … 2 more files in changeset.
Use 'ns_log Error' for error logging, instead of 'ns_log Notice: Error...'

  1. … 4 more files in changeset.
improve spelling

  1. … 5 more files in changeset.
prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 14 more files in changeset.
fix potential confusion for test cases: make sure, the provided name and nls_language are aligned

  1. … 1 more file in changeset.
fix regression test cases. Works correct now with system locale en_US

let test run without runtime errors

use consistently xowiki.css variants based on the preferred CSS toolkit

  1. … 2 more files in changeset.
prefer absolut object references over ids

  1. … 13 more files in changeset.
- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 27 more files in changeset.
New utility function "Page.update_publish_status" which does

essentially, what admin/set-publish-status did before (update of

publish status and related handling of syndication)

New externally callable method "toggle-publish-status". This replaces

the call of admin/set-publish-status in the includelet child-resources

to make it easier usable from the xowiki security policies.

New flag "-nocleanup" for ::xowiki::datasource, to make it callable

inside arbitrary pages without loosing calling context.

  1. … 4 more files in changeset.
Remove redundant cleanup which might fail in case object does not exist (we clean up anyway in the finally branch)

improve spelling

  1. … 8 more files in changeset.
Replace upstream references to ::xowiki::get_raw_request_body and ::xowiki::read_file/::xowiki::write_file to the ::xo:: namespace

  1. … 3 more files in changeset.
align cache management to new implementation

- Implemented TreePartitionedCache (to allow patter flushes on partitions)

- use xo::Cache on more occasions

- bump version numbers of xowiki to 5.10.0d12 and xotcl-core to 5.10.0d9

  1. … 9 more files in changeset.
Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 474 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 225 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 204 more files in changeset.
prefer XOTcl2 idioms

  1. … 7 more files in changeset.
protect "orderby" query parameter against invalid input

  1. … 2 more files in changeset.
add ad_script_abort after connection closing commands

add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 25 more files in changeset.
- Fix regression test case (false positive): test failed, when de_DE was not installed as a local

- formatting and "try" cleanup

Reduce number of "catch" operations

  1. … 4 more files in changeset.