P. Reis
|
e08603a42a
|
fix: get lock pubkey from nutzap info
|
2025-02-25 15:59:40 -03:00 |
|
P. Reis
|
51faffc9e2
|
fix: get mints from nutzap info
|
2025-02-25 15:56:41 -03:00 |
|
P. Reis
|
33b8078fc6
|
fix: add pubkey lock to proofs
|
2025-02-25 13:58:57 -03:00 |
|
P. Reis
|
99a20bd129
|
Merge branch 'main' into mint-cashu
Conflicts:
packages/ditto/controllers/api/cashu.ts
packages/ditto/middleware/swapNutzapsMiddleware.ts
|
2025-02-24 20:07:12 -03:00 |
|
P. Reis
|
1d2a317029
|
feat: nutzap a post or user (no tests)
|
2025-02-24 17:34:14 -03:00 |
|
Alex Gleason
|
11a589fb01
|
Switch the pools, whoops
|
2025-02-24 08:50:06 -06:00 |
|
Alex Gleason
|
9df50a5b0d
|
app.ts: minor variable name cleanup
|
2025-02-23 20:53:48 -06:00 |
|
Alex Gleason
|
751c09035c
|
Pass DittoAPIStore to MastoAPI endpoints, DittoRelayStore to /relay
|
2025-02-23 19:41:17 -06:00 |
|
Alex Gleason
|
cce78f2b0c
|
Make DittoAPIStore and DittoRelay separate things
|
2025-02-23 18:54:04 -06:00 |
|
P. Reis
|
61cc7c335a
|
feat: create organizedProofs function
test: organizedProofs function
|
2025-02-23 21:06:34 -03:00 |
|
Alex Gleason
|
52a9017730
|
Add a new DittoAPIStore extending DittoRelayStore
|
2025-02-23 18:03:41 -06:00 |
|
Alex Gleason
|
ec498653fb
|
Rename DittoAPIStore to DittoRelayStore
|
2025-02-23 18:02:45 -06:00 |
|
Alex Gleason
|
77c0ac3561
|
Hotfix for relay publishing
|
2025-02-23 14:55:19 -06:00 |
|
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 |
|