Commit Graph

115 Commits

Author SHA1 Message Date
cbb6a342b5 Reformat with scalafmt 3.4.1 2022-02-05 22:49:11 +01:00
261d2af9bb Website redesign 2022-02-03 21:42:09 +01:00
881e487896 Update scala-library to 2.13.8 2022-01-14 01:37:26 +01:00
c21b2cdd29 Update scalafmt to 3.0.8 2021-12-11 22:46:55 +01:00
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
f38d520a1d Hooking the new pubsub impl into the application 2021-11-06 01:44:06 +01:00
d483d9f176 Initial naive pubsub impl generalising from current setup 2021-11-05 01:05:24 +01:00
118d23c3a2 Add list of env variables to documentation
Issue: #1121
2021-10-25 00:23:20 +02:00
4e5924d796 Refactor config loading and add config from environment
Issue: #1121
2021-10-24 23:02:39 +02:00
c7d587bea4 Basic management of shares 2021-10-23 14:33:24 +02:00
3c93b63c8a Add option to decrypt PDFs during conversion
Refs: #1074
2021-09-29 23:04:26 +02:00
071f4067bf Use existing mimetype detection when storing files 2021-09-23 14:10:24 +02: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
44538b1c6e Change license to AGPLv3+ 2021-09-21 22:32:26 +02:00
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
aef56233a5 Add a new column to distinguish local from external users 2021-09-05 21:38:14 +02:00
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
309a52393a Initial impl for totp 2021-08-31 16:45:39 +02:00
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
6bb6cad39d Test db migrations for all supported databases 2021-08-23 23:41:03 +02:00
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
e4fecefaea Reformat with scalafmt 3.0.0 2021-08-19 08:50:30 +02:00
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
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
8545637a8f Adopt elm file headers to match elm-format 2021-07-25 13:59:48 +02:00
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
b32f66d156 Add sbt header plugin 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
b1c93d214d Update scala library to 2.13.6 2021-06-17 22:53:26 +02:00
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
b1740fb305 Add openapi linting to sbt's lint alias 2021-06-12 21:50:51 +02:00
1e685a9ea2 Update sbt openapi plugin and use redoc for documentation 2021-06-12 19:04:27 +02:00
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
c0402b1f92 Migrate old sbt syntax to new one 2021-05-31 14:32:37 +02:00
626a53384b Merge branch 'current-docs' 2021-05-31 13:59:44 +02:00
bd093ee97d Use sbt-github-pages plugin
This makes it easier to use within a gitub action.
2021-05-31 13:44:47 +02:00
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
9c427c3d38 Fix sbt warnings and add more aliases 2021-04-10 17:16:33 +02:00
e1bbc2edf5 Apply autoformat 2021-04-10 16:31:58 +02:00
274e433d9d Allow to change use enum for org/equipment 2021-03-10 23:55:18 +01:00
6a63694a3e Convert unit tests to munit 2021-03-10 19:48:56 +01:00
d4006461f6 Serving scalajs artifacts and provide errors to js 2021-03-03 00:45:10 +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
af73b59ec2 Parser improvements
- default expressions into a and node
- fix parsing string lists that end in whitespace
- fix package names of internal classes
2021-03-01 00:51:01 +01:00
c3cdec416c Sketching some basic tests 2021-03-01 00:50:52 +01:00
be5c7ffb88 First draft of ast and parser 2021-03-01 00:46:57 +01:00
74a79a79d9 Initial project setup 2021-03-01 00:46:57 +01:00
e6d9ce2c37 Remove obsolete type capabilities
These are now detected by the new scala compiler and lead to compile
errors.
2021-03-01 00:16:30 +01:00