22c91be127
userpage: make pwr accept username too
2023-06-22 12:39:05 +01:00
86daa70ccb
userpage: password resets
...
click "forgot password" on login modal, enter a contact method
address/username, submit and check for a link. Requires link reset to be
enabled.
2023-06-22 12:08:18 +01:00
db97c3b2d4
form: add notice about userpage on success modal, userpage title
...
uses new strings in the form lang section.
2023-06-22 10:12:22 +01:00
4f298bbc8c
userpage: add "back to admin" button
2023-06-22 09:41:41 +01:00
8113f794ab
form: fix confirmation success page css
2023-06-21 21:22:05 +01:00
ebacfd43be
form: fix captcha, matrix, telegram
...
new issue though: discord/telegram/matrix aren't linked when email
confirmation is used!
2023-06-21 20:00:48 +01:00
4e7f720214
userpage: hide bg on login, dont refresh page ever
2023-06-21 17:02:57 +01:00
757c3a8aed
userpage: move cards around
2023-06-21 13:31:43 +01:00
87b0ae6614
userpage: adjust message row span depending on length
2023-06-21 13:30:09 +01:00
e7f7dcbb78
userpage: show placeholder message card for admins
2023-06-21 11:27:51 +01:00
cc4a97db28
userpage: fix card color in light mode
2023-06-21 11:05:38 +01:00
99679a800d
userpage: add customizable message on page
2023-06-20 21:54:55 +01:00
7b9b0d8a84
userpage: implement login message card
...
Shares code with custom emails, so most related functions have had a
%s/Email/Message/g. Press the edit button on the user page setting to
add a message.
2023-06-20 21:43:25 +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
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
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
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
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
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
bf981935cb
form: fix header alignment
2023-06-15 18:20:46 +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
9cef626b28
accounts: filter dropdown appears over announce one
2023-06-14 18:52:33 +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
8ac3bb9711
accounts: show list row of search filters, click to remove
...
any filters in your search box will show as little button/chip things on
the row below. Clicking them will remove them from the search.
2023-06-13 22:27:08 +01:00
bc4015ac50
accounts: add indicator of sorted column at top of list
...
When clicking on a column to sort by it, a button with "Sorting By:
<column>" appears. Clicking it will reset the sort, which defaults for
ascending username.
2023-06-13 12:13:12 +01:00
f13c0d78a8
accounts: ability to sort by columns
...
click on column header in account table to sort by it, click again to
change sort direction. Works for all of them.
2023-06-13 11:07:56 +01:00
6564df8082
about: fix donation buttons in dark mode
2023-06-12 16:05:50 +01:00
eb85ee4d35
add option to auto redirect to jellyfin (or given link)
...
if enabled (General>Auto redirect on success), the user will not have to
click "continue" on the form or creation success page and will
insted be redirected. For #242 .
2023-02-02 10:34:22 +00:00
Aleksa Siriški
0c102f5324
added checked to admin only
...
because it is confusing if you go straight to `Manually set the username and password.` and you can't go next since nothing is checked above but it becomes hidden
2023-02-01 23:31:55 +01:00
b81c5636cc
settings: better top button padding on mobile
2022-01-30 16:43:28 +00:00
d867649a93
padding; fix hungarian lang names
2022-01-30 16:38:19 +00:00
Harvey Tindall
e814af1af5
Merge pull request #191 from LubricantJam/main
...
Further Mobile Optimisations
2022-01-30 16:27:33 +00:00
James Finch
dec8d75083
Optimised modals for mobile.
2022-01-28 22:34:34 +00:00
25451eb763
form: show radios for only linked contact methods
2022-01-27 16:56:21 +00:00
dbefb80f63
form: reliably disable submit button, communicate if account linking is required
2022-01-27 16:48:46 +00:00
James Finch
82c8ef1e4b
Added better mobile support for sign-up form.
2022-01-27 01:58:24 +00:00
4b02960fd1
form: add captcha regen button
...
lots of false negatives so this is a solution for now.
Also the registering of each discord command is now logged for debugging
purposes.
2022-01-26 22:14:16 +00:00
32af107699
discord: add role to user on signup
...
This requires an extra permission, so you'll have to modify your bot
settings, kick it from your server and re-add it for this to work. The
role you select must also be lower in hierarchy than the bot's group.
2022-01-13 22:34:52 +00:00
d9f8785372
form: add CAPTCHAs
...
Enabled in Settings > Captchas, shows a captcha on the account creation
form.
2022-01-10 01:55:48 +00:00