Commit Graph

138 Commits

Author SHA1 Message Date
Harvey Tindall 2be7baea4a
trim base css of most redundant classes 2023-12-24 18:55:58 +00:00
Harvey Tindall d56d45a404
userpage: rework dynamic layout, finally 2023-12-24 18:26:35 +00:00
Harvey Tindall b50d66d265
ui: more modal fixes 2023-12-24 15:16:11 +00:00
Harvey Tindall aec0a5349a
ui: fix remaining few modal sizes on mobile 2023-12-24 15:04:58 +00:00
Harvey Tindall 202ee0977e
invites: improve inv dropdown layout 2023-12-24 14:34:04 +00:00
Harvey Tindall 4f5d12f800
invites: ui adjustments, fix duration display > 1y 2023-12-24 02:29:14 +00:00
Harvey Tindall 6e205760c3
ui: more invites page improvements/cleanup, fix tooltips on mobile 2023-12-23 17:45:18 +00:00
Harvey Tindall e8666d5bf2
ui: general adjustments 2023-12-22 21:40:56 +00:00
Harvey Tindall d1affe271c
ui: wrap settings header 2023-12-22 18:36:21 +00:00
Harvey Tindall ea109c7b63
ui: wrap accounts/activity headers 2023-12-22 18:06:12 +00:00
Harvey Tindall cb5a8c1c23
accounts: position filter dropdown better for mobile 2023-12-22 17:46:57 +00:00
Harvey Tindall b259dd7b00
backups: add wiki link 2023-12-21 21:38:42 +00:00
Harvey Tindall dc2c2f1164
backups: show uploaded backups on-page 2023-12-21 21:11:40 +00:00
Harvey Tindall bc2e9cffda
backups: move code to own files 2023-12-21 18:17:03 +00:00
Harvey Tindall ade032241a
backups: upload and restore backup in-app 2023-12-21 18:12:58 +00:00
Harvey Tindall 195813c058
backups: triggerable in ui, viewable, downloadable
new "Backups" menu in settings lists all available backups, lets you
trigger a new one, and lets you download them.
2023-12-21 16:47:17 +00:00
Harvey Tindall 213b1e7f9e
accounts: allow setting exact expiry date
set with a text input field which uses the same date parsing library as
the search function. Parsed expiry date will appear once you've typed
something in, so you can make sure it's right.
2023-12-20 17:20:59 +00:00
Harvey Tindall 10c8d4ad2f
accounts: add "remove expiry" 2023-11-16 11:19:49 +00:00
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.
2023-11-10 15:07:29 +00:00
Harvey Tindall 663389693f
activity: add counter for total, loaded and shown
total: number of activities in the DB
loaded: How many the web UI has loaded
shown: How many are shown (differs when in a search).
2023-10-23 11:34:04 +01:00
Harvey Tindall 591b843148
activity: add a "load all" button 2023-10-22 16:22:25 +01:00
Harvey Tindall 47ce8a9ec4
activity: refresh, load more buttons, ui adjustments 2023-10-22 01:03:48 +01:00
Harvey Tindall 2d83718f81
activity: sort, load more, compromises for client-side search
my initial intent before starting search was for it to be server-sided,
considering this activity log could rack up 100s or 1000s of entries,
and then I forgot and did it client-sided.

this commit adds a feature to load more results when scrolled to the
bottom, and when a search returns few or no results (this is limited, so
it wont loop infinitely). Also finally got rid of the useless left
column, since my ideas didn't match my implementation.

also, sorting is only by date, can't be bothered with anything else.
2023-10-22 00:31:30 +01:00
Harvey Tindall a0db685af2
activity: functional search (client-side)
search with filters for each type of card, and all the info in them.
Gonna somehow need to figure out what to do about pagination.
2023-10-21 16:24:14 +01:00
Harvey Tindall 1032e4e747
activity: more presentable cards, fixes
fixed some missing data (being stored and being shown), improved layout,
also usernames are now injected by the route.
2023-10-20 22:16:40 +01:00
Harvey Tindall a73dfddd3f
activity: partially functional frontend code
doesn't fill in all the blanks yet, but almost there ish. Filters &
stuff not done yet, just loads everything.
2023-10-20 18:14:32 +01:00
Harvey Tindall 274324557c
activity: start stubbed out example card, beginning frontend code
completely broken, just need to commit so I can move between devices.
2023-10-20 00:06:10 +01:00
Harvey Tindall 5a0677bac8
activity: allow multiple types in route filter 2023-10-19 22:44:27 +01:00
Harvey Tindall e2c24a2593
accounts: add "not results found" screen 2023-10-14 13:07:30 +01:00
Harvey Tindall 31b7ede665
accounts: fix search button (again) 2023-10-14 12:52:10 +01:00
Harvey Tindall dba7d0bd4e
admin: improve searchboxes appearance
"Clear search" button is now fully over the search box, so the
focus/click effects fully wrap round it. Rounded edges of the button are
now only on the right edge.
2023-10-14 12:46:39 +01:00
Harvey Tindall 73cfa5bef2
settings: "no results found", section matching
No results found screen added, nd when a section name matches the
search, all settings in the section are shown normally.
2023-10-14 12:33:48 +01:00
Harvey Tindall 08498074ed
settings: funtioning search functionality
Search box and clear button work, curently matching settings are changed
to "aside"s for the border effect. Not super happy with how it looks
yet, and it messes up tooltips slightly.
2023-10-13 14:51:42 +01:00
Harvey Tindall 635c2be32c
settings: initial search function
not really plugged into anything yet.
2023-10-13 10:30:59 +01:00
Harvey Tindall 9956bbd974
admin: add setting to hide background on login
for #288.
2023-10-02 10:34:14 +01:00
Harvey Tindall 5a2d3d2ee2
admin: My Account button respects URL Base 2023-10-02 09:40:19 +01:00
Harvey Tindall 8da95ed824
accounts: make sort-by card height = filter card height 2023-09-08 17:00:37 +01:00
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.
2023-09-08 14:29:25 +01:00
Harvey Tindall 4607a30e6a
accounts: fix filter card overlap 2023-09-07 21:59:35 +01:00
Harvey Tindall dc3f1661e8
accounts: fix filter button appearing over lang dropdown 2023-09-07 21:37:25 +01:00
Harvey Tindall 729552a827
referrals: Show enabled status on account list 2023-09-06 22:46:16 +01:00
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.
2023-09-06 22:00:44 +01:00
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.
2023-06-28 16:05:24 +01:00
Harvey Tindall 65f402fd35
admin: hide my account button when disabled 2023-06-26 20:48:57 +01:00
Harvey Tindall 850bb8f44e
accounts: fix modify user card layout 2023-06-26 13:04:01 +01:00
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.
2023-06-26 13:01:17 +01:00
Harvey Tindall b7b3aa1eb7
build: fix goreleaser, include optional builder name
builder name shows up in about section again, as does the build time.
2023-06-23 14:41:21 +01:00
Harvey Tindall 65c2722a20
font: switch to hanken grotesk
thought it looked quite nice License included in about section.
2023-06-23 13:45:04 +01:00
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.
2023-06-22 12:08:18 +01:00
Harvey Tindall b13fe7f3e4
html: move login modal to own file 2023-06-15 22:00:08 +01:00