51 Commits

Author SHA1 Message Date
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
Alex Gleason
2fc9988c06
reqmeister: middleware/cache, reqmeister, nip05, unfurl, refactor some code 2023-12-27 20:07:13 -06:00
Alex Gleason
ad0aaf97dd
Replace all timeouts with AbortSignal 2023-12-22 10:47:47 -06:00
Alex Gleason
86daef416f
Cache trending tags (with code copied from Mostr) 2023-12-04 13:19:20 -06:00
Alex Gleason
3a85e3f8bf
Add fetchWorker for fetching off the main thread 2023-11-28 18:56:31 -06:00
Alex Gleason
bedc8fdf91
Upgrade nostr-tools to v1.17.0 2023-11-20 12:36:06 -06:00
Alex Gleason
1662f616ef
Move unfurl code to a separate module 2023-10-06 15:05:22 -05:00
Alex Gleason
2d7398e9d1
nip98: fix pow check 2023-09-10 17:11:13 -05:00
Alex Gleason
052c00821d
Enable registrations, require proof-of-work 2023-09-10 15:07:31 -05:00
Alex Gleason
0b867afd8e
unattached-media: delete orphaned attachments after 15 minutes 2023-09-09 19:27:39 -05:00
Alex Gleason
46b9deffce
utils: add ipfs module 2023-09-09 19:13:42 -05:00
Alex Gleason
527e276340
Fix nip98 signing (validate proof), skip validating payload for media requests 2023-09-08 18:22:38 -05:00
Alex Gleason
7595dfa2e5
auth98: make requireProof obtain the event over NIP-46 2023-09-02 19:33:13 -05:00
Alex Gleason
61f5acc937
nip98: add a dedicated nip98 module, refactor auth98.ts 2023-09-02 18:32:01 -05:00
Alex Gleason
4c41ce8c0a
@/nip05.ts --> @/utils/nip05.ts 2023-09-02 13:43:01 -05:00
Alex Gleason
b27b84e3fb
Add favourited_by and reblogged_by controllers 2023-08-29 18:08:00 -05:00
Alex Gleason
4216a7931a
Add paginated helper function, DRY pagination code 2023-08-29 12:55:00 -05:00
Alex Gleason
67bba508af
utils/web: make tags optional 2023-08-26 15:22:49 -05:00
Alex Gleason
e17111a859
utils/web: PendingEvent --> EventStub 2023-08-26 12:52:24 -05:00
Alex Gleason
60cecafdb5
Remove admin.ts, move to sign.ts, add createAdminEvent function 2023-08-26 12:48:08 -05:00
Alex Gleason
bcfc3e2414
Use createEvent in more places 2023-08-19 22:25:45 -05:00
Alex Gleason
23928c0024
Move hono-related functions until utils/web 2023-08-19 14:05:08 -05:00
Alex Gleason
c08c801e71
Make following work 2023-08-19 13:37:44 -05:00
Alex Gleason
dc6b52f6d8
Upgrade deps 2023-08-04 14:53:48 -05:00
Alex Gleason
4e6b9f4328
Merge remote-tracking branch 'origin/develop' into actor 2023-07-27 09:57:52 -05:00
Alex Gleason
bc3a96eeed
Refactor trending tags history, make it more correct 2023-07-26 17:18:21 -05:00
Alex Gleason
2d5f9db5c3
Use 2048 bit RSA, because it's more secure and won't have the same performance penalty as on the bridge 2023-07-23 11:15:52 -05:00
Alex Gleason
f8674ed053
Add RSA key to actors, use LRU cache 2023-07-13 22:00:27 -05:00