78 Commits

Author SHA1 Message Date
Alex Gleason
e5c8030960
Move more deps to aliases 2024-05-01 16:29:21 -05:00
Alex Gleason
973791cde1
type-fest alias 2024-05-01 16:16:19 -05:00
Alex Gleason
3513206de1
stickynotes alias 2024-05-01 16:14:50 -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
0bb4ccf5c9
Move nostr-tools to an import alias 2024-04-30 18:43:53 -05:00
Alex Gleason
f61d29eb66
Upgrade Nostrify to v0.15, use MockRelay in tests instead of NCache 2024-04-26 12:33:52 -05:00
Alex Gleason
7aa931a69e
try-catch the InternalRelay req's 2024-04-25 18:24:03 -05:00
Alex Gleason
0f9cc9fe51
zod import alias 2024-04-23 15:03:20 -05:00
Alex Gleason
64d50552b7
Import hono with an import alias 2024-04-20 18:54:15 -05:00
Alex Gleason
9c91e41e87
Switch NSpec to Nostrify, update imports 2024-04-19 16:39:35 -05:00
Alex Gleason
1cb53bdb84 Revert "Merge branch 'rework-cache' into 'main'"
This reverts merge request !156
2024-04-19 14:37:53 +00:00
Alex Gleason
6ab3a640bf
Rework cache middleware to use in-memory cache, remove ExpiringCache module 2024-04-13 14:00:21 -05:00
Alex Gleason
9bfed222da
unfurlCard: fix types 2024-04-08 11:38:59 -05:00
Alex Gleason
7e7cf1df64
createStatusController: parse mentions in text 2024-04-06 18:51:37 -05:00
Alex Gleason
4e54589c09
Deliver API events to outbox relays 2024-04-02 18:29:26 -05:00
Alex Gleason
a19f1aa6e8
NIP05 DRYer 2024-03-27 19:45:03 -05:00
Alex Gleason
435c69e6a8
nip05Cache: lookup local nip05 from direct database call 2024-03-27 18:39:50 -05:00
Alex Gleason
8bed0c17be
paginationSchema: don't set a default for until 2024-03-21 19:22:25 -05:00
Alex Gleason
ad2261a37e
Move accountLookup function into a separate module (to prevent circular dependencies) 2024-03-20 11:55:21 -05:00
Alex Gleason
c8b378ad10
Remove DittoFilter, use search instead of local 2024-03-20 11:34:04 -05:00
Alex Gleason
59d53c4a2f
Add APISigner and AdminSigner classes, implement NostrSigner interface 2024-02-12 11:52:05 -06:00
Alex Gleason
dbff3fee9a
Upgrade nostr-tools to v2.1.5 2024-02-12 11:40:17 -06:00
Alex Gleason
cb80770fc7
Upgrade NSpec, update count interface 2024-02-12 10:48:26 -06:00
Alex Gleason
5b24b7ad39
Pass Request signal down from API controllers 2024-01-23 15:58:59 -06:00
Alex Gleason
c6062874bd
Implement NStore interface from NLib 2024-01-23 14:06:51 -06:00
Alex Gleason
aaf01462c1
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent 2024-01-23 12:07:22 -06:00
Alex Gleason
13c50c71bd
Cache the LNURL response 2024-01-22 12:42:39 -06:00
Alex Gleason
d73fa7a311
Start simplifying LNURL code with NLib 2024-01-22 12:35:30 -06:00
Alex Gleason
0a1b6cdf4f
Merge remote-tracking branch 'origin/main' into zaps 2024-01-22 12:00:55 -06:00
Alex Gleason
8eccdafa64
Improve the NIP-05 cache 2024-01-21 20:22:11 -06:00
Alex Gleason
24d1ff4aec
lnurl: increase default limit to 2000 2024-01-15 17:46:23 -06:00
Alex Gleason
826a244f47
Add status zap endpoint, publish zap request to pipeline 2024-01-15 16:43:56 -06:00
Alex Gleason
786d9914af
Add LNURL utils 2024-01-15 16:20:10 -06:00
Alex Gleason
e16e81da86
Add a CLI task to publish events as the Ditto admin 2024-01-15 12:40:39 -06:00
Alex Gleason
a08e698f29
unfurl: improve failure debug 2024-01-11 18:09:59 -06:00
Alex Gleason
937ae1eab6
Refactor EventStore to use a more Set-like interface 2024-01-08 15:18:01 -06:00
Alex Gleason
b71124cc30
EventSet: event2 -> target 2024-01-03 22:15:20 -06:00
Alex Gleason
b3e4b79439
Delete db/events.ts, db/memorelay.ts, move to @/storages.ts 2024-01-03 21:56:41 -06:00
Alex Gleason
939eeae25a
Add Optimizer storage with EventSet 2024-01-03 20:22:02 -06:00
Alex Gleason
777ac39ec7
debug: improve output for nip05 2024-01-01 17:47:15 -06:00
Alex Gleason
43359f787b
web.ts -> api.ts 2024-01-01 17:03:32 -06:00
Alex Gleason
1620668d5a
debug: log events signed through the API 2024-01-01 17:02:09 -06:00
Alex Gleason
9841d193eb
Ensure bookmarks are displayed reverse-chronologically 2024-01-01 14:51:04 -06:00
Alex Gleason
38241d011d
Add missing newline 2024-01-01 13:08:32 -06:00
Alex Gleason
84eb4cec2e
Add blockController, fix bugs 2023-12-31 23:35:37 -06:00
Alex Gleason
63fb934220
setTag -> addTag 2023-12-31 22:06:35 -06:00
Alex Gleason
8023cfa7b2
Use a cleaner API for updating lists 2023-12-31 22:01:57 -06:00
Alex Gleason
dc27ee05d4
Create updateListEvent helper function 2023-12-31 20:13:49 -06:00
Alex Gleason
e01383629e
unfurl: fix missing import, debug errors 2023-12-28 15:55:48 -06:00
Alex Gleason
7b9baef165
debug: streaming, simplify other logs 2023-12-27 20:39:38 -06:00