xowiki-utility-procs.tcl

  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
factor out common code

  1. … 2 more files in changeset.
prefer "Package require" over "Package initialize" when possible

  1. … 2 more files in changeset.
prefer standard OpenACS API for accessing parameters

  1. … 4 more files in changeset.
prefer usage of "xo::write_tmp_file" over "xo::write_file" for writing tmp files

  1. … 4 more files in changeset.
improve spelling

  1. … 1 more file in changeset.
Add all whitespace characters between double quotes when converting a dict to hstore

Many thanks to Guenter Ernst for the analysis.

Extended regression test

  1. … 1 more file in changeset.
added utility function xowiki::filter_option_list to select a subset from an option list

added form.form to ease creation of forms as form pages (important for using forms from global instance as form pages in workflows)

  1. … 3 more files in changeset.
improve comment

added function "xowiki::randomized_index"

extended regression test

bumped version to 5.10.0d75

  1. … 2 more files in changeset.
Reinstate api as private, downstream cases need to be adapted

Make proc public: many downstream packages use it e.g. in their upgrade scripts

mark functions for administrative proposes as private

  1. … 1 more file in changeset.
make "instantiate_forms" a method of packages

this reads better than the previous variant based on the Weblog class.

  1. … 14 more files in changeset.
variable constraint "integer" not supported in xotcl

added support call for unifying forms

  1. … 1 more file in changeset.
introduced "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 50 more files in changeset.
improve SQL quoting and source code documentation

add item shuffling for test item procs and do some minor refactoring

  1. … 7 more files in changeset.
prefer all caps spelling for SQL

  1. … 2 more files in changeset.
move also hstore examples to xowiki

  1. … 1 more file in changeset.
relocate update_hstore from xowf to xowiki::hstore, where the other hstore helpers exist

  1. … 2 more files in changeset.
whitespace changes

  1. … 3 more files in changeset.
add global parameter hstore_max_value_size to limit max size stored in hkey. This makes it e.g. possible to use a GIN index.

  1. … 1 more file in changeset.
improve spelling

  1. … 6 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. … 15 more files in changeset.
improve comments and indentation

prefer absolut object references over ids

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

- prefer fully qualified commands based on IDs

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