Commit Graph

73 Commits

Author SHA1 Message Date
ea8f701e8f searchworker: emit searchError on exception 2019-04-26 21:48:07 +02:00
b8c0fc0ae3 search: default sort by mtime and page 2019-04-26 21:41:20 +02:00
08d81ef78b search: Avoid redundant results by placing pages into vector instead of returning searchresult for each page 2019-04-26 15:31:42 +02:00
7107c90aeb updated TODO 2019-04-25 10:37:41 +02:00
e2f07d2357 Begin sort: statement implementation, use bindvalues in all search filters, gui: save current scale 2019-04-25 10:27:54 +02:00
131ab2e4e8 SqliteSearch: Use correct column for file size 2019-04-22 23:16:29 +02:00
a53ce19621 PdfProcessor: Throw exception for encrypted/password protected files 2019-04-22 23:13:45 +02:00
5a99890d28 FileSaver: missing endl when printing exception details 2019-04-22 23:13:04 +02:00
e37aa61eda CommandSearch: Begin basic functionality (prints filename of result) 2019-04-22 23:11:28 +02:00
be53fc7f6e Command: Remove dbConnection() declaration which isn't used anymore 2019-04-22 21:59:35 +02:00
ae4b06d647 Logger: Do not quote strings by default 2019-04-22 21:59:05 +02:00
6ac7c199fb CommandDelete: Bugfix: Deleted existing instead of non-existing files 2019-04-22 21:08:31 +02:00
95a650dd30 move more files to shared project ; searchresultt.h: use filedata.h 2019-04-22 21:07:41 +02:00
c928c94eb1 Begin 'shared' project to share code between cli and gui 2019-04-20 23:31:14 +02:00
f461d2c844 added todo comment for logger flush 2019-04-20 23:27:27 +02:00
10f05af6ac updated TODO 2019-04-16 08:56:06 +02:00
8dabfc7aa4 updated cli.pro 2019-04-16 08:55:05 +02:00
4078cecad8 Command: Take SqliteDbService instead of connection string 2019-04-16 08:54:49 +02:00
97710e2180 Utils: Removed QDebug logger 2019-04-16 08:53:23 +02:00
bddacbedb8 CommandAdd: refactored to use filesaver etc. 2019-04-16 08:52:43 +02:00
4ece459d77 CommandDelete: refactored to use sqlitedbservice 2019-04-16 08:52:07 +02:00
c6a7663ffa Implement CommandUpdate: Searches for files that have been changed and reprocesses them 2019-04-16 08:51:27 +02:00
6565d94075 filedata.h: Model of files table in database 2019-04-16 08:50:31 +02:00
c248cf8368 Added FileSaver for Saving/Processing of files, used by CommandAdd/CommandUpdates 2019-04-16 08:50:08 +02:00
2f1f41608f Added SqliteDbService: All sqlite queries etc. go here 2019-04-16 08:49:02 +02:00
d2712e5293 Added databasefactory to create database connections 2019-04-16 08:47:30 +02:00
dce13706e1 Added Logger class acting as threadsafe wrapper for QDebug 2019-04-16 08:46:39 +02:00
02ce27fc9f updated TODO 2019-04-14 21:47:07 +02:00
88fa60f7da CommandAdd: if nothingprocessor is used, empty pageData is not an error 2019-04-10 19:00:28 +02:00
9ae74b476a Added Utils::error() and Utils::info() to print to stderr/stdout instead of qDebug() 2019-04-10 18:57:27 +02:00
6da823d7f3 CommandDelete: refactor: split handle to several methods 2019-04-09 22:03:04 +02:00
4fc8a7e37b CommanDelete: Fixed pattern match and added dry-run mode 2019-04-09 21:38:15 +02:00
61f8a2d8cd added missing qss.pro file 2019-04-07 20:22:34 +02:00
2a1ee328cc Begin delete command implementation 2019-04-07 20:22:20 +02:00
42a185cdd8 updated TODO 2019-04-07 20:19:25 +02:00
3e52194d2f CommandAdd: improve help text 2019-04-06 23:27:56 +02:00
2feb420bb6 PdfProcessor: Exception instead of empty result when loading of document fails 2019-04-06 23:27:39 +02:00
8797139ae6 rename gui/qss.pro to gui/gui.pro 2019-04-06 17:28:27 +02:00
4d53b874e6 updated TODO 2019-04-06 17:22:19 +02:00
d1fffaca22 Remove python reference in README 2019-04-06 17:17:35 +02:00
d7f554949f Begin a C++ cli and remove the Python scripts 2019-04-06 17:16:42 +02:00
b7b93a66a9 Query/Save filetype and size 2019-04-06 17:13:38 +02:00
ac921c691c updatecd TODO 2018-12-29 20:21:38 +01:00
4b3b862e11 gui: handle ESC (to quit) and CTRL+L (focus on searchbar and select content) 2018-12-29 20:21:13 +01:00
5081f559df addindex: process ods and minor improvements 2018-12-29 20:19:54 +01:00
9c30fa70a1 Don't add same paths to searchresult list 2018-09-02 20:38:21 +02:00
cd3a160aa6 scale combobox: regenerate pdfs preview with choosen scale 2018-09-02 20:30:52 +02:00
5d8de075be checks on input, exceptions, improved contains query performance 2018-09-02 13:54:27 +02:00
802609da12 sql: only join content table if necessary 2018-09-02 12:45:28 +02:00
46f51b9554 default to path search, not content, removed unneeded methods 2018-09-02 12:38:07 +02:00