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

202 Commits

Author SHA1 Message Date
219f4417cd
remove bootstrap traces from invalid code/404 html 2021-01-04 22:50:48 +00:00
2d7c9b1f7e
add gif, update README to be representative of main version
preparing for merge.
2021-01-04 22:37:07 +00:00
b58dfda72f
fix bug where validator was wrongly initialized on settings change 2021-01-04 21:57:23 +00:00
1e6bbc7bbc
add url handling for /accounts and /settings
when switching tabs, the url path changes. Accessing these urls directly
will load the corresponding tab.
2021-01-04 21:43:31 +00:00
0a426519f8
implement account creation 2021-01-04 20:51:16 +00:00
563888c5e7
add user profiles menu
also fixed a bug where invites wouldn't load after deleting a profile.
2021-01-04 01:02:47 +00:00
29fafba035
remove custom css and bootstrap related options
i may reimplement custom css later as an additive version where their
file is loaded on top of a17t.css later, but for now its not a priority.
2021-01-03 21:13:37 +00:00
75d12b4a5c
fully implements settings load/save, add ombi user defaults
all that remains is the User profiles menu.
2021-01-03 20:58:44 +00:00
a3f5396211
parse and render settings menus 2021-01-02 21:39:36 +00:00
d629cae71e
change config-base format to allow easier parsing
*note*: only GetConfig has been changed for now.
the config now has "order" and "sections", and each section now has
"meta", "order" and "settings". This allows for the use of a struct for
loading in Go and less janky web code. Also now appears in swagger.
2021-01-02 21:24:26 +00:00
8b2f6fbb8a
improve mobile experience
* table now scrolls instead of shrinking on small displays
* invite header and detail cards wrap
* dropdown icon clickable area larger
2021-01-02 00:56:45 +00:00
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
9ae90e0a0f
fix weird bevel look of inputs/selects, thicken borders, use badges for settings
required/restarts
2020-12-27 16:56:55 +00:00
9ea72fbc32
cleanup css 2020-12-26 15:51:07 +00:00
90c7745a77
change main theme, add dark theme 2020-12-24 21:22:28 +00:00
d59d5faa03
add remaining modals 2020-12-23 01:34:22 +00:00
e50a7948e7
organise code, use typescript, add more modals 2020-12-20 22:49:54 +00:00
cb280975b7
implement modals, move css to separate file 2020-12-16 18:25:16 +00:00
d75a2de414
fix checklist 2020-12-14 21:42:19 +00:00
7ab2f3e59a
add settings; images 2020-12-14 21:40:25 +00:00
5d5ba7a12c
start accounts tab 2020-12-13 22:00:44 +00:00
6efb7c4ecb
first 2020-12-12 22:15:43 +00:00
c79f86137e
separate head into template, add description meta tag 2020-12-07 22:46:17 +00:00
8ef27f7fda
upgrade bootstrap and popper js
bootstrap css was on alpha 3 while js was on alpha 1 previously.
2020-12-05 22:36:03 +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
3c952d21f7
fix 10.7.0 compatibility, simplify scss
Hyphens are added to user IDs from 10.7.0, so if the server is running
it, emails.json will be modified to include them. The existing file is
backed up. Also, scss files have been simplified since bs4-jf and bs5-jf share
much of the same content.
2020-11-29 18:01:10 +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
e35d0579c8
package upgrades 2020-11-15 17:20:19 +00:00
ea80d2cb78
upgrade to bs5-alpha3
still works fine, so no code changes needed.
2020-11-15 17:16:57 +00:00
f3c3b3ce76
use badges to denote admin users in accounts tab 2020-11-15 17:13:35 +00:00
fa96f21429
Fix smtp sending
there were a bunch of problems, namely using the jfa-go host address
instead of that of the smtp server in smtp.PlainAuth. For #15.
2020-11-14 15:33:25 +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
ba601935b5
add "re-enter password" field on form
for #14.
2020-11-04 20:46:06 +00:00
34135d645d
credit for french translation 2020-11-04 10:56:35 +00:00
47abf20e1d
store emails even if password resets are disabled
there are other reasons to store email addresses now, so this is no
longer a just requirement.
2020-11-03 21:20:38 +00:00
493f10fa36
add french, fix language selector in settings
note: custom language files can now be added in data/lang/form and will be
listed in settings.
2020-11-03 21:11:43 +00:00
8e45ecb214
add cache_timeout option
controls how old the Jellyfin user cache can be before refetching. defaults to 30 minutes.
2020-11-02 23:26:46 +00:00
d4a92adc65
add rough error logging for read/write errors 2020-11-02 23:20:06 +00:00
c84ea17af4
refactor; separate jfapi and ombi into modules 2020-11-02 00:53:08 +00:00
0f4e77364b
remove hardcoded string from form.ts 2020-10-30 23:14:29 +00:00
d64d5c194f
initial steps for localisation 2020-10-30 22:51:47 +00:00
95c9f4f42d
Apply email addres changes to ombi
for #11.
2020-10-30 21:13:13 +00:00