Commit Graph

139 Commits

Author SHA1 Message Date
eikek-scala-steward
d126336dd5 Update scala-library to 2.13.9 2022-09-22 06:46:34 +00:00
eikek
6cef9d4f07 Improve performance of zip/unzip
Adds tests and includes some cleanup
2022-06-18 16:39:57 +02:00
eikek
1266cdefe1 Prepare for new search logic with feature toggle 2022-05-30 22:45:46 +02:00
eikek
5abbe92f2b Addon docs 2022-05-21 00:40:26 +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
mergify[bot]
d946d48f40
Merge pull request #1477 from scala-steward/update/sbt-git-2.0.0
Update sbt-git to 2.0.0
2022-04-09 13:43:57 +00:00
eikek
4488291319 Download multiple files as zip 2022-04-09 15:28:51 +02:00
eikek
68e168e89d Fix import for sbt-git keys 2022-04-09 15:28:30 +02:00
eikek
5e31e865a4
Merge pull request #1461 from arittner/buildonwindows-cmd
Build: Fix shell script run under Windows OS
2022-03-21 21:05:38 +01:00
Aljoscha Rittner
2744d86625 Build: Fix shell script run under Windows OS; format fixes (sbt fix) 2022-03-21 19:25:47 +01:00
Aljoscha Rittner
92079fe2e0 Build: Fix shell script run under Windows OS 2022-03-21 13:36:25 +01:00
eikek
21e13341e3 Configure postgres fts backend 2022-03-21 11:05:03 +01:00
eikek
029335e607 Working poc of postgresql based fulltext search backend 2022-03-21 11:04:26 +01:00
Aljoscha Rittner
a287db7615 Source generation build fix with backslash file-separator 2022-03-18 17:03:33 +01:00
eikek
8d5fc7f9da Move scheduler queries into the new module 2022-03-16 23:56:59 +01:00
eikek
90e52efbff Remove store dependency from scheduler api 2022-03-13 15:20:33 +01:00
eikek
3a05dc56cb Refactor scheduler into api / impl 2022-03-13 15:20:33 +01:00
eikek
83d3644b39 Move job queue to scheduler-api and fix notification of periodic tasks 2022-03-13 15:20:33 +01:00
eikek
0ce3abb3ff Move scheduler code into separate module 2022-03-13 15:20:33 +01:00
eikek
a6dda8d31a Remove tools from a release
It doesn't contain anything generally useful anymore.
2022-02-27 10:19:29 +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
e483a97de7 Adopt to new loggin api 2022-02-19 21:41:38 +01:00
eikek
6442771270 Add a new module to take care of logging
It is based on outr/scribe; mainly providing a json log format and
much easier configuration.
2022-02-19 02:31:26 +01:00
Scala Steward
cbb6a342b5
Reformat with scalafmt 3.4.1 2022-02-05 22:49:11 +01:00
eikek
261d2af9bb Website redesign 2022-02-03 21:42:09 +01:00
Scala Steward
881e487896
Update scala-library to 2.13.8 2022-01-14 01:37:26 +01:00
eikek
c21b2cdd29 Update scalafmt to 3.0.8 2021-12-11 22:46:55 +01:00
eikek
4ffc8d1f14 Add support for more generic notification
This is a start to have different kinds of notifications. It is
possible to be notified via e-mail, matrix or gotify. It also extends
the current "periodic query" for due items by allowing notification
over different channels. A "generic periodic query" variant is added
as well.
2021-12-11 18:57:32 +01:00
eikek
f38d520a1d Hooking the new pubsub impl into the application 2021-11-06 01:44:06 +01:00
eikek
d483d9f176 Initial naive pubsub impl generalising from current setup 2021-11-05 01:05:24 +01:00
eikek
118d23c3a2 Add list of env variables to documentation
Issue: #1121
2021-10-25 00:23:20 +02:00
eikek
4e5924d796 Refactor config loading and add config from environment
Issue: #1121
2021-10-24 23:02:39 +02:00
eikek
c7d587bea4 Basic management of shares 2021-10-23 14:33:24 +02:00
eikek
3c93b63c8a Add option to decrypt PDFs during conversion
Refs: #1074
2021-09-29 23:04:26 +02:00
eikek
071f4067bf Use existing mimetype detection when storing files 2021-09-23 14:10:24 +02: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
44538b1c6e Change license to AGPLv3+ 2021-09-21 22:32:26 +02:00
eikek
c5fdef9214 Reduce startup command length
The start scripts contain a huge command that may cause problems on
some systems, reportedly at windows. The ClasspathJarPlugin can
mitigate this by creating a tiny jar that only contains the classpath
of the app.

https://sbt-native-packager.readthedocs.io/en/stable/recipes/longclasspath.html#generate-a-classpath-jar
2021-09-08 23:09:38 +02:00
eikek
aef56233a5 Add a new column to distinguish local from external users 2021-09-05 21:38:14 +02:00
eikek
b73c252762 Implement authentication via OpenIdConnect and OAuth2
The new subproject "oidc" handles all the details for working with an
OpenID Connect provider (like keycloak) or only OAuth2 - only
supporting the "Authorization Code Flow" for both variants.
2021-09-05 17:32:15 +02:00
eikek
309a52393a Initial impl for totp 2021-08-31 16:45:39 +02:00
eikek
2b46cc7970 Add a simple module for totps
This is a wrapper around the nice and minimal java-otp library [0].

[0] https://github.com/jchambers/java-otp
2021-08-31 16:45:39 +02:00
eikek
6bb6cad39d Test db migrations for all supported databases 2021-08-23 23:41:03 +02:00
eikek
865d4a3172 Disable eviction warnings regarding calev and fs2-cron-calev
The calev-core jar and fs2-cron-calev are compatible, although the
minor was increased in the calev project. This can be removed once
fs2-cron-calev has been released.
2021-08-21 11:18:29 +02:00
Scala Steward
e4fecefaea
Reformat with scalafmt 3.0.0 2021-08-19 08:50:30 +02:00
eikek
f4a2b86ea8 Use a minimum age of items to remove
In order to keep deleted items for a while, the periodic task can now
use a duration to only remove items with a certain age. This can be
used to ensure that a deleted item stays at least X days before it
will be removed from the database.

Refs: #347
2021-08-15 12:32:50 +02:00
eikek
edb344314f Use an enum instead of a boolean to differentiate search
It's not very likely to have more modes of search besides normal and
trashed, but got surprised in that way quite often and it's nicer this
way anyways.
2021-08-14 15:11:48 +02:00
eikek
8545637a8f Adopt elm file headers to match elm-format 2021-07-25 13:59:48 +02:00