Commit Graph

125 Commits

Author SHA1 Message Date
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
mergify[bot]
d83ee84a44
Merge pull request #932 from eikek/javac-settings
Compile the small number of java source files to java 8 target
2021-07-11 15:17:35 +00:00
eikek
b32f66d156 Add sbt header plugin 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
b1c93d214d Update scala library to 2.13.6 2021-06-17 22:53:26 +02:00
eikek
a5a829f3cc Compile the small number of java source files to java 8 target
Since scala also produces class files version 52, the few java files
should also be compiled into this format.
2021-06-16 01:04:35 +02:00
eikek
b1740fb305 Add openapi linting to sbt's lint alias 2021-06-12 21:50:51 +02:00
eikek
1e685a9ea2 Update sbt openapi plugin and use redoc for documentation 2021-06-12 19:04:27 +02:00
eikek
3e7b66fd42 Add workflow for publishing website
Builds an publishes the website on each push to `current-docs` branch.
2021-05-31 14:43:23 +02:00
eikek
c0402b1f92 Migrate old sbt syntax to new one 2021-05-31 14:32:37 +02:00
eikek
626a53384b Merge branch 'current-docs' 2021-05-31 13:59:44 +02:00
eikek
bd093ee97d Use sbt-github-pages plugin
This makes it easier to use within a gitub action.
2021-05-31 13:44:47 +02:00
Eike Kettner
63dc6fe13d Remove compiled scalajs files from final package
Only the js file is necessary, the intermediate sjs files are not
needed at runtime.
2021-05-30 21:54:17 +02:00
Eike Kettner
9c427c3d38 Fix sbt warnings and add more aliases 2021-04-10 17:16:33 +02:00
Eike Kettner
e1bbc2edf5 Apply autoformat 2021-04-10 16:31:58 +02:00