Commit graph

22 commits

Author SHA1 Message Date
silverpill
5ba8b8d6ae Move microsyntax parsers to mastodon_api::statuses::microsyntax module 2023-03-25 18:19:10 +00:00
silverpill
e1e9851d5c Make media URLs in Mastodon API responses relative to current origin 2023-02-22 17:56:43 +00:00
silverpill
c796cddff8 Change order of parameters in some functions 2023-02-22 17:30:31 +00:00
silverpill
10f2596830 Move config parser to mitra-config crate 2023-02-19 00:39:15 +00:00
silverpill
86beb532e2 Refactor handle_note() function 2023-01-31 14:18:46 +00:00
silverpill
be67972760 Add emojis to post previews 2023-01-21 23:00:21 +00:00
silverpill
75579eae4f Add support for emoji shortcodes 2023-01-21 22:56:46 +00:00
silverpill
01f56d9ef7 Use re-exported tokio_postgres::GenericClient trait 2023-01-18 01:01:45 +00:00
silverpill
f7d9173cce Create parse_microsyntaxes() helper 2022-12-20 15:38:07 +00:00
silverpill
d1939b10d5 Move DatabaseError to database module 2022-12-03 22:57:09 +00:00
silverpill
5e97debebb Add "quote" property to Status object and treat first link as a quote 2022-08-22 12:13:40 +00:00
silverpill
9aa9130d05 Move audience helpers to activitypub::builders 2022-07-14 14:14:14 +00:00
silverpill
fd7ef7b9c1 Move get_note_recipients() to builders::create_note module 2022-06-15 12:09:36 +00:00
silverpill
e6e7e6f42a Refactor Status API views 2022-05-06 19:39:17 +00:00
silverpill
9330038141 Add "subscribers-only" post visibility setting 2022-02-06 12:05:20 +00:00
silverpill
59a86ea827 Add "followers-only" post visibility setting 2022-01-15 20:40:37 +00:00
silverpill
eed648f140 Don't send direct messages to followers 2022-01-15 14:53:42 +00:00
silverpill
3e5f5b80d3 Set correct primary and secondary audience for outgoing Announce(Note) and Undo(Announce) activities 2022-01-04 21:36:52 +00:00
silverpill
3993c76c65 Add API methods for retrieving followers and following lists 2022-01-02 22:06:25 +00:00
silverpill
c11cd26961 Move get_followers to relationships::queries module 2022-01-02 13:42:10 +00:00
silverpill
9156dec5bb Convert actor_json value into Actor type when reading from database 2022-01-02 01:27:50 +00:00
silverpill
97d798eeed Create helper functions for getting recipients of Create, Like and Announce activities 2022-01-01 12:07:36 +00:00