Commit graph

311 commits

Author SHA1 Message Date
P. Reis
d69854fa3c fix: save amount tag value as a string 2025-03-21 10:07:34 -03:00
P. Reis
f9c4ec5835 feat: create GET transactions endpoint (with tests) 2025-03-20 14:02:43 -03:00
P. Reis
06ac326ec3 refactor: add relay of conf.relay in case no relays are present 2025-03-19 13:01:06 -03:00
P. Reis
feff31f094 feat: allow to edit the wallet mints and relays (with tests updated) 2025-03-18 18:30:52 -03:00
P. Reis
7c1297e865 fix: remove unused import 2025-03-17 22:48:43 -03:00
P. Reis
46ab6005d1 fix: https://jsr.io/go/slow-type-missing-explicit-type 2025-03-17 22:47:38 -03:00
P. Reis
5ff8bf4479 refactor: remove useless comments 2025-03-17 22:41:36 -03:00
P. Reis
355c53fd64 refactor: create getWallet function, with tests 2025-03-17 22:28:36 -03:00
P. Reis
07d0d4c4e5 fix: only create kind 5 if there are events to delete 2025-03-17 11:12:30 -03:00
P. Reis
c344cb6b74 refactor: call organizeProofs in a try-catch block 2025-03-17 11:10:08 -03:00
P. Reis
6afa0bb7f1 refactor: simplify deletion of expired quote ids expiredQuoteIds 2025-03-17 11:01:11 -03:00
P. Reis
0a05dd232c fix: only create new kind 7375 if there is proofs to keep 2025-03-15 20:48:33 -03:00
P. Reis
a719c2aabf fix: add swapNutzapsMiddleware to nutzap endpoint 2025-03-15 20:33:01 -03:00
P. Reis
0e0166419e test(nutzap): add more checks 2025-03-15 20:32:20 -03:00
P. Reis
e1d2139c31 test: POST nutzap endpoint, with full mocks 2025-03-14 19:30:50 -03:00
P. Reis
6a24ca126a refactor(cashu): move each fetch mock to its own test 2025-03-13 17:26:40 -03:00
P. Reis
cfdd5e1929 Merge branch 'main' into mint-cashu 2025-03-13 11:51:20 -03:00
P. Reis
bc0580dd05 fix: Error: PGlite is closed 2025-03-13 10:45:03 -03:00
P. Reis
921f478279 Merge branch 'main' into mint-cashu 2025-03-13 10:41:17 -03:00
Alex Gleason
80fcda2b01
Fix matching multiple whitespace characters at the end of a string 2025-03-12 16:53:22 -05:00
Alex Gleason
69a9534463
removeTrailingUrls -> removeTrailingTokens 2025-03-12 16:48:31 -05:00
Alex Gleason
bd71b45a8d
Strip media URLs regardless of whitespace delimiter 2025-03-12 16:46:32 -05:00
P. Reis
37d81cf2a2 Merge branch 'main' into mint-cashu 2025-03-12 17:08:02 -03:00
Alex Gleason
eec78efc0e
Hide media URLs from posts without imeta tags 2025-03-12 11:56:04 -05:00
P. Reis
8d0b5ba078 test: getMintsToProofs works 2025-03-12 13:15:52 -03:00
P. Reis
803b2abacc fix: add explicit return type - tokenEventSchema 2025-03-11 12:23:04 -03:00
P. Reis
dc711bce6a fix: add explicit return type 2025-03-11 11:49:39 -03:00
P. Reis
a002b1a005 refactor: create @ditto/cashu package 2025-03-11 11:34:42 -03:00
P. Reis
1c709b04be Merge branch 'main' into mint-cashu 2025-03-10 10:46:01 -03:00
P. Reis
3e35102e13 refactor: remove console.logs 2025-03-09 13:02:53 -03:00
Alex Gleason
026568ea71
Fix firehose 2025-03-08 21:03:36 -06:00
Alex Gleason
6b3f5ac8a6
Expose db to custom policy script 2025-03-08 20:44:22 -06:00
Alex Gleason
a400021a0d
Bump signal to 5s 2025-03-08 19:44:16 -06:00
Alex Gleason
26990bcf5e
Remove linkPreview cache config, rm stray console.log 2025-03-08 19:36:53 -06:00
Alex Gleason
affea45a08
Store link previews in the database
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/301
2025-03-08 19:33:15 -06:00
Alex Gleason
f01b4c0791
Look up identifiers in search on remote relays 2025-03-08 18:36:24 -06:00
Alex Gleason
239c427c78
Add DittoPool tests 2025-03-08 15:46:02 -06:00
Alex Gleason
920e558c06
Add an outboxy-style REQ router 2025-03-08 15:29:31 -06:00
Alex Gleason
e085082a76
Fix REQ abort logic 2025-03-07 22:58:55 -06:00
Alex Gleason
413056e841
Prewarm cards only for kind 1 2025-03-07 16:31:01 -06:00
Alex Gleason
5162e051ad
Ensure relay close handler is called 2025-03-07 12:34:47 -06:00
Alex Gleason
f8eb4fc79c
Add a metric for active author subscriptions 2025-03-06 22:55:23 -06:00
Alex Gleason
9c3307f923
Purify event before sending it out to relay 2025-03-06 15:38:14 -06:00
Alex Gleason
e5e0ddd7aa
DittoPgStore: purify events before streaming them 2025-03-06 15:34:31 -06:00
Alex Gleason
e85e89e0af
Automatically fetch missing authors from pool 2025-03-06 14:55:40 -06:00
P. Reis
e549a9d34a refactor: stop fetching author and set nip05_last_verified_at to null 2025-03-05 20:28:22 -03:00
P. Reis
9e726baa2a refactor: remove try catch 2025-03-05 20:15:16 -03:00
P. Reis
1eb1f4206d refactor: use db.kysely.updateTable rather than db.kysely.insertInto 2025-03-05 20:12:42 -03:00
P. Reis
19244aec2c test/fix: use waitFor function 2025-03-05 19:35:25 -03:00
Alex Gleason
9b422d8e31
Add note about hanging queries in DittoPostgres test 2025-03-05 14:47:35 -06:00