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 |
|
P. Reis
|
ac684194a0
|
feat: create tokenEventSchema and add tests for cashu schemas
|
2025-02-21 16:48:44 -03:00 |
|
Alex Gleason
|
5ad7f1d5d7
|
userMiddleware -> tokenMiddleware
|
2025-02-21 13:27:19 -06:00 |
|
P. Reis
|
08d2f7fe3f
|
refactor: add cashu proof schema
|
2025-02-21 11:41:45 -03: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 |
|
Alex Gleason
|
8a978b088b
|
Use the user's store in a few places where it matters
|
2025-02-20 18:57:55 -06:00 |
|
Alex Gleason
|
33786d2e5d
|
Fix cashu tests, sorta
|
2025-02-20 18:48:44 -06:00 |
|
P. Reis
|
d87f650da3
|
fix: remove unused imports
|
2025-02-20 19:36:02 -03:00 |
|
P. Reis
|
a6fba9c8f1
|
fix: remove unused imports
|
2025-02-20 19:34:58 -03:00 |
|
P. Reis
|
d98a4bd263
|
refactor: use validateAndParseWallet function in GET /wallet
|
2025-02-20 19:33:25 -03:00 |
|
P. Reis
|
36640dd400
|
refactor: explain better the 'toBeRedeemed' field
|
2025-02-20 19:21:20 -03:00 |
|
P. Reis
|
71fd6ef965
|
refactor: extract repetitive validation and put it into a new function called 'validateAndParseWallet', tests included
|
2025-02-20 19:12:35 -03:00 |
|
Alex Gleason
|
e1bf86eb21
|
Make auth middleware work again (in a hacky way for now)
|
2025-02-20 14:45:44 -06:00 |
|
Alex Gleason
|
67aec57990
|
Rename @ditto/api to @ditto/mastoapi, start using the new router and middleware in app
|
2025-02-20 14:29:22 -06:00 |
|
Alex Gleason
|
22d7a5fa55
|
Merge remote-tracking branch 'origin/main' into router
|
2025-02-20 12:07:18 -06:00 |
|
Alex Gleason
|
0841563d69
|
Remove AdminSigner, Conf.pubkey, Conf.nsec, add Conf.signer
|
2025-02-20 12:04:52 -06:00 |
|
Alex Gleason
|
6bdb613522
|
Merge remote-tracking branch 'origin/main' into router
|
2025-02-20 11:37:33 -06:00 |
|
Alex Gleason
|
44c4b3188c
|
DittoPolyPg: fix path to migrations
|
2025-02-20 11:35:37 -06:00 |
|
Alex Gleason
|
5231c8a94f
|
Rename DittoDatabase to DittoPolyPg
|
2025-02-20 11:32:04 -06:00 |
|
Alex Gleason
|
c7624e99d7
|
Swap the names of DittoDB and DittoDatabase
|
2025-02-20 11:26:27 -06:00 |
|
Alex Gleason
|
5c0a350776
|
Add @ditto/router package
|
2025-02-20 11:19:50 -06:00 |
|
Alex Gleason
|
91f9bd9442
|
Add mock LibreTranslate tests
|
2025-02-20 11:07:41 -06:00 |
|
Alex Gleason
|
1afb09e604
|
DittoTranslator: source_lang -> sourceLang
|
2025-02-20 10:39:31 -06:00 |
|
Alex Gleason
|
2150259aba
|
languageSchema does not lowercase the code
|
2025-02-20 10:36:43 -06:00 |
|
Alex Gleason
|
d791a9b350
|
Fix DeepL Response parsing, mock DeepL tests so they can always run without API keys
|
2025-02-20 10:35:27 -06:00 |
|
Alex Gleason
|
403d0ac5c2
|
Add logi log to translate controller
|
2025-02-20 10:03:01 -06:00 |
|
P. Reis
|
c530aa310d
|
fix: get multiple proofs from nutzap event
|
2025-02-20 11:27:50 -03:00 |
|
Alex Gleason
|
2ce283e9a5
|
return new Response() -> return c.newResponse()
|
2025-02-20 00:57:47 -06:00 |
|
Alex Gleason
|
f72fcdbd65
|
Upgrade socket before closing with 1008 (ratelimit)
|
2025-02-20 00:23:06 -06:00 |
|
Alex Gleason
|
521b63185b
|
Catch webPush
|
2025-02-19 22:14:38 -06:00 |
|
Alex Gleason
|
351d03bde7
|
Remove accidentally added DittoAPIStore
|
2025-02-19 22:02:49 -06:00 |
|
Alex Gleason
|
841b83f573
|
Hopeless Cashu tests leak even more
|
2025-02-19 22:01:16 -06:00 |
|
Alex Gleason
|
6f7fc11635
|
Super duper extra close the database
|
2025-02-19 22:00:09 -06:00 |
|
Alex Gleason
|
c6605ece77
|
Fix not being able to log in for chrissakes
|
2025-02-19 21:50:19 -06:00 |
|
Alex Gleason
|
aefa6bed6e
|
Add an initial limit back to the relay
|
2025-02-19 20:51:07 -06:00 |
|
Alex Gleason
|
9401c0e013
|
DittoPgStore: call expandFilters in .req
|
2025-02-19 20:40:30 -06:00 |
|
Alex Gleason
|
d05dd16507
|
EOSE after empty initial filters
|
2025-02-19 20:29:24 -06:00 |
|
Alex Gleason
|
f0c7ec0a99
|
Prevent the streaming API from paginating the whole database
|
2025-02-19 20:25:12 -06:00 |
|
Alex Gleason
|
f87f19d06c
|
DittoPgStore: rework realtime streaming so it actually works
|
2025-02-19 20:17:53 -06:00 |
|
P. Reis
|
741df0bee6
|
reminder: fix not getting multiple proofs
|
2025-02-19 21:26:34 -03:00 |
|
Alex Gleason
|
bc0830785a
|
Remove old startNotify code
|
2025-02-19 16:19:16 -06:00 |
|
Alex Gleason
|
d9a466c0ee
|
Remove InternalRelay (pubsub) store
|
2025-02-19 16:13:22 -06:00 |
|
Alex Gleason
|
6568dca191
|
DittoPgStore: support timeout in req, add special treatment for ephemeral events, yield event loop when processing many subscriptions
|
2025-02-19 15:55:09 -06:00 |
|
Alex Gleason
|
31044691e1
|
Merge remote-tracking branch 'origin/main' into rm-pubsub
|
2025-02-19 12:03:12 -06:00 |
|
P. Reis
|
e9210118b0
|
fix: pass mintUrl rather than mint instance
|
2025-02-19 11:34:33 -03:00 |
|
P. Reis
|
04d710b1b8
|
fix: return mints from the wallet, not just the ones from kind 7375
|
2025-02-19 11:14:05 -03:00 |
|
Alex Gleason
|
7deec54a2e
|
Upgrade Deno to v2.2.0
|
2025-02-18 20:04:23 -06:00 |
|
P. Reis
|
d055c80abe
|
fix: pipe json payload into desired schema
|
2025-02-18 22:29:39 -03:00 |
|