• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Test extra arg api from the search package

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

    • -0
    • +0
    ./tcl/test/data/test.docx
file test.ppt was initially added on branch oacs-5-10.

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

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

    • -0
    • +0
    ./tcl/test/data/test.ott
file test.ots was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.ots
file test.otp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.otp
file test.odt was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.odt
file test.ods was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.ods
file test.odp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.odp
file test.html was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.html
file test.xlsx was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.xlsx
file test.xls was initially added on branch oacs-5-10.

    • binary
    ./tcl/test/data/test.xls
file test.txt was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.txt
file test.pptx was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/data/test.pptx
Test binary to text conversion of various file types

file search-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/test/search-procs.tcl
file test.doc was initially added on branch oacs-5-10.

    • binary
    ./tcl/test/data/test.doc
Whitespace cleanup

Make use of new API "ad_mktmpdir" and "ad_opentmpfile" instead of "ad_tmpnam"

Prefer util::which to retrieve the unzip executable

Complain in the logfile whenever the insertion of the null character is attempted in the syndication table

Implement a conversion from MS pptx to plaintext:

first slides are extracted from the presentation, then everything that is not the content of a text tag is removed.

More targeted sanityzing only on the variables that have a chance to contain the null character

Translate potential null characters in the syndication content with the empty string, so that we do not risk to try (and fail) to insert them in the database

Reduce hard errors in the search indexer on invalid file content

This change uses util::file_content_check introduced with acs-tcl

5.10.1d9 to detect error situations before external programs are

called, which can lead to unpredictable error messages.

bumped version to 5.10.1d1

fix issue shown with acunetix testing (without login)

Fixes during the creation of the search observer queue for Oracle 19c:

In essence, the change repairs the following error:

Warning: Package Body created with compilation errors.

Errors for PACKAGE BODY SEARCH_OBSERVER:

LINE/COL ERROR

-------- -----------------------------------------------------------------

16/7 PL/SQL: SQL Statement ignored

16/40 PL/SQL: ORA-00933: SQL command not properly ended

    • -4
    • +5
    ./sql/oracle/search-packages-create.sql
Don't trust blindly the mime-type determined by the file extension and try to use the unix command "file" when available

Deprecate template::util::tcl_to_sql_list, completely replaced by ns_dbquotelist, a native NaviServer command

  1. … 17 more files in changeset.