Commit graph

1369 commits

Author SHA1 Message Date
Alex Gleason
823f389bce
NIP05: skip network request for invalid TLDs 2024-05-22 12:52:59 -05:00
Alex Gleason
1d37106b27
unreblogStatusController: repostedEvent -> repostEvent 2024-05-22 12:08:20 -05:00
Alex Gleason
b33f7d2cc4
renderEventAccounts: rework the logic, call hydrateEvents 2024-05-22 11:44:48 -05:00
Alex Gleason
1a66570b56
Use linkify to parse hashtags when creating a status, too 2024-05-21 21:30:26 -05:00
Alex Gleason
5de7366ff0
Add r-tags to statuses 2024-05-21 21:22:25 -05:00
Alex Gleason
80e886bfff
Rework trending posts (it's much faster) 2024-05-21 20:38:57 -05:00
Alex Gleason
5da5848ca6
Trending statuses first iteration 2024-05-21 19:48:26 -05:00
Alex Gleason
80344e3c5f
Fix trends cache 2024-05-21 18:15:17 -05:00
Alex Gleason
5822253796
Fix trends 2024-05-21 18:00:57 -05:00
Alex Gleason
b2a5ff3eaf
Make Trends use SQLite again 2024-05-21 17:14:26 -05:00
Alex Gleason
4d21dd05a8
Merge remote-tracking branch 'origin/main' into refactor-trends 2024-05-21 16:45:58 -05:00
Alex Gleason
101a16bc12
Index the Postgres FTS column 2024-05-21 16:30:48 -05:00
Alex Gleason
9ab38203df
getDescendants: filter out non-replies 2024-05-21 14:37:18 -05:00
Alex Gleason
d4625fe60d Merge branch 'reply-root' into 'main'
Add root tags to replies

See merge request soapbox-pub/ditto!293
2024-05-21 19:30:47 +00:00
Alex Gleason
fc325880d2
Add root tags to replies 2024-05-21 14:27:49 -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
9873afab69
Remove old tags.test.ts 2024-05-21 13:37:24 -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
f30aad11a5
Fix legacy quote posts 2024-05-21 13:04:23 -05:00
Alex Gleason
938e26e2a0
Remove webfinger and host-meta 2024-05-21 12:54:10 -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
83e51ad67e
lodash -> entities 2024-05-21 12:21:35 -05:00
Alex Gleason
590da75cf2
Merge remote-tracking branch 'origin/main' into feat-persist-user-preference 2024-05-20 14:02:38 -05:00
Alex Gleason
a961eabb0e Merge branch 'lnurl-fix' into 'main'
Fix crash parsing Lightning URL

Closes #139

See merge request soapbox-pub/ditto!286
2024-05-20 17:54:13 +00:00
Alex Gleason
839c95f9a9 Merge branch 'refactor-test' into 'main'
Refactor EventsDB test to use eventFixture()

Closes #135

See merge request soapbox-pub/ditto!285
2024-05-20 17:51:52 +00: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
P. Reis
98fd4babce test(EventsDB): use eventFixture() 2024-05-20 14:46:53 -03:00
Alex Gleason
7b099ee565
EventsDB: don't index the user's bio for kind 0 events 2024-05-20 11:39:44 -05:00
Alex Gleason
6f6e87525e
Remove DittoUploader interface in favor of NUploader 2024-05-19 15:57:04 -05:00
Alex Gleason
0541287f0e
Replace our NostrBuildUploader with the one from Nostrify 2024-05-19 15:43:46 -05:00
Alex Gleason
f0b247130f
Add support for Blossom uploader 2024-05-19 15:42:45 -05:00
Siddharth Singh
29eb87dab3
format 2024-05-20 00:14:29 +05:30
Siddharth Singh
949697d80a
fix type error caused by trends refactor 2024-05-20 00:11:29 +05:30
Siddharth Singh
f19629600d
rewrite trendsworker with kysely and deno cron, format changes 2024-05-20 00:05:03 +05:30
Alex Gleason
9754e29603
accountSearchController: respect the limit param 2024-05-19 11:45:42 -05:00
Alex Gleason
540bd058a2
Fix NIP-27 mentions 2024-05-19 11:33:59 -05:00
Alex Gleason
7f5179efca
renderAttachment: guess mime from url 2024-05-19 09:13:53 -05:00
Alex Gleason
5523c3fc0e
verifyCredentials: wait up to 5 seconds 2024-05-18 23:02:59 -05:00
Alex Gleason
acef173ac4
Do things the boilerplatey way just for consistency 2024-05-18 22:15:33 -05:00
Alex Gleason
24659d8edb
IPFSUploader: make schema private 2024-05-18 22:11:54 -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
82c03dcb56
Rewrite all the uploaders 2024-05-18 22:00:24 -05:00
Alex Gleason
6090c4a6d9
Make Uploaders return NIP-94 tags 2024-05-18 18:23:04 -05:00
Alex Gleason
e5595d34be
Strip imeta links from the end of the content 2024-05-18 17:15:27 -05:00
Alex Gleason
353111051a
Use dimensions from nostr.build 2024-05-18 16:53:17 -05:00
Alex Gleason
ce49c500ae
renderStatus: fix duplicated attachments 2024-05-18 16:47:47 -05:00
Alex Gleason
c89be75e5b
Add a nostr.build uploader 2024-05-18 16:22:24 -05:00
Alex Gleason
cbf0bc3594
Fix note test 2024-05-18 15:46:28 -05:00