Julian Lam
c2f77cee04
test: additional test for remote category topic assertion when ignoring category
2025-04-29 10:28:17 -04:00
Julian Lam
0246c14643
fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes
2025-04-29 10:28:17 -04:00
Julian Lam
ac7b7f81b3
feat: remote user to category migration should also migrate local user follows into category watches
2025-04-29 10:28:17 -04:00
Julian Lam
ee34396c71
fix: migrate topics as system user instead of uid 0
2025-04-29 10:28:17 -04:00
Julian Lam
6e374200e5
send ap follow/undo-follow if remote category watch state changes
2025-04-29 10:28:17 -04:00
Julian Lam
d19f692b8d
feat: remote group actors migrated to categories if they were previous asserted as remote users
2025-04-29 10:28:17 -04:00
Julian Lam
85e7c1a20d
test: #13255 , reply to topic in remote category addresses remote category
2025-04-29 10:28:17 -04:00
Julian Lam
b8c531d53d
feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests
2025-04-29 10:28:17 -04:00
Julian Lam
9c1d5cd36e
feat: #13255 , deliver asserted topics to remote category followers
2025-04-29 10:28:17 -04:00
Julian Lam
876d1b0414
feat: #13255 , add category name and handle to category search zset
2025-04-29 10:28:17 -04:00
Julian Lam
53dc79a1bd
test: remote user pruning tests
2025-04-29 10:28:17 -04:00
Julian Lam
9b5855f79d
feat: integrate remote category pruning into actor pruning logic
2025-04-29 10:28:17 -04:00
Julian Lam
4be0f73ace
feat: migration of group-as-user to group-as-category, remote category purging, more tests
2025-04-29 10:28:17 -04:00
Julian Lam
4f7481582c
test: introduce overrides into person and group mocks
2025-04-29 10:28:17 -04:00
Julian Lam
80069a198c
test: have ap helper mocks for person and group auto-save to ap cache
2025-04-29 10:28:17 -04:00
Julian Lam
afc4764358
test: add failing tests for actor/group assertion via wrong method, remote user to category migration
2025-04-29 10:28:17 -04:00
Julian Lam
f483e883a7
feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state
2025-04-29 10:28:17 -04:00
Julian Lam
804052f272
test: add tests for topics slotting into remote categories if addressed
2025-04-29 10:28:17 -04:00
Julian Lam
ca9a5b6dfb
test: group actor assertion tests
2025-04-29 10:28:17 -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
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
4e9cd8efc0
feat: track incoming requests by id, analytics increment for some metrics, ignore repeated requests by id
...
closes #12574
2024-05-14 12:07:18 -04:00
Julian Lam
ccd187e000
feat: Note deletion logic and refactoring, #12551
2024-05-09 15:49:03 -04:00
Julian Lam
94eafe1df3
refactor: split activitypub tests to subfolder files
2024-04-26 11:30:08 -04:00