• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
support 'AND' and 'OR' at the end of the search string + extend automated tests

Support uninstall/reinstall use case by implementing a uninstall callback getting rid of service contract implementations

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

improve spelling

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

    • -1
    • +1
    ./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
    ./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

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

Whitesepace cleanup

    • -72
    • +76
    ./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

  1. … 1 more file in changeset.
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
    ./tsearch2-driver-procs-postgresql.xql
merged changes from the oacs-5-9 branch and resolved conflicts

    • -37
    • +9
    ./tsearch2-driver-procs-postgresql.xql
  1. … 7832 more files in changeset.
Fix spelling errors

  1. … 7 more files in changeset.
- fix for openacs.org site bug #101

- improve formatting

    • -13
    • +9
    ./tsearch2-driver-procs-postgresql.xql
- removed usedless expr statements

  1. … 1 more file in changeset.
- remove obsolete queries

    • -24
    • +0
    ./tsearch2-driver-procs-postgresql.xql
- make db-query follow usual conventions

- improve indentation

- fix bug, when "dfs" was specified

Example: http://openacs.org/search/search?q=Spam&dfs=m3

Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

    • -4
    • +2
    ./tsearch2-driver-procs-postgresql.xql
  1. … 519 more files in changeset.
- provide default values, concentrate concerns

    • -4
    • +2
    ./tsearch2-driver-procs-postgresql.xql
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2546 more files in changeset.
- don't produce error when query end with a "not"

- remove parens from build_query, since handling is broken (e.g. "unimplemented ( 5.5.1 )") and it's not clear what the intended sematics are

- use "in" or not in (ni) operator instead of lsearch

- regularize expressions

- bump version number

  1. … 1 more file in changeset.
regsub empty parens from search query - tsearch doesn't like 'em