Harvey Tindall
2be7baea4a
trim base css of most redundant classes
11 months ago
Harvey Tindall
20560332ed
invites: improve inv dropdown wrapping
11 months ago
Harvey Tindall
202ee0977e
invites: improve inv dropdown layout
11 months ago
Harvey Tindall
9092b98b28
accounts: hide previous date example in extend expiry
11 months ago
Harvey Tindall
0f72a85724
accounts: allow extending expiry of more than one user
11 months ago
Harvey Tindall
00379824df
Merge branch 'main' into kimboslice99-main
11 months ago
Harvey Tindall
f823705e40
ips: log on activities, show on card
11 months ago
Harvey Tindall
278588ca39
pwr: functioning captcha/recaptcha
11 months ago
Harvey Tindall
ab05c07469
form: modularize captcha somewhat
11 months ago
Harvey Tindall
6e205760c3
ui: more invites page improvements/cleanup, fix tooltips on mobile
11 months ago
Harvey Tindall
82032b98a8
invites: improve invite wrapping on mobile
11 months ago
Harvey Tindall
e8666d5bf2
ui: general adjustments
11 months ago
Harvey Tindall
cb5a8c1c23
accounts: position filter dropdown better for mobile
11 months ago
Harvey Tindall
ade032241a
backups: upload and restore backup in-app
11 months ago
Harvey Tindall
eff313be41
backups: restore local backups in-app
11 months ago
Harvey Tindall
1bb83c88d9
backups: add filesize to list
11 months ago
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.
11 months ago
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.
11 months ago
Harvey Tindall
10c8d4ad2f
accounts: add "remove expiry"
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
3739634b63
activity: fix "shown" counter when not in search
1 year ago
Harvey Tindall
3951116bdc
activity: reload invites on link click
1 year ago
Harvey Tindall
44d7e173e3
activity: add limiting settings
...
limit to keeping n most recent logs, and/or logs younger than {n} days
in settings > Activity Log.
1 year ago
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).
1 year ago
Harvey Tindall
591b843148
activity: add a "load all" button
1 year ago
Harvey Tindall
de3c06129d
activity: pseudo links work on refresh
1 year ago
Harvey Tindall
0238c6778c
activity: pseudo links work on click
1 year ago
Harvey Tindall
47ce8a9ec4
activity: refresh, load more buttons, ui adjustments
1 year ago
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.
1 year ago
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.
1 year ago
Harvey Tindall
4fa0630aef
accounts: modularize search
...
now part of ts/modules/search.ts, UI of the activity page is gonna be
very similar so it made sense to.
1 year ago
Harvey Tindall
3cad30a8e5
activity: add delete button
1 year ago
Harvey Tindall
44172074b9
activity: render all activities correctly
...
the activity type, usernames, time, referrer, and invite code are
displayed correctly for all types of activity.
1 year ago
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.
1 year ago
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.
1 year ago
Harvey Tindall
274324557c
activity: start stubbed out example card, beginning frontend code
...
completely broken, just need to commit so I can move between devices.
1 year ago
Harvey Tindall
e2c24a2593
accounts: add "not results found" screen
1 year ago
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.
1 year ago
Harvey Tindall
6909477f45
settings: hidden items in search explained
...
if a matched setting is hidden, an aside card will show explaining why,
eitherbecause advanced settings is not enabled or because it depends
on another setting.
1 year ago
Harvey Tindall
701d1305d3
settings: non-match search result have transparency
...
Matches have 100% opacity, non-matches have 50. Looks better than the
aside thing, doesn't break anything.
1 year ago
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.
1 year ago
Harvey Tindall
635c2be32c
settings: initial search function
...
not really plugged into anything yet.
1 year ago
Harvey Tindall
9956bbd974
admin: add setting to hide background on login
...
for #288 .
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
fca370b9d9
discord: hide "Join Server" text when invite not provided
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