#519 Add support for remote interact

Merged
Plume_migration_agent merged 15 commits from remote-interact into master 1 year ago

Add support for remote interaction (this thing in mastodon)

Add support for remote interaction ([this thing](https://eldritch.cafe/users/Barmaid/remote_follow) in mastodon) - [x] create the endpoint dispatching remote interactions to local pages - [x] add this endpoint to web-finger - [x] propose remote interaction when following and not connected - [x] propose remote interaction when liking/sharing and not connected - [x] propose remote interaction when commenting and not connected - [x] fetch posts/comments we don't know but remote interaction was requested for ?
codecov[bot] commented 1 year ago (Migrated from github.com)
Owner

Codecov Report

Merging #519 into master will decrease coverage by 1.56%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #519      +/-   ##
==========================================
- Coverage   42.48%   40.92%   -1.57%     
==========================================
  Files          68       68              
  Lines        9314     9823     +509     
==========================================
+ Hits         3957     4020      +63     
- Misses       5357     5803     +446
# [Codecov](https://codecov.io/gh/Plume-org/Plume/pull/519?src=pr&el=h1) Report > Merging [#519](https://codecov.io/gh/Plume-org/Plume/pull/519?src=pr&el=desc) into [master](https://codecov.io/gh/Plume-org/Plume/commit/12efe721cc4616b6ece512de16c8c396a62f8614?src=pr&el=desc) will **decrease** coverage by `1.56%`. > The diff coverage is `0%`. ```diff @@ Coverage Diff @@ ## master #519 +/- ## ========================================== - Coverage 42.48% 40.92% -1.57% ========================================== Files 68 68 Lines 9314 9823 +509 ========================================== + Hits 3957 4020 +63 - Misses 5357 5803 +446 ```
trinity-1686a reviewed 1 year ago
@@ -34,3 +34,3 @@

@if ctx.2.clone().map(|u| u.id != user.id).unwrap_or(false) {
@if ctx.2.clone().map(|u| u.id != user.id).unwrap_or(true) {
<form class="inline" method="post" action="@uri!(user::follow: name = &user.fqn)">
trinity-1686a commented 1 year ago

(rational behind this : show the button when not connected)

(rational behind this : show the button when not connected)
igalic (Migrated from github.com) reviewed 1 year ago
igalic (Migrated from github.com) left a comment

@@ -24,3 +24,4 @@
rocket_i18n = "0.4.0"
rpassword = "2.0"
runtime-fmt = "0.3.0"
scheduled-thread-pool = "0.2.0"
Plume_migration_agent commented 1 year ago

what’s this do?

what's this do?
trinity-1686a reviewed 1 year ago
@@ -24,3 +24,4 @@
rocket_i18n = "0.4.0"
rpassword = "2.0"
runtime-fmt = "0.3.0"
scheduled-thread-pool = "0.2.0"
trinity-1686a commented 1 year ago

like format!() or println!(), but with the base string unknown at compile time (when we fetch the url, we get something like https://<instance>/authorize_interaction?uri={uri}, which we obviously can’t now at compile time)

like format!() or println!(), but with the base string unknown at compile time (when we fetch the url, we get something like `https://<instance>/authorize_interaction?uri={uri}`, which we obviously can't now at compile time)
trinity-1686a commented 1 year ago
Owner

blocked by #443

blocked by #443
elegaanz (Migrated from github.com) approved these changes 1 year ago
elegaanz (Migrated from github.com) left a comment

👍

Reviewers

Plume_migration_agent approved these changes 1 year ago
The pull request has been merged as 0d708e1639.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.