Commit graph

378 commits

Author SHA1 Message Date
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
P. Reis
a2165f0918 refactor: implement getMintsToProofs function 2025-02-18 22:19:41 -03:00
P. Reis
8890311e2d refactor: create getLastRedeemedNutzap function 2025-02-18 21:03:12 -03:00
Alex Gleason
c29fc57a8c
Switch to genEvent from Nostrify 2025-02-18 16:35:45 -06:00
Alex Gleason
aabe6350a7
Remove SearchStore 2025-02-18 15:08:00 -06:00
P. Reis
839aaca179 refactor: use zod 2025-02-18 17:13:16 -03:00
Alex Gleason
6fb873e72f
Make DittoPgStore pubsub capable 2025-02-18 13:45:14 -06:00
Alex Gleason
37f418899b
EventsDB -> DittoPgStore 2025-02-18 13:32:32 -06:00
Alex Gleason
ac3a9fdf5a
Make @ditto/ratelimiter its own package 2025-02-18 13:16:42 -06:00
Alex Gleason
6f9081bbaf
Make @ditto/policies its own package 2025-02-18 13:13:05 -06:00
Alex Gleason
025a86fda2
translators: add missing return types 2025-02-18 13:05:47 -06:00
Alex Gleason
990646da26
Make @ditto/translators its own package 2025-02-18 13:03:48 -06:00
Alex Gleason
d901a722e5
Make @ditto/lang its own package 2025-02-18 12:49:19 -06:00
Alex Gleason
b2cd5c541b
Move uploaders into @ditto/uploaders 2025-02-18 12:43:57 -06:00
P. Reis
4b49dd0ddf refactor: delete get quote id state 2025-02-17 21:05:25 -03:00
P. Reis
fb72038373 feat: implement POST '/api/v1/ditto/cashu/mint/:quote_id' 2025-02-17 15:16:16 -03:00
P. Reis
29b1a20193 Merge branch 'main' into mint-cashu 2025-02-17 10:58:08 -03:00
P. Reis
b9d813804e feat: implement GET '/api/v1/ditto/cashu/quote/:quote_id' (not tested) 2025-02-16 20:00:14 -03:00
Alex Gleason
af0e688ca3
Fix path to datadir and custom policies 2025-02-16 12:52:27 -06:00
Alex Gleason
0ace14ffbb
metrics: add types to all exports 2025-02-16 11:56:41 -06:00
Alex Gleason
785ba1e053
Remove base alias from packages (make scripts use relative paths for now) 2025-02-16 11:50:25 -06:00
Alex Gleason
fbb5c63c33
metrics: make 'prefix' a variable 2025-02-16 11:45:08 -06:00
Alex Gleason
e1c1967a66
db: remove some external deps 2025-02-16 11:42:48 -06:00