Commit grafiek

56 Commits

Auteur SHA1 Bericht Datum
30414e3da3 Cli: CommandAdd: Correct progress print 2022-04-24 19:40:43 +02:00
be41fab5d5 CLI: Use new 'Indexer' to add Commands 2022-04-15 21:06:56 +02:00
478d57b342 cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
294455b861 DatabaseFactory: Move to /shared 2022-04-15 21:06:56 +02:00
7066cc1a45 Logger: Move to shared/ 2022-02-27 23:10:46 +01:00
c51487c4b2 gui: Call setupAppinfo() also for the IPC server 2022-01-03 23:14:55 +01:00
407ee1210c gui: Perform content search and path search by default
Search for content and paths. Merge lone words for content search.

This behaviour is much more natural than typing "c:()".
2022-01-03 23:14:55 +01:00
88ee2383f7 Switch to exile.h 2022-01-01 17:58:52 +01:00
ad84c8acf7 cli: moved processing of file content into sandboxed subprocess 2022-01-01 17:58:52 +01:00
f67b7bbb21 Resolve Qt deprication: endl -> Qt::endl 2021-06-12 22:55:56 +02:00
1c0d49e5eb cli: set target to 'looqs' 2021-06-12 15:08:33 +02:00
e97551be97 Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
a1fbf35cde CommandDelete: Rework deletion logic
Allow deleting files from index which still exist
on the fileystem without passing their path to "qss delete".

Thus: "qss delete --deleted" deletes all files which
don't exist anymore.

Also, fix some bugs in offset calculation.
2020-08-30 18:16:08 +02:00
ef78e74cdd Detect first run and initialize database and config
Relates to #1
2020-08-24 21:36:45 +02:00
8d6678009a sqlitedbservice: provide error message with more context 2020-08-24 21:36:19 +02:00
2b97f4a737 fixed: missing return value for some command handlers 2020-05-24 15:37:47 +02:00
8de07b703c Add Common::databasePath which also allows overriding it 2020-05-24 15:36:27 +02:00
13fb901044 added Common namespace. cli: use settings instead of env for db path 2020-05-23 22:52:42 +02:00
277d466a45 link with -lquazip5 instead -lquazip so it works on ubuntu... 2020-05-01 11:48:31 +02:00
ff0a4ecfbe list command current state 2019-09-22 16:13:13 +02:00
f64362ac63 cli: search: implement -r, cleanup of options that don't belong there 2019-08-19 21:09:03 +02:00
cff481a57e Refactor search queries: Introduced QSSQuery
Purpose is to seperate certain logic from SQLite and generalize it more.
Even though we only have Sqlite atm, in general the database layers
must be stupid as possible, while QSSQuery should do most of the hard work.

Fixes in Tokenizer logic.
Switched to C++17.
2019-08-18 00:25:21 +02:00
6bb53b8c31 pdfprocessor: don't throw exception on encrypted files (locked ones are
the problem)
2019-05-04 09:38:52 +02:00
ccb6818e72 filesaver: count logic was wrong if --continue wasn't given 2019-04-30 23:44:27 +02:00
bc9fa97aa0 cli: describe --continue in more detail 2019-04-30 23:43:31 +02:00
4c8d201f81 pdf preview generation: Use QtConcurrent::mapped + QFutureWatcher instead of own single-thread solution 2019-04-29 20:50:52 +02:00
0d3cfefb36 cli: commanddelete: fix broken dry-run 2019-04-29 10:24:50 +02:00
7df1ddf891 FileSaver: count how many files failed, Commands: Show how many failed 2019-04-26 22:46:33 +02:00
2d6994b1f5 PdfProcessor: Throw exception for encrypted/password protected files 2019-04-22 23:13:45 +02:00
cb8909bfa7 FileSaver: missing endl when printing exception details 2019-04-22 23:13:04 +02:00
cfe30ae5fd CommandSearch: Begin basic functionality (prints filename of result) 2019-04-22 23:11:28 +02:00
623eea80ec Command: Remove dbConnection() declaration which isn't used anymore 2019-04-22 21:59:35 +02:00
ca7b5a7430 Logger: Do not quote strings by default 2019-04-22 21:59:05 +02:00
8b999ed4f7 CommandDelete: Bugfix: Deleted existing instead of non-existing files 2019-04-22 21:08:31 +02:00
326c12ca80 move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
6b94b8f619 Begin 'shared' project to share code between cli and gui 2019-04-20 23:31:14 +02:00
f160c72d2f added todo comment for logger flush 2019-04-20 23:27:27 +02:00
8fdadaf94a updated cli.pro 2019-04-16 08:55:05 +02:00
f24f6bd966 Command: Take SqliteDbService instead of connection string 2019-04-16 08:54:49 +02:00
62e896608f Utils: Removed QDebug logger 2019-04-16 08:53:23 +02:00
f423d0078a CommandAdd: refactored to use filesaver etc. 2019-04-16 08:52:43 +02:00
c8e958d1a6 CommandDelete: refactored to use sqlitedbservice 2019-04-16 08:52:07 +02:00
7eec5e9169 Implement CommandUpdate: Searches for files that have been changed and reprocesses them 2019-04-16 08:51:27 +02:00
8622717ded filedata.h: Model of files table in database 2019-04-16 08:50:31 +02:00
664268fa7c Added FileSaver for Saving/Processing of files, used by CommandAdd/CommandUpdates 2019-04-16 08:50:08 +02:00
687adc788a Added SqliteDbService: All sqlite queries etc. go here 2019-04-16 08:49:02 +02:00
a6fec60ed5 Added databasefactory to create database connections 2019-04-16 08:47:30 +02:00
60cc13c4b0 Added Logger class acting as threadsafe wrapper for QDebug 2019-04-16 08:46:39 +02:00
8c018a76f5 CommandAdd: if nothingprocessor is used, empty pageData is not an error 2019-04-10 19:00:28 +02:00
6ba1147d11 Added Utils::error() and Utils::info() to print to stderr/stdout instead of qDebug() 2019-04-10 18:57:27 +02:00