Bat
68c7aad179
Big repository reorganization
...
The code is divided in three crates:
- plume-common, for the ActivityPub module, and some common utils
- plume-models, for the models and database-related code
- plume, the app itself
This new organization will allow to test it more easily, but also to create other tools that only reuse a little part of
the code (for instance a Wordpress import tool, that would just use the plume-models crate)
2018-06-23 17:36:11 +01:00
Bat
3fe2625e86
Simplify the Inbox trait
...
If we want to add, for instance, streams in the future, we could introduce
a new trait for that, similar to FromActivity or Notify
We also display inbox errors to the "client" if something fails,
which could be useful for debugging.
2018-06-21 17:00:37 +01:00
Bat
5193ad6f65
Remove legacy Inbox::unlike function
2018-06-21 16:45:54 +01:00
Bat
3551bef895
Simplify the activity_pub::inbox::Notify trait + Fix notifications
...
Also fix a bug with the list of mentions that was returned
2018-06-20 22:51:47 +01:00
Bat
215b577573
Add some ActivityPub function to Mention
2018-06-20 20:06:34 +01:00
Bat
7fc469fa96
Delete reshares when receiving the corresponding Undo activity
2018-06-19 10:50:01 +01:00
Bat
0ea8c882ad
Actually use the activity_pub::inbox::Notify trait for notifications
...
It won't work for local events until we use AP internally too
2018-06-17 20:37:10 +01:00
Bat
36c11182f4
Introduce some traits for handling incoming activities
2018-06-12 20:10:08 +01:00
Bat
7d17751f50
Definitively get rid of the activitystreams crates
2018-06-11 13:30:14 +01:00
Trinity Pointard
7d9609671c
change post.content and comment.content's types from String to SafeString
2018-06-11 12:22:43 +02:00
Bat
edbeeef640
Add a dashboard
2018-06-10 18:55:08 +01:00
Bat
e403099f47
CWs are optional
2018-06-10 12:53:39 +01:00
Bat
6544d7d1da
Note's actor is usually just an ID, not a full object
2018-06-10 12:41:43 +01:00
Bat
78362feffb
Use the activitypub crate
2018-06-10 12:13:07 +01:00
Bat
d604b62917
Make it easier to debug inbox errors
2018-05-24 12:20:11 +01:00
Bat
c0d1a914c4
Handle reshares from AP
2018-05-23 18:09:59 +01:00
Bat
b55622f2b1
Reorganize use statements
2018-05-19 08:39:59 +01:00
Bat
4a86af6fc1
Resolve activitystream TODOs
2018-05-18 23:04:30 +01:00
Bat
0e24ccbf29
Use activitystreams in the Inbox trait
2018-05-18 09:04:40 +01:00
Bat
c779b1c58a
WIP: use the activitystreams crate
2018-05-16 19:20:44 +01:00
Bat
dfab0290e4
Shared inbox endpoint
2018-05-13 18:39:18 +01:00
Bat
fdc481e384
Use shared inbox when available
...
But it is not yet stored in the database, so it means never
2018-05-13 15:39:55 +01:00
Bat
726c2c7e82
Add some notifications
...
When liking, commenting or following
2018-05-13 14:03:35 +01:00
Bat
c6b2560eb0
Followers listing
...
And clean up models functions a bit
2018-05-13 12:53:58 +01:00
Bat
601fe7cf4f
Allow likes to be deleted with AP
2018-05-13 11:44:05 +01:00
Bat
ac7b4441e8
Receive likes with ActivityPub
2018-05-10 17:07:23 +01:00
Bat
80964b1857
Don't panic when receiving a nested comment
2018-05-10 14:32:19 +01:00
Bat
a436f2da4b
Federate comments
2018-05-10 11:52:56 +01:00
Bat
22cb286f86
Signing activities
...
I hope it works correctly…
Fixes #6
2018-05-03 20:11:04 +01:00
Bat
afe98ab1c3
Start refactoring activities
2018-05-02 21:44:03 +01:00
Bat
5f43f783b6
Use more env vars for config
...
It will make it easier to test federation
2018-05-02 12:53:42 +01:00
Bat
9a4f60cfe3
Accept follow requests
2018-05-01 19:02:29 +01:00
Bat
03df88e186
WIP: inboxes
2018-05-01 15:00:29 +01:00