8
16
Fork 22

Add support for remote interact #519

Zusammengeführt
Plume_migration_agent hat 15 Commits von remote-interact nach master vor 5 Jahren zusammengeführt
trinity-1686a hat vor 5 Jahren kommentiert
Besitzer

Add support for remote interaction (this thing in mastodon)

  • create the endpoint dispatching remote interactions to local pages
  • add this endpoint to web-finger
  • propose remote interaction when following and not connected
  • propose remote interaction when liking/sharing and not connected
  • propose remote interaction when commenting and not connected
  • fetch posts/comments we don't know but remote interaction was requested for ?
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] hat vor 5 Jahren kommentiert (Migriert von github.com)

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 hat vor 5 Jahren überprüft
@ -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 hat vor 5 Jahren kommentiert
Ersteller
Besitzer

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

(rational behind this : show the button when not connected)
igalic (Migriert von github.com) hat vor 5 Jahren überprüft
igalic (Migriert von github.com) hat einen Kommentar hinterlassen

@ -24,3 +24,4 @@
rocket_i18n = "0.4.0"
rpassword = "2.0"
runtime-fmt = "0.3.0"
scheduled-thread-pool = "0.2.0"
igalic (Migriert von github.com) hat vor 5 Jahren kommentiert

what's this do?

what's this do?
trinity-1686a hat vor 5 Jahren überprüft
@ -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 hat vor 5 Jahren kommentiert
Ersteller
Besitzer

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 hat vor 5 Jahren kommentiert
Ersteller
Besitzer

blocked by #443

blocked by #443
elegaanz (Migriert von github.com) hat die Änderungen vor 5 Jahren genehmigt
elegaanz (Migriert von github.com) hat einen Kommentar hinterlassen

👍

:+1:

Reviewer

Der Pull Request wurde als 0d708e1639 gemergt.

Schritt 1:

Wechsle auf einen neuen Branch in deinem lokalen Repository und teste die Änderungen.
git checkout -b remote-interact master
git pull origin remote-interact

Schritt 2:

Führe die Änderungen zusammen und aktualisiere den Stand online auf Forgejo.
git checkout master
git merge --no-ff remote-interact
git push origin master
Anmelden, um an der Diskussion teilzunehmen.
Keine Reviewer
Kein Meilenstein
Niemand zuständig
2 Beteiligte
Nachrichten
Fällig am
Das Fälligkeitsdatum ist ungültig oder außerhalb des zulässigen Bereichs. Bitte verwende das Format „jjjj-mm-tt“.

Kein Fälligkeitsdatum gesetzt.

Abhängigkeiten

Keine Abhängigkeiten gesetzt.

Referenz: Plume/Plume#519
Laden…
Hier gibt es bis jetzt noch keinen Inhalt.