Commit graph

372 commits

Author SHA1 Message Date
Siddharth Singh
e2ce3f32c3
fix logging default config 2025-04-29 23:25:38 +05:30
Alex Gleason
49e509e420
Fix LOG_CONFIG parsing 2025-04-29 12:42:40 -05:00
Alex Gleason
3a849700db
KyselyLogger: don't log expected errors 2025-04-29 12:32:44 -05:00
Alex Gleason
3a260f7873 Merge branch '10x-better-logging' into 'main'
Make logging 10x better

See merge request soapbox-pub/ditto!734
2025-04-29 14:24:48 +00:00
P. Reis
9d375f4afe goose created files remove 2025-04-08 12:23:12 -03:00
P. Reis
fb7c57a1d0 Merge branch 'main' into mint-cashu
Conflicts:
	packages/ditto/interfaces/DittoEvent.ts
	packages/ditto/storages/hydrate.ts
2025-04-08 12:16:53 -03:00
P. Reis
aadc3079fa refactor: make GET wallet a bit faster 2025-04-08 12:14:47 -03:00
Siddharth Singh
1b55932193
apply review fixes (thanks @alexgleason) 2025-04-08 17:09:05 +05:30
Siddharth Singh
8305cea81e
fmt ... again 2025-04-06 15:53:06 +05:30
Siddharth Singh
a1aed97dec
enable all subscopes of a given scope when it's supplied 2025-04-06 15:50:25 +05:30
Siddharth Singh
8f51a9d6d7
only show extra params when they are actually present 2025-04-06 15:46:24 +05:30
Siddharth Singh
1b19ff415a
add types to public api for dittoconf 2025-04-06 15:40:42 +05:30
Siddharth Singh
d3a15a699e
fmt 2025-04-06 15:33:36 +05:30
Siddharth Singh
82e7f854b9
replace logi handler 2025-04-06 15:28:54 +05:30
Siddharth Singh
6778a42d54
remove isCI conf var 2025-04-06 15:28:54 +05:30
Siddharth Singh
5dc2cc405f
add log configuration variables 2025-04-06 15:28:54 +05:30
Siddharth Singh
feab5f8cd0
stop logging every single query 2025-04-06 15:28:54 +05:30
Alex Gleason
1c2d7a6793
Index client addr in search extensions 2025-04-03 12:38:39 -05:00
Alex Gleason
621d92dcf6
Render "client" tags in statuses even if they don't have an application handler event 2025-04-03 12:31:10 -05:00
Alex Gleason
0abee76e38
nip89: add ["t", "ditto"] tag to application handler event 2025-04-03 12:29:58 -05:00
Alex Gleason
c425a9d39a
DittoPgStore: index "client" tag 2025-04-03 12:29:45 -05:00
Alex Gleason
23eb531305
Render client tags 2025-04-01 20:26:05 -05:00
Alex Gleason
caf59f4078
Insert NIP-89 "client" tags when users post statuses 2025-04-01 19:49:31 -05:00
Alex Gleason
c8b1c2050b
Publish nip89 application handler on startup 2025-04-01 18:55:36 -05:00
Alex Gleason
8dc9ea98e2
Fix relay always sending a CLOSED message after the client sends CLOSE 2025-03-28 17:50:51 -05:00
Alex Gleason
34a29c8f4e
NIP-11 improvements 2025-03-28 16:15:20 -05:00
P. Reis
69fe86890f feat: add accepts_zaps_cashu boolean field to DittoEvent and hydrate it 2025-03-27 09:48:29 -03:00
P. Reis
8a75f9e944 feat: implement GET statuses/:id{[0-9a-f]{64}}/nutzapped_by (with tests) 2025-03-26 15:55:59 -03:00
P. Reis
71a558a9de Merge branch 'main' into mint-cashu 2025-03-25 18:23:13 -03:00
P. Reis
cda5196007 fix: remove unused import 2025-03-25 18:22:51 -03:00
P. Reis
7dc56f594b feat: add zaps_amount_cashu to event_stats (with tests)
add zapped_cashu and zaps_amount_cashu field to MastodonStatus
2025-03-25 18:19:40 -03:00
P. Reis
83c96c88b7 feat: support pagination in GET transactions
remove getTransactions function and replace it with renderTransaction function (all tests updated)
2025-03-24 23:02:04 -03:00
Alex Gleason
95c10fd2b9 Merge branch 'fix-nip05-notification' into 'main'
Fix name grant notification not being rendered

See merge request soapbox-pub/ditto!728
2025-03-23 17:15:59 +00:00
Alex Gleason
06c9c8d898
Fix name grant notification not being rendered 2025-03-23 12:11:39 -05:00
P. Reis
4451aafadc fix: index k tag even if the value is not a number and count is less than 3 2025-03-21 16:56:24 -03:00
P. Reis
1360484ae9 fix: call paginationSchema as a function 2025-03-21 10:49:58 -03:00
P. Reis
0b8b9e726a Merge branch 'main' into mint-cashu 2025-03-21 10:47:49 -03:00
P. Reis
7226d503f5 fix(getTransactions): coerce tags to string in schema
This is not really needed but it doesn't hurt
2025-03-21 10:09:38 -03:00
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
Alex Gleason
8fc0092150
Fix memory leak in relay? 2025-03-19 15:15:44 -05: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