cbcca3e8bb
chore: remove config for replies ids
...
leftover from 9f8b6b8
2024-12-26 16:20:13 +01:00
5e7592c0aa
feat: add db option to show likes collection
2024-12-26 16:19:52 +01:00
9f8b6b8280
fix(routes): proper replies collection
...
also don't include replies in first object fetch: needless work since
most of the AP world doesn't use them. if you do, explicitly dereference
/replies!
2024-12-26 16:13:58 +01:00
cc090ccb19
chore: refactor and deprecate pagination builder
2024-12-26 16:13:23 +01:00
69071c1320
chore: unify pagination options in trait
2024-12-26 15:41:50 +01:00
3bebd8bccf
feat: add IntoActivityPub trait, received context
...
finally made it into a proper trait so we can get uniform usage. also
added Context as parameter so we get app ctx while creating AP
representations
2024-12-26 15:38:37 +01:00
bb6957e638
chore(web): clippy lints
2024-12-26 15:36:01 +01:00
0b6091e764
fix(web): disallow sending empty posts
2024-12-10 23:37:38 +01:00
cdfdf3ee07
fix: split again auth filter
...
i hate having to do this, but if i don't include `activity.actor` column
we can't see our own activities (likes, announces, follows), and if i do
all queries which don't bring up activities break. so it's necessary to
split these two in order to manually include the extra filter when
needed
2024-12-10 23:23:52 +01:00
e18bf6e955
fix: show activities by self
2024-12-10 22:47:44 +01:00
270908b38c
fix(apb): forgot to check inside feature flag
2024-12-07 01:46:49 +01:00
96ff359d11
feat(apb): re-export reqwest and bump version
2024-12-07 01:27:26 +01:00
870c781cf7
feat(web): global privacy control, 4 privacies
2024-11-23 04:39:31 +01:00
f57f304419
feat: also fetch statuses count when updating users
...
also use new Node::resolve() rather than making manual requests
2024-11-21 12:22:14 +01:00
d7d450e942
chore(web): unused stuff
2024-11-21 03:23:18 +01:00
2b6037f860
fix: users update task cloaks and fetches follows
...
it now uses pull+resolve user, and then does an update by hand. before
it had a custom update flow so it skipped all the additions we made into
user normalizer and insertion. this is a bad ad-hoc change since
resolve_user is now different from all other resolves, but oh well
2024-11-21 03:22:05 +01:00
d8af116667
feat(web): way better fetch button
...
it changes and automatically refreshes!!! to achieve this a lot of
refactor happened...
2024-11-21 02:41:19 +01:00
bc9f55d58c
fix: context should be ASC and in larger chunks
2024-11-21 00:30:54 +01:00
8a0229a04d
fix: no needed a 4th fix
2024-11-21 00:05:04 +01:00
b5dd8cf53e
fix: third time's the charm
...
it was written like 20 lines above i could have just copied it........
2024-11-20 23:57:35 +01:00
b3b2dd051f
fix: collection page ids for context
2024-11-20 23:47:21 +01:00
5c94e37937
fix(web): change tl url not root id
2024-11-20 23:18:13 +01:00
284f1023a4
fix(web): context should work in replies too
2024-11-20 23:05:09 +01:00
5f998e9773
chore: update apb usage
...
it should become a bit faster which makes no sense but before refs were
made from strings created on demand and then cloned again so this should
at least make sense
2024-11-20 19:55:29 +01:00
0dedb4d243
feat(apb): all owned by default
...
references are cool but it was mostly cloned anyway so may aswell be
consistent. it would be awesome to make a Node which works by references
eventually, so it can be Copy, but probably quite annoying to make
2024-11-20 19:19:20 +01:00
f7e1a1bbc0
feat: while crawling replies update likes/shares
2024-11-20 18:06:05 +01:00
e2535e32ab
chore(web): FieldError -> MalformedError
...
since now it is also thrown for mismatching nodes
2024-11-20 18:05:28 +01:00
298f0a3774
chore: replace .get/.extract (and use shortcuts)
2024-11-20 18:05:00 +01:00
7a78b07467
chore(apb): renamed .get and .extract
...
are now .inner() and .into_inner()
2024-11-20 18:03:31 +01:00
fc43183ce1
feat(apb): add optional shortcuts
2024-11-20 18:02:54 +01:00
f82e624fd9
chore(apb): into_inner -> into_value
2024-11-19 14:19:25 +01:00
cfff8fb053
fix(apb): is_nothing -> is_empty
2024-11-11 01:19:51 +01:00
4b632faf2a
fix(apb): remove ambiguous Iterator impl for node
2024-11-11 01:19:33 +01:00
ae85351b11
fix(web): context and replies root id
2024-11-11 00:40:39 +01:00
63e1e1f440
fix: iter nodes not inner vals, remove logs
2024-11-11 00:29:08 +01:00
bdb7152179
fix: i was trying to be clever but .. matches page
2024-11-10 22:39:38 +01:00
0a938ca14e
chore: shameless excessive temporary debug
...
too lazy to do this locally because i havent made it mockable yet...
2024-11-10 22:29:06 +01:00
4de0976a22
feat(apb): impl Debug for Node
...
scuffed but should work
2024-11-10 22:27:37 +01:00
67a4c83319
fix(web): must use api url not web url
2024-11-10 22:11:10 +01:00
a4620f60db
fix(web): must include url_base
2024-11-10 22:08:35 +01:00
80940b1880
feat(web): explicit button to fetch replies
2024-11-10 22:06:13 +01:00
187a659608
fix(web): clean tab buttons
2024-11-10 21:53:09 +01:00
e8da3765ad
fix(web): add fetch to feeds too if logged
...
does nothing everywhere except for replies, maybe this is a bad design??
no it's the good sense to be wrong!!
2024-11-10 21:51:26 +01:00
cdb404c344
fix(web): /context is valid too
2024-11-10 21:47:24 +01:00
88d67091c2
fix(web): better tabs for context/replies
2024-11-10 21:47:11 +01:00
129bc217b8
fix(web): oops forgot files
2024-11-10 21:43:11 +01:00
b8250eae6c
feat: impl fetch_thread when fetching replies
2024-11-10 21:40:07 +01:00
86035c2878
feat: improved dereferenceable trait for nodes
2024-11-10 21:39:38 +01:00
7d14bccdee
feat(web): object replies and context tabs
2024-11-10 21:38:39 +01:00
bae7aab3df
feat(web): add resolve directly to cache
...
should slim down code more down the line
2024-11-10 21:29:52 +01:00