Commit Graph

76 Commits

Author SHA1 Message Date
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
071bddf28d CommandDelete: refactor: split handle to several methods 2019-04-09 22:03:04 +02:00
03320ad6eb CommanDelete: Fixed pattern match and added dry-run mode 2019-04-09 21:38:15 +02:00
db499fb4b3 Begin delete command implementation 2019-04-07 20:22:20 +02:00
99d5fca230 CommandAdd: improve help text 2019-04-06 23:27:56 +02:00
4925299b9d PdfProcessor: Exception instead of empty result when loading of document fails 2019-04-06 23:27:39 +02:00
3e23021621 Begin a C++ cli and remove the Python scripts 2019-04-06 17:16:42 +02:00