Commit Graph

23 Commits

Author SHA1 Message Date
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