Harvey Tindall
8e8debd8a4
add about page to web ui
4 years ago
Harvey Tindall
1b0ca34586
include version and commit hash at compile time
...
when using makefile, version is set to "git". Currently printed on
start, but an about page in the web UI will be added.
4 years ago
Harvey Tindall
6e3d5dac19
use newJellyfin instead of constructor method
4 years ago
Harvey Tindall
072776c15f
add public_server input to setup
4 years ago
Harvey Tindall
1c980cf7cd
Use bs5-jf on setup, fix bugs
...
No longer quits if the program times out connecting to the given
jellyfin host.
4 years ago
Harvey Tindall
c6f845296a
fix alignment on setup page, change invite generator column widths
4 years ago
Harvey Tindall
a5a721b07c
Fix broken theme button after changing bootstrap version
...
Also fix the theme cookie if it's for the wrong version.
4 years ago
Harvey Tindall
086fd0ef2f
fix display of blank emails and naming of fields
...
the input areas in the user email menu were incorrectly identified by
the email address, which caused duplicate ids on blank fields, and
probably stopped any changes from being applied.
4 years ago
Harvey Tindall
d12335bb4a
cleaned up auth
4 years ago
Harvey Tindall
0e39b2b699
remove debug fmt.Printlns
4 years ago
Harvey Tindall
ee3b421566
Fixed flaw with jellyfin_login; store refresh token in cookies
...
with jellyfin_login enabled, the username and password vals in the User
struct would be "". If you disabled 'required' on the login form, blank
username and password would allow you in.
4 years ago
Harvey Tindall
d144077e62
Add refresh tokens for persistent login, logout button
...
the main JWT is stored temporarily, whereas the refresh token is stored
as a cookie and can only be used to obtain a new main token. Logout
button adds token to blocklist internally and deletes JWT and refresh
token from browser storage.
4 years ago
Harvey Tindall
29a79a1ce1
Moved PKGBUILD to AUR, mention in readme
4 years ago
Harvey Tindall
681d2ce38d
link to usr/bin, add license
4 years ago
Harvey Tindall
cee5489da6
typo
4 years ago
Harvey Tindall
b38af84b35
bump PKGBUILD to 0.1.4
4 years ago
Harvey Tindall
8fc9ed1c3c
Improve mobile experience
...
the generate invite box now wraps into 1 column automatically.
the invite code is ellipsized on small displays.
the dropdown button has a large tappable area, and is aligned correctly.
4 years ago
Harvey Tindall
6781316474
provide error message on login and display it nicely
...
server now provides a reason for login fail to the web ui, and displays
it inside the login button, which looks a lot nicer than the previously
used error box.
4 years ago
Harvey Tindall
daf190f68b
Avoid panic on invalid password with jellyfin_login
...
jfId was assigned too early, before checking errors.
Also, handle 400 as well as 401 from jellyfin as an invalid password.
4 years ago
Harvey Tindall
56478e96c9
create new css link to smoothly transition between themes
...
Previously, directly editing the <link> tag with the new file would
cause the page to have no stylesheet for a moment while the new file is
downloaded. A new element is now appended below the original instead,
which smoothens out the transition.
4 years ago
Harvey Tindall
ec7609ed8c
Add debug flag; warning label for debug mode
4 years ago
Harvey Tindall
6366239ec4
mention placing inside /opt
4 years ago
Harvey Tindall
e893c9a234
Mention PKGBUILD
4 years ago
Harvey Tindall
7879fd2581
Working PKGBUILD
...
Its a little rough but seems to work.
4 years ago
Harvey Tindall
c778837593
Added install step to makefile; start PKGBUILD
...
Also added MIT License
4 years ago
Harvey Tindall
af47cd9f0b
Improve README
4 years ago
Harvey Tindall
151062fbc1
set gin mode before router initialization
...
this was previously set after the router was created, causing a debug
message every start.
4 years ago
Harvey Tindall
abc51f2443
Shrunk dockerfile
...
Dockerfile now has separate build stage, and uses debian. Image now
sits at ~300MB.
4 years ago
Harvey Tindall
8c4bd4541c
Added non interactive makefile option; fixed flags again
...
fixed another problem with the -data option, and added 'make headless'
for use in the dockerfile
4 years ago
Harvey Tindall
8750efe101
added user caching with 30m timeout
4 years ago
Harvey Tindall
252e13757b
Disable i386 builds
...
disabling this because building for darwin/386 is no longer available
and goreleaser hasn't picked up on this yet, i believe.
4 years ago
Harvey Tindall
02183c7fcc
added -y option to prebuild scripts using node_bin
...
similar to apt, -y assumes yes to all questions, specifically if
node_bin is correct here. This is necessary for goreleaser, as it is not
interactive.
4 years ago
Harvey Tindall
dd0eabf157
Upgrade packages
4 years ago
Harvey Tindall
6436dba48f
fixed custom config and data paths
...
any specified custom data path was only being used for the config file.
All combinations of options should work together now.
4 years ago
Harvey Tindall
bd8af153a9
disable generate button if duration is zero
4 years ago
Harvey Tindall
fd766e7b1a
use app identifier instead of ctx
...
changing this because ctx is commonly used with the context package.
4 years ago
Harvey Tindall
fffb3471d6
Merge branch 'main' of github.com:hrfee/jfa-go into main
4 years ago
Harvey Tindall
19bd31d968
attempt at using a config struct instead of the ini library
...
Added script to convert config-base.json into a go struct, so that
access to config values and metadata could be unified and simpler. It
probably won't see any actual use though as mapping the ini into it is
painful.
4 years ago
Harvey Tindall
39bf3ad7f1
Safe shutdown
4 years ago
Harvey Tindall
ea5c2b3886
Delete nohup.out
4 years ago
Harvey Tindall
8a8fe65192
Add windows build support from jf-accounts
4 years ago
Harvey Tindall
5329f02768
add docker to readme
4 years ago
Harvey Tindall
7b23545197
Added alpine and debian dockerfiles
4 years ago
Harvey Tindall
54af15cc5a
Added makefile
...
Alternative to goreleaser.
4 years ago
Harvey Tindall
8ed1662a2f
add pprof middleware
4 years ago
Harvey Tindall
23dbcf33ae
reinitialize validator on settings change
4 years ago
Harvey Tindall
25348a9b1a
ignore binary
4 years ago
Harvey Tindall
3970cbef3f
remove smtp notice
4 years ago
Harvey Tindall
a38d56f362
add smtp email
4 years ago
Harvey Tindall
f0be006e16
use goroutines for (most) emails
...
invite emails have been left alone so that email success message is
shown on web ui
4 years ago