Harvey Tindall
d56d45a404
userpage: rework dynamic layout, finally
1 year ago
Harvey Tindall
1a6897637f
userpage: allow manual disable of pwr through username/email/contact
...
Checkboxes added to userpage settings allowing enabling/disabling of
specific ways of starting a PWR. For #312 .
1 year ago
Harvey Tindall
a66c522b73
referrals: add "use expiry" option
...
adds an option when enabling referrals to use the duration of the source
invited (i.e., months, days, hours) for the referral invite. If enabled,
the user won't be able to make a new referral link after it expires. For
referrals enabled for new users via a profile, the clock starts ticking
as soon as the account is created.
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
7aaafb90e3
form: actually link to the my account page
...
forgot to do this before. shown on the success modal.
2 years 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.
2 years ago
Harvey Tindall
22c91be127
userpage: make pwr accept username too
2 years 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.
2 years ago
Harvey Tindall
db97c3b2d4
form: add notice about userpage on success modal, userpage title
...
uses new strings in the form lang section.
2 years ago
Harvey Tindall
4f298bbc8c
userpage: add "back to admin" button
2 years ago
Harvey Tindall
4e7f720214
userpage: hide bg on login, dont refresh page ever
2 years ago
Harvey Tindall
757c3a8aed
userpage: move cards around
2 years ago
Harvey Tindall
87b0ae6614
userpage: adjust message row span depending on length
2 years ago
Harvey Tindall
e7f7dcbb78
userpage: show placeholder message card for admins
2 years ago
Harvey Tindall
99679a800d
userpage: add customizable message on page
2 years ago
Harvey Tindall
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.
2 years ago
Harvey Tindall
fcedea110d
telegram: modularize, add to userpage
2 years ago
Harvey Tindall
68aedf07ae
discord: pad, underline invite link
2 years ago
Harvey Tindall
094f7cea94
discord: use placeholder if guild icon not available
...
also centers the invite on the form/user discord modal.
2 years 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.
2 years ago
Harvey Tindall
609039baeb
userpage: change email (+ confirmation)
...
edit/add button added for email address. Confirmation works too.
2 years ago
Harvey Tindall
03f1a3dbc0
userpage: expand contact card to fill height
2 years ago
Harvey Tindall
5beeeb958b
userpage: show expiry
2 years ago
Harvey Tindall
a22f032924
userpage: show and allow modification of contact methods
2 years 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.
2 years 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.
2 years ago