CLI flags, start setting up goreleaser, add build scripts

Copied and fixed the build scripts from jf-accounts, added them to the
.goreleaser.yml. Also:
data directory now stored in user's config folder
Handle timeouts in jfapi
Maybe more i forgot about.
This commit is contained in:
Harvey Tindall
2020-08-01 21:20:02 +01:00
parent c4d4b395d5
commit 62621dabb9
31 changed files with 3241 additions and 592 deletions
-7
View File
@@ -1,7 +0,0 @@
A user was created using code {{ .code }}.
Name: {{ .username }}
Address: {{ .address }}
Time: {{ .time }}
Note: Notification emails can be toggled on the admin dashboard.
-10
View File
@@ -1,10 +0,0 @@
Hi {{ .username }},
Someone has recently requests a password reset on Jellyfin.
If this was you, enter the below pin into the prompt.
This code will expire on {{ .expiry_date }}, at {{ .expiry_time }} UTC, which is in {{ .expires_in }}.
If this wasn't you, please ignore this email.
PIN: {{ .pin }}
{{ .message }}
-5
View File
@@ -1,5 +0,0 @@
Invite expired.
Code {{ .code }} expired at {{ .expiry }}.
Note: Notification emails can be toggled on the admin dashboard.
-8
View File
@@ -1,8 +0,0 @@
Hi,
You've been invited to Jellyfin.
To join, follow the below link.
This invite will expire on {{ .expiry_date }}, at {{ .expiry_time }}, which is in {{ .expires_in }}, so act quick.
{{ .invite_link }}
{{ .message }}