8e153cd92f
userpage: unlink accounts
2023-06-20 16:44:12 +01:00
d509abdd5c
userpage: add matrix
2023-06-20 13:28:13 +01:00
96c51af15a
matrix: modularize
2023-06-20 12:57:52 +01:00
68004e1d34
storage: user set/get methods for contact method access
...
Get/GetKey/SetKey/DeleteKey methods are used for access to
email/discord/telegram/matrix, everywhere. Mutex added for each, avoids
concurrent read/write issues. Will also make potential transition to
database easier.
2023-06-20 12:19:24 +01:00
fcedea110d
telegram: modularize, add to userpage
2023-06-19 22:11:35 +01:00
68aedf07ae
discord: pad, underline invite link
2023-06-19 18:03:35 +01:00
094f7cea94
discord: use placeholder if guild icon not available
...
also centers the invite on the form/user discord modal.
2023-06-19 17:48:24 +01:00
765a749959
discord: modularize user-facing code
...
will be done for others too, code for discord account linking in form
and userpage is now in ts/modules/account-linking.ts as a configurable
class.
2023-06-19 11:58:09 +01:00
cf7983ca11
userpage: add/edit discord
...
works identically to on the form, would like to eventually factor out
the discord/telegram/matrix verif stuff so it can be shared between the
two pages though.
2023-06-18 21:38:12 +01:00
609039baeb
userpage: change email (+ confirmation)
...
edit/add button added for email address. Confirmation works too.
2023-06-18 19:38:09 +01:00
03f1a3dbc0
userpage: expand contact card to fill height
2023-06-18 13:04:22 +01:00
75dc9d4d1d
userpage: store refresh token separately
...
stored as "user-refresh" fixes weird issues when two accounts are logged
in.
2023-06-18 12:30:23 +01:00
5beeeb958b
userpage: show expiry
2023-06-18 12:27:18 +01:00
a22f032924
userpage: show and allow modification of contact methods
2023-06-17 17:27:44 +01:00
3e034c85d6
auth: provide error message if account is disabled
2023-06-17 13:57:48 +01:00
d3c5feaf1b
userpage: use form langfile, move login strings to common
...
login-related stuff was moved into common using the langmover script, so
that the user page doesn't have to use the admin language files.
2023-06-17 12:48:28 +01:00
96c62f556b
langmover: rewrite whole directory when using --extract
...
--extract now takes a path argument, a new copy of the source folder is
made there. Rebuilding the whole folder gets rid of annoying things like
mis-capitalized files.
2023-06-17 12:45:00 +01:00
ebdad3f7c7
scripts: fix langmover for non-ascii chars
2023-06-16 20:59:06 +01:00
2fc2f1ddb3
lang: add patchable notifications to common
2023-06-16 18:29:49 +01:00
a1af6e3892
scripts: add langmover
...
a tool to move strings between language file sections. Will be used to
move login strings from admin into their own "login" file section.
2023-06-16 17:27:09 +01:00
726acb9c29
userpage: initial page
...
login, lang, and theme work. Currently only makes a request to a
hello-world type endpoint to verify auth works. Accessible at
/my/account.
2023-06-16 14:43:37 +01:00
54fde33a20
admin: a little more refactoring
...
all theme functionality is now in theme.ts, and the tab stuff has been
changed a little but kept in admin as it won't be in use anywhere else
for the time being.
2023-06-16 13:43:34 +01:00
b8cc75c6b4
login: modularize frontend code
...
all in ts/modules/login.ts
2023-06-15 23:52:16 +01:00
b13fe7f3e4
html: move login modal to own file
2023-06-15 22:00:08 +01:00
81372d6a6b
auth: fix "ok" issue
...
the "ok" returned when the JWT claims are read was being overridden with
"false" before it could be checked.
2023-06-15 21:59:34 +01:00
918f8816c5
auth: slight refactor, setup user auth
...
user-auth.go contains slightly adjusted versions of auth.go functions,
for authorizing jellyfin users (admin or not). Refactored auth.go so that
most code is shared. User auth isn't hooked up yet, nor has it been
tested.
2023-06-15 21:32:18 +01:00
bf981935cb
form: fix header alignment
2023-06-15 18:20:46 +01:00
1fa92f78e4
merge captcha changes
2023-06-15 17:36:17 +01:00
07564bbde3
captcha: recaptcha respects dark mode
...
also removed the ugly border around it.
2023-06-15 17:35:51 +01:00
4014e93155
signup: add reCAPTCHA
...
can be enabled in settings > captcha, requires a site key & secret key
from google. New wiki article explains getting these. currently a little
ugly looking on the page itself, hopefully fixable.
2023-06-15 17:11:27 +01:00
Qutyba
f81224a2a6
translation from Weblate (Arabic)
...
Currently translated at 100.0% (42 of 42 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/ar/
2023-06-14 21:42:07 +02:00
Qutyba
8760152159
Translated using Weblate (Arabic)
...
Currently translated at 100.0% (10 of 10 strings)
Translation: jfa-go/Telegram/Matrix/Discord bots
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/chat-bots/ar/
2023-06-14 21:42:07 +02:00
Kovács Tamás
5694f30a94
translation from Weblate (Hungarian)
...
Currently translated at 100.0% (42 of 42 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/hu/
2023-06-14 21:42:07 +02:00
Gabriele Bizzon
156478b381
translation from Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (42 of 42 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/pt_BR/
2023-06-14 21:42:07 +02:00
Rafael Gale
ad416b9cb2
translation from Weblate (Spanish)
...
Currently translated at 100.0% (42 of 42 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/es/
2023-06-14 21:42:07 +02:00
StunBeta
2e39a5e573
Translated using Weblate (French)
...
Currently translated at 100.0% (10 of 10 strings)
Translation: jfa-go/Telegram/Matrix/Discord bots
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/chat-bots/fr/
2023-06-14 21:42:07 +02:00
StunBeta
cab099d77f
Translated using Weblate (French)
...
Currently translated at 100.0% (112 of 112 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/fr/
2023-06-14 21:42:07 +02:00
StunBeta
0b5e93fd60
Translated using Weblate (French)
...
Currently translated at 100.0% (23 of 23 strings)
Translation: jfa-go/Common Strings
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/common-strings/fr/
2023-06-14 21:42:07 +02:00
StunBeta
6e2ba78204
translation from Weblate (French)
...
Currently translated at 97.6% (41 of 42 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/fr/
2023-06-14 21:42:07 +02:00
115f5ae6a3
Merge accounts sort/filter
...
Accounts Sort/Filter, UI adjustments
2023-06-14 20:41:27 +01:00
bf12016315
accounts: make filter names translatable
2023-06-14 19:59:38 +01:00
b544931ee5
accounts: fix id filtering, make string translatable
2023-06-14 18:57:30 +01:00
9cef626b28
accounts: filter dropdown appears over announce one
2023-06-14 18:52:33 +01:00
708d382a3f
accounts: fix hiding of search options header for default sort
2023-06-14 18:43:46 +01:00
f24ea4a5f8
accounts: fix sizing of sorting by button
2023-06-14 18:41:47 +01:00
6ddd09ff1f
accounts: add header to "actions" and "search options"
2023-06-14 18:38:12 +01:00
ddc560e862
accounts: move filter button, add clear search
...
filter button now on left due to the dropdown being huge.
2023-06-14 17:36:41 +01:00
6f452c62de
accounts: fix search bugs, adjust top bar layout
...
search bar is now massive with a small filter button next to it.
Action buttons are on their own row.
Also fixed dealing with going from a search with filters in to an empty
one, search() is now called for any change at all to the input.
2023-06-14 17:15:24 +01:00
76bb95098c
accounts: add list of available filters, fix deletion of existing date filters
...
The "Filters" button gives a list of filterable fields, and buttons to
select the type, including true/false, text match, and on/before/after a
date. When clicked, the appropriate values are put in the search box and
the cursor is placed if any input is needed.
Dates and strings are also now matched correctly, and case-insensitively when
deleting a filter.
2023-06-14 14:01:05 +01:00
0e241f56fb
scripts: add script to generate fake accounts
...
might be useful for screenshots too, currently just using for testing
the sorting/filtering.
2023-06-14 11:50:22 +01:00