Harvey Tindall
1707c8c1f9
quote values in X-Emby-Authorization, change routes in jfapi
...
Quoted values in X-Emby-Authorization, as observed from the web client.
removed unnecessary /emby prefix for some routes in jfapi.go
4 years ago
Harvey Tindall
e0c4d7c545
add "test" mode for debugging
...
running with "test" in the arguments will print jellyfin server info,
and try to getUsers.
4 years ago
Harvey Tindall
d7fcfe9416
mention unstable docker branch
4 years ago
Harvey Tindall
258656fbf9
version based on current tag for makefile
...
if there isnt a tag, version is 'git'. this fixes versioning for aur package and docker.
4 years ago
Harvey Tindall
500ecac95d
add issue template
4 years ago
Harvey Tindall
4ca14675e6
change docker command to be less ambiguous
4 years ago
Harvey Tindall
b8dfb5d6a3
decouple email content from sender to ensure thread safety
...
If two emails fired off at once, they would previously replace each
other's content and possibly send the wrong email to the wrong person.
construct* methods now return the email content, which is sent
separately.
4 years ago
Harvey Tindall
51839b5942
Restructure email sending
...
smtp and mailgun now implement an emailClient interface, which the
Emailer can use.
4 years ago
Harvey Tindall
831296a3e8
remove windows related messages
...
self restarts now work, so no need.
4 years ago
Harvey Tindall
bbb0568cc4
basic daemon functionality, self-restarts without syscall.exec
...
running 'jfa-go start' will run it as a daemon in the background, and
'jfa-go stop' will tell it to quit via a unix socket. Self-restarts are
now implented by simply exiting the main function (now called start) and
running it again.
4 years ago
Harvey Tindall
f5f2a0f190
Add notice about no self-restarts on windows
4 years ago
Harvey Tindall
d31254b18e
fix goreleaser to include data subdirectories
4 years ago
Harvey Tindall
67c36dd301
mention ombi in readme
4 years ago
Harvey Tindall
18458c2b0d
fix versioning mistake
4 years ago
Harvey Tindall
862e85669e
polish settings menu
4 years ago
Harvey Tindall
ba67fa7536
Initial Ombi integration
...
When enabled, an account for the user is created on both Jellyfin and
Ombi. Account defaults can be stored similarly to jf.
4 years ago
Harvey Tindall
9850545f1b
add version to default config file
4 years ago
Harvey Tindall
3dd2dbff15
Link to jfa-go-git AUR package
4 years ago
Harvey Tindall
e56a1388b5
add example systemd service
4 years ago
Harvey Tindall
46c95d7664
compress executable in dockerfile
4 years ago
Harvey Tindall
17994352b1
Disable cgo and add compress step to makefile
4 years ago
Harvey Tindall
93180302ae
fix banner link
4 years ago
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