Commit Graph

145 Commits

Author SHA1 Message Date
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
Alex Gleason
8f393aa604 Remove ActivityPub actor endpoint, remove deps.ts 2024-05-21 12:51:19 -05:00
Alex Gleason
d4a029b35b sanitize-html -> isomorphic-dompurify 2024-05-21 12:44:54 -05:00
Alex Gleason
6861dc1d57 Fix crash parsing Lightning URL
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/139
2024-05-20 12:49:01 -05:00
Alex Gleason
6542d6a777 Move uploader.ts to utils, make it kind of like api.ts 2024-05-18 22:04:43 -05:00
Alex Gleason
e5595d34be Strip imeta links from the end of the content 2024-05-18 17:15:27 -05:00
Alex Gleason
cbf0bc3594 Fix note test 2024-05-18 15:46:28 -05:00
Alex Gleason
e7d350a0e3 Fix uploading by URL 2024-05-18 14:54:10 -05:00
Alex Gleason
611a94bdcf Fix uploading (almost) 2024-05-18 14:32:50 -05:00
Alex Gleason
c8f9483795 Add note.test.ts 2024-05-18 11:56:22 -05:00
Alex Gleason
942260aa54 note.ts -> utils/note.ts 2024-05-18 11:53:33 -05:00
Alex Gleason
5997ff0fff Create utils/media.ts, move some code from note.ts there 2024-05-18 11:52:33 -05:00
Alex Gleason
f163af55d8 Remove deps-test.ts 2024-05-14 19:19:57 -05:00