Commit Graph

429 Commits

Author SHA1 Message Date
eikek
924aaf720e Fix compile warnings after scala update 2024-03-03 18:43:54 +01:00
eikek
81d8b6c9c1 Allow to configure a region for s3 backend
Closes: #2386
2023-11-17 21:27:13 +01:00
eikek
83ad2c5044 First sketch for custom data threaded through item processing
Refs: #2334
2023-11-13 16:45:30 +01:00
eikek
4874739e18 Update doobie to 1.0.0-RC4 2023-11-06 11:43:02 +01:00
eikek
d806a6a65e Update binny to 0.10.0 2023-11-05 20:30:28 +01:00
eikek
3718442e29 Fix notifications for collective scoped tasks 2023-03-06 16:46:31 +01:00
eikek
b31bd01b84 Fix creating DELETE sql statement with table alias 2023-02-02 07:58:43 +01:00
eikek
8ae4c9ec78 Allow to authenticate with the same account from different sources
A new config allows to treat an account same independent where it was
created (openid or local).

Issue: #1827 #1781
2022-11-04 23:29:10 +01:00
eikek
a5c84da51f Remove attach.count from query
Issue: #1758
2022-10-31 22:20:24 +01:00
eikek
2844f1c997 Fix selectNextGroup query for an empty job table 2022-08-14 00:30:05 +02: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
e39ddc7c17 Rename column 'value' to 'value_'
In sql 'value' is a reserved word and should not be used (unless
quoted). Postgresql and MariaDB are ok with it, but the new version of
h2 is now complaining.
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
e9e3e607d3 Fix collective insights query 2022-08-07 16:26:04 +02:00
eikek
7424a9b2f9 Migrate background task to new collective id 2022-08-07 16:26:04 +02:00
eikek
ae4c49027f Refactor scala base db migrations. Add marker trait for task args 2022-08-07 16:26:04 +02:00
eikek
66265d8455 Migrate file_id columns 2022-08-07 16:26:04 +02:00
eikek
816cca7ea2 Adopt joex to new collective-id 2022-08-07 16:26:04 +02:00
eikek
eabcffe71a Adopt restserver 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
35882fce84 Refactor collective table to use artificial primary key 2022-08-07 16:26:04 +02:00
eikek
2c9e012c96 Fix url parsing with trailing slash
Refs: #1545
2022-07-07 15:22:26 +02:00
eikek
ea6320e359 Use uid as foreign key in rememberme 2022-06-27 23:28:45 +02:00
eikek
bca2ea28e3 Update binny to 0.6.0 2022-06-27 13:23:48 +02:00
eikek
aeeb54fcc3 Remove unused column in item 2022-06-11 13:03:14 +02:00
eikek
1611df81ed Add more indexes 2022-06-11 12:40:46 +02:00
eikek
4bca6031af Fix flaky db test 2022-06-11 01:02:22 +02:00
eikek
7ce6bc2f9d Remove unused code (search update) 2022-06-05 23:27:59 +02:00
eikek
ae265ed19a Fix tests for mariadb 2022-06-04 10:16:03 +02:00
eikek
b50f57f7fe Send no fts query if it is disabled 2022-06-04 01:36:15 +02:00
eikek
66aab0c952 Refactoring 2022-05-31 23:15:04 +02:00
eikek
e47396182d Fix obvious things and add search summary 2022-05-31 19:56:45 +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
7fdd78ad06 Experiment with addons
Addons allow to execute external programs in some context inside
docspell. Currently it is possible to run them after processing files.
Addons are provided by URLs to zip files.
2022-05-15 23:46:43 +02:00
eikek
8a2fed47aa Increase size for passwords
Closes: #1508
2022-04-11 10:55:06 +02:00
eikek
b4ee1a52e1 Fix loading collective settings
It responded with 404 when some sub-settings (classifier) didn't exist.
2022-04-09 20:33:06 +02:00
eikek
613f21a9fc Run fixup migration from 0.32 onwards 2022-04-09 16:50:06 +02:00
eikek
4bbf0b60a3 Avoid logging non-errors as error 2022-04-09 16:00:51 +02:00
eikek
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +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