Harvey Tindall
b08527bce2
userpage: cleanup referral code
...
moved to its own class, like the expiry card.
1 year ago
Harvey Tindall
311ecb7030
userpage: generate & display referral links
...
shown on a new card, with an explanation, the number of remaining uses,
and expiry of the current referral.
1 year ago
Harvey Tindall
00e6da520d
userpage: cope with disabled contact methods
1 year ago
Harvey Tindall
fc7ae0ec4e
userpage: respect 12h/24h choice
1 year ago
Harvey Tindall
97db4d714a
userpage: implement change password functionality
1 year ago
Harvey Tindall
12ce669566
userpage: add password change card, validation, rearrange page
...
functionality not done yet, just comitting here because there were lots
of adjustments to layout stuff, accomodating for most combinations of
card presence/size.
1 year ago
Harvey Tindall
3b3f37365a
userpage: autofill username in pwr modal
1 year ago
Harvey Tindall
3ec3e9672e
userpage: time-pad pwr request for ambiguity
...
the user shouldn't know if the reset has actually been sent (i.e. if an
account with the given contact address exists), so the backend response
is always sent after 1 second.
1 year ago
Harvey Tindall
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.
1 year ago
Harvey Tindall
4f298bbc8c
userpage: add "back to admin" button
1 year ago
Harvey Tindall
4e7f720214
userpage: hide bg on login, dont refresh page ever
1 year ago
Harvey Tindall
87b0ae6614
userpage: adjust message row span depending on length
1 year ago
Harvey Tindall
e7f7dcbb78
userpage: show placeholder message card for admins
1 year ago
Harvey Tindall
b546aeb440
userpage: don't wrap contact methods, ellipsise
1 year ago
Harvey Tindall
8e153cd92f
userpage: unlink accounts
1 year ago
Harvey Tindall
d509abdd5c
userpage: add matrix
1 year ago
Harvey Tindall
96c51af15a
matrix: modularize
1 year ago
Harvey Tindall
fcedea110d
telegram: modularize, add to userpage
1 year ago
Harvey Tindall
68aedf07ae
discord: pad, underline invite link
1 year ago
Harvey Tindall
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.
1 year ago
Harvey Tindall
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.
1 year ago
Harvey Tindall
609039baeb
userpage: change email (+ confirmation)
...
edit/add button added for email address. Confirmation works too.
1 year ago
Harvey Tindall
5beeeb958b
userpage: show expiry
1 year ago
Harvey Tindall
a22f032924
userpage: show and allow modification of contact methods
1 year ago
Harvey Tindall
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.
1 year ago
Harvey Tindall
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.
1 year ago