655dc88c62
node: update deps
2023-09-08 18:21:09 +01:00
46109d1ea3
images: one more try
2023-09-08 17:46:58 +01:00
f7d931be0c
images: use non-svgo-ed banner
2023-09-08 17:45:00 +01:00
8d6af53e54
images: fix main banner
2023-09-08 17:43:36 +01:00
8d3bd52fc5
images: use hanken grotesk in banners
2023-09-08 17:41:27 +01:00
8da95ed824
accounts: make sort-by card height = filter card height
2023-09-08 17:00:37 +01:00
8207a75820
accounts: sort by referrals
2023-09-08 16:54:07 +01:00
2c48ce0152
settings: rename "User Page"
2023-09-08 16:50:33 +01:00
dae0ad1de5
invites: "User Label" 2/2
...
applies label to users. Also hide the user label element on the invite
dropdown when not set.
2023-09-08 14:37:07 +01:00
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.
2023-09-08 14:29:25 +01:00
4ea2dfdfb7
accounts: fix announcements preview window
...
since the "Announcement" template doesn't actually exist, finding it in
the DB would fail, which is now ignored.
2023-09-08 13:54:01 +01:00
d8d478a95e
form: move referral info message to aside, change wording
2023-09-08 13:31:05 +01:00
4c20250888
userpage: actually sub {username}
2023-09-07 23:40:15 +01:00
f5a15905e4
userpage: fix email change modal show/hide
2023-09-07 23:35:41 +01:00
53742e5ec2
setup: encourage user to browse settings for new features
...
Lots of things aren't present in setup, including the my account page
and referrals, so a nudge in the right direction is warranted.
2023-09-07 23:11:49 +01:00
504c75566a
README: Mention referrals
2023-09-07 23:07:52 +01:00
ed4dcbac3b
README: new images, remove GIF
...
don't really think it's necessary. also, they're annoying to make.
2023-09-07 23:01:12 +01:00
a0f1cd5814
captcha: fix missing images
...
The captcha library's data struct wasn't being serialized/deserialized
fully, meaning the image was never stored. I never really wanted it to
be stored anyway, but as a compromise, the invite daemon now deletes
captcha images from the DB 20 minutes after generation.
2023-09-07 22:38:23 +01:00
4607a30e6a
accounts: fix filter card overlap
2023-09-07 21:59:35 +01:00
fca370b9d9
discord: hide "Join Server" text when invite not provided
2023-09-07 21:40:44 +01:00
dc3f1661e8
accounts: fix filter button appearing over lang dropdown
2023-09-07 21:37:25 +01:00
463fe97b29
Merge Referrals
...
Add Referrals
2023-09-07 21:31:32 +01:00
b08527bce2
userpage: cleanup referral code
...
moved to its own class, like the expiry card.
2023-09-07 20:42:40 +01:00
41c092f578
referrals: show referrer username on form
2023-09-07 20:19:25 +01:00
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.
2023-09-07 16:25:47 +01:00
4a28ea7003
daemon: fix bug wiping out contact details
...
records were being left alonge if "... err != nil", instead of "... err
== nil". Sorry to anyone affected.
2023-09-07 14:50:26 +01:00
0a82f889f3
daemon: fix bug wiping out contact details
...
records were being left alone if "status == 200 && err != nil", instead
of "... && err == nil". Sorry.
2023-09-07 14:48:12 +01:00
00e6da520d
userpage: cope with disabled contact methods
2023-09-07 14:40:24 +01:00
0b830e9b5e
referrals: enable for new users from profile
2023-09-07 14:31:42 +01:00
468b2f3284
accounts: descriptive error when no template found
2023-09-07 14:04:32 +01:00
db21131185
accounts: allow disabling of referrals for users
2023-09-07 14:00:30 +01:00
7d9555fdf7
accounts: add referrals to search queries
2023-09-07 13:30:21 +01:00
729552a827
referrals: Show enabled status on account list
2023-09-06 22:46:16 +01:00
cdc8f9af4b
referrals: unlink/disable referrals for profile
2023-09-06 22:12:36 +01:00
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.
2023-09-06 22:00:44 +01:00
c2f835c897
referrals: show data on enable referral for user modal
...
profiles and invites are properly shown.
2023-06-30 16:47:35 +01:00
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.
2023-06-28 16:05:24 +01:00
423fc4ac80
accounts: non-case sensitive search
2023-06-27 07:35:28 +01:00
e1292a0780
build: dont install swag if already present
2023-06-27 07:23:25 +01:00
f72960635d
build: include debug symbols & sourcemaps in unstable builds
...
should help with debugging.
2023-06-26 23:48:16 +01:00
b5c80e9d27
config: make sure recaptcha is hidden when disabled
2023-06-26 23:24:58 +01:00
3fa4b01115
setup: add user page
...
also sprinkled mentions of it throughout other relevant pages.
2023-06-26 21:29:49 +01:00
65f402fd35
admin: hide my account button when disabled
2023-06-26 20:48:57 +01:00
46f1bc20c8
css: fix font error
...
comment wasn't ended, so some font weights/styles weren't loading and
esbuild was complaining.
2023-06-26 20:29:59 +01:00
a13a72c626
admin: fix logout when url base is used
...
two tries are made, with and without the url base.
2023-06-26 20:28:20 +01:00
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.
2023-06-26 20:13:02 +01:00
baf5e6a593
accounts: add dropdown arrow on "Announce" button
2023-06-26 13:08:34 +01:00
850bb8f44e
accounts: fix modify user card layout
2023-06-26 13:04:01 +01:00
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.
2023-06-26 13:01:17 +01:00
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.
2023-06-25 21:28:38 +01:00