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.
This commit is contained in:
eikek
2021-11-22 00:22:51 +01:00
parent 93a828720c
commit 4ffc8d1f14
175 changed files with 13041 additions and 599 deletions

View File

@ -49,9 +49,9 @@ object Totp {
time.plus(generator.getTimeStep)
)
def checkPassword(key: Key, given: OnetimePassword, time: Instant): Boolean = {
def checkPassword(key: Key, givenPass: OnetimePassword, time: Instant): Boolean = {
val pass = generate(key, time)
pass == given
pass == givenPass
}
}