Commit Graph

80 Commits

Author SHA1 Message Date
Alex Gleason
1ad7eeb961 deno fmt, deno lint 2023-12-01 19:28:33 -06:00
Alex Gleason
89b74217b6 Use the SqliteWorker with our new Kysely dialect 2023-12-01 18:15:39 -06:00
Alex Gleason
01839fbcbf Upgrade kysely and kysely-deno-sqlite 2023-12-01 17:57:55 -06:00
Alex Gleason
3a85e3f8bf Add fetchWorker for fetching off the main thread 2023-11-28 18:56:31 -06:00
Alex Gleason
3cdfbac4a1 Switch to sentry-deno 2023-11-20 19:25:39 -06:00
Alex Gleason
5b030c99c5 Upgrade Hono to v3.10.1 2023-11-20 12:42:18 -06:00
Alex Gleason
bedc8fdf91 Upgrade nostr-tools to v1.17.0 2023-11-20 12:36:06 -06:00
Alex Gleason
451b77d6c4 Switch main database to Deno SQLite3 2023-10-11 16:13:58 -05:00
Alex Gleason
a15e28e48f Add Sentry hono middleware 2023-10-05 20:04:27 -05:00
Alex Gleason
d646598879 Add Sentry integration 2023-10-05 16:08:12 -05:00
Alex Gleason
233f671326 Subscription: fix it with nostr-machina 2023-10-04 16:09:23 -05:00
Alex Gleason
31114b6094 accounts: return a blank account for verify_credentials if it isn't resolved 2023-09-11 09:08:15 -05:00
Alex Gleason
8a9f8454bf Serve a frontend through Ditto 2023-09-11 00:19:56 -05:00
Alex Gleason
052c00821d Enable registrations, require proof-of-work 2023-09-10 15:07:31 -05:00
Alex Gleason
c88b174d02 Add unattached_media table, insert one when uploading a file 2023-09-09 17:41:30 -05:00
Alex Gleason
4622b52f78 mediaController: get cid, fix permissions, host on /ipfs 2023-09-06 22:10:28 -05:00
Alex Gleason
3fc60c78d2 Add a mediaController for s3 uploads 2023-09-06 17:55:46 -05:00
Alex Gleason
5d19c21f51 cron: delete old remote events every hour 2023-09-04 19:46:39 -05:00
Alex Gleason
b9fc663db4 Switch to my fork of deno-sqlite with FTS support 2023-08-30 17:29:45 -05:00
Alex Gleason
af76d8cbae Bump kysely-deno-sqlite to v1.0.1, remove as any from database type 2023-08-30 16:12:39 -05:00
Alex Gleason
02e1a4ce58 db/events: support "search" filter 2023-08-30 12:04:45 -05:00
Alex Gleason
2ee29bf1e2 Make favourites stick, refactor some async logic in threads 2023-08-29 14:44:59 -05:00
Alex Gleason
77b09baa8c db/events: don't throw on duplicate events 2023-08-29 13:20:21 -05:00
Alex Gleason
e6d1494a10 streaming: make user stream mostly work, in a kind of hacky way 2023-08-28 13:34:15 -05:00
Alex Gleason
655004e775 Rework web signer to use NIP-46 events 2023-08-26 18:03:59 -05:00
Alex Gleason
67bba508af utils/web: make tags optional 2023-08-26 15:22:49 -05:00
Alex Gleason
c15194020f Delete event.ts, use nostr-tools types 2023-08-16 21:53:51 -05:00
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