1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-09-19 19:00:11 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
c47eadc483
respect notificationsEnabled 2021-01-01 23:42:15 +00:00
88f4de9c46
implement accounts tab functionality
also:
* added a homemade loading animation to buttons
* respect disabled invite emails and email address as username
2021-01-01 23:31:32 +00:00
2d443fb50b
fully functional invites tab, flesh out bugs
also:
* fix select chevrons appearing above modals
* add custom errors and use them for http errors, also now appear above
  modals.
* functional logout button
* slightly cleaned up admin.ts
2020-12-30 23:48:01 +00:00
28187d0aa0
add connection error notification, implement notify/delete function 2020-12-30 18:31:38 +00:00
1b41621569
implement invites as a class, use tooltip for email send status
the DOMInvite class represents an invite on the dom, and modifying its
attributes applies the changes on the web page. Email send status
message is now on the right of the invite and represented by an icon.
Hovering reveals the "Sent to"/"Failed to send to" message.
2020-12-30 15:32:44 +00:00
95db48d8f8
start main app integration, restructure build process
the backend code has been added back in, and the build process has been
modified so that no output files are left outside of build/. Admin page
loads and logs in correctly, nothing else functionality-wise yet.
2020-12-29 18:42:26 +00:00
0e2c005e05
more organisation, add tooltips 2020-12-28 19:56:11 +00:00
b0ff1ddfd2
add form, restructure ts 2020-12-28 18:15:52 +00:00
6efb7c4ecb
first 2020-12-12 22:15:43 +00:00
a1e30ff5db
fix/improve parsing of last active dates
parseDT only uses the magic json.Unmarshal method if theres an error
with the better version. Error came from some times being sent without a
"Z" at the end denoting UTC.
2020-12-03 20:49:50 +00:00
9dbf60e3df
add URL base option for subfolder proxies
also cleaned up the naming of some things.
2020-11-22 16:36:43 +00:00
f3c3b3ce76
use badges to denote admin users in accounts tab 2020-11-15 17:13:35 +00:00
b6f3cd7c1f
dont re-b64 the jwt
pointless, and messed up swagger auth.
2020-11-12 21:25:52 +00:00
d64e98da37
use Bearer auth instead of Basic
this was a relic from the python version, i'd modeled the auth code off
some random blog post back then.
2020-11-12 21:05:46 +00:00
301f502052
Rework typescript to use modules
web UI now uses modules, and relies less on bodge to make things work.
Also fixes an issue where invites where "failed to send to xx" appeared
in invite form.
2020-10-22 17:50:40 +01:00