Commit graph

23 commits

Author SHA1 Message Date
d90c8ded64 Add basic nodeinfo. 2023-04-12 00:06:39 -05:00
340244cdab In order to verify the signature, we need to have the signature. 2023-04-11 23:24:37 -05:00
35c029b124 Set inbox to queue important tasks rather than handling them on arrival. 2023-04-11 08:41:00 -05:00
c4bd237051 Accept Announce, handle content-not-included, correct DB inserts. 2023-04-07 23:41:31 -05:00
053f1e6fa1 Add http agent, update keys to ensure string, allow async promise executors. 2023-03-30 08:39:16 -05:00
552fc41c5e We should make sure the key pair is available. 2023-03-29 23:44:26 -05:00
031eba7936 Ensure we're only sending the public key with the actor. 2023-03-29 08:46:46 -05:00
7f98b0ac20 Remove eslint annoyance related to quotes. 2023-03-29 08:38:48 -05:00
f9c1223e0b Ensure req.hostname is shared as the preferredUsername 2023-03-29 08:17:16 -05:00
9c6f997c2a Fix logging. 2023-03-28 23:45:03 -05:00
401efee7cb Add basic instance actor, along with rudimentary http signature key generation support. 2023-03-28 23:33:04 -05:00
fb08c1e7ec Acknowledge (in code) "Announce" objects. 2023-03-28 08:43:38 -05:00
1d9bdf2508 Add logging. 2023-03-27 08:53:13 -05:00
ef89bec646 Return 422 Unprocessable Content for unimplemented functionality. 2023-03-25 21:55:42 -05:00
8ef2b9bd72 Ensure that we have the proper context for JSON-LD manipulation in DB. 2023-03-25 12:52:00 -05:00
58adbdc459 Allow routes to use app.route()
Concerns were raised that the previous method potentially made middleware more complicated. In order to allay this, hoist the full route into the route file. Still a single route per file, but facilitates simpler middleware.
2023-03-24 01:33:25 -05:00
dd5499a21d Initial groundwork for storing inbox in database. 2023-03-24 01:24:27 -05:00
1e8d9dfe06 Webfinger for instance actor. 2023-03-21 07:42:25 -05:00
c4882652e5 Code "quality" enforcement. 2023-03-21 06:51:25 -05:00
8b0b3fd2ef Use path-to-regexp to test route files against express-compatible routing. 2023-03-20 08:48:55 -05:00
aa58093b91 Framework for automatic loading of routes. 2023-03-19 21:40:35 -05:00
76fb085ef3 NPM Init 2023-03-19 20:38:00 -05:00
f7355793db Initial commit 2023-03-19 23:41:32 +00:00