Commit Graph

13879 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
a458bdd638 serve nodeinfo/2.0.json as well 2024-06-17 11:54:00 -04:00
Barış Soner Uşaklı
c021e7e80f refactor: announces
store number of announces on post hash, show announces like votes, with tooltip and a way to see all, remove them from topic.events so they dont load all tid:<tid>:posts everytime topic is loaded
2024-06-17 11:18:48 -04:00
Barış Soner Uşaklı
232fcc005f Merge branch 'develop' into activitypub 2024-06-16 22:58:45 -04:00
Barış Soner Uşaklı
afb979267d Merge branch 'master' into develop 2024-06-16 22:56:34 -04:00
Barış Soner Uşaklı
8f486b1b99 refactor: add placeholders on demand
remove emptylines/whitespace from tpls
2024-06-16 22:56:21 -04:00
Barış Soner Uşaklı
ad22b54e5e perf: get rid of getPidByIndex, use postAtIndex 2024-06-15 13:54:37 -04:00
Barış Soner Uşaklı
820d576481 Merge branch 'develop' into activitypub 2024-06-15 13:45:43 -04:00
Barış Soner Uşaklı
aa2e0f20b4 Merge branch 'master' into develop 2024-06-15 13:45:33 -04:00
Barış Soner Uşaklı
252d0df76c refactor: move getTopicData call to avoid db calls when its not in cache 2024-06-15 13:45:26 -04:00
Barış Soner Uşaklı
74dd2844a0 refactor: remove exits check 2024-06-15 13:36:13 -04:00
Barış Soner Uşaklı
c231ab78b2 refactor: single db call 2024-06-14 20:49:16 -04:00
Barış Soner Uşaklı
c276aa1a99 Merge branch 'develop' into activitypub 2024-06-14 20:45:39 -04:00
Barış Soner Uşaklı
883eb25a28 Merge branch 'master' into develop 2024-06-14 20:45:30 -04:00
Barış Soner Uşaklı
92f1f189a8 fix mongo stats 2024-06-14 20:23:50 -04:00
Julian Lam
4030c09e27 fix: getCidByPid call returning improper values because a remote url to a local post was passed in 2024-06-14 14:09:52 -04:00
Julian Lam
6569066ef8 feat: sending out 1b12-style Announce activities on incoming Create/Update/Like/Delete/Undo(Like) activities, when they pertain to notes
re: #12434
2024-06-14 13:55:41 -04:00
Julian Lam
c8bc6e551b fix: 1b12 conformance for inbox.create as well 2024-06-14 13:37:46 -04:00
Julian Lam
931a0f0a60 chore: info -> verbose logging in ap inbox.js 2024-06-14 13:31:08 -04:00
Julian Lam
6069bee019 chore: make getParentChain logging verbose 2024-06-14 13:26:56 -04:00
Julian Lam
89d2363d5e fix: re-add sending of Announce(Note) for microblog support, #12434 2024-06-14 13:26:04 -04:00
Julian Lam
be95b5b122 fix: FEP 1b12 conformance, federate Announce(Create(Note)) instead of Announce(Note), #12434 2024-06-14 13:17:13 -04:00
Julian Lam
f5b856f4fd feat: assert actors when mocking post 2024-06-14 12:22:11 -04:00
Barış Soner Uşaklı
3f1b04ebe8 Merge branch 'develop' into activitypub 2024-06-14 12:14:45 -04:00
Barış Soner Uşaklı
80da3e0a6f Merge branch 'master' into develop 2024-06-14 12:12:37 -04:00
Barış Soner Uşaklı
73241bd521 perf: if sigs disabled dont filter uids 2024-06-14 12:12:16 -04:00
Julian Lam
f6d4d5630e chore: lint 2024-06-14 11:49:25 -04:00
Julian Lam
691f691749 debug: comment out actor assertion call in Users.getUsersFields 2024-06-14 11:45:03 -04:00
Julian Lam
827a91ea6b Revert "fix: eliminate infinite loop in actors.assert via user.getUsersFields"
This reverts commit 18e583184f.
2024-06-14 11:45:03 -04:00
Barış Soner Uşaklı
632ba51c7f Merge branch 'develop' into activitypub 2024-06-14 11:30:00 -04:00
Barış Soner Uşaklı
e010d1749b Merge branch 'master' into develop 2024-06-14 11:29:50 -04:00
Barış Soner Uşaklı
fedfce7bce perf: cache isAdmin, isGlobalMod checks 2024-06-14 11:06:30 -04:00
Julian Lam
18e583184f fix: eliminate infinite loop in actors.assert via user.getUsersFields 2024-06-14 10:59:07 -04:00
Julian Lam
6227ab900e refactor: actor pruning logic
Remove re-assertion set as it is expensive to re-assert all old user accounts.

Update actor assertion logic to always re-assert a passed-in id if their account's last crawl date is older than the configurable pruning threshold.

fixes #12636
2024-06-14 10:44:30 -04:00
Barış Soner Uşaklı
937caecdc4 Merge branch 'develop' into activitypub 2024-06-14 10:36:06 -04:00
Barış Soner Uşaklı
a1db504de5 Merge branch 'master' into develop 2024-06-14 10:35:53 -04:00
Julian Lam
1219d7d3b8 fix: minor adjustment in logic to work around relation logic 2024-06-14 10:20:53 -04:00
Barış Soner Uşaklı
f7c9b7ae4e fix: recent chat pagination, closes #12637 2024-06-14 09:52:11 -04:00
Barış Soner Uşaklı
839928b390 another one 2024-06-14 07:44:10 -04:00
Barış Soner Uşaklı
c95075e1ca perf: '-inf' faster 2024-06-14 07:29:37 -04:00
Barış Soner Uşaklı
291bf7db41 perf: move attachments to post hash 2024-06-13 19:49:04 -04:00
Barış Soner Uşaklı
f76a586328 refactor: catch errors 2024-06-13 18:36:05 -04:00
Julian Lam
b6ffc47c5d feat: check to/cc/audience for local category and put topic there instead (overrides passed-in cid)
closes #12634
2024-06-13 17:06:58 -04:00
Julian Lam
d9f1fa3ad3 feat: plumb audience into _activitypub when mocking posts 2024-06-13 17:05:37 -04:00
Julian Lam
3567f55a5d feat: send cause to ap.get error handler, delete local account representation if assertion fails with a 410 2024-06-13 14:53:47 -04:00
Julian Lam
101062cb92 fix: introduce artificial 5s delay for 1b12 announces 2024-06-13 14:35:09 -04:00
Julian Lam
acd1630b9f fix: move logic to move topic on note assertion earlier in the flow so it actually runs 2024-06-13 14:02:26 -04:00
Barış Soner Uşaklı
badb7e2c05 fix: post count 2024-06-13 11:08:23 -04:00
Barış Soner Uşaklı
578a53dd8e feat: #12589, add nodeinfo endpoint 2024-06-13 10:57:43 -04:00
Barış Soner Uşaklı
919b037a8f Merge branch 'develop' into activitypub 2024-06-12 22:58:04 -04:00
Barış Soner Uşaklı
0989be0c7c Merge branch 'master' into develop 2024-06-12 22:57:54 -04:00