Commit Graph

103 Commits

Author SHA1 Message Date
Alex Gleason d4721fb82d
Add mixer module to combine results from DB and pool 2023-08-16 16:12:27 -05:00
Alex Gleason 92f5bea891
db/relays: add "domain" column 2023-08-15 18:59:49 -05:00
Alex Gleason f13616a740
Bump kysely-deno-sqlite to v1.0.0 (no changes) 2023-08-14 18:27:30 -05:00
Alex Gleason 6c944d40f1
Bump deno-safe-fetch to v1.0.0 2023-08-14 18:13:43 -05:00
Alex Gleason 1ed6fa54df
Use safeFetch implementation 2023-08-14 18:03:24 -05:00
Alex Gleason 5f37a68b9f
Bump std to v0.198.0 2023-08-10 14:08:47 -05:00
Alex Gleason a1c8d3352f
Simplify 2023-08-09 02:01:27 -05:00
Alex Gleason ad112ff9a6
Use explicit return type for getFilterQuery 2023-08-09 01:53:50 -05:00
Alex Gleason 97a250c1f7
Add kysely migrations 2023-08-07 01:47:58 -05:00
Alex Gleason 3cb5f91d3b
Refactor db.ts to use kysely statements 2023-08-07 00:50:12 -05:00
Alex Gleason ecc9db86dd
Import kysely-deno-sqlite as a dep 2023-08-06 23:30:46 -05:00
Alex Gleason d799075657
Get Kysely adapter almost working... 2023-08-06 20:14:11 -05:00
Alex Gleason dc6b52f6d8
Upgrade deps 2023-08-04 14:53:48 -05:00
Alex Gleason 8ee1a0d888
Load dotenv in config.ts, ignore .env.defaults and .env.example 2023-08-04 14:17:50 -05:00
Alex Gleason f2a3f285fa
Use Deno.serve instead of deprecated "serve" from deno_std 2023-08-04 14:11:13 -05:00
Alex Gleason 4e6b9f4328
Merge remote-tracking branch 'origin/develop' into actor 2023-07-27 09:57:52 -05:00
Alex Gleason 14e60048a6
loopback: use RelayPool instead of nostr-tools just because it doesn't die so often 2023-07-26 12:54:06 -05:00
Alex Gleason 11f21e3922
Improve TrendsDB, add loopback script, almost ready to do something? 2023-07-25 15:30:58 -05:00
Alex Gleason 9ebf83af5d
Add preliminary TrendsDB module 2023-07-25 12:07:34 -05:00
Alex Gleason f8674ed053
Add RSA key to actors, use LRU cache 2023-07-13 22:00:27 -05:00
Alex Gleason c93aa5b314
Switch from Dongoose to Pentagon instead of the db 2023-07-09 12:27:10 -05:00
Alex Gleason 505b9db409
Try adding Dongoose and a users table 2023-07-09 11:47:19 -05:00
Alex Gleason 4edebaa105
createStatusController: handle most request params 2023-07-02 13:28:58 -05:00
Alex Gleason 6a20df2704
createStatusController: prevent non-public posts 2023-07-02 01:13:17 -05:00
Alex Gleason b5643c4aba
Refactor config to use a better interface 2023-06-10 17:15:08 -05:00
Alex Gleason 75a7a0a2ff
Bump nostr-tools version 2023-06-09 16:41:25 -05:00
Alex Gleason 265a97a191
Sanitize oembed html 2023-05-27 16:40:18 -05:00
Alex Gleason da6e31c647
Validate event signing, make it more Mastodonic 2023-05-20 21:16:22 -05:00
Alex Gleason 3ffad1df29
Build a websocket topics framework 2023-05-20 19:39:05 -05:00
Alex Gleason f3e42cc6a7
Add a UUID to auth tokens for private websocket event signing 2023-05-20 14:34:13 -05:00
Alex Gleason 9500ceee7c
Upgrade nostr-tools, fix BECH_32_REGEX imports 2023-05-20 12:28:12 -05:00
Alex Gleason cfa7498feb
Upgrade unfurl, fixes crashing 2023-05-12 16:12:35 -05:00
Alex Gleason 4993b4ca52
Support favourites 2023-05-07 12:32:24 -05:00
Alex Gleason f567acb58f
Cache rich media cards for 12 hours 2023-05-06 20:30:11 -05:00
Alex Gleason b6ce22cfaf
Unfurl card in link previews 2023-05-06 19:58:41 -05:00
Alex Gleason 2fff0ed879
First pass linkifying status content and rendering attachments 2023-05-06 15:17:50 -05:00
Alex Gleason 7bb8821b1b
Escape HTML fields 2023-04-30 16:07:07 -05:00
Alex Gleason d7805ae65b
Add logger middleware 2023-04-30 15:16:33 -05:00
Alex Gleason e26b540246
OAuth token endpoint: support formData 2023-04-30 14:13:27 -05:00
Alex Gleason 26cf528fca
Use findReplyTag from Mostr 2023-04-29 20:33:52 -05:00
Alex Gleason b42d1f3564
Make threads work, sorta 2023-04-29 20:23:51 -05:00
Alex Gleason 64102699ac
Perform NIP-05 lookups 2023-04-29 17:49:03 -05:00
Alex Gleason f87a17e609
Remove unused code 2023-04-29 17:20:51 -05:00
Alex Gleason 8c48b9f625
Add nip19 auth middleware 2023-04-29 15:22:10 -05:00
Alex Gleason a0f4a7d9b5
Upgrade nostr-tools, signEvent --> getSignature 2023-04-27 21:10:51 -05:00
Alex Gleason c3b8ad1c28
Scaffold db, handler, query 2023-04-07 21:38:05 -05:00
Alex Gleason c28c644265
Upgrade nostr-tools, do npub stuff, query own events in feed 2023-03-18 16:39:34 -05:00
Alex Gleason 2acfecc1eb
Allow posting a status to Nostr 2023-03-04 23:26:25 -06:00
Alex Gleason 48f04e48de
Enable CORS, fix nsec1 keys 2023-03-04 22:49:08 -06:00
Alex Gleason 825fed7d21
This is probably enough to log in? 2023-03-04 22:10:56 -06:00
Alex Gleason b36b8ea7d2
Add OAuth controller 2023-03-04 21:36:53 -06:00
Alex Gleason 484a396a64
Add /api/v1/instance 2023-03-04 20:19:57 -06:00
Alex Gleason d855c05fac
Boilerplate Deno stuff 2023-03-04 19:59:27 -06:00