Commit graph

36 commits

Author SHA1 Message Date
Alex Gleason
fc73cb2961
Upgrade Nostrify 2024-09-23 22:16:03 -05:00
Alex Gleason
fc7228e183
Streaming metrics 2024-09-21 21:40:52 -05:00
Alex Gleason
8e3ddaa056
Add PGLITE_DEBUG environment variable 2024-09-16 12:31:50 -05:00
Alex Gleason
1732b69022
Remove unused Storages.close method 2024-09-12 13:39:02 -05:00
Alex Gleason
8316762370
Remove this DittoExit stuff (since I'm not convinced it's needed) 2024-09-12 13:37:21 -05:00
Alex Gleason
b3cfd5e12c
waitReady is not actually needed 2024-09-12 13:17:21 -05:00
Alex Gleason
fc912f185e
Gracefully start and exit the database 2024-09-12 13:03:23 -05:00
Alex Gleason
ebc0250d81
DittoDB.getInstance() -> Storages.kysely() 2024-09-11 13:23:06 -05:00
Alex Gleason
d2fb3fd253
Make EventsDB not rely on Conf 2024-09-11 13:06:20 -05:00
Alex Gleason
f3ae200833
Simplify database interfaces, make tests use pglite 2024-09-11 11:48:58 -05:00
Alex Gleason
dc8d09a9da
Remove SQLite support 2024-09-11 11:08:33 -05:00
Alex Gleason
617659c7fd
Fix DittoDB+EventsDB relationship 2024-08-12 15:13:49 -05:00
Alex Gleason
552de01a17
Rework DittoDB to return an object 2024-08-11 19:02:27 -05:00
Alex Gleason
37f229408c
Seed zap splits when Storages.db is first accessed 2024-07-29 15:59:29 -05:00
Alex Gleason
4304715c1e
pool: skip event verification 2024-07-20 13:38:56 -05:00
P. Reis
bccf33f80a feat(storages): remove PoolStore, use NPool 2024-07-17 11:42:27 -03:00
P. Reis
f4f0c5fb86 fix(storages): publish to write relays only as well 2024-07-17 11:00:49 -03:00
Alex Gleason
e5fadafc7a
Create AdminStore to filter out banned users 2024-06-08 12:58:59 -05:00
Alex Gleason
a15013e22a
Remove Optimizer and Reqmeister 2024-05-25 12:22:01 -05:00
Alex Gleason
406baf8a1d
events-db -> EventsDB 2024-05-15 08:18:31 -05:00
Alex Gleason
b4d48218b8
Add missing nostr-relaypool import 2024-05-14 18:46:55 -05:00
Alex Gleason
a4226a963f
Rework Kysely db to be async 2024-05-14 18:44:42 -05:00
Alex Gleason
08c9ee0670
Refactor client and firehose 2024-05-14 16:25:24 -05:00
Alex Gleason
3c706dc81b
Storages: make all methods async (total chaos and destruction) 2024-05-14 16:10:50 -05:00
Alex Gleason
705e8e7c31
PoolStore: implement NRelay 2024-05-03 13:23:00 -05:00
Alex Gleason
c190d2c8ce
Refactor Storages to get lazy-loaded only when they are used 2024-05-01 14:56:47 -05:00
Alex Gleason
333dfca270
Storages: typofix subsub -> pubsub 2024-04-25 18:31:16 -05:00
Alex Gleason
05534d532b
APISigner: refactor with InternalRelay 2024-04-25 18:28:19 -05:00
Alex Gleason
9c91e41e87
Switch NSpec to Nostrify, update imports 2024-04-19 16:39:35 -05:00
Alex Gleason
0fc8143889
Get rid of unnecessary memorelay module, replace with NCache 2024-01-23 17:50:33 -06:00
Alex Gleason
a10108e109
Move client to a PoolStore storage class 2024-01-07 15:15:20 -06:00
Alex Gleason
20928cdf82
Reqmeister: pass client as an opt 2024-01-07 14:58:17 -06:00
Alex Gleason
ae44c08a2a
Move Reqmeister to a dedicated storage class 2024-01-07 14:54:33 -06:00
Alex Gleason
d170eb6d8e
SearchStorage: make author relations work 2024-01-04 00:52:55 -06:00
Alex Gleason
ee7347df10
SearchStore works! 2024-01-04 00:07:57 -06:00
Alex Gleason
b3e4b79439
Delete db/events.ts, db/memorelay.ts, move to @/storages.ts 2024-01-03 21:56:41 -06:00