Commit Graph

47 Commits

Author SHA1 Message Date
Julian Lam
3e33e1a3fc fix: ap webfinger test 2025-01-20 13:42:19 -05:00
Barış Soner Uşaklı
866588f7fa test: missing ; 2025-01-20 13:25:05 -05:00
Julian Lam
af4d07fba4 feat: fix activitypub toggler to be more complete; tests. #13054 2025-01-20 12:05:17 -05:00
Julian Lam
98280d30e7 fix: #12990, local references via remote posts are not linkified properly, + tests for helper 2025-01-15 14:19:45 -05:00
Julian Lam
12fb205b09 fix: activitypub tests 2025-01-07 12:20:46 -05:00
Julian Lam
f449fafccf fix: don't chop off colons when generating titles as they could interfere with emoji 2024-11-14 15:07:42 -05:00
Julian Lam
a59dae3f0a fix: #12866 again, more tests 2024-10-31 11:35:28 -04:00
Julian Lam
beb85604bd fix: #12866, improve title generator, refactor tests 2024-10-25 13:18:45 -04:00
Julian Lam
8492b5f402 fix: #12857 byebye cheerio 2024-10-18 14:41:22 -04:00
Julian Lam
45a0b8189b fix: tests 2024-09-30 16:59:24 -04:00
Julian Lam
a005440088 fix: remove .only 2024-05-14 12:13: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
5e9d47a1d8 feat: serve Tombstone objects for soft deleted posts
re: #12551
2024-05-07 12:16:23 -04:00
Julian Lam
0c0f01b560 test: refactor tests to support additional Note tests 2024-05-07 11:57:58 -04:00
Julian Lam
6ac5a77976 fix: update title generator to include the punctuation, and also take into account question marks and exclamation marks 2024-04-30 11:41:34 -04:00
Julian Lam
b9d6aa4639 feat: slightly better title generation 2024-04-29 16:16:07 -04:00
Julian Lam
94eafe1df3 refactor: split activitypub tests to subfolder files 2024-04-26 11:30:08 -04:00
Opliko
8fd4ae2d8f test: use encoded parameters in webfinger tests 2024-04-25 12:00:31 +02:00
Julian Lam
f40df38786 fix: actor assertion logic to ignore loopback urls 2024-04-05 11:37:23 -04:00
Julian Lam
59709a3cb2 fix: tests, save actor URL into userRemote hash 2024-04-03 13:49:27 -04:00
Julian Lam
4b2495b5aa fix: tests 2024-03-12 12:03:16 -04:00
Julian Lam
aadac7053a tests: fix privileges in test runner 2024-02-26 14:22:35 -05:00
Julian Lam
a94341f489 feat: security, cross-check key ownership against received actor 2024-02-21 13:43:56 -05:00
Julian Lam
ed4ccbfccc refactor: resolveId method, add hostname verification 2024-02-21 10:58:20 -05:00
Julian Lam
42a0924137 test: refactor AP tests 2024-02-21 10:26:26 -05:00
Julian Lam
35819cc953 refactor: activitypub sending to handle signed requests from categories 2024-02-05 16:57:17 -05:00
Julian Lam
42bb3c3399 test: fix tests to reflect new immutable IDs, and added new tests for resource retrieval 2024-02-05 14:12:23 -05:00
Julian Lam
fef1882473 fix: remote follows, yet again 2024-01-26 22:35:02 -05:00
Julian Lam
a3a0edb70b fix: a bunch of broken things, added test for Create(Note) 2024-01-26 21:39:20 -05:00
Julian Lam
3c24cfb4a9 fix: unused require, tests 2024-01-25 11:06:30 -05:00
Julian Lam
e00a03bb9c fix: revert home page routing change and moved instance actor endpoint to 2024-01-24 14:09:40 -05:00
Julian Lam
da0211b1a0 feat: proper webfinger response for instance actor 2024-01-23 11:22:18 -05:00
Julian Lam
92c990f2f7 chore: remove debug log 2024-01-23 10:16:44 -05:00
Julian Lam
9885f94a2b feat: application actor + public key for uid 0 signs, moved homepage route to after core routes are generated 2024-01-22 16:18:49 -05:00
Julian Lam
91a509c4eb test: fix error copy 2024-01-08 15:03:46 -05:00
Julian Lam
8d79617044 fix: broken call to request lib, tests 2023-12-21 14:38:16 -05:00
Julian Lam
24c1dfac8c test: allow http proto on ci 2023-12-14 12:25:06 -05:00
Julian Lam
1f79f54241 feat: update activitypub helper resolveLocalUid to accept both webfinger name and full URL as input 2023-12-11 14:35:04 -05:00
Julian Lam
cc0d18869a test: fixed improper signed_string reconstruction in .verify() 2023-12-06 13:38:41 -05:00
Julian Lam
9dfa1b7209 test: fix webfinger test 2023-12-06 13:38:41 -05:00
Julian Lam
cdc4275fec feat: actor cache, method to resolve inboxes, stub code for sending requests. Now base64 encoding digest as expected by Mastodon 2023-12-06 13:38:41 -05:00
Julian Lam
a10df9873b test: added passing test cases for .sign() and .verify() 2023-12-06 13:38:41 -05:00
Julian Lam
ab3ff320b5 refactor: acp tpl + config option
- Updated ACP template to match new format
- changed global switch to `activitypubEnabled` (lowercase p)
2023-12-06 13:38:18 -05:00
Julian Lam
099124c49e feat: global switch for disabling federation, + test 2023-12-06 13:38:18 -05:00
Julian Lam
1c8e13bb12 test: updated activitypub test suite 2023-12-06 13:38:18 -05:00
Julian Lam
4bd8d28a8b test: added test cases for activitypub integration, WIP 2023-12-06 13:38:18 -05:00