eikek
b31bd01b84
Fix creating DELETE sql statement with table alias
2023-02-02 07:58:43 +01:00
eikek
a5c84da51f
Remove attach.count
from query
...
Issue: #1758
2022-10-31 22:20:24 +01:00
eikek
e42794869f
Apply auto-formatting fixes
2022-08-12 17:28:30 +02:00
eikek
5bbe073bf3
Fix job query for H2
...
Unfortunately, the new h2 version has some regressions related to
CTEs. The query selecting the next group failed only for H2 after the
update. The query has been rewritten to not use union on CTE tables.
The weird thing was that the error only occured using bind values and
was not reproducible with "just string" SQL in the h2 console.
The QJobTest are now running on all databases.
2022-08-12 16:34:56 +02:00
eikek
0a3ac9f121
Add anonymous subselects to query builder
2022-08-12 16:34:56 +02:00
eikek
aac6f69ea2
Update h2 and flyway
...
Sadly it is necessary to fix an existing changeset for H2.
2022-08-12 16:34:51 +02:00
eikek
b51b782c73
Apply formatting fixes
2022-08-07 16:31:09 +02:00
eikek
868285a26b
Fix fulltext search queries for new collective-id
2022-08-07 16:28:22 +02:00
eikek
816cca7ea2
Adopt joex to new collective-id
2022-08-07 16:26:04 +02:00
eikek
53d92c4a26
Adopt backend to collective-id
2022-08-07 16:26:04 +02:00
eikek
77f22bb5ea
Adopt store module to new collective table
2022-08-07 16:26:04 +02:00
eikek
aeeb54fcc3
Remove unused column in item
2022-06-11 13:03:14 +02:00
eikek
4bca6031af
Fix flaky db test
2022-06-11 01:02:22 +02:00
eikek
ae265ed19a
Fix tests for mariadb
2022-06-04 10:16:03 +02:00
eikek
66aab0c952
Refactoring
2022-05-31 23:15:04 +02:00
eikek
1266cdefe1
Prepare for new search logic with feature toggle
2022-05-30 22:45:46 +02:00
eikek
04ccad2ce0
Temporary table support for holding fts results
2022-05-29 22:33:50 +02:00
eikek
671230a9aa
Streamline database tests
2022-05-29 00:09:51 +02:00
eikek
42435c693a
Add a db type for db specific things
2022-05-28 17:19:33 +02:00
eikek
3764f9265b
Configure run/repair db migrations
...
Refs: #1517
2022-05-22 00:07:36 +02:00
eikek
0346c5a654
Apply fixup migration only from previous version
2022-03-23 23:52:41 +01:00
eikek
029335e607
Working poc of postgresql based fulltext search backend
2022-03-21 11:04:26 +01:00
eikek
ae845dfe3b
Fix previously published db migration
2022-03-19 14:20:25 +01:00
eikek
8d5fc7f9da
Move scheduler queries into the new module
2022-03-16 23:56:59 +01:00
eikek
3a05dc56cb
Refactor scheduler into api / impl
2022-03-13 15:20:33 +01:00
eikek
c1ce0769eb
Check file integrity
2022-03-12 12:58:34 +01:00
eikek
422c0905dc
Add task to copy files
2022-03-12 12:58:28 +01:00
eikek
c812ea1009
Store files in different binary stores
2022-03-12 12:18:58 +01:00
eikek
9eb9497675
Fix logging in tests
2022-02-19 23:33:01 +01:00
eikek
8b42708db2
Remove old log stuff
2022-02-19 22:01:49 +01:00
eikek
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
eikek
1a86fcca78
Enable tests again
...
They were disabled due to network problems
2021-12-21 19:50:40 +01:00
eikek
1ff2af6779
Disable tests due to networking problems
2021-12-21 00:36:43 +01:00
eikek
0b606e6b05
Use logfmt for log lines and remove ansi color codes
2021-12-19 22:29:56 +01:00
eikek
d483d9f176
Initial naive pubsub impl generalising from current setup
2021-11-05 01:05:24 +01:00
eikek
9013f2de5b
Update scalafmt settings
2021-09-22 17:23:24 +02:00
eikek
20a829cf7a
Refactoring for migrating to binny library
2021-09-22 14:18:43 +02:00
eikek
9785db0683
Change license header of all files
2021-09-21 22:35:38 +02:00
eikek
6bb6cad39d
Test db migrations for all supported databases
2021-08-23 23:41:03 +02:00
eikek
1256a6e8cf
Allo wildcards when searching by attachment ids
2021-07-31 01:23:37 +02:00
eikek
8e5c88fd32
Add copyright header to source files
2021-07-04 10:57:53 +02:00
eikek
ce6f53cc29
Fix next-job query to do round-robin through job groups
2021-06-27 00:04:56 +02:00
eikek
bd791b4593
Upgrade code base to CE3
2021-06-22 22:53:34 +02:00
Eike Kettner
4041018c47
Reduce not expressions
...
Fixes queries containing macros inside a "not".
2021-04-11 12:57:42 +02:00
Eike Kettner
e1bbc2edf5
Apply autoformat
2021-04-10 16:31:58 +02:00
Scala Steward
144ea852bf
Update fs2-core, fs2-io to 2.5.4
2021-03-31 21:10:42 +02:00
Eike Kettner
6a63694a3e
Convert unit tests to munit
2021-03-10 19:48:56 +01:00
Eike Kettner
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
Eike Kettner
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
Eike Kettner
d737da768e
Move to munit in query module
2021-03-01 00:51:01 +01:00