Harvey Tindall
c52ba2162e
config: start adding path parameters
...
to change the urls of the admin page, the my account page and of
invites. Seems to work, but need to check all the code over and test.
2025-05-13 21:10:40 +01:00
Harvey Tindall
399ce3b044
activity: Just use window.URLBase
...
instead of figuring out the full URL. URLs are definitely the most
fragmented and annoying thing about this software.
2024-08-28 15:42:54 +01:00
Harvey Tindall
02f4ba6e8e
ts: use pages modules in admin (kinda), change pseudo-links
...
pseudo-links are now just links, because i'm lazy and it's easier than
fixing an issue. They now take the form `/?invite=code` and
`/accounts/?user=userid`.
ts/modules.tabs.ts is now a wrapper for ts/modules/pages.ts.
Also, fixed no section appearing when visiting the settings tab.
2024-08-28 14:18:52 +01:00
Harvey Tindall
f823705e40
ips: log on activities, show on card
2023-12-23 21:47:41 +00:00
Harvey Tindall
3739634b63
activity: fix "shown" counter when not in search
2023-10-23 18:36:32 +01:00
Harvey Tindall
3951116bdc
activity: reload invites on link click
2023-10-23 18:18:08 +01:00
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.
2023-10-23 12:50:42 +01: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
de3c06129d
activity: pseudo links work on refresh
2023-10-22 15:02:03 +01:00
Harvey Tindall
0238c6778c
activity: pseudo links work on click
2023-10-22 14:02:22 +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
3cad30a8e5
activity: add delete button
2023-10-21 13:38:11 +01:00
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.
2023-10-21 13:00:06 +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