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
Harvey Tindall
699489e435
fixed static route for invites
4 years ago
Harvey Tindall
e576616530
convert text to path to fix rendering on mobile
4 years ago
Harvey Tindall
05c7b7156b
Add notice about smtp
4 years ago
Harvey Tindall
c72e1a1c63
Images, fixed "data" path
4 years ago
Harvey Tindall
94b8495f02
Fixed goreleaser config
4 years ago
Harvey Tindall
f508b65fa0
Added setup, self restarts
4 years ago
Harvey Tindall
62621dabb9
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.
4 years ago
Harvey Tindall
c4d4b395d5
Password resets
4 years ago
Harvey Tindall
4e16f6fd48
make checkInvite check only one invite, invite daemon
...
checkInvite no longer loops over all invites and checks for expiry, that
functionality has moved to checkInvites. Couple more rogue print
statements removed aswell.
4 years ago
Harvey Tindall
dba20bd3ea
Add auth & gin logging, fixed dummy logger
4 years ago
Harvey Tindall
99a643ce9c
Finished logging api
4 years ago
Harvey Tindall
326b274329
Settings functional, start adding logging
...
Modifying settings also formats it nicely, as a bonus.
Also we using shortuuid instead of normal uuidv4 now because its the same
length as what I used in the python version.
4 years ago
Harvey Tindall
024c0b56aa
Display settings with hacky solution to retain order
...
Python utility included to convert config-base.json into a new version
which includes lists that define the order settings should be displayed.
admin.js edited to recognize this.
4 years ago
Harvey Tindall
ef4f2503c9
DeleteInvite, user defaults, and email list modification
4 years ago
Harvey Tindall
e5ebcef684
Partial check for invite page, 404 handling
...
The invite route no longer calls checkInvite, instead just chekcing the
invite exists. This speeds up page loading. the 404 and invalidCode
pages are now loaded when necessary.
4 years ago
Harvey Tindall
961b9afa75
Functioning user creation, notifications,
...
Fixed password validation for new users, add invite route, couple other
fixes.
4 years ago
Harvey Tindall
d8fb6e5613
first
4 years ago