Harvey Tindall
53c9569a37
build: add notray windows build
...
better for daemonization with stuff like nssm.
1 year ago
Harvey Tindall
f72960635d
build: include debug symbols & sourcemaps in unstable builds
...
should help with debugging.
1 year ago
Harvey Tindall
b7b3aa1eb7
build: fix goreleaser, include optional builder name
...
builder name shows up in about section again, as does the build time.
1 year ago
Harvey Tindall
f083d6b53f
updater: include build date, check against updates
...
build time is included in the binary, so the buildrone release date is
compared to it when deciding if something is an update or not.
1 year ago
Harvey Tindall
fec9776def
build: fix up goreleaser
...
removed deprecated options, fixed to work with new user page.
1 year ago
Harvey Tindall
fcedea110d
telegram: modularize, add to userpage
1 year ago
Harvey Tindall
4c3e310634
use go install for swag in goreleaser
3 years ago
Harvey Tindall
e66241ddcb
fix crash page css when using goreleaser
3 years ago
Harvey Tindall
b929e16f2c
build: apply cssVersion for all ldflags
3 years ago
Harvey Tindall
77c05a4d4f
prefix css with version to avoid cache conflict
3 years ago
Harvey Tindall
9874dce520
merge tailwind and upgraded a17t
...
a17t v0.10 became a tailwind plugin rather than standalone css, and made
some other changes. Much of the original custom CSS now uses tailwind
classes, and there have been some other UI changes.
3 years ago
Harvey Tindall
07de4e5015
build: include systemd service
3 years ago
Harvey Tindall
a41b382dba
merge translation
3 years ago
Harvey Tindall
0ea5c7fdc0
remove inline-css-cli build dep
...
unnecessary (inline-source-cli already includes its functionality) and a
dependency of it had a high-severity CVE (wouldn't have affected anyone,
but w/e).
3 years ago
Harvey Tindall
b538922c05
Show log on log.Fatal calls, provide "sanitized" version, fix goreleaser
...
Sanitization means change anything in double quotes to "CENSORED". A
notice is included telling the user to check for themselves as well.
3 years ago
Harvey Tindall
d7ab01063a
apt: Use commit count to fix version comparisons
...
previous fix only worked because the numerical portion of the commit
hash happened to be greater. This should do properly fix it.
3 years ago
Harvey Tindall
93c7a6e31b
apt: Change versioning to hopefully fix updates
...
0.0.0-{commit} didn't register as updates to the previously installed
versions, but it looks like 0{commit} works.
3 years ago
Harvey Tindall
e03525a1d1
separate codenames for stable & unstable
...
templates don't work in name_template as i though, so this should work
instead.
4 years ago
Harvey Tindall
087172c79e
fix package naming to avoid conflicts
4 years ago
Harvey Tindall
8fd919bf04
remove chglog, add steps to upload to apt.hrfee.dev
...
chglog isn't actually needed. Packages are uploaded as jfa-go(-git) and
jfa-go-tray(-git).
4 years ago
Harvey Tindall
85536ff79e
expand CONTRIBUTING, print if tray enabled on startup
4 years ago
Harvey Tindall
81a58f628b
Add -H=windowsgui in goreleaser
4 years ago
Harvey Tindall
76bbb3f147
consistent naming for tray builds
4 years ago
Harvey Tindall
1d47b9074f
change notray/tray naming, add deb/rpm/apk
...
Since Tray support requires dependencies, it won't be the default for
releases. deb/rpm/apk support may be broken still.
4 years ago
Harvey Tindall
a62648ee68
fix cross compilation in goreleaser/drone
...
Necessary for go-autostart to work on windows. Tray will be enabled by
default for x86_64 windows/linux binaries.
4 years ago
Harvey Tindall
e16f05b130
use build constraints for embed, clean up makefile
...
internal-files/external-files and compile-debug are gone, the
environment variables INTERNAL=on/off and DEBUG=on/off replace them.
4 years ago
Harvey Tindall
9370913ace
add password reset link option
...
When enabled (in Settings > Password Resets), a magic link will be sent
instead of a PIN when the user tries reset their password. By doing
this the user doesn't have to keep the Jellyfin tab open to enter the
code.
4 years ago
Harvey Tindall
21490faa9e
fix IsNew() func, include LICENSE in goreleaser
4 years ago
Harvey Tindall
eb8f2777ae
fix naming conflict with goreleaser, add buildrone key to other steps
4 years ago
Harvey Tindall
92332206f0
add basic update functionality
...
If enabled, jfa-go pings buildrone (hosted at builds.hrfee.pw) every 30
min for new updates. If there is one, it gets information (and if
applicable, a binary) from the appropriate source (buildrone, github, or
dockerhub) and displays it on the admin page. You can switch update
channels between stable and unstable. For binary releases, updates are
downloaded automatically and installed when the user presses update.
Since this obviously introduces some "phone-home" functionality into
jfa-go, I just want to say IPs are not and will not be logged by
buildrone, although I may later introduce functionality to give a rough
idea of the number of users (again, no IPs stored). The whole thing can
also be turned off in settings.
4 years ago
Harvey Tindall
b3fa667db1
version with ldflags instead of script
4 years ago
Harvey Tindall
eb81515f46
fix ordering of steps in dockerfile
4 years ago
Harvey Tindall
403ad58274
move all scripts to scripts/
4 years ago
Harvey Tindall
98a9e20cc0
Fix docker build, add GOBINARY flag for make
...
GOBINARY defaults to "go", but if you want to build on a normal system,
you'll likely set it to go1.16rc1 with "make all GOBINARY=go1.16rc1".
4 years ago
Harvey Tindall
cb12c6f441
update goreleaser
4 years ago
Harvey Tindall
c2e68bdc77
add GOESBUILD option for platform without esbuild on npm
4 years ago
Harvey Tindall
23ae18d732
compile setup.ts in Makefile/Goreleaser
...
surprised there hasn't been issues for this, the setup page would've
been broken for a while.
4 years ago
Harvey Tindall
406fef6595
bundle typescript
4 years ago
Harvey Tindall
f7d8feac5d
bundle css with esbuild
4 years ago
Harvey Tindall
eb370d64df
Merge a17t-redesign, kinda ts-ify setup.js
...
the web ui has been redesigned with the a17t toolkit, which imo looks a
lot better than bootstrap. This also brought a complete rework of the
web code, which now makes a lot more sense hopefully. the setup page is
still stuck with bootstrap, its not much of a priority but i'll rewrite
it eventually.
4 years ago
Harvey Tindall
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 .
4 years ago
Harvey Tindall
29775e2e75
make goreleaser include modules subdir
4 years ago
Harvey Tindall
9d62b70daa
Fix esbuild and snapshot versioning in goreleaser
...
snapshots are now "jfa-go_git-<commit>..." instead of
"jfa-go_v0.0.0...".
4 years ago
Harvey Tindall
8e6cf799cd
use npx to avoid looking for node_modules, get rid of useless
...
get_node_deps
makefile works without interaction by default now.
4 years ago
Harvey Tindall
0e415020f7
get swag in goreleaser.yml
4 years ago
Harvey Tindall
a834aa30cf
dont use esbuild.sh in goreleaser
4 years ago
Harvey Tindall
2a2435ae11
remove version, device, device_id options, set them automatically
...
not sure why i exposed these to the user in the first place. they are
set to <jfa-go version>, <jfa-go>, <jfa-go-<version>-<commit>>
respectively.
4 years ago
Harvey Tindall
04a4a4ca95
use esbuild to compile and minify ts
...
tsc is still used for ts-debug.
4 years ago
Harvey Tindall
9fec714da7
fix goreleaser builds
...
wrapped tsc in a a shell script to ignore duplicate function errors.
4 years ago
Harvey Tindall
d31254b18e
fix goreleaser to include data subdirectories
4 years ago