feat: manage caldav tokens #1186

Closed
konrad wants to merge 20 commits from feature/caldav-tokens into main

20 Commits

Author SHA1 Message Date
Dominik Pschenitschni ce479b4076
chore: use BaseButton
continuous-integration/drone/pr Build is passing Details
2022-02-06 17:52:07 +01:00
kolaente 0c4253be3a
chore: use .then instead of await 2022-02-06 17:52:07 +01:00
kolaente f2005a9826
chore: directly use newToken.value 2022-02-06 17:52:07 +01:00
kolaente 2c2631faac
chore: rename to useTokens 2022-02-06 17:52:07 +01:00
kolaente fc6fbff6e3
chore: use h5 2022-02-06 17:52:07 +01:00
kolaente 1a8184a01b
chore: return new model instead of modifying the existing 2022-02-06 17:52:06 +01:00
kolaente d71a219012
chore: fix CalDAV casing 2022-02-06 17:52:06 +01:00
kolaente 95598a28ae
chore: move success message after state changes 2022-02-06 17:52:06 +01:00
kolaente c97fff86da
chore: use function statements everywhere 2022-02-06 17:52:06 +01:00
kolaente 6e881fa3bc
chore: check for no results 2022-02-06 17:52:06 +01:00
kolaente 2e178c969c
fix: type 2022-02-06 17:52:06 +01:00
kolaente cb121e8bf5
fix: lint 2022-02-06 17:52:05 +01:00
kolaente 524da627d5
chore: extract getting all tokens into a composable 2022-02-06 17:52:05 +01:00
kolaente 354775fbb4
chore: make server functions async 2022-02-06 17:52:05 +01:00
kolaente 5559db7794
chore: use findIndex to remove caldav token 2022-02-06 17:52:05 +01:00
kolaente 6866fda275
chore: use ts for caldav component 2022-02-06 17:52:05 +01:00
kolaente 8656d14a6d
chore: clarify token is required for non-local users 2022-02-06 17:52:04 +01:00
kolaente 0d3e0d68d0
chore: put action buttons right 2022-02-06 17:52:04 +01:00
kolaente 8c01a384c4
feat: manage tokens 2022-02-06 17:52:04 +01:00
kolaente 2bf7e2a130
chore: move to script setup 2022-02-06 17:52:04 +01:00