Commit graph

278 commits

Author SHA1 Message Date
silverpill
12c21d86f8 Use ULIDs instead of v4 UUIDs for identifiers 2021-12-02 01:36:35 +00:00
silverpill
b2150f9259 Reorder functions in posts::queries module 2021-12-01 21:58:18 +00:00
silverpill
a0c0f1d092 Log signer ID when processing incoming activity 2021-12-01 15:06:09 +00:00
silverpill
0ec69adbe2 Refactor favourite/unfavourite API methods to make fewer DB queries 2021-12-01 14:46:09 +00:00
silverpill
683996aaf3 Send notification when user's post is reposted 2021-11-30 22:37:23 +00:00
silverpill
2111bae373 Send notification when user is mentioned 2021-11-30 22:20:20 +00:00
silverpill
a3ac526bca Process EmojiReact() activity as Like() 2021-11-30 20:19:50 +00:00
silverpill
6c57767f7e Add link to frontend repo to readme 2021-11-29 21:24:44 +00:00
silverpill
db0b49fe79 Refactor receive_activity() function 2021-11-29 20:45:36 +00:00
silverpill
a9b7426be4 Deliver Announce(Note) activity to followers 2021-11-26 22:53:40 +00:00
silverpill
c6b967567f Add files directory, update readme 2021-11-26 22:39:54 +00:00
silverpill
81adb9b70e Send Announce(Note) after doing a repost 2021-11-25 23:33:13 +00:00
silverpill
47826628cd Add API endpoints for making and deleting reposts 2021-11-25 23:31:10 +00:00
silverpill
9b52fb730a Fix incorrect consistency check in Post::new() 2021-11-25 16:14:06 +00:00
silverpill
215aa5932e Make "href" property optional on Tag object 2021-11-25 16:04:03 +00:00
silverpill
7c58e15123 Log post fetching error if it occurs during search 2021-11-25 16:04:03 +00:00
silverpill
6d243d86e6 Refactor posts::helpers, remove get_actions_for_post function 2021-11-25 16:03:57 +00:00
silverpill
f716a61d0e Improve error reporting during signature verification 2021-11-22 23:58:07 +00:00
silverpill
20026bd819 Don't log incoming Delete() activities if HTTP signature is not valid 2021-11-22 22:42:17 +00:00
silverpill
1d1618d6a2 Add uri attribute to Status object 2021-11-21 15:38:04 +00:00
silverpill
ac834fa99a Add object_id null value check to Post::new(), prevent panics 2021-11-21 15:21:10 +00:00
silverpill
65375ee2cd Don't send notification if user is liking or replying to his own post 2021-11-21 14:38:36 +00:00
silverpill
481d9a1509 Return error if trying to fetch local profile 2021-11-21 13:48:38 +00:00
silverpill
86749a6ca1 Remove tokio 1.5 from dependencies 2021-11-21 13:48:38 +00:00
silverpill
22fa619a16 Make "to" property optional on Activity object 2021-11-21 13:48:38 +00:00
silverpill
ec36dea0c9 Log activities coming to instance actor inbox 2021-11-21 13:48:33 +00:00
silverpill
8c8aee59cd Add matrix chat link to README.md 2021-11-20 20:34:33 +00:00
silverpill
562f92512e Check view permissions when interacting with post 2021-11-20 01:14:43 +00:00
silverpill
c578d8536f Hide private posts from threads 2021-11-20 01:14:37 +00:00
silverpill
294e2f201b Hide private posts from home timeline, show replies 2021-11-19 21:44:58 +00:00
silverpill
5547403200 Use macros to create FromSql/ToSql implementations for int enums 2021-11-19 17:47:26 +00:00
silverpill
cf5d4db031 Hide direct messages from profile timeline 2021-11-19 00:32:22 +00:00
silverpill
bbf696fe6e Handle Delete activities that don't have object type 2021-11-19 00:05:39 +00:00
silverpill
3b5ec45991 Set visibility to direct for incoming notes with single local recipient 2021-11-18 23:24:13 +00:00
silverpill
4f5930dcf1 Set post visibility to public by default 2021-11-18 21:55:22 +00:00
silverpill
9216d2414b Add "to" attribute to Activity object 2021-11-18 21:28:50 +00:00
silverpill
d104b32d5e Make "name" attribute optional in Attachment object 2021-11-18 16:50:52 +00:00
silverpill
fc24ba0e59 Change default activity content type 2021-11-18 16:23:57 +00:00
silverpill
3fc0acd2d1 Sign GET request when fetching AP object 2021-11-18 15:17:40 +00:00
silverpill
ac1027ac2a Don't sign GET requests in private mode 2021-11-18 15:11:54 +00:00
silverpill
924f5181b6 Sign GET request when fetching remote actor profile 2021-11-18 14:57:58 +00:00
silverpill
286e7155b8 Check actor host before importing profile during search 2021-11-18 13:20:23 +00:00
silverpill
a6f2f2f4f1 Fix bug in deletion queue processing 2021-11-18 11:37:17 +00:00
silverpill
d935b843a8 Create instance actor 2021-11-18 00:51:56 +00:00
silverpill
52b51501d5 Add config parameter that specifies instance actor's private key 2021-11-18 00:26:04 +00:00
silverpill
d94e3d610d Enable creation of HTTP signatures for all types of requests 2021-11-18 00:26:00 +00:00
silverpill
d2c70453e2 Set minimum supported Rust version in manifest file 2021-11-17 20:35:33 +00:00
silverpill
33f7c709a7 Update README.md 2021-11-17 20:33:57 +00:00
silverpill
26763d9f5d Prevent CLI tool from reading config when it's not needed 2021-11-17 20:33:53 +00:00
silverpill
2747f3eafe Ignore Like() if post is not found locally 2021-11-14 22:58:29 +00:00