Commit Graph

54 Commits

Author SHA1 Message Date
Julian Lam
ffc33bc263 test: article for new topic, note for replies 2025-04-23 09:41:04 -04:00
Julian Lam
2fdb5db841 test: missing clear ap send cache 2025-04-23 09:41:04 -04:00
Julian Lam
881a6724ad test: additional test for ensuring handle:uid is continually set even after re-assertion 2025-04-23 09:41:04 -04:00
Julian Lam
86b5a159d7 fix: remote categories should not show up in a user's follow lists 2025-04-23 09:41:03 -04:00
Julian Lam
ca51597306 fix: #13255, remote user-to-category migration should not move shares that are already in an existing cid 2025-04-23 09:41:03 -04:00
Julian Lam
dc907bec7a test: additional test for remote category topic assertion when ignoring category 2025-04-23 09:41:03 -04:00
Julian Lam
0d77e860bf fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-23 09:41:03 -04:00
Julian Lam
f2a1ff4077 feat: remote user to category migration should also migrate local user follows into category watches 2025-04-23 09:41:03 -04:00
Julian Lam
b10e5aa269 fix: migrate topics as system user instead of uid 0 2025-04-23 09:41:03 -04:00
Julian Lam
d2b8a7c504 send ap follow/undo-follow if remote category watch state changes 2025-04-23 09:41:03 -04:00
Julian Lam
82beaf8fd3 feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-23 09:41:03 -04:00
Julian Lam
378c114815 test: #13255, reply to topic in remote category addresses remote category 2025-04-23 09:41:03 -04:00
Julian Lam
0dc2f618e4 feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-23 09:41:03 -04:00
Julian Lam
72470d6159 feat: #13255, deliver asserted topics to remote category followers 2025-04-23 09:41:03 -04:00
Julian Lam
e5c4843439 feat: #13255, add category name and handle to category search zset 2025-04-23 09:41:03 -04:00
Julian Lam
2bd474535a test: remote user pruning tests 2025-04-23 09:41:03 -04:00
Julian Lam
681ec76247 feat: integrate remote category pruning into actor pruning logic 2025-04-23 09:41:03 -04:00
Julian Lam
d7b976529a feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-23 09:41:03 -04:00
Julian Lam
c556f40ee3 test: introduce overrides into person and group mocks 2025-04-23 09:41:03 -04:00
Julian Lam
93a0b571f9 test: have ap helper mocks for person and group auto-save to ap cache 2025-04-23 09:41:03 -04:00
Julian Lam
d7f1860cbb test: add failing tests for actor/group assertion via wrong method, remote user to category migration 2025-04-23 09:41:03 -04:00
Julian Lam
36a2c3336d feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-23 09:41:03 -04:00
Julian Lam
dd030a5efb test: add tests for topics slotting into remote categories if addressed 2025-04-23 09:41:03 -04:00
Julian Lam
adf74f9e79 test: group actor assertion tests 2025-04-23 09:41:03 -04:00
Julian Lam
5d94f2cad4 test: fix test expecting Note when it is now Article 2025-04-15 10:06:04 -04:00
Barış Soner Uşaklı
3ad6ee075b Thumb uploads/post uploads normalization (#13300)
* testing thumn/post upload refactor

* fix: isOrphan check

* lint: fix md5

* test: fix upload test

* user

* fix: upgrade script

* refactor: long line

* lint: lint

* test: fix tests

* Squashed commit of the following:

commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Apr 4 09:24:54 2025 -0400

    fix: req.body can be undefined

* refactor: show data on test fail

* test: logs

* test: change test

* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Barış Soner Uşaklı
807a8c66db fix: race condition in test 2025-03-22 12:12:35 -04:00
Julian Lam
945617cbcf fix: only 1b12 announce topic fork if OP is local, fix race condition in tests 2025-03-11 15:32:10 -04:00
Julian Lam
254f0738bb feat: 1b12 category announce on post move to a new tid, #13236 2025-03-11 15:06:24 -04:00
Julian Lam
537880d2e8 test: fix actor tests 2025-03-11 13:27:37 -04:00
Julian Lam
74443c3b15 refactor: remove announceObject in favour of feps.announce, added create activity mock to support 2025-03-11 13:24:21 -04:00
Julian Lam
e3edfef865 feat: call announceObject on topic fork, #13215 2025-03-03 11:54:26 -05:00
Julian Lam
feb9421507 test: add failing test for #13215 2025-03-03 11:54:26 -05:00
Julian Lam
dca3c35d76 fix: move AP send logging earlier 2025-03-02 22:58:05 -05:00
Julian Lam
e510e82633 test: new test file for feps 2025-02-28 14:46:12 -05:00
Julian Lam
98aafaaff8 test: allow ap/notes tests to be run in isolation 2025-02-28 13:56:40 -05:00
Julian Lam
f1c2b2be04 Merge branch 'master' into develop 2025-02-27 13:34:28 -05:00
Julian Lam
428300de4f fix: scheduled topics and posts should return 404 on AP request 2025-02-27 13:34:21 -05:00
Julian Lam
01be4d7908 test: moved AP actor tests to separate actors.js file, added failing test for scheduled topics 2025-02-27 13:34:21 -05:00
Barış Soner Uşaklı
37001af0af Merge branch 'master' into develop 2025-02-26 21:07:41 -05:00
Julian Lam
04d5edbbe9 fix: add missing file 2025-02-26 18:25:51 -05:00
Julian Lam
c6ba56a517 test: update test to assert the note assertion itself
add failing test for Video handling
2025-02-26 13:06:37 -05:00
Julian Lam
efb27ce0ac fix: tests for public and private note assertion, failing test for private note assertion with missing cc prop 2025-02-26 12:29:57 -05:00
Julian Lam
64267f7de0 test: remove extra .only, add basic tests for public note assertion 2025-02-25 14:24:56 -05:00
Barış Soner Uşaklı
669755d1e9 test: dont clear local when testing 2025-02-18 11:57:28 -05:00
Barış Soner Uşaklı
f282407322 test: show objects on fail 2025-02-18 11:43:34 -05:00
Barış Soner Uşaklı
6431824216 test: wait after post request 2025-02-18 10:53:25 -05:00
Julian Lam
4a827b7e70 test: adjust webfinger test for updated 404 status code 2025-01-22 14:25:12 -05:00
Julian Lam
12fb205b09 fix: activitypub tests 2025-01-07 12:20:46 -05:00
Julian Lam
8ef0df57e6 refactor: check HTTP signatures on all activitypub requests
- `validate` is now renamed `assertPayload`
- HTTP signature checking is now in new middleware `verify`
- `verify` is now called on all routes in activitypub controller
- Rejects on signature failure for POST requests
2024-10-07 14:08:57 -04:00