Harvey Tindall
ea0293bd4e
Split some settings into new "messages" section
...
Most email dependant sections now depend on this. Also renamed more
email things.
4 years ago
Harvey Tindall
716d6a931a
Telegram: Send messages via telegram
...
Most messages are now sent as plaintext via telegram when suitable.
4 years ago
Harvey Tindall
99875b9176
almost complete telegram user verification
...
When signing up, the user is given a pin code which they send to a
telegram bot. This provides user verification, but more importantly
allows the bot to message the user, as the Telegram API requires the
user to interact with the bot before it can do the opposite.
The bot should recognize the correct language, but a /lang command is
also provided to change it.
The verification process is pretty much functional but ui is still
broken, and it isn't properly integrated yet.
4 years ago
Harvey Tindall
c0f316d049
add preview to Announcements
4 years ago
Harvey Tindall
af61549bf1
ombi: reset password when using pwr links
...
When password reset links are enabled, the ombi password will be reset
to the PIN along with Jellyfin.
4 years ago
Harvey Tindall
d701c5f27d
add months field to invites & expiry
4 years ago
Harvey Tindall
a8f71c83da
store language preference as cookie
4 years ago
Harvey Tindall
871bc9f396
use proper date formatting on form for expiry
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
bd05a4b35a
include LICENSE in build, display in about tab
...
Also fixes last commit, user cache wasn't refreshed in ApplySettings, is
now.
4 years ago
Harvey Tindall
1e9d184508
implement user expiry functionality
...
All works now, but i'll add a field on the accounts tab for users with
an expiry, as well as a 'disabled' badge.
4 years ago
Harvey Tindall
2934832a98
implement frontend for user expiry/duration
...
this will add an optional validity period to users, where their account
will be disabled (or deleted) a specified amount of time after they
created it.
4 years ago
Harvey Tindall
b3fa667db1
version with ldflags instead of script
4 years ago
Harvey Tindall
ea99966057
refactor, move route loading to router.go
4 years ago
Harvey Tindall
1af8d1f77d
fix url in account creation success page
4 years ago
Harvey Tindall
4c653fea36
fix url base on invite and broken getLanguages
4 years ago
Harvey Tindall
f72def0399
serve on / and URL base for easy proxying
4 years ago
Harvey Tindall
1a6727312c
dont override header on email confirmation fail
4 years ago
Harvey Tindall
6691ae27f4
fix navigation with URL base set
4 years ago
Harvey Tindall
b037b08152
respect URL Base in http preloads and inline html links
4 years ago
Harvey Tindall
ee026714d4
Add optional email confirmation
...
If enabled, a confirmation email will be sent before the user can create
their account.
4 years ago
Harvey Tindall
8af1c13d7e
Display error messages on form
...
two new strings need translating in lang/form.
4 years ago
Harvey Tindall
f7d8feac5d
bundle css with esbuild
4 years ago
Harvey Tindall
e834445b0b
Restructure language loading to support incomplete translations
...
On startup, files are scanned and any missing values are replaced with
the english version.
4 years ago
Harvey Tindall
1aadd12006
move validationStrings out of strings in lang/form
4 years ago
Harvey Tindall
ffc62574ec
Fix server push and use Link header to load CSS
...
Nginx with http2_push_preload on will convert the Link header to server
pushes, so we use it to load css.
4 years ago
Harvey Tindall
965c449f1c
attempt to use http2 server push
4 years ago
Harvey Tindall
a3351f4da8
separate options for form and admin language
4 years ago
Harvey Tindall
422f13202b
Use lang file in typescript
4 years ago
Harvey Tindall
c470e40737
Start adding translation support for admin
4 years ago
Harvey Tindall
a102199d5a
include code in invite form instead of getting from url
...
potentially solves #34 ?
4 years ago
Harvey Tindall
3fbbc7f620
add language selector to form
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
c79f86137e
separate head into template, add description meta tag
4 years ago
Harvey Tindall
9dbf60e3df
add URL base option for subfolder proxies
...
also cleaned up the naming of some things.
4 years ago
Harvey Tindall
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.
4 years ago
Harvey Tindall
d64d5c194f
initial steps for localisation
4 years ago
Harvey Tindall
301f502052
Rework typescript to use modules
...
web UI now uses modules, and relies less on bodge to make things work.
Also fixes an issue where invites where "failed to send to xx" appeared
in invite form.
4 years ago
Harvey Tindall
ce844e0574
add ts-debug option to makefile for including typescript and sourcemaps
4 years ago
Harvey Tindall
d4b94bc9d9
add user button
...
added create user button for the admin to use.
4 years ago
Harvey Tindall
831296a3e8
remove windows related messages
...
self restarts now work, so no need.
4 years ago
Harvey Tindall
f5f2a0f190
Add notice about no self-restarts on windows
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
8e8debd8a4
add about page to web ui
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
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