Commit Graph

1614 Commits

Author SHA1 Message Date
Alex Gleason 8f393aa604
Remove ActivityPub actor endpoint, remove deps.ts 2024-05-21 12:51:19 -05:00
Alex Gleason 40d2ed1f0a Merge branch 'dompurify' into 'main'
sanitize-html -> isomorphic-dompurify

See merge request soapbox-pub/ditto!289
2024-05-21 17:47:55 +00:00
Alex Gleason d4a029b35b
sanitize-html -> isomorphic-dompurify 2024-05-21 12:44:54 -05:00
Alex Gleason 9582ce87ba Merge branch 'entities' into 'main'
lodash -> entities

See merge request soapbox-pub/ditto!288
2024-05-21 17:24:29 +00:00
Alex Gleason 83e51ad67e
lodash -> entities 2024-05-21 12:21:35 -05:00
Alex Gleason dd81d6feaf Merge branch 'soapbox-script' into 'main'
feat: add script that installs latest soapbox

See merge request soapbox-pub/ditto!287
2024-05-21 14:07:44 +00:00
P. Reis 7d786d731e feat: add script that installs latest soapbox 2024-05-21 10:09:06 -03:00
Alex Gleason 7f8690605b Merge branch 'feat-persist-user-preference' into 'main'
Persist user preferences through kind 30078

See merge request soapbox-pub/ditto!191
2024-05-21 04:18:03 +00: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 78b9c62af3 Merge branch 'unindex-bio' into 'main'
EventsDB: don't index the user's bio for kind 0 events

See merge request soapbox-pub/ditto!284
2024-05-20 16:58:08 +00: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 281f0f9625 Merge branch 'nostrify-22' into 'main'
Upgrade Nostrify to v0.22.0

See merge request soapbox-pub/ditto!283
2024-05-19 21:00:26 +00: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
Alex Gleason 7c5b7c5d83
Upgrade Nostrify to v0.22.0 2024-05-19 15:38:42 -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 c83bac93bd Merge branch 'account-search-limit' into 'main'
accountSearchController: respect the `limit` param

See merge request soapbox-pub/ditto!281
2024-05-19 16:48:33 +00:00
Alex Gleason 9754e29603
accountSearchController: respect the `limit` param 2024-05-19 11:45:42 -05:00
Alex Gleason 050cfff88d Merge branch 'nip21-mentions-fix' into 'main'
Fix NIP-27 mentions

See merge request soapbox-pub/ditto!280
2024-05-19 16:37:24 +00:00
Alex Gleason 540bd058a2
Fix NIP-27 mentions 2024-05-19 11:33:59 -05:00
Alex Gleason b6b09d7b90 Merge branch 'attachment-guess-mime' into 'main'
renderAttachment: guess mime from url

See merge request soapbox-pub/ditto!279
2024-05-19 14:16:57 +00: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 3d93be6a13 Merge branch 'uploader-type' into 'main'
Rewrite all the uploaders

See merge request soapbox-pub/ditto!278
2024-05-19 03:20:30 +00: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 b567a108a6 Merge branch 'uploader-type' into 'main'
Make Uploaders return NIP-94 tags

See merge request soapbox-pub/ditto!277
2024-05-18 23:26:00 +00:00
Alex Gleason 6090c4a6d9
Make Uploaders return NIP-94 tags 2024-05-18 18:23:04 -05:00
Alex Gleason ff39dfc4ec Merge branch 'strip-imeta' into 'main'
Strip imeta links from the end of the content

See merge request soapbox-pub/ditto!276
2024-05-18 22:24:43 +00:00
Alex Gleason e5595d34be
Strip imeta links from the end of the content 2024-05-18 17:15:27 -05:00
Alex Gleason cc487f898e Merge branch 'nostrbuild' into 'main'
Nostr.build uploader

See merge request soapbox-pub/ditto!275
2024-05-18 21:58:12 +00: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 1c4dbc9520 Merge branch 'imeta' into 'main'
Support imeta media attachments

See merge request soapbox-pub/ditto!274
2024-05-18 20:52:25 +00:00
Alex Gleason cbf0bc3594
Fix note test 2024-05-18 15:46:28 -05:00
Alex Gleason c8b999a1f7
imeta: don't get attachment ID from a tag 2024-05-18 15:36:17 -05:00
Alex Gleason b1b341d3b8
Insert media URL into text 2024-05-18 15:29:12 -05:00
Alex Gleason 91ea4577f1
Filter out attachments with no url 2024-05-18 14:58:48 -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