• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Further cleanup of the indexer logics

- unindexing an object in an own proc

- clarified idioms

- cleanup redundant operations

Claim coverage, bump version number

  1. … 1 more file in changeset.
Factor some of the logic in the indexer into own procs for the purpose of:

- being able to tell programmatically if an object can be indexed

- being able to index an object programmatically using a simpler api

- better test operations

Rework file-to-text conversion with the goal of:

- also for LibreOffice documents, strip the XML from extracted content

- handle errors all at once outside the switch, as the behavior would always be the same

- avoid creating a tempfile

    • -142
    • +125
    ./search-convert-procs.tcl
Prefer unset to array unset when the whole array should be deleted

See https://wiki.tcl-lang.org/page/Dict+VS+Array+Speed

  1. … 7 more files in changeset.
merge with missing files

  1. … 1450 more files in changeset.
merge from oacs-5-10

  1. … 8093 more files in changeset.
New API call: aa_silence_log_entries

The new function silences expected messages in the system log. The

proc deactivates the specified severity levels during the code in the

last arguemnt is executed. After it has finished, the severity levels

are reset to their previous values.

The purpose of this function is to make test system log clean from

error messages and the like during the regression test, such it

contains only errors which have to be looked at.

  1. … 6 more files in changeset.
flush dirty editor buffer

fix typo and silence intended SQL error

Disable tests to check for executables on the system

  1. … 7 more files in changeset.
Test external command dependencies

  1. … 1 more file in changeset.
Update comment

Document the decision of not testing .ppt text extraction anymore

Convert MS Office files to plain text: reuse the approach employed for .pptx to extract text also from .docx and .xlsx, as it is very similar.

Make the test more verbose when there is failure: show the extracted text in this case

Fix test and proc:

- make package_id mandatory for search::dotlrn::get_community_id, as it will just fail when this proc is used under dotlrn otherwise

- fix the test by providing a package_id according to the expected behavior

Test leftover api

Test queuing, dequeuing

Test extra arg api from the search package

file test.ppt was initially added on branch oacs-5-10.

    • binary
    ./test/data/test.ppt
file test.pdf was initially added on branch oacs-5-10.

    • binary
    ./test/data/test.pdf
file test.ott was initially added on branch oacs-5-10.

file test.ots was initially added on branch oacs-5-10.

file test.otp was initially added on branch oacs-5-10.

file test.odt was initially added on branch oacs-5-10.

file test.ods was initially added on branch oacs-5-10.

file test.odp was initially added on branch oacs-5-10.

file test.xlsx was initially added on branch oacs-5-10.

file test.xls was initially added on branch oacs-5-10.

    • binary
    ./test/data/test.xls