Gráfico de commits

466 Commits

Autor SHA1 Mensaje Fecha
Albert S. 779248a6a6 Update README: Document goals, minor improvements 2020-08-24 21:50:39 +02:00
Albert S. ef78e74cdd Detect first run and initialize database and config
Relates to #1
2020-08-24 21:36:45 +02:00
Albert S. 8d6678009a sqlitedbservice: provide error message with more context 2020-08-24 21:36:19 +02:00
Albert S. 7c1e12d589 Ship database creation script as embedded resource 2020-08-24 21:33:56 +02:00
Albert S. 8b298fb85b gui: move page switcher next to scale 2020-06-06 23:35:00 +02:00
Albert S. a46ecf9bff gui: disable searchbar when search is running
avoids waiting in the gui thread. does not try to cancel
the QFuture that actually cannot be cancelled anyway.

sidesteps a strange bug which rethrows already caught exception.
2020-06-06 23:18:33 +02:00
Albert S. 2b97f4a737 fixed: missing return value for some command handlers 2020-05-24 15:37:47 +02:00
Albert S. 8de07b703c Add Common::databasePath which also allows overriding it 2020-05-24 15:36:27 +02:00
Albert S. 13fb901044 added Common namespace. cli: use settings instead of env for db path 2020-05-23 22:52:42 +02:00
Albert S. 277d466a45 link with -lquazip5 instead -lquazip so it works on ubuntu... 2020-05-01 11:48:31 +02:00
Albert S. d5d2881230 README: added ubuntu build instructions 2020-04-28 16:59:42 +02:00
Albert S. ff0a4ecfbe list command current state 2019-09-22 16:13:13 +02:00
Albert S. de04264eb5 pdfworker: don't use deprecated search overload 2019-08-26 09:41:03 +02:00
Albert S. a979eb1f51 remove max previewimage memory usage 2019-08-26 09:35:39 +02:00
Albert S. fa8e351859 paging for pdfpreviews 2019-08-26 09:20:21 +02:00
Albert S. 140128e405 updated TODO 2019-08-25 16:56:31 +02:00
Albert S. f64362ac63 cli: search: implement -r, cleanup of options that don't belong there 2019-08-19 21:09:03 +02:00
Albert S. 014a31fa3c gui: fix passing args to pdfviewer (paths with spaces work now) 2019-08-19 20:02:28 +02:00
Albert S. bdf235f21b pdf preview: proper highlighting for quoted (inside ") queries 2019-08-19 19:43:05 +02:00
Albert S. afba31177c updated TODO 2019-08-18 23:26:06 +02:00
Albert S. 22bcc888b9 new future: highlight searched words in pdf preview 2019-08-18 23:23:11 +02:00
Albert S. 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
Albert S. 05a5bac22f mainwindow: show size of files 2019-08-18 00:23:42 +02:00
Albert S. 5e983049f5 mainwindow: wait till search is completed before launching new one 2019-08-12 22:59:05 +02:00
Albert S. 0528e9067a pdfworker: Renderer copy constructor missed max mem field 2019-08-12 10:26:16 +02:00
Albert S. 4a8d994358 sqlitesearch: improve tokenizer and fix sort handling 2019-05-04 20:40:43 +02:00
Albert S. 6bb53b8c31 pdfprocessor: don't throw exception on encrypted files (locked ones are
the problem)
2019-05-04 09:38:52 +02:00
Albert S. ccb6818e72 filesaver: count logic was wrong if --continue wasn't given 2019-04-30 23:44:27 +02:00
Albert S. bc9fa97aa0 cli: describe --continue in more detail 2019-04-30 23:43:31 +02:00
Albert S. 55da974558 gui: executable name set to qss-gui instead of qss 2019-04-30 14:15:50 +02:00
Albert S. 415a29add4 updated TODO 2019-04-30 14:14:44 +02:00
Albert S. 330a9e5870 gui: stop generating preview images after a memory limit has been reached. 2019-04-30 14:13:10 +02:00
Albert S. 5deb64cd28 ClickLabel: rename clicked to leftClicked and only fire when left mouse button clicked 2019-04-30 12:40:28 +02:00
Albert S. 88a6152b52 pdf previews: set tooltip showing documents path 2019-04-30 12:30:29 +02:00
Albert S. b319edea15 gui: mainwindow: remove dead code and unused members 2019-04-29 23:09:23 +02:00
Albert S. 09804a83cc gui: handle search exception (again after refactoring) 2019-04-29 23:05:51 +02:00
Albert S. 500fc13070 PdfWorker: generatePreviews: take const ref to container with search results 2019-04-29 23:01:11 +02:00
Albert S. 78fb075739 Add destructor for pdfworker renderer 2019-04-29 22:44:39 +02:00
Albert S. 4c8d201f81 pdf preview generation: Use QtConcurrent::mapped + QFutureWatcher instead of own single-thread solution 2019-04-29 20:50:52 +02:00
Albert S. 0d3cfefb36 cli: commanddelete: fix broken dry-run 2019-04-29 10:24:50 +02:00
Albert S. 2cf26a17e1 gui: remove searchworker 2019-04-27 21:24:53 +02:00
Albert S. 6f92b9ff5a search: fixed: order by after group by in content search 2019-04-27 21:23:06 +02:00
Albert S. 7df1ddf891 FileSaver: count how many files failed, Commands: Show how many failed 2019-04-26 22:46:33 +02:00
Albert S. 098cd96dd2 searchworker: emit searchError on exception 2019-04-26 21:48:07 +02:00
Albert S. c338bb20bd search: default sort by mtime and page 2019-04-26 21:41:20 +02:00
Albert S. 8c027566e3 search: Avoid redundant results by placing pages into vector instead of returning searchresult for each page 2019-04-26 15:31:42 +02:00
Albert S. 950749e1e4 updated TODO 2019-04-25 10:37:41 +02:00
Albert S. 569d8c4138 Begin sort: statement implementation, use bindvalues in all search filters, gui: save current scale 2019-04-25 10:27:54 +02:00
Albert S. a26382b697 SqliteSearch: Use correct column for file size 2019-04-22 23:16:29 +02:00
Albert S. 2d6994b1f5 PdfProcessor: Throw exception for encrypted/password protected files 2019-04-22 23:13:45 +02:00