Commit Graph

294 Commits

Author SHA1 Message Date
Albert S. e8f095f821 shared: sqlitedbservice: Call prepare(), don't pass query in constructor for consistency 2022-04-24 15:52:20 +02:00
Albert S. c99827e854 shared: FileScanWorker: Catch correct exception type 2022-04-24 15:52:20 +02:00
Albert S. 4d0d9ba9c6 main: sandbox: Add clone vow, Use exile_vows_from_str()
Fresh ubuntu 22.04 uses clone3(). thread vow is not enough anymore.

Maybe Qt uses it now, who knows, let's just allow it for the time being.
2022-04-24 15:52:20 +02:00
Albert S. e3440beae7 shared: sqlitesearch: Avoid joining content table more than once 2022-04-24 15:52:20 +02:00
Albert S. 8194476fa6 shared: sqlitesearch: Only order by rank if token is FILTER_CONTENT_CONTAINS 2022-04-24 15:52:20 +02:00
Albert S. 2a024a9b40 gui: Improve conditions where progressbar visible, minor useability improvemnets 2022-04-24 15:52:20 +02:00
Albert S. 0503325c47 gui: Indexer tab: Save/Restore paths to/from settings 2022-04-24 15:52:20 +02:00
Albert S. 62d3eac498 gui: Properly restore other widgets after index has finished 2022-04-24 15:52:20 +02:00
Albert S. 45de97d8fb gui: Begin cancellation of Indexer 2022-04-24 15:52:20 +02:00
Albert S. 622916db04 gui: Implement 'Delete' button in Indexer tab 2022-04-15 21:06:56 +02:00
Albert S. ef3f7bc72a gui: Check whether path exists before adding 2022-04-15 21:06:56 +02:00
Albert S. a349d9bfe0 update README 2022-04-15 21:06:56 +02:00
Albert S. 1cc7053193 shared: Update shared.pro with recent additions 2022-04-15 21:06:56 +02:00
Albert S. 0af7d4a3dc GUI: Begin new 'Indexer' tab 2022-04-15 21:06:56 +02:00
Albert S. be41fab5d5 CLI: Use new 'Indexer' to add Commands 2022-04-15 21:06:56 +02:00
Albert S. c51fd3c555 shared: FileSaver: Return NOTFOUND, Handle NOTHING_PROCESSED exit code correctly 2022-04-15 21:06:56 +02:00
Albert S. 715023a3ee shared: FileSaver: Make addFile(),updateFile() public 2022-04-15 21:06:56 +02:00
Albert S. 4234967ef5 shared: Add NOTFOUND SaveFileResult 2022-04-15 21:06:56 +02:00
Albert S. d483d05db1 shared: Begin Indexer 2022-04-15 21:06:56 +02:00
Albert S. 564b5ddae8 shared: Begin FileScanWorker 2022-04-15 21:06:56 +02:00
Albert S. d7705241ee shared: Begin ParallelDirScanner 2022-04-15 21:06:56 +02:00
Albert S. f3fbf4a1dc shared: Begin DirScanWorker 2022-04-15 21:06:56 +02:00
Albert S. 56414ee5e2 shared: Begin basic ConcurrentQueue 2022-04-15 21:06:56 +02:00
Albert S. 478d57b342 cli: Move most classes to shared lib for reuse 2022-04-15 21:06:56 +02:00
Albert S. d43c35819d common: Use DBMigrator to init and update database 2022-04-15 21:06:56 +02:00
Albert S. 3d8b086f53 shared: Begin db migration logic
Issue: #26
2022-04-15 21:06:56 +02:00
Albert S. 294455b861 DatabaseFactory: Move to /shared 2022-04-15 21:06:56 +02:00
Albert S. 7066cc1a45 Logger: Move to shared/ 2022-02-27 23:10:46 +01:00
Albert S. bb8906ace4 Remove TODO file
Replaced by issue tracker quite some time ago
2022-02-04 18:21:39 +01:00
Albert S. d4864d4810 Begin a .desktop file 2022-02-04 18:19:08 +01:00
Albert S. 2e3b008207 gui: main: Add --no-sandbox 2022-01-04 23:44:37 +01:00
Albert S. ea1d027621 gui: main: Enable sandbox post call to Common::setupAppInfo()
Move sandboxing code to own function
2022-01-04 23:27:45 +01:00
Albert S. b10c2edf05 MainWindow: Avoid potential double path searches 2022-01-04 11:24:37 +01:00
Albert S. c0657947b1 LooqsQuery: Add hasContentSearch(),hasPathSearch() convenience functions 2022-01-04 11:24:37 +01:00
Albert S. 1f35e2120e LooqsQuery::build(): Ensure values are non-empty and ignore empty lone words 2022-01-04 11:24:37 +01:00
Albert S. 404ce22ce6 Generalize previews: Mainwindow: Do necessary renames 2022-01-04 11:24:37 +01:00
Albert S. 0cbd0dd9eb Generalize previews: Retire PdfWorker, Add PreviewWorker 2022-01-03 23:14:55 +01:00
Albert S. d816603a1c Generalize previews: Add PreviewGenerator* 2022-01-03 23:14:55 +01:00
Albert S. 95b3d1fce2 Generalize previews: Add PreviewResult,PreviewResultPdf, remove PdfPreview 2022-01-03 23:14:55 +01:00
Albert S. 32286cae4b Add RenderConfig, combining common parameters 2022-01-03 23:14:55 +01:00
Albert S. c51487c4b2 gui: Call setupAppinfo() also for the IPC server 2022-01-03 23:14:55 +01:00
Albert S. 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
Albert S. bb5a793300 gui: Add vow_promises to exile policy 2022-01-03 23:14:55 +01:00
Albert S. ba636bf0fc IpcServer: Fix off-by-one 2022-01-01 17:58:52 +01:00
Albert S. 88ee2383f7 Switch to exile.h 2022-01-01 17:58:52 +01:00
Albert S. b1f3e95622 shared: looksquery: Fix incorrect varname in exception 2022-01-01 17:58:52 +01:00
Albert S. 890925929a GUI: Begin IPC mechanism to open files despite sandboxing 2022-01-01 17:58:52 +01:00
Albert S. 3e387b99f8 README: Mention sandboxing 2022-01-01 17:58:52 +01:00
Albert S. 530ad9c334 pdfworker: Remove dead code 2022-01-01 17:58:52 +01:00
Albert S. ad84c8acf7 cli: moved processing of file content into sandboxed subprocess 2022-01-01 17:58:52 +01:00