Commit graph

166 commits

Author SHA1 Message Date
silverpill
4da44159ed Store mentions in database 2021-11-11 20:24:47 +00:00
silverpill
06010e4403 Avoid repeating attachment subquery in post queries 2021-11-11 19:24:47 +00:00
silverpill
fa7bff4b31 Add mention parser 2021-11-11 18:35:54 +00:00
silverpill
0fd7c0fae3 Add actor_id method to actor profile type 2021-11-10 17:21:55 +00:00
silverpill
7f07468d14 Improve instance URL parsing and validation 2021-11-10 17:07:18 +00:00
silverpill
81d6cf3daf Add support for search by Note url 2021-11-07 22:06:05 +00:00
silverpill
284840463c Move code that processes incoming Note objects to a separate function 2021-11-07 21:59:43 +00:00
silverpill
5cd79eb9b6 Return empty array instead of error if search for remote profile fails 2021-11-07 13:44:45 +00:00
silverpill
aa1ef71857 Refactor some mastodon API modules 2021-11-07 13:37:36 +00:00
silverpill
a8c3cd8c90 Bump version to 0.2.0 2021-11-06 21:59:45 +00:00
silverpill
9a0a11e33f Don't write error message to log if ethereum integration is disabled 2021-11-06 12:48:52 +00:00
silverpill
979588b5b8 Create media directory automatically on start 2021-11-06 12:14:22 +00:00
silverpill
514c7ae237 Refactor config, make ethereum integration optional 2021-11-05 23:47:36 +00:00
silverpill
d975b00990 Use ActivityPub object ID for external_url field in token metadata 2021-11-04 23:50:24 +00:00
silverpill
fbb0bc01cd Add API methods for creating timeline markers 2021-11-03 23:29:11 +00:00
silverpill
64dddf3f7e Hide replies from profile feed 2021-11-01 20:49:36 +00:00
silverpill
ab9184f068 Send Create(Note) to author of parent post when creating reply 2021-11-01 18:33:56 +00:00
silverpill
5c10ffc590 Add actor() method to DbActorProfile type 2021-10-31 20:46:29 +00:00
silverpill
e10804be64 Refactor deliverer 2021-10-30 22:35:18 +00:00
silverpill
d41d85548d Send and receive Like activities 2021-10-29 21:32:31 +00:00
silverpill
371be9836e Add default value to Object type 2021-10-29 16:34:22 +00:00
silverpill
29940b5541 Notify user about new reactions 2021-10-29 12:30:28 +00:00
silverpill
6c050a37e6 Sort notifications 2021-10-29 11:54:22 +00:00
silverpill
b50da3e3a4 Create notification only if recipient is local user 2021-10-29 11:54:17 +00:00
silverpill
d98e86a93e Move common code from ethereum::nft to separate modules 2021-10-21 18:18:29 +00:00
silverpill
324ff20480 Call manager contract to verify that user is allowed to sign up 2021-10-21 18:18:18 +00:00
silverpill
a9fb874cb3 Update contracts 2021-10-21 11:57:40 +00:00
silverpill
486c819bc3 Add API method for unmarking favourite posts 2021-10-19 00:05:55 +00:00
silverpill
b6be5c8489 Add action attributes to Status entity when served to authorized user 2021-10-19 00:05:55 +00:00
silverpill
d2462e9e96 Add API method for marking posts as favourite 2021-10-19 00:05:50 +00:00
silverpill
bc65186f00 Notify user about new replies 2021-10-15 00:27:39 +00:00
silverpill
43256fa4b1 Add constructor for Post struct 2021-10-15 00:20:43 +00:00
silverpill
c4ea2900c8 Notify user about new followers 2021-10-14 15:10:25 +00:00
silverpill
56d073e1d8 Add source field to Account entity only if user is authenticated 2021-10-10 16:53:17 +00:00
silverpill
5ec6ee4a6a Update readme 2021-10-10 09:55:33 +00:00
silverpill
fea3c17700 Fix missing object_id in received Note 2021-10-10 00:46:23 +00:00
silverpill
cca8a5ff94 Fetch ancestors of incoming Notes by going through inReplyTo references 2021-10-10 00:29:54 +00:00
silverpill
3aa35271a6 Fetch actor when receiving Create(Note) or Follow activity 2021-10-10 00:24:31 +00:00
silverpill
8d66bcb034 Refactor Create(Note) activity processor 2021-10-09 16:49:20 +00:00
silverpill
9f114f4255 Add tests for create_note function 2021-10-09 12:53:53 +00:00
silverpill
8610719bd0 Store IDs of incoming Note objects 2021-10-08 23:12:15 +00:00
silverpill
8c18a0ab86 Allow retrieval of local Note objects using /objects/ URL 2021-10-08 22:59:04 +00:00
silverpill
7a65e34e62 Populate inReplyTo field in Note object when creating post 2021-10-08 22:54:53 +00:00
silverpill
aac3d89f21 Return error 404 if thread is empty 2021-10-08 14:07:00 +00:00
silverpill
16b606bf06 Update demo instance URL 2021-10-06 21:30:53 +00:00
silverpill
d4adb55c53 Replace cookie auth with token auth 2021-10-05 22:53:33 +00:00
silverpill
9519786788 Change path of user creation endpoint 2021-10-05 22:52:13 +00:00
silverpill
b39733beb7 Make User API methods return Account entity 2021-10-05 16:24:28 +00:00
silverpill
f6e9c082e2 Implement Oauth 2.0 token service 2021-10-05 00:00:14 +00:00
silverpill
b1776b9520 Move invite code generator to users::utils module 2021-10-02 16:32:57 +00:00