Bat
e34d12922c
Serialize publicKey in Person representation
2018-06-21 22:12:24 +01:00
Bat
f5f2aa7c59
Get rid of the activity_pub::actor::Actor trait
2018-06-21 18:53:57 +01:00
Bat
b2e8d54161
Drop activity_pub::activitypub and activity_pub::ActivityPub and only use the ActivityStream responder
2018-06-21 18:09:18 +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
2217ec0d56
Remove PgConnection when we don't need it
...
Massive simplification in the ActivityPub module!
2018-06-21 16:31:42 +01:00
Bat
5457a80eec
Avoid calling compute_id when we shouldn't
...
It should only be used at initialization, after we should prefer ap_url,
as not everybody is using the same URLs as Plume.
2018-06-21 15:53:58 +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
635ac6cf42
Merge branch 'master' into setup-script
2018-06-19 22:26:31 +01:00
Bat
8ab25b1ca2
Use uri! as much as possible instead of directly writing URLs
2018-06-19 22:20:27 +01:00
Bat
dd152f2607
Remove old configuration code
2018-06-19 18:29:34 +01:00
Bat
51571d6320
may_fail! macro
...
Returns an error template if an Option is None, else runs the given block
2018-06-18 18:28:28 +01:00
Bat
7e3cdec0b6
Add some to_json functions to models for serialization in templates
2018-06-18 17:34:29 +01:00
Bat
36bf2e114c
Fix local notifications
2018-06-18 12:32:03 +01:00
Bat
0b9515645c
De-duplicate some parts of the users templates
2018-06-17 18:48:22 +01:00
Bat
b18aa33c70
Update to the latest version of Rocket, to use rocket_contrib::Template::custom
2018-06-16 18:39:22 +01:00
Bat
c9b4c40fa1
Add the gettext-rs crate
2018-06-15 14:08:38 +01:00
Bat
a4a8446d45
Make the follow button a bit smarter
2018-06-13 19:06:14 +01:00
Bat
1c287c6dfe
View remote profiles locally
...
Add a link to the profile on the real instance
2018-06-13 18:48:37 +01:00
Bat
edbeeef640
Add a dashboard
2018-06-10 18:55:08 +01:00
Bat
7a3215edaa
Show 6 articles on the home and on profiles
2018-06-10 17:37:02 +01:00
Bat
78362feffb
Use the activitypub crate
2018-06-10 12:13:07 +01:00
Trinity Pointard
3dcd78f205
fix redirection to login in src/routes/user.rs
2018-06-07 10:39:22 +02:00
Bat
e9cd48ecca
Display reshares on profile page
2018-05-24 10:45:36 +01:00
Trinity Pointard
a8aeb40b95
add trailing slashes to links where they were missing
...
Signed-off-by: Trinity Pointard <trinity.pointard@insa-rennes.fr>
2018-05-22 17:35:16 +02:00
Bat
14bf3f00aa
Make post metadata look nicer
2018-05-19 08:53:51 +01:00
Bat
b55622f2b1
Reorganize use statements
2018-05-19 08:39:59 +01:00
Baptiste Gelez
d7552ba369
Merge pull request #27 from Plume-org/activitystreams
...
Use the Activitystreams crate
2018-05-18 23:14:55 +01:00
Bat
4a86af6fc1
Resolve activitystream TODOs
2018-05-18 23:04:30 +01:00
Bat
e83226ae85
Validate data before creating a new account
...
Fix #28
2018-05-18 21:48:07 +01:00
Bat
c779b1c58a
WIP: use the activitystreams crate
2018-05-16 19:20:44 +01:00
Bat
91b19bccb5
Add a link to author's profile on article card
...
Use a macro to render those cards too
2018-05-13 18:19:23 +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
c6b2560eb0
Followers listing
...
And clean up models functions a bit
2018-05-13 12:53:58 +01:00
Bat
b8aade1e12
Delete likes
2018-05-12 21:56:57 +01:00
Bat
b68e481b3f
Make the website more mobile-friendly
2018-05-12 18:59:38 +01:00
Bat
aefa31b84e
Add a few (ugly) badges to the user page
2018-05-12 17:55:25 +01:00
Bat
ea08718c23
User profile edition
2018-05-12 16:30:14 +01:00
Bat
6de9d5b82a
Articles listings on blogs and users pages
2018-05-12 14:31:09 +01:00
Bat
a74215ef07
Start an actual design
2018-05-10 21:31:52 +01:00
Bat
292f4d6b27
Add actual templates for everything
2018-05-09 20:09:52 +01:00
Bat
92af83565e
Add an AP followers endpoint for users
2018-05-04 14:13:55 +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
9fdfb2b25e
Follow endpoint
2018-05-01 20:57:30 +01:00
Bat
03df88e186
WIP: inboxes
2018-05-01 15:00:29 +01:00
Bat
8047df6848
Display remote profiles!
2018-05-01 12:48:19 +01:00
Bat
80472506ca
User outbox
2018-04-29 19:01:42 +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
0c9a1bfc3a
Reorganize uses
2018-04-24 10:21:39 +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
268607da0e
Add a model for posts
2018-04-23 14:41:43 +01:00
Bat
9240ca3a84
Compute outbox/inbox URLs from activity_pub::Actor
2018-04-23 14:12:59 +01:00
Bat
5f4cb6c065
Authentication
2018-04-23 10:52:44 +01:00
Bat
a7774444fe
User creation
2018-04-22 19:13:12 +01:00