Commit graph

1645 commits

Author SHA1 Message Date
Bat
78f3062f6d Add a follow model 2018-05-01 14:06:31 +01:00
Bat
4daa482aa8 Add a license (AGPLv3)
Thanks Sylvhem for the advice!
2018-05-01 13:01:38 +01:00
Bat
ce5c60bffe Save the correct instance URL in the database 2018-05-01 12:52:50 +01:00
Bat
8047df6848 Display remote profiles! 2018-05-01 12:48:19 +01:00
Bat
44473aa292 Add Travis badge 2018-04-30 22:20:40 +01:00
Bat
c9f3309655 Add Travis CI 2018-04-30 22:15:07 +01:00
Bat
bf54a7c4ef Add a function to find the ActivityPub representation of an actor with WebFinger 2018-04-30 20:37:19 +01:00
Bat
59652e8655 Add a function to send activity to an inbox 2018-04-30 19:08:44 +01:00
Bat
e93bb3a21f Add creation timestamps 2018-04-30 18:46:27 +01:00
Bat
0fd63eb886 Actually serialize posts in outbox 2018-04-30 17:50:35 +01:00
Bat
bde25478e5 Start filling user outbox 2018-04-29 21:23:44 +01:00
Bat
dd9e845e66 Fix a few warnings 2018-04-29 19:06:10 +01:00
Bat
80472506ca User outbox 2018-04-29 19:01:42 +01:00
Bat
e592e692ff Restore index page 2018-04-29 18:50:46 +01:00
Bat
4666cd3ee3 Blog outbox 2018-04-29 18:49:56 +01:00
Bat
5e6be0cf93 WIP: signing 2018-04-29 16:40:10 +01:00
Bat
721456de30 Actually start playing with ActivityPub
And Rust
2018-04-24 15:52:47 +01:00
Bat
0b00849a62 Refactor ActivityPub 2018-04-24 13:31:02 +01:00
Bat
270786ad3d Always use JSON for Webfinger 2018-04-24 12:38:43 +01:00
Bat
0c9a1bfc3a Reorganize uses 2018-04-24 10:21:39 +01:00
Bat
f0b08b2d6d Webfinger 2018-04-24 09:35:45 +01:00
Bat
e9bcaf4dd9 Add Actor ActivityPub representation 2018-04-23 17:26:01 +01:00
Bat
656b201244 Pluralize model modules 2018-04-23 16:19:28 +01:00
Bat
7b3a884ec6 Add ActivityPub endpoint for actors 2018-04-23 16:09:05 +01:00
Bat
9eb1b987b2 Save post author 2018-04-23 15:39:06 +01:00
Bat
a816bb00b7 Add relation between posts and authors 2018-04-23 15:37:49 +01:00
Bat
e506cd21b7 Post creation 2018-04-23 15:25:39 +01:00
Bat
268607da0e Add a model for posts 2018-04-23 14:41:43 +01:00
Bat
0e24b3cdb7 Add creator of the blog as author 2018-04-23 14:22:07 +01:00
Bat
9240ca3a84 Compute outbox/inbox URLs from activity_pub::Actor 2018-04-23 14:12:59 +01:00
Bat
2c3d9a2309 Implement activity_pub::Actor for models::user::User 2018-04-23 13:01:32 +01:00
Bat
ab66886093 Implement activity_pub::Actor for models::blogs::Blog 2018-04-23 13:00:11 +01:00
Bat
74ce9aeec0 Add activity_pub::Actor trait 2018-04-23 12:57:14 +01:00
Bat
474f063542 Add relation between blog and authors 2018-04-23 12:28:03 +01:00
Bat
68db4a82cf Add relation between blogs and authors 2018-04-23 12:27:27 +01:00
Bat
4f9df753f5 Implement logout 2018-04-23 12:13:49 +01:00
Bat
00e5f28d0b Require authentication for creating blog + Fix utils::make_actor_id 2018-04-23 12:10:15 +01:00
Bat
9130f4d848 Basic blog creation 2018-04-23 11:54:37 +01:00
Bat
502c186f52 Add more info in the README 2018-04-23 11:33:16 +01:00
Bat
cadb33cc1a Add blog model 2018-04-23 11:29:27 +01:00
Bat
5f4cb6c065 Authentication 2018-04-23 10:52:44 +01:00
Bat
f8372f6383 Implement models::instance::Instance.has_admin 2018-04-22 19:17:40 +01:00
Bat
a7774444fe User creation 2018-04-22 19:13:12 +01:00
Bat
4036d5771c Implement models::instance::Instance::get 2018-04-22 16:11:58 +01:00
Bat
f060fa08af Initial commit
With instance configuration
2018-04-22 14:35:37 +01:00