Commit graph

160 commits

Author SHA1 Message Date
Alex Gleason
875b678948
Fix renderReblog on other Mastodon apps 2024-05-26 12:55:01 -05:00
Alex Gleason
a15013e22a
Remove Optimizer and Reqmeister 2024-05-25 12:22:01 -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
c30d6beea2
Upgrade nostrify to v0.22.4, zod to v3.23.8 2024-05-24 12:45:26 -05:00
Alex Gleason
8c12ffaaa1
Upgrade Nostrify to v0.22.2, enforce http(s) in website field 2024-05-24 11:30:56 -05:00
P. Reis
c7726b652b feat: save user lud16 & website into kind 0 2024-05-23 15:59:29 -03: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
8f393aa604
Remove ActivityPub actor endpoint, remove deps.ts 2024-05-21 12:51:19 -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
7f5179efca
renderAttachment: guess mime from url 2024-05-19 09:13:53 -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
c8b999a1f7
imeta: don't get attachment ID from a tag 2024-05-18 15:36:17 -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
Alex Gleason
7d34b9401e
Support imeta tags 2024-05-18 13:22:20 -05:00
Alex Gleason
942260aa54
note.ts -> utils/note.ts 2024-05-18 11:53:33 -05:00
P. Reis
2aee2e6bf6 fix(renderReblog): render account from pubkey if there is no kind 0 2024-05-17 09:45:19 -03:00
Alex Gleason
68b5887ed0
Don't let your memes be dreams 2024-05-14 18:24:34 -05:00
Alex Gleason
cc9d2efef9
Fix mentions 2024-05-13 18:50:20 -05:00
Alex Gleason
c017770760 ! -> ?. 2024-05-10 22:17:44 +00:00
P. Reis
323e425e8b fix(renderAdminReport): make sure reportedPubkey is not undefined 2024-05-10 19:05:15 -03:00
P. Reis
d3b7668a1e fix: create renderAdminAccountFromPubkey and use it if reported account doesn't have a kind 0 2024-05-10 16:51:07 -03:00
Alex Gleason
c7e8beebc6
renderReport: whoops, event.author -> event.reported_account 2024-05-08 15:06:33 -05:00
Alex Gleason
8530749192
reportController: hydrate the report itself to get the author 2024-05-08 15:03:58 -05:00
Alex Gleason
f99958c40e
reportsController -> reportController 2024-05-08 14:59:30 -05:00
Alex Gleason
a82af47c67
quote_repost -> quote 2024-05-08 14:53:33 -05:00
Alex Gleason
b6dd49e2ef Merge branch 'relationships-mute' into 'main'
Relationships: fix blocks and mutes being switched

See merge request soapbox-pub/ditto!232
2024-05-08 16:13:34 +00:00
Alex Gleason
7ad0e4d9e9
Relationships: fix blocks and mutes being switched 2024-05-08 10:41:05 -05:00
P. Reis
57495dbd7a feat: implement report resolve 2024-05-07 20:49:42 -03:00
P. Reis
8d7621fbaf fix: return in case pubkey is undefined 2024-05-06 14:40:56 -03:00
P. Reis
24068d12d0 refactor(reports): rename variables and remove type assertion 2024-05-06 11:47:05 -03:00
P. Reis
394599734f fix(reports): put notes in tag & only let comment in event.content 2024-05-05 15:45:24 -03:00
P. Reis
7890504add refactor: view info about all reports 2024-05-05 14:20:13 -03:00
P. Reis
d903a2d0fb Merge branch 'main' into admin-reports-api
Update local branch & solve conflicts in hydrate.ts
2024-05-04 20:23:16 -03:00
P. Reis
4d5d4868ce feat: create renderAdminReport() func 2024-05-04 20:14:39 -03:00
P. Reis
8a7f0892d7 fix: check if event is not undefined in renderAdminAccount 2024-05-04 20:12:34 -03:00
P. Reis
b57188943f feat: renderAdminAccount() supports both kind 0 & kind 30361 2024-05-04 16:29:31 -03:00
P. Reis
f08211e2a1 refactor(admin-accounts): resolve import specifier via the active import map 2024-05-04 10:29:08 -03:00
Alex Gleason
0a3be0da58
Notifications: fix Favourites and EmojiReacts not being displayed 2024-05-03 21:22:53 -05:00
Alex Gleason
2ee668d562 Merge branch 'feat-create-reports' into 'main'
Create user reports through kind 1984

Closes #97

See merge request soapbox-pub/ditto!210
2024-05-03 14:25:22 +00:00
P. Reis
ca5433bcc7 refactor(reports): update code according to code review in MR 210 2024-05-02 20:21:58 -03:00
Alex Gleason
220f16feb8
Notifications: render notifications for kinds 1, 6, and 7 events 2024-05-02 14:36:28 -05:00
P. Reis
226c356646 feat: create mastodon response for reports 2024-05-02 16:03:59 -03:00
Alex Gleason
4045a6bdfc
Catch metadata when parsing 2024-05-01 19:55:58 -05:00
Alex Gleason
fc7ed8bf24
Remove zod schemas that we can get from NSchema 2024-05-01 19:51:12 -05:00