Commit graph

269 commits

Author SHA1 Message Date
P. Reis
86874e3a08 feat: create createZapSplitsIfNotExists() function 2024-07-24 10:53:32 -03:00
P. Reis
75ad25ccac test(zap-split): update to be in accord with new data structure 2024-07-23 20:39:51 -03:00
P. Reis
2ebaee8807 refactor: change DittoZapSplits data structure to use object fields instead of array 2024-07-23 20:39:23 -03:00
P. Reis
80e14c65c0 refactor: rename zap_split.ts to zap-split.ts, rename tests as well 2024-07-23 18:14:22 -03:00
P. Reis
1f9896bdbf test: getZapSplits function return empty object 2024-07-19 19:30:31 -03:00
P. Reis
09eb444c9b test: update so getZapSplits function returns undefined 2024-07-19 19:19:35 -03:00
P. Reis
beee0e76e7 refactor: allow to return undefined in getZapSplits function 2024-07-19 19:19:04 -03:00
P. Reis
3bc3e7675d test: getZapSplits function 2024-07-19 17:36:12 -03:00
P. Reis
76a591ab6d feat: create getZapSplits function 2024-07-19 17:20:31 -03:00
P. Reis
e01e0049e3 fix: purify event before publishing to other relays 2024-07-17 11:40:08 -03:00
P. Reis
85a6089e36 test(outbox): coverage 100% 2024-07-17 10:39:50 -03:00
P. Reis
cc51917d61 fix(outbox): remove comment, use author pubkey 2024-07-17 10:39:50 -03:00
P. Reis
cf4ee051db Merge branch 'main' into search-nip05-enhance-and-postgres-support-testing 2024-07-16 13:58:47 -03:00
Alex Gleason
39fdbc1acb
Delete scavenger.test.ts 2024-07-12 14:01:21 -05:00
P. Reis
f380120cd3 test: refactor to use createTestDB instead of getTestDB 2024-07-05 17:48:06 -03:00
P. Reis
e1ee3bd8e9 refactor: remove scavenger, put logic directly into pipeline 2024-06-23 23:45:32 -03:00
P. Reis
89b56539d1 test(scavenger): code coverage 100.00% 2024-06-21 22:23:34 -03:00
P. Reis
771d7f79db refactor(scavenger): put SQL insert into try-catch block 2024-06-21 21:45:55 -03:00
P. Reis
1b30f10a9f test(scavenger): store valid data into event_zaps table 2024-06-21 21:39:18 -03:00
P. Reis
2c08b9a2f0 feat: create scavenger and handle kind 9735 2024-06-21 20:36:59 -03:00
Alex Gleason
875eee7a77
Avoid using the user's own relay list when publishing events
Sadly I think these relays are causing Ditto to lock up and stop working. This sucks
2024-06-19 13:25:06 -05:00
Alex Gleason
66abfa38c3
Upgrade hono, switch it to use JSR 2024-06-18 11:51:51 -05:00
P. Reis
98565efa12 refactor(bolt11): get amount with new library 2024-06-17 19:49:18 -03:00
P. Reis
c6425ad7ff fix(bolt11): print error 2024-06-17 18:15:42 -03:00
P. Reis
2f49e94e4c test(bolt11): getAmount function 2024-06-17 14:51:12 -03:00
P. Reis
82bf36f064 feat(bolt11): create getAmount function 2024-06-17 14:51:09 -03:00
Alex Gleason
e63ee9b5a3
Add interfaces for Mastodon entity types, hide deactivated accounts 2024-06-15 19:36:34 -05:00
P. Reis
880b09e016 refactor: parse zap request with NSchema 2024-06-13 15:51:34 -03:00
P. Reis
22dbddb5d3 refactor: zap amount parsed with zod, change zapped_by fields name 2024-06-13 14:21:01 -03:00
P. Reis
c77da12f9d Merge branch 'main' into feat-zap-counter 2024-06-10 09:52:28 -03:00
P. Reis
4b58fb9bf2 feat(updateStats): handle kind 9735 2024-06-10 09:35:17 -03:00
Alex Gleason
a14515bbe0
Rework reports with event sets 2024-06-08 19:48:56 -05:00
Alex Gleason
8e5fa9eece
Merge remote-tracking branch 'origin/main' into nip05-request 2024-06-08 15:01:01 -05:00
Alex Gleason
ca57d1be10
Remove stray console.log 2024-06-08 14:28:39 -05:00
Alex Gleason
d2238e80f9
Support Pleroma admin tags 2024-06-08 13:46:10 -05:00
Alex Gleason
b9922f96a0
adminActionController: mark "n" tags on the user 2024-06-08 12:17:06 -05:00
Alex Gleason
ab2e9d8dd7
nostr.json: determine nip05 grant based on kind 30360 events 2024-06-06 14:19:53 -05:00
Alex Gleason
4361c340b0
stats: handleEvent7 use findLast 2024-06-06 12:11:15 -05:00
Alex Gleason
e383daaae1
Fix linkification of bare domains 2024-06-05 12:12:11 -05:00
Alex Gleason
e29375b070
Find quote ID in content 2024-06-04 17:46:11 -05:00
Alex Gleason
a4b96f0a9c Revert "Merge branch 'nip19-mentions' into 'main'"
This reverts merge request !353
2024-06-03 17:49:24 +00:00
Alex Gleason
605948267d
Render mentions as nip19, fix href 2024-06-03 12:31:54 -05:00
Alex Gleason
da0139ff4e
Suggestions: add offset based pagination 2024-06-02 22:46:07 -05:00
Alex Gleason
22c840092f
Add quotes count 2024-06-02 20:30:57 -05:00
Alex Gleason
498f69f024
stats: track replies_count 2024-06-02 12:26:43 -05:00
Alex Gleason
adcaad2863
paginatedList: only return next when page isn't empty 2024-05-31 16:10:59 -05:00
Alex Gleason
b7943669b2
Paginate list events (kind 3, 10000) 2024-05-31 15:26:55 -05:00
Alex Gleason
c0123df79a
Strip newlines from end of status 2024-05-30 12:03:01 -05:00
Alex Gleason
78044cc8b6
Remove NWC, return a Ln-Invoice header on the zap endpoint 2024-05-28 16:54:57 -05:00
Alex Gleason
69ff568214
Stop recounting author stats constantly 2024-05-24 20:24:17 -05:00