Commit Graph

157 Commits

Author SHA1 Message Date
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
Alex Gleason
39fdbc1acb Delete scavenger.test.ts 2024-07-12 14:01:21 -05: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
Alex Gleason
04018015c5 stats: fix race conditions (on Postgres) 2024-05-24 20:11:22 -05:00
Alex Gleason
8344ac6b39 stats.test: insert the note for FK constraint 2024-05-24 17:55:25 -05:00
Alex Gleason
c6dea07ac3 Add back reactions_count column so trending can still work 2024-05-24 17:51:32 -05:00
Alex Gleason
f7c9a96719 Nuke the old stats module, support emoji reactions on posts 2024-05-24 17:40:51 -05:00
Alex Gleason
ee2065b76b stats: add (and test) countAuthorStats 2024-05-24 16:24:47 -05:00
Alex Gleason
34f3cc8d24 Fully test the new stats module 2024-05-24 15:52:30 -05:00
Alex Gleason
0fd5f26977 stats: handle kind 5 deletions 2024-05-23 23:02:21 -05:00
Alex Gleason
1da4566c42 Basically rewrite the stats module 2024-05-23 22:41:16 -05:00
Alex Gleason
823f389bce NIP05: skip network request for invalid TLDs 2024-05-22 12:52:59 -05:00
Alex Gleason
bf6dc22c5a Fix imeta stripping so it doesn't remove a bunch of newlines 2024-05-21 14:05:48 -05:00
Alex Gleason
5e607f664e Add tags test 2024-05-21 13:32:27 -05:00
Alex Gleason
9839b8138f tags.ts -> utils/tags.ts 2024-05-21 13:08:08 -05:00