• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset MAIN:antoniop:20230308163231:11 does not match your current filter (clear filter).

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

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

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

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

Test binary to text conversion of various file types

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

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

    • binary
    ./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

  1. … 1 more file in changeset.
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.
replace low-level cr_fs_path by higher level interface content::revision::get_cr_file_path

  1. … 8 more files in changeset.
improve spelling

whitespace changes: break overlong lines

whitespace changes

white space changes: break overlong lines

mark private functions as private

  1. … 9 more files in changeset.
avoid setting of unneeded function, reduce access to nsvs

provide a flushing interface to apm_package_id cache to avoid the need to call the uncached code directly

  1. … 1 more file in changeset.
Reinstate proc as private, remove dependency to such proc in external package

  1. … 2 more files in changeset.
prefer ns_dbquotevalue over db_quote, mark latter as deprecated

  1. … 3 more files in changeset.
As the doc says, use the uncached version to retrieve the package instance

Use portable sql idioms

Downgrade as a warning the case when pdfs fail to be converted to text because of password protection