1
0
looqs/shared
Albert S d900d58f26 shared: migrations: Add 3.sql: Drop potentailly harmful trigger
In [1] it's stated that "If the values "inserted" into the text
columns as part of a 'delete' command are not the same as those
currently stored within the table, the results may be unpredictable."

It's to be assumed only inserting ftsid is unpredictable. We
have no way for a proper delete because files are not immutable
or may have been deleted.

For now the index will contain entries for files that don't exist.
They won't appear in search results as they won't be joined
in the query.

[1] https://www.sqlite.org/fts5.html#the_delete_command
2022-08-14 20:24:21 +02:00
..
migrations shared: migrations: Add 3.sql: Drop potentailly harmful trigger 2022-08-14 20:24:21 +02:00
common.cpp shared: common: Remove migration logic from ensureConfigured() 2022-07-28 13:31:13 +02:00
common.h shared: Retire Common::findInPath() for builtin Qt function 2022-07-24 18:19:38 +02:00
concurrentqueue.cpp shared: Begin basic ConcurrentQueue 2022-04-15 21:06:56 +02:00
concurrentqueue.h gui: Begin cancellation of Indexer 2022-04-24 15:52:20 +02:00
databasefactory.cpp Rename leftovers that were forgotten in 645903ed6b 2022-04-24 19:40:43 +02:00
databasefactory.h DatabaseFactory: Move to /shared 2022-04-15 21:06:56 +02:00
dbmigrator.cpp shared: DBMigrator: Take DatabaseFactory, run vacuum, add error() sig, start() slot 2022-07-28 13:27:37 +02:00
dbmigrator.h shared: DBMigrator: Take DatabaseFactory, run vacuum, add error() sig, start() slot 2022-07-28 13:27:37 +02:00
defaulttextprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
defaulttextprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
dirscanworker.cpp shared: ParallelDirScanner: Perform first pass to collect paths 2022-06-24 19:17:50 +02:00
dirscanworker.h shared: DirscanWorker: Use WildcardMatcher to ignore paths 2022-06-04 17:09:26 +02:00
encodingdetector.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
encodingdetector.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
filedata.h move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
filesaver.cpp shared: FileSaver: Don't launch SandboxedProcessor for empty files 2022-06-24 19:17:50 +02:00
filesaver.h FileSaver: Don't add files in blacklisted paths 2022-06-04 17:09:26 +02:00
filescanworker.cpp shared: FileScanWorker: Catch correct exception type 2022-04-24 15:52:20 +02:00
filescanworker.h gui: Begin cancellation of Indexer 2022-04-24 15:52:20 +02:00
indexer.cpp shared: Indexer: Use isErrorSaveFileResult() to check for non-successful results 2022-07-11 17:14:45 +02:00
indexer.h shared: Indexer: IndexResult: Introduce failedResults() 2022-06-24 19:17:50 +02:00
indexsyncer.cpp shared: IndexSyncer: Check whether file is located in a mountpath 2022-06-06 09:34:37 +02:00
indexsyncer.h shared: IndexSyncer: Support cancellation 2022-06-04 17:09:26 +02:00
limitqueue.h shared: Add LimitQueue which discards oldest entry once limit hit 2022-08-06 09:06:00 +02:00
logger.cpp Logger: Move to shared/ 2022-02-27 23:10:46 +01:00
logger.h Logger: Move to shared/ 2022-02-27 23:10:46 +01:00
looqsgeneralexception.cpp Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
looqsgeneralexception.h Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
looqsquery.cpp gui, shared: Fix and simplify word extraction regexes 2022-08-06 08:57:39 +02:00
looqsquery.h shared: LooqsQuery: Allow constructing from tokens and sort conditions 2022-07-29 10:17:04 +02:00
nothingprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
nothingprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
odsprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
odsprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
odtprocessor.cpp Fix builds with quazip 1.X 2022-06-21 22:33:50 +02:00
odtprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
pagedata.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
pagedata.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
paralleldirscanner.cpp shared: ParallelDirScanner: Fix missing progress report from top-level scan 2022-06-27 23:11:26 +02:00
paralleldirscanner.h shared: ParallelDirScanner: Delete DirScanWorkers after they are done 2022-06-04 17:09:26 +02:00
pdfprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
pdfprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
plaintexts.qrc shared: Include license texts as resource 2022-06-29 18:00:05 +02:00
processor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
processor.h shared SandBoxedProcessor: Return SaveFileResult, remove defines 2022-06-24 19:17:50 +02:00
sandboxedprocessor.cpp shared SandBoxedProcessor: Return SaveFileResult, remove defines 2022-06-24 19:17:50 +02:00
sandboxedprocessor.h shared SandBoxedProcessor: Return SaveFileResult, remove defines 2022-06-24 19:17:50 +02:00
savefileresult.h shared: SaveFileResult: Introduce isErrorSaveFileResult() 2022-07-11 17:13:58 +02:00
searchresult.h shared/gui: Don't consider non-content search results for previews 2022-06-13 22:46:14 +02:00
shared.pro shared: Add LimitQueue which discards oldest entry once limit hit 2022-08-06 09:06:00 +02:00
sqlitedbservice.cpp shared: Adjust queries to db revision 2 2022-07-28 14:00:46 +02:00
sqlitedbservice.h shared: Move SaveFileResult enum to own header 2022-06-24 19:17:50 +02:00
sqlitesearch.cpp shared: sqlitesearch: Escape FTS arguments 2022-07-28 17:49:40 +02:00
sqlitesearch.h shared: sqlitesearch: Escape FTS arguments 2022-07-28 17:49:40 +02:00
tagstripperprocessor.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
tagstripperprocessor.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
token.cpp Refactor search queries: Introduced QSSQuery 2019-08-18 00:25:21 +02:00
token.h shared: LooqsQuery: Fix logic of implicit AND booleans. Add 'limit:' support 2022-06-05 14:39:57 +02:00
utils.cpp cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
utils.h cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
wildcardmatcher.cpp shared: Introduce WildcardMatcher 2022-06-04 17:09:26 +02:00
wildcardmatcher.h shared: Introduce WildcardMatcher 2022-06-04 17:09:26 +02:00