Commit graph

118 commits

Author SHA1 Message Date
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
silverpill 6d0505e93f Redirect to frontend if actor or object is requested using web browser 2021-11-14 00:00:19 +00:00
silverpill cc252d1349 Print version on startup 2021-11-13 17:49:04 +00:00
silverpill c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill e9c5bda55c Send Update(Person) to followers after updating profile 2021-11-13 01:27:53 +00:00
silverpill a5e3bef70c Refactor activitypub::actor module 2021-11-13 01:07:19 +00:00
silverpill 8da194e8a2 Add User constructor 2021-11-12 23:12:28 +00:00
silverpill 3d537f5987 Properly catch violations of unique constraint 2021-11-12 23:10:20 +00:00
silverpill ce551e9c8b Handle incoming Delete() activities 2021-11-12 15:26:27 +00:00
silverpill e48670c28b Change HTTP signature date format for compatibility with mastodon 2021-11-12 00:06:08 +00:00
silverpill 3fde882e1d Include inbox URL in deliverer log message 2021-11-11 23:28:41 +00:00