Harvey Tindall
8da95ed824
accounts: make sort-by card height = filter card height
1 year ago
Harvey Tindall
7c76b58ab8
invites: add "User Label" 1/2
...
Adds a "User Label" invite field, which is a label applied to users
created with it. This commit contains everything apart from the code to
apply it on account creation.
1 year ago
Harvey Tindall
d8d478a95e
form: move referral info message to aside, change wording
1 year ago
Harvey Tindall
4607a30e6a
accounts: fix filter card overlap
1 year ago
Harvey Tindall
dc3f1661e8
accounts: fix filter button appearing over lang dropdown
1 year ago
Harvey Tindall
41c092f578
referrals: show referrer username on form
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
729552a827
referrals: Show enabled status on account list
1 year ago
Harvey Tindall
9e5034ebab
referrals: enable referral for users & profiles
...
Enabling for individual users works, as does adding a template to a
profile. Removing/Disabling for both needs to be completed.
1 year ago
Harvey Tindall
9c2f27bcdb
referrals: 1/2 generation routes, display route, partial frontend
...
route for generation/enabling of referral for user(s) done? the frontend
is mostly done, but functionality is not there yet. Route for finding
and displaying referral to user is done. Also the config option for
referral is there, in user page settings.
1 year ago
Harvey Tindall
3fa4b01115
setup: add user page
...
also sprinkled mentions of it throughout other relevant pages.
1 year ago
Harvey Tindall
65f402fd35
admin: hide my account button when disabled
1 year ago
Harvey Tindall
850bb8f44e
accounts: fix modify user card layout
1 year ago
Harvey Tindall
b17d8424e9
profiles: fix application
...
moving to a DB meant empty slices in the Configuration & Policy structs
were being stored as null, and striking a nerve with Jellyfin.
Mediabrowser library change fixed that by de-nulling them itself, and a
new bool field called "Homescreen" is now used to decide if a profile
has a homescreen layout stored or not. This field is hopefully correctly
filled in during migration.
1 year ago
Harvey Tindall
b7b3aa1eb7
build: fix goreleaser, include optional builder name
...
builder name shows up in about section again, as does the build time.
1 year ago
Harvey Tindall
65c2722a20
font: switch to hanken grotesk
...
thought it looked quite nice License included in about section.
1 year ago
Harvey Tindall
bfeab3648c
form: change contact-via radios to checks
1 year ago
Harvey Tindall
7aaafb90e3
form: actually link to the my account page
...
forgot to do this before. shown on the success modal.
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
22c91be127
userpage: make pwr accept username too
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
db97c3b2d4
form: add notice about userpage on success modal, userpage title
...
uses new strings in the form lang section.
1 year ago
Harvey Tindall
4f298bbc8c
userpage: add "back to admin" button
1 year ago
Harvey Tindall
8113f794ab
form: fix confirmation success page css
1 year ago
Harvey Tindall
ebacfd43be
form: fix captcha, matrix, telegram
...
new issue though: discord/telegram/matrix aren't linked when email
confirmation is used!
1 year ago
Harvey Tindall
4e7f720214
userpage: hide bg on login, dont refresh page ever
1 year ago
Harvey Tindall
757c3a8aed
userpage: move cards around
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
cc4a97db28
userpage: fix card color in light mode
1 year ago
Harvey Tindall
99679a800d
userpage: add customizable message on page
1 year 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.
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
094f7cea94
discord: use placeholder if guild icon not available
...
also centers the invite on the form/user discord modal.
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
03f1a3dbc0
userpage: expand contact card to fill height
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
Harvey Tindall
b8cc75c6b4
login: modularize frontend code
...
all in ts/modules/login.ts
1 year ago
Harvey Tindall
b13fe7f3e4
html: move login modal to own file
1 year ago
Harvey Tindall
bf981935cb
form: fix header alignment
1 year ago
Harvey Tindall
07564bbde3
captcha: recaptcha respects dark mode
...
also removed the ugly border around it.
1 year ago
Harvey Tindall
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.
1 year ago
Harvey Tindall
9cef626b28
accounts: filter dropdown appears over announce one
1 year ago
Harvey Tindall
f24ea4a5f8
accounts: fix sizing of sorting by button
1 year ago