Commit graph

1,423 commits

Author SHA1 Message Date
kim
8dfce9fa84 fix use of timeline.lastOrder, fix incorrect range functions used 2025-04-25 15:23:34 +01:00
kim
8c09d0f20d move boost checking to prepare function 2025-04-25 15:23:34 +01:00
kim
6fa0033a45 remove unused function to appease the linter 2025-04-25 15:23:34 +01:00
kim
9baa3da081 again, remove more unused code 2025-04-25 15:23:34 +01:00
kim
0955d1b86a remove unnecessary change 2025-04-25 15:23:34 +01:00
kim
227d6edc3e remove local / public caches (is out of scope for this work), share more timeline code 2025-04-25 15:23:34 +01:00
kim
294e1a6bd8 add (now) missing slice reverse of tag timeline statuses when paging ASC 2025-04-25 15:23:34 +01:00
kim
96250a941c swap the lo, hi values 🤦 2025-04-25 15:23:34 +01:00
kim
53817c23fd simplify timeline cache loading, fix lo/hi returns, fix timeline invalidation side-effects missing for some federated actions 2025-04-25 15:23:34 +01:00
kim
f8af213259 remove the zero length check, as lo, hi values might still be set 2025-04-25 15:23:34 +01:00
kim
daa83cfd0d rewrite calls to public / local timeline calls 2025-04-25 15:23:34 +01:00
kim
374f0f5175 have a local and public timeline *per user* 2025-04-25 15:23:34 +01:00
kim
7ee2ef039c update go-structr version to latest with changed timeline unique indexing logic 2025-04-25 15:23:34 +01:00
kim
f62cc52761 fill in more code comments 2025-04-25 15:23:34 +01:00
kim
ba3ddd32f9 finish writing code comments for the StatusTimeline{} type itself 2025-04-25 15:23:34 +01:00
kim
10d2c12c6f improved code comments for updated / returned lo , hi paging values 2025-04-25 15:23:34 +01:00
kim
158463908a change the way we update lo,hi paging values during timeline load 2025-04-25 15:23:34 +01:00
kim
791d7c5aef some variable renaming, for ease of following 2025-04-25 15:23:34 +01:00
kim
e99d0d7276 finish writing more code comments 2025-04-25 15:23:34 +01:00
kim
f715bec563 don't allow multiple entries for BoostOfID values to prevent repeated boosts of same boosts 2025-04-25 15:23:34 +01:00
kim
5bab57226e improved code comments 2025-04-25 15:23:34 +01:00
kim
a48527282e continued from previous commit 2025-04-25 15:23:34 +01:00
kim
5ef24340f7 reslice the output if it's beyond length of 'lim' 2025-04-25 15:23:34 +01:00
kim
28499335ec fix linter hints 2025-04-25 15:23:34 +01:00
kim
015938cdea linter, ssssssssshhhhhhhhhhhh please 2025-04-25 15:23:34 +01:00
kim
eadd5a6f0f further list timeline fixes 2025-04-25 15:23:34 +01:00
kim
8bec0eb5ff fix list timeline cache fetching 2025-04-25 15:23:34 +01:00
kim
24ae7bec49 tweak cache size limits 2025-04-25 15:23:34 +01:00
kim
884afa26e5 clarify some things better in code comments 2025-04-25 15:23:34 +01:00
kim
64564496f1 fix up more tests, fix missing required changes, etc 2025-04-25 15:23:34 +01:00
kim
61f8da707c fix test-identified timeline cache package issues 2025-04-25 15:23:34 +01:00
kim
4e80d0bf79 start adding page validation 2025-04-25 15:23:34 +01:00
kim
e96bf44497 remove references to old timeline types that needed starting up in tests 2025-04-25 15:23:34 +01:00
kim
566e2b1d38 remove old timeline package, add local timeline cache 2025-04-25 15:23:34 +01:00
kim
4803ae6bad implement new timeline code into more areas of codebase, pull in latest go-mangler, go-mutexes, go-structr 2025-04-25 15:23:34 +01:00
kim
bc46cd72b6 remove old use of go-bytes 2025-04-25 15:23:32 +01:00
kim
dc1cf2c7b0 add local timeline, fix up merge conflicts 2025-04-25 15:22:41 +01:00
kim
771fbe2d5e more work integration new timeline code 2025-04-25 15:22:41 +01:00
kim
49d9a008d9 further work rewriting timeline caching 2025-04-25 15:22:41 +01:00
kim
f4b4a696f2 start work rewriting timeline cache type 2025-04-25 15:22:41 +01:00
tobi
ffde1b150f
[chore] Move deps to code.superseriousbusiness.org (#4054) 2025-04-25 15:15:36 +02:00
tobi
075cae3d55
[chore/frontend] Reorder JS a little bit to avoid visible text changes (#4039) 2025-04-22 12:20:54 +02:00
tobi
0992ffc057
[bugfix] Use util.IsNil for checking DomainPermission (#4040) 2025-04-22 12:20:45 +02:00
tobi
e9f6d186dc
[bugfix] Fix '+'-separated scopes not being recognized (#4028)
* [bugfix] Fix '+'-separated scopes not being recognized

* comment
2025-04-19 21:57:50 +02:00
tobi
d308fd0d0a
[chore] Little settings panel report view tweak (#4025) 2025-04-19 13:36:35 +02:00
tobi
2863561c89
[chore] Update robots.txt with latest ai bullshit (#4024) 2025-04-19 13:34:20 +02:00
kim
14899733c8
[bugfix] new token API issues (#4022)
* fix incorrect endpoint being registered for /token/{id}

* update the maximum page value for tokens endpoint to 100

* update the available tokens page options

* set a default limit of 25 to match the first available settings panel option

* ensure OnInvalidateToken() hook is called during token delete
2025-04-18 17:37:50 +02:00
tobi
2fce027808
[feature/frontend] Hide "engagement" stats, edits, and other info under a little drop down to unclutter status info bar (#4021)
* dick about with stats a bit

* more dicking abuot

* lil tweaks

* more about-dicking

* weee

* comments

* fixie uppie
2025-04-18 17:36:26 +02:00
kim
f5ce219844
[bugfix] websocket header token not always returned (#4009)
* always include headerToken response if provided, because Chrome *sigh*

* wording

* Update internal/api/client/streaming/stream.go

Co-authored-by: Ilia Pozdnyakov <iliazeus@proton.me>

---------

Co-authored-by: Ilia Pozdnyakov <iliazeus@proton.me>
2025-04-14 15:12:09 +02:00
kim
67fc1fd904
ensure 'none' gets included in serializable visibilities (#4007) 2025-04-14 13:33:37 +01:00