Commit Graph

47 Commits

Author SHA1 Message Date
66aab0c952 Refactoring 2022-05-31 23:15:04 +02:00
1266cdefe1 Prepare for new search logic with feature toggle 2022-05-30 22:45:46 +02:00
04ccad2ce0 Temporary table support for holding fts results 2022-05-29 22:33:50 +02:00
671230a9aa Streamline database tests 2022-05-29 00:09:51 +02:00
42435c693a Add a db type for db specific things 2022-05-28 17:19:33 +02:00
3764f9265b Configure run/repair db migrations
Refs: #1517
2022-05-22 00:07:36 +02:00
0346c5a654 Apply fixup migration only from previous version 2022-03-23 23:52:41 +01:00
029335e607 Working poc of postgresql based fulltext search backend 2022-03-21 11:04:26 +01:00
ae845dfe3b Fix previously published db migration 2022-03-19 14:20:25 +01:00
8d5fc7f9da Move scheduler queries into the new module 2022-03-16 23:56:59 +01:00
3a05dc56cb Refactor scheduler into api / impl 2022-03-13 15:20:33 +01:00
c1ce0769eb Check file integrity 2022-03-12 12:58:34 +01:00
422c0905dc Add task to copy files 2022-03-12 12:58:28 +01:00
c812ea1009 Store files in different binary stores 2022-03-12 12:18:58 +01:00
9eb9497675 Fix logging in tests 2022-02-19 23:33:01 +01:00
8b42708db2 Remove old log stuff 2022-02-19 22:01:49 +01:00
553b1fa249 Add a file-repository for better organizing files
Docspell now must use a new api for accessing files.

Issue: #1379
2022-02-15 22:20:06 +01:00
1a86fcca78 Enable tests again
They were disabled due to network problems
2021-12-21 19:50:40 +01:00
1ff2af6779 Disable tests due to networking problems 2021-12-21 00:36:43 +01:00
0b606e6b05 Use logfmt for log lines and remove ansi color codes 2021-12-19 22:29:56 +01:00
d483d9f176 Initial naive pubsub impl generalising from current setup 2021-11-05 01:05:24 +01:00
9013f2de5b Update scalafmt settings 2021-09-22 17:23:24 +02:00
20a829cf7a Refactoring for migrating to binny library 2021-09-22 14:18:43 +02:00
9785db0683 Change license header of all files 2021-09-21 22:35:38 +02:00
6bb6cad39d Test db migrations for all supported databases 2021-08-23 23:41:03 +02:00
1256a6e8cf Allo wildcards when searching by attachment ids 2021-07-31 01:23:37 +02:00
8e5c88fd32 Add copyright header to source files 2021-07-04 10:57:53 +02:00
ce6f53cc29 Fix next-job query to do round-robin through job groups 2021-06-27 00:04:56 +02:00
bd791b4593 Upgrade code base to CE3 2021-06-22 22:53:34 +02:00
4041018c47 Reduce not expressions
Fixes queries containing macros inside a "not".
2021-04-11 12:57:42 +02:00
e1bbc2edf5 Apply autoformat 2021-04-10 16:31:58 +02:00
144ea852bf Update fs2-core, fs2-io to 2.5.4 2021-03-31 21:10:42 +02:00
6a63694a3e Convert unit tests to munit 2021-03-10 19:48:56 +01:00
77a87782b7 Refactoring parser
- put all used strings in one place to have it easier to track
- don't use `$` for shortcuts, it's a detail not interesting to a
  user; now names must not clash (which is a good idea anyways)
- Added two more shortcuts `conc` and `corr`
2021-03-08 22:51:14 +01:00
30c901ddf1 Add more ways to query for attachments
- find items with a specified attachment count
- find items by attachment id
2021-03-08 09:49:38 +01:00
d737da768e Move to munit in query module 2021-03-01 00:51:01 +01:00
9013d9264e Add more convenient date parsers and some basic macros 2021-03-01 00:51:01 +01:00
186014a1c6 Refactor search to separate between a base query and user query
The `findBase` is adding only strictly required conditions. Everything
else comes from the user.
2021-03-01 00:51:01 +01:00
c3cdec416c Sketching some basic tests 2021-03-01 00:50:52 +01:00
2dff686fa0 Introduce unit condition 2020-12-15 21:03:47 +01:00
266fec9eb5 Convert find items query 2020-12-15 21:03:46 +01:00
613696539f Minor refactorings 2020-12-15 21:03:46 +01:00
d6f28d3eca Convert folder 2020-12-15 21:03:46 +01:00
adee496b77 Convert source record 2020-12-15 21:03:46 +01:00
2dbb1db2fd Initial outline for a simple query builder 2020-12-15 21:03:46 +01:00
0919eec3c2 Improve field query and fix mariadb's pickiness with parens
If no query is given, don't search with `like '%'`. MariaDB doesn't
want parens around columns in the GROUP BY clause.
2020-11-25 21:08:49 +01:00
62313ab03a Add and change custom fields 2020-11-22 21:41:09 +01:00