• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add categories to build_query test case

do not rely on xo::dc in packages not depending on xotcl-core

Add PostgreSQL integrated websearch_to_tsquery builder, which can be activated via PackageParameter UseWebSearch

file tsearch2-driver-init.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/tsearch2-driver-init.tcl
remove spurious parens

    • -1
    • +1
    ./tcl/tsearch2-driver-procs-postgresql.xql
improve SQL quoting

  1. … 3 more files in changeset.
Make sure object_id is still a valid acs_object by the time it gets to the indexer: it can happen that objects meant to be indexed are in fact short-lived (e.g. xowiki-based objects created, scheduled for indexing and deleted shortly after)

    • -4
    • +5
    ./tcl/tsearch2-driver-procs-postgresql.xql
added editor hints and white-space cleanup

  1. … 50 more files in changeset.
support 'AND' and 'OR' at the end of the search string + extend automated tests

    • -1
    • +17
    ./tcl/test/tsearch2-driver-procs.tcl
Support uninstall/reinstall use case by implementing a uninstall callback getting rid of service contract implementations

    • -1
    • +10
    ./tcl/tsearch2-driver-install-procs.tcl
prefer spelling "SQL" over "sql" in sentences

    • -2
    • +2
    ./tcl/tsearch2-driver-install-procs.tcl
improve spelling

  1. … 3 more files in changeset.
Use "package defined" stored procedure instead of legacy nomenclature

    • -1
    • +1
    ./tcl/tsearch2-driver-procs-postgresql.xql
Relax cleanup of parenthesis: remove them only when they don't match, like it used to be in older versions of the code

Fixes automated tests (that were refreshed to latest syntax and labelled with the proc they are testing)

    • -44
    • +53
    ./tcl/test/tsearch2-driver-procs.tcl
remove obsolte comments

probably it was meant that packages can be passed in via "package_ids" parameter

whitespace cleanup

align callback implementation with definition

Removed obsolete @arch-tag

    • -2
    • +1
    ./sql/postgresql/tsearch2-driver-drop.sql
  1. … 24 more files in changeset.
Removed obsolete @arch-tag

    • -2
    • +1
    ./tcl/tsearch2-driver-install-procs.tcl
  1. … 23 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
Rework variable assigning loops (set -> lassign)

Whitesepace cleanup

    • -72
    • +76
    ./tcl/tsearch2-driver-install-procs.tcl
- make sure that length timitation of tsearch vector does not raise errors

- refactor code to avoid redundant logic

- bump version number to 5.10.0d2

Since PostgreSQL 10 does not support the tsearch2 backword compatibility package anymore, make sure that OpenACS does not use the old names requiring this package.

    • -43
    • +0
    ./tcl/tsearch2-driver-procs-postgresql.xql
merged changes from the oacs-5-9 branch and resolved conflicts

    • -8
    • +8
    ./tcl/tsearch2-driver-install-procs.tcl
    • -37
    • +9
    ./tcl/tsearch2-driver-procs-postgresql.xql
  1. … 7829 more files in changeset.
- do not depend on beta or development versions

- make sure that released versions are not beta or development

- align version numbers (e.g. use also 5.9.1 for xotcl-core)

- bump version numbers to 5.9.1

  1. … 83 more files in changeset.
bump version numbers to 5.9.1b9 respectively to 2.9.1b9 to prepare for release

  1. … 91 more files in changeset.
fix broken links

Fix spelling errors

    • -2
    • +2
    ./tcl/tsearch2-driver-install-procs.tcl
  1. … 7 more files in changeset.