提交图

165 次代码提交

作者 SHA1 备注 提交日期
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
Albert S. ebea074fcb gui: Begin basic sandboxing 2022-01-01 17:58:52 +01:00
Albert S. 4dede9538c submodules: add qssb.h 2021-10-24 18:27:49 +02:00
Albert S. 95d4a12005 MainWindow: Fix Qt deprication 2021-06-12 23:01:14 +02:00
Albert S. f67b7bbb21 Resolve Qt deprication: endl -> Qt::endl 2021-06-12 22:55:56 +02:00
Albert S. 01872e37d5 Add missing paranthesis
Not sure how these slipped through.
2021-06-12 22:51:22 +02:00
Albert S. 248bfb96fe shared: LooksQuery: init tokensMask with 0 to be sure 2021-06-12 22:48:59 +02:00
Albert S. 414d53e59a shared: create.sql: Fix format
The qt sqlite3 driver only accepts a single statement
per exec().

We can't split by ; due to the trigger statements.

Thus, the pragmatic and dirty solution is to simply
put a query per line.
2021-06-12 17:29:13 +02:00
Albert S. 604d45afb2 shared: common: Remove redundant qDebug() 2021-06-12 17:24:47 +02:00
Albert S. d0ebde1f64 Rename qss.pro to looqs.pro 2021-06-12 15:14:10 +02:00
Albert S. 1c0d49e5eb cli: set target to 'looqs' 2021-06-12 15:08:33 +02:00
Albert S. aac027fa16 gui.pro: Change target to looqs-gui 2021-06-12 15:06:41 +02:00
Albert S. e97551be97 Rename all symbols to new project name 2021-06-12 14:59:58 +02:00
Albert S. 645903ed6b README: Rename project from 'qss' to 'looqs' 2021-06-12 14:57:26 +02:00
Albert S. 576b884574 mainwindow: warn if deleted files in search results 2021-03-27 18:18:19 +01:00
Albert S. 9ced0ec742 mainwindow: add right click menu to preview labels 2021-03-27 17:58:38 +01:00
Albert S. e88d0e57b2 shared: qssquery: Fix sqlerror if sort condition comes last
If we had something like c:(test) sort:(mtime, desc), then
we would run into an sql error eventually, since we
would have added an implicit AND token before the sort
condition. This is wrong, as a sort is not a filter.

So, as a quick hack to fix this, just remove a preceeding
boolean (as dirty as it may be, but it does the job for now).
2021-03-07 22:54:24 +01:00
Albert S. ee4fe51a77 shared: sqlitesearch: Remove subquery for content search
The subquery only works for boolean retrieval, its
ordering is irrelevant. Thus, use INNER JOIN instead
and order by rank by default.
2021-03-07 22:27:48 +01:00
Albert S. e225fdad21 gui: pdfworker: Explicitly unlock mutex, don't wait for destructor 2021-03-07 22:27:27 +01:00
Albert S. d3fe08b64b clicklabel: Add right button click signal 2021-03-07 22:26:59 +01:00
Albert S. 3fd4e47196 mainwindow: set window title 2021-03-07 21:09:38 +01:00
Albert S. 09aaf1da04 mainwindow: pdfPreviewReceived(): Don't capture whole preview object in lambda 2021-03-05 21:24:49 +01:00
Albert S. 64b87dd595 shared: qssquery: checkParanthesis(): Ignore paranthesis in quotes
Fixes #12
2020-12-19 12:52:40 +01:00
Albert S. 33b145e6d2 shared: sqlitesearch: Order by rank by default for content search
Making ranked results the default makes (obviously) more sense for
content search.
2020-12-19 12:42:28 +01:00
Albert S. 0dc126da7d shared: sqlitesearch: reformat - no functional change 2020-12-19 12:42:11 +01:00
Albert S. 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
Albert S. 30c077ad6d Update README.md: Minor improvements 2020-08-24 22:52:52 +02:00
Albert S. ae29b628dd Update 'README.md' 2020-08-24 22:18:49 +02:00
Albert S. 9990ad7895 gui: Clarify what 'Results' means in statusbar 2020-08-24 22:08:31 +02:00
Albert S. 779248a6a6 Update README: Document goals, minor improvements 2020-08-24 21:50:39 +02:00