Harvey Tindall
9956bbd974
admin: add setting to hide background on login
...
for #288 .
1 year ago
Harvey Tindall
ff1ea8549a
userpage: register routes on reverse proxy subfolder
...
fixes #289 .
1 year ago
Harvey Tindall
084f8aa658
settings: link to new PWR wiki article in note
1 year ago
Harvey Tindall
8207a75820
accounts: sort by referrals
1 year ago
Harvey Tindall
dae0ad1de5
invites: "User Label" 2/2
...
applies label to users. Also hide the user label element on the invite
dropdown when not set.
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
4c20250888
userpage: actually sub {username}
1 year ago
Harvey Tindall
f5a15905e4
userpage: fix email change modal show/hide
1 year ago
Harvey Tindall
fca370b9d9
discord: hide "Join Server" text when invite not provided
1 year ago
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
468b2f3284
accounts: descriptive error when no template found
1 year ago
Harvey Tindall
db21131185
accounts: allow disabling of referrals for users
1 year ago
Harvey Tindall
7d9555fdf7
accounts: add referrals to search queries
1 year ago
Harvey Tindall
729552a827
referrals: Show enabled status on account list
1 year ago
Harvey Tindall
cdc8f9af4b
referrals: unlink/disable referrals for profile
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
c2f835c897
referrals: show data on enable referral for user modal
...
profiles and invites are properly shown.
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
423fc4ac80
accounts: non-case sensitive search
1 year ago
Harvey Tindall
b5c80e9d27
config: make sure recaptcha is hidden when disabled
1 year ago
Harvey Tindall
3fa4b01115
setup: add user page
...
also sprinkled mentions of it throughout other relevant pages.
1 year ago
Harvey Tindall
a13a72c626
admin: fix logout when url base is used
...
two tries are made, with and without the url base.
1 year ago
Harvey Tindall
5a80145607
css: add notification animation
...
simple slide animation, plus a little scale effect when a duplicate
notification gets sent to make the notification more obvious.
1 year ago
Harvey Tindall
baf5e6a593
accounts: add dropdown arrow on "Announce" button
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
d2253ff069
accounts: fix filter card height
...
string filter cards were too tall, so bool cards now expand to the same
height. y-margins also removed it made the bottom get covered.
1 year ago
Harvey Tindall
fc7ae0ec4e
userpage: respect 12h/24h choice
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
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
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
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
761d8d1c03
userpage: refresh pin when contact changed > once
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
920161b920
settings: add "note" type, shows as card
...
also comes with a "style" attribute, to apply a color to the aside it's
shown in. Used in User Page/Messages to mention the customize button,
and on User page w/ a critical color to mention the jellyfin login
requirement.
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
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
8e153cd92f
userpage: unlink accounts
1 year ago
Harvey Tindall
d509abdd5c
userpage: add matrix
1 year ago
Harvey Tindall
96c51af15a
matrix: modularize
1 year ago