Commit graph

52 commits

Author SHA1 Message Date
Laura Hausmann
7a7f6cb527
[backend/masto-client] Implement note deletes 2024-02-18 23:53:18 +01:00
Laura Hausmann
6c90d0554e
[backend/federation] ASNote.Subject should be text, not html 2024-02-18 21:02:55 +01:00
Laura Hausmann
a56e9b2922
[backend/federation] Improve logging on activity fetch failures 2024-02-17 18:25:32 +01:00
Laura Hausmann
6044cdb52c
[backend/core] Emit notification on note edit for users that have interacted with the note 2024-02-17 05:50:10 +01:00
Laura Hausmann
d4d75f49ef
[backend/masto-client] Allow editing of local notes 2024-02-17 04:09:45 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
b7859210eb
[backend/federation] Process note updates (ISH-32) 2024-02-17 02:06:36 +01:00
Laura Hausmann
0d5f987a8d
[backend/services] Set denormalized note properties replyUserId and replyuserHost correctly 2024-02-17 00:55:58 +01:00
Laura Hausmann
9496d81abe
[backend/database] Add entity methods for getting the public url/uri for users & notes (ISH-47) 2024-02-16 03:28:16 +01:00
Laura Hausmann
4985194d64
[backend/services] Allow generating snowflake identifiers with timestamps other than DateTime.UtcNow 2024-02-15 21:05:36 +01:00
Laura Hausmann
71d8b28d28
[backend/federation] Deliver activities in the background 2024-02-15 20:10:07 +01:00
Laura Hausmann
c7f8fdfa8f
[backend/federation] Add support for liking & unliking local & remote notes (ISH-72) 2024-02-15 00:48:37 +01:00
Laura Hausmann
5113f83c9f
[backend/federation] Handle note likes & unlikes (ISH-68) 2024-02-14 21:17:27 +01:00
Laura Hausmann
ff27d7ff16
[backend/services] Basic event bus implementation (ISH-60) 2024-02-14 17:57:55 +01:00
Laura Hausmann
9591255220
[backend/services] Increment Note.RepliesCount on note create 2024-02-14 01:17:04 +01:00
Laura Hausmann
c46573ae37
[backend/federation] Generate mention & reply notifications (ISH-45) 2024-02-13 03:43:35 +01:00
Laura Hausmann
b67dd173f4
[backend/federation] Federate alt text (ISH-55) 2024-02-13 03:07:02 +01:00
Laura Hausmann
a1c23a7d29
[backend/masto-client] Add media upload (ISH-58) 2024-02-13 02:46:40 +01:00
Laura Hausmann
8685d50360
[backend/services] Remove unnecessary async/await pattern 2024-02-13 01:25:33 +01:00
Laura Hausmann
16f46dbe43
[backend/federation] Handle note attachments (ISH-48) 2024-02-13 00:13:18 +01:00
Laura Hausmann
bf916f7046
[backend/federation] Handle mention parsing edge cases properly (ISH-50) 2024-02-12 21:59:19 +01:00
Laura Hausmann
da99cff582
[backend/federation] Mention resolver failures shouldn't reject an entire request / job process (ISH-50) 2024-02-12 20:12:21 +01:00
Laura Hausmann
158a4e05ad
[backend/federation] Send mention activities to the user inbox
Context: some AP implementations like Akkoma ignore activities sent to the shared inbox if they're not expecting them
2024-02-12 05:27:30 +01:00
Laura Hausmann
20b23fee46
[backend/federation] Also deliver non-DM activities to mentioned users 2024-02-12 05:21:09 +01:00
Laura Hausmann
c5d773e46a
[backend/federation] Deliver activities to mentioned users 2024-02-12 05:05:09 +01:00
Laura Hausmann
1d090c8400
[backend/federation] Only deliver DMs to recipients 2024-02-12 05:05:09 +01:00
Laura Hausmann
16d0199506
[backend/federation] Handle outgoing mentions correctly (ISH-46) 2024-02-12 05:05:09 +01:00
Laura Hausmann
67d1d776c8
[backend/federation] Basic mentions handling (ISH-38)
This implementation adds handling of incoming mentions, including rewriting non-canonical mentions of split domain users into their canonical form when inserting notes into the database.
2024-02-11 18:50:28 +01:00
Laura Hausmann
0a2b8f53eb
[backend/database] Increment user note counter on local create as well 2024-02-09 15:02:09 +01:00
Laura Hausmann
02e003afa3
[backend/federation] Resolve incoming activity objects (ISH-20, ISH-12) 2024-02-09 13:28:07 +01:00
Laura Hausmann
19d6251a2a
[backend] Cleanup unused service references 2024-02-09 13:23:31 +01:00
Laura Hausmann
eb7f160b23
[backend/federation] Handle note delete activities (ISH-12) 2024-02-09 11:51:45 +01:00
Laura Hausmann
2c46e55a6a
[backend/federation] Increment user note count on note create 2024-02-09 11:38:06 +01:00
Laura Hausmann
843e3e3de2
[backend/federation] Make ProcessNoteAsync return note if it already exists 2024-02-09 11:12:34 +01:00
Laura Hausmann
b22d0b98a3
[backend/masto-client] Implement search endpoint (ISH-7) 2024-02-07 23:35:59 +01:00
Laura Hausmann
c8c09591f9
[backend] Add configurable post character limit (ISH-5) 2024-02-07 20:33:00 +01:00
Laura Hausmann
ad17c7c097
[backend/masto-client] Basic support for posting notes (ISH-4) 2024-02-07 20:03:47 +01:00
Laura Hausmann
88a180666d
[backend/federation] Reject notes with text length > 100k characters 2024-02-06 23:04:56 +01:00
Laura Hausmann
27ecd27ba0
[backend/mfm] Move MFM handling code into the main backend project 2024-02-02 18:04:13 +01:00
Laura Hausmann
a3c3f6b848
[backend] Implement mfm-to-html 2024-02-02 00:16:28 +01:00
Laura Hausmann
f4a584b46a
Methods that return a non-generic Task should also end in Async 2024-01-28 22:29:09 +01:00
Laura Hausmann
626b267692
All methods that return a Task should end in Async 2024-01-28 22:21:58 +01:00
Laura Hausmann
a8bd625ce1
Refactor type constants 2024-01-27 02:54:05 +01:00
Laura Hausmann
831a1ceeba
Refactor AP core 2024-01-27 02:39:16 +01:00
Laura Hausmann
2f6a433663
Resolve note threads 2024-01-26 20:32:00 +01:00
Laura Hausmann
5f3696fa74
Handle note visibility 2024-01-26 19:12:15 +01:00
Laura Hausmann
431bbaccb2
Handle follow and unfollow activity types 2024-01-26 18:57:59 +01:00
Laura Hausmann
0dc1533b75
Improve NoteService.CreateNote 2024-01-26 03:09:52 +01:00
Laura Hausmann
bf3e72da9b
Basic note create 2024-01-25 03:16:29 +01:00
Laura Hausmann
8d4a20896c
Federation groundwork 2024-01-25 01:36:07 +01:00