Alex Gleason
|
e88a7d01d4
|
Purify event before sending to pool
|
2025-02-23 14:50:45 -06:00 |
|
Alex Gleason
|
e99496306a
|
DittoAPIStore: fix handleEvent not being called
|
2025-02-23 13:08:19 -06:00 |
|
Alex Gleason
|
44f3721d36
|
DittoAPIStore: test that kind 0 with nip05 updates author_stats table
|
2025-02-23 12:41:59 -06:00 |
|
Alex Gleason
|
3f9f0468d2
|
Remove now unnecessary idleTimeout opt from socket upgrades
|
2025-02-23 12:05:53 -06:00 |
|
Alex Gleason
|
decb3ac618
|
Fix streaming API hydration ( ͡° ͜ʖ ͡°)
|
2025-02-23 11:56:29 -06:00 |
|
Alex Gleason
|
a52fe9fbc6
|
Try to fix pkey migration
|
2025-02-23 09:30:00 -06:00 |
|
Alex Gleason
|
02d4235abd
|
Rename nostr_events_new_pkey to nostr_events_pkey
|
2025-02-23 09:21:14 -06:00 |
|
Alex Gleason
|
497d5d12c9
|
Fix DittoPgStore tests
|
2025-02-23 00:39:41 -06:00 |
|
Alex Gleason
|
237f6e55ad
|
Fix DittoEnv type check
|
2025-02-22 21:52:26 -06:00 |
|
Alex Gleason
|
f1cb8c778a
|
Normalize Link header URLs
|
2025-02-22 21:45:04 -06:00 |
|
Alex Gleason
|
7f059b4dac
|
Fix event hydration with getEvent/getAuthor
|
2025-02-22 21:40:53 -06:00 |
|
Alex Gleason
|
6f1312b67f
|
Remove old paginationSchema
|
2025-02-22 21:38:48 -06:00 |
|
Alex Gleason
|
1ae9da5793
|
Fix hydrate tests
|
2025-02-22 21:26:23 -06:00 |
|
Alex Gleason
|
6cd64500ce
|
Fix stats test
|
2025-02-22 21:24:43 -06:00 |
|
Alex Gleason
|
4f46a69131
|
I did a fucked up polymorphism
|
2025-02-22 20:56:53 -06:00 |
|
Alex Gleason
|
f893a81464
|
DittoAPIStore: add limit 0
|
2025-02-22 19:55:58 -06:00 |
|
Alex Gleason
|
70f0eb3b03
|
Fix pagination lint errors
|
2025-02-22 19:49:43 -06:00 |
|
Alex Gleason
|
f2e2072184
|
Export PolicyWorker as a regular class
|
2025-02-22 19:46:38 -06:00 |
|
Alex Gleason
|
3b17fd9b45
|
Remove @/storages.ts (jesus christ)
|
2025-02-22 19:27:53 -06:00 |
|
Alex Gleason
|
63c0f8b032
|
ditto/db: make adapters use classes instead of static classes
|
2025-02-22 15:32:47 -06:00 |
|
Alex Gleason
|
398d79b45e
|
DittoAPIStore: console.error -> logi
|
2025-02-22 13:05:50 -06:00 |
|
Alex Gleason
|
79fc568548
|
Add DittoPool class
|
2025-02-22 12:59:36 -06:00 |
|
Alex Gleason
|
2f0dbc44e4
|
Copy all the pipeline logic into DittoAPIStore (and some into DittoPgStore)
|
2025-02-22 12:01:50 -06:00 |
|
Alex Gleason
|
48bd7618f7
|
Start building DittoAPIStore
|
2025-02-22 03:13:05 -06:00 |
|
Alex Gleason
|
02e284f3aa
|
Remove unused DittoFilter interface
|
2025-02-22 01:06:53 -06:00 |
|
Alex Gleason
|
4ed0640766
|
@ditto/router -> @ditto/mastoapi/router
|
2025-02-21 23:32:15 -06:00 |
|
Alex Gleason
|
084c6aa944
|
Fix DummyDB test
|
2025-02-21 21:55:00 -06:00 |
|
Alex Gleason
|
8ef03e7926
|
Merge remote-tracking branch 'origin/lowercase-nip05' into router
|
2025-02-21 21:54:32 -06:00 |
|
Alex Gleason
|
6c70b4bc4e
|
Make NIP-05 case insensitive
|
2025-02-21 21:51:33 -06:00 |
|
Alex Gleason
|
07b68b71d2
|
Add missing types to testApp
|
2025-02-21 21:31:42 -06:00 |
|
Alex Gleason
|
9c97cc387f
|
mastoapi: add a test module
|
2025-02-21 21:15:57 -06:00 |
|
Alex Gleason
|
d4fc10fe3e
|
Add userMiddleware tests
|
2025-02-21 21:09:22 -06:00 |
|
Alex Gleason
|
403b16a67b
|
Merge remote-tracking branch 'origin/main' into router
|
2025-02-21 20:51:33 -06:00 |
|
Alex Gleason
|
4cfb6543c7
|
Don't lowercase nip05 name before fetching (for now)
|
2025-02-21 20:50:09 -06:00 |
|
Alex Gleason
|
8437da1200
|
Fix error handling in nameRequestController
|
2025-02-21 20:33:44 -06:00 |
|
Alex Gleason
|
5fec5deb06
|
publishEvent: publish to pool in background, catch errors and log
|
2025-02-21 20:22:58 -06:00 |
|
Alex Gleason
|
82446e3ef1
|
Add method and pathname to ditto.http error
|
2025-02-21 20:06:39 -06:00 |
|
Alex Gleason
|
d2abb1f1e4
|
Fix MuteListPolicy test
|
2025-02-21 18:59:14 -06:00 |
|
Alex Gleason
|
6b1aadc24c
|
nip98: add explicit types to exported functions
|
2025-02-21 18:46:43 -06:00 |
|
Alex Gleason
|
26e87b3962
|
tokenMiddleware: pass token to streaming API
|
2025-02-21 17:44:56 -06:00 |
|
Alex Gleason
|
806bfc1b45
|
Delete auth98Middleware, replace with userMiddleware
|
2025-02-21 16:54:38 -06:00 |
|
Alex Gleason
|
adeff1cae5
|
tokenMiddleware: support nip98 auth
|
2025-02-21 15:53:29 -06:00 |
|
Alex Gleason
|
f0add87c6d
|
Create @ditto/nip98 package
|
2025-02-21 15:35:03 -06:00 |
|
Alex Gleason
|
72851bc536
|
Remove AdminStore from storages
|
2025-02-21 15:08:58 -06:00 |
|
Alex Gleason
|
e5657d67c0
|
app -> route
|
2025-02-21 15:08:37 -06:00 |
|
Alex Gleason
|
d0c7cc7a45
|
Improve cashu test
|
2025-02-21 15:05:54 -06:00 |
|
Alex Gleason
|
438ab09216
|
Split userMiddleware into tokenMiddleware and a new userMiddleware
|
2025-02-21 14:52:17 -06:00 |
|
Alex Gleason
|
5ad7f1d5d7
|
userMiddleware -> tokenMiddleware
|
2025-02-21 13:27:19 -06:00 |
|
Alex Gleason
|
f83925331a
|
Apply the UserStore to the userMiddleware
|
2025-02-20 20:04:57 -06:00 |
|
Alex Gleason
|
8f49b99935
|
Consolidate AdminStore and UserStore
|
2025-02-20 20:03:31 -06:00 |
|