Commit Graph

13960 Commits

Author SHA1 Message Date
Julian Lam
fdc0d670d7 fix: catch thrown errors in src/api/activitypub 2024-07-10 10:15:31 -04:00
Julian Lam
00a266790d fix: federating category mentions 2024-07-09 15:42:08 -04:00
Julian Lam
f605e188db fix: send html in category description 2024-07-09 15:13:12 -04:00
Julian Lam
485b775837 feat: allow activitypub request cache to be ignored 2024-07-09 14:45:04 -04:00
Julian Lam
5e343a83f8 fix: Update activity handling for non-Person actors 2024-07-09 14:30:03 -04:00
Julian Lam
bacbfba9bd fix: remove await from category update federation call 2024-07-09 14:24:55 -04:00
Julian Lam
3c9337b730 feat: send join date in local actor mock 2024-07-09 14:06:59 -04:00
Julian Lam
e84cfd8c07 fix: issue where incrementing user hash fields didn't use the right key name for remote announce @barisusakli 2024-07-09 14:01:57 -04:00
Julian Lam
b0eec67d78 fix: lint 2024-07-05 15:58:47 -04:00
Julian Lam
af6ae6ee8a fix: send back empty array if no direct replies, bug with reply generation 2024-07-05 15:50:14 -04:00
Julian Lam
26a7c51a9a feat: AP note replies collection, closes #12675 2024-07-05 15:33:06 -04:00
Julian Lam
352857cfb6 refactor: collection logic out to an activitypub helper 2024-07-05 15:14:35 -04:00
Julian Lam
8e1fccf014 fix: accidental passing-in of an array into getUserField, breaks in pgsql? 2024-07-05 14:19:15 -04:00
Julian Lam
f629b20f2d fix: tighten up logic in checkToPid internal method 2024-07-05 13:49:16 -04:00
Julian Lam
4949d6c4e5 test: fix broken test in category follows 2024-07-05 13:33:00 -04:00
Julian Lam
8ecbb5cc5c fix: partial revert to fix url_parsed not being available at top of file @barisusakli 2024-07-05 12:14:16 -04:00
Julian Lam
46341673b3 fix: removal of topics from applicable user inboxes when synced
re: #12642
2024-07-05 12:00:23 -04:00
Julian Lam
0d549f1d80 fix: tweak logic for topic counters sorted sets, #12642 2024-07-05 11:41:47 -04:00
Julian Lam
d92efb8a0c fix: #12667; handle cases where received id is not a URL 2024-07-05 11:29:05 -04:00
Julian Lam
f662a60667 fix: #12673 fullname not defined in some remote actors 2024-07-05 11:18:20 -04:00
Julian Lam
26946c7fe6 fix: only send Update(Actor) to followers, #12674 2024-07-05 11:14:41 -04:00
Julian Lam
2cbd63dc31 docs: update comment to reflect new behaviour 2024-07-05 11:09:42 -04:00
Julian Lam
a748068c05 fix: missing sorted set member removal on category unfollow 2024-07-04 17:54:04 -04:00
Julian Lam
eab231ee9f fix: add timestamp to follow activity to make it unique 2024-07-04 17:42:59 -04:00
Julian Lam
cb5e5b4bdb fix: additional logging for activities with no context property 2024-07-04 17:00:30 -04:00
Julian Lam
600b1a8622 fix: update handling of Announce(Create(Note)) to also handle non-note types 2024-07-04 17:00:14 -04:00
Julian Lam
7e23e192d8 chore: restore activity history check in AP inbox middleware now that NodeBB sends unique IDs with applicable activities 2024-07-04 14:59:10 -04:00
Barış Soner Uşaklı
644bcec562 perf: use batch in resolveInboxes 2024-07-03 22:35:46 -04:00
Julian Lam
20aee8e9ae refactor: context item retrieval logic 2024-06-28 16:28:48 -04:00
Julian Lam
cc0bbcb7bf fix: push instead of unshift, now that order is reversed 2024-06-28 16:28:34 -04:00
Julian Lam
a2fb939b5c fix: wrong property name for OrderedCollection items 2024-06-28 15:14:22 -04:00
Julian Lam
e75ec39b70 feat: topic backfill logic via resolvable context #12647 2024-06-28 12:54:41 -04:00
Julian Lam
615aaa01d6 fix: improper sourceContent in mocks 2024-06-28 12:54:41 -04:00
Barış Soner Uşaklı
19908038c5 Merge branch 'develop' into activitypub 2024-06-27 17:00:28 -04:00
Barış Soner Uşaklı
ce10d8d431 Merge branch 'master' into develop 2024-06-27 17:00:03 -04:00
Barış Soner Uşaklı
ccc8682526 fix: add sizes to maskable so it doesnt crash chrome application tab 2024-06-27 16:59:49 -04:00
Julian Lam
d6f44d8ec3 fix: #12662, add original activity actor to Announced activity's cc 2024-06-27 14:05:48 -04:00
Barış Soner Uşaklı
6b33faac54 Merge branch 'develop' into activitypub 2024-06-27 10:40:14 -04:00
Barış Soner Uşaklı
e1ae3264ca Merge branch 'master' into develop 2024-06-27 10:30:59 -04:00
Barış Soner Uşaklı
61e5293a76 test: dont track session for api/v3 (#12660)
since they get destroyed when the request ends
2024-06-27 10:26:06 -04:00
Barış Soner Uşaklı
d6c946cf14 refactor: sessionUUID (#12658)
* refactor: sessionUUID

* test: get uuid from sessionsstore

* refactor: dont load all sids again in revoke

* feat: upgrade script, get rid of second sessionStoreGet

* allow disabling maxUserSessions by setting to 0
2024-06-26 17:34:04 -04:00
Barış Soner Uşaklı
9108c900c6 test: move set 2024-06-26 15:30:54 -04:00
Julian Lam
4dbb73a433 fix: remove duplicate 1b12 announce in notes.assert (already handled in inbox) 2024-06-26 14:32:48 -04:00
Barış Soner Uşaklı
65a91ea5e5 refactor: move delete call 2024-06-26 14:32:37 -04:00
Barış Soner Uşaklı
26feb2bbf8 perf: cleanup sessions every 30 seconds
instead of everytime addSession is called
2024-06-26 14:16:41 -04:00
Barış Soner Uşaklı
69ce3bf0b8 lint: remove unused winston 2024-06-26 13:25:52 -04:00
Barış Soner Uşaklı
172bc2499e perf: change revokeSession to work with an array of sids 2024-06-26 13:09:47 -04:00
Barış Soner Uşaklı
64875b3fae feat: closes #12656, only send required meta/link tags on /api calls 2024-06-26 11:55:24 -04:00
Barış Soner Uşaklı
85b329af25 refactor: use array.some 2024-06-26 09:08:32 -04:00
Julian Lam
fb1a9178cc Merge branch 'develop' into activitypub 2024-06-25 13:04:48 -04:00