kim
|
b026299b46
|
comment-out unused functions, but leave in place as we might end-up using them
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
83f6685437
|
add logic to allow dynamic clear / preloading of timelines
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
b04b4f8516
|
share a bunch of the database load code in timeline cache, don't clear timelines on relationship change
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
0982a4b671
|
ensure repeat boosts are marked in preloaded entries
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
b3c9bfde18
|
start adding preloading support
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
6210ea33ee
|
add more status timeline tests
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
57ef7847ec
|
add StatusTimeline{} tests
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
2300882a83
|
remove unused field
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
72fcf8f15f
|
fix timeline tests now that timelines are returned in page order
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
8a6ff1631a
|
add important note
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
e762577179
|
more code comments
|
2025-04-25 15:24:39 +01:00 |
|
kim
|
50805fac53
|
add repeat boost filtering logic, update go-structr, general improvements
|
2025-04-25 15:24:38 +01:00 |
|
kim
|
cf405352e6
|
do a maximum of 5 loads, not 10
|
2025-04-25 15:23:34 +01:00 |
|
kim
|
6176c22048
|
remove the boost logic from prepare function
|
2025-04-25 15:23:34 +01:00 |
|
kim
|
be75246307
|
remove comments for repeat code
|
2025-04-25 15:23:34 +01:00 |
|
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
|
25c57a49d1
|
remove old timeline initialization code, bump go-structr to v0.9.4
|
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
|
5d2a7332ea
|
add exclusion for test.out in gitignore
|
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 |
|