Add support for remote interact #519

已合併
Plume_migration_agent 將 15 次提交從 remote-interact 合併至 master 5 年前
擁有者

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] 已留言 5 年前 (已從 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 已審核 5 年前
@ -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)">
發布者
擁有者

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

(rational behind this : show the button when not connected)
igalic (已從 github.com 遷移) 已審核 5 年前
igalic (已從 github.com 遷移) 留下了回應

@ -24,3 +24,4 @@
rocket_i18n = "0.4.0"
rpassword = "2.0"
runtime-fmt = "0.3.0"
scheduled-thread-pool = "0.2.0"
igalic (已從 github.com 遷移) 已留言 5 年前

what's this do?

what's this do?
trinity-1686a 已審核 5 年前
@ -24,3 +24,4 @@
rocket_i18n = "0.4.0"
rpassword = "2.0"
runtime-fmt = "0.3.0"
scheduled-thread-pool = "0.2.0"
發布者
擁有者

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)
發布者
擁有者

blocked by #443

blocked by #443
elegaanz (已從 github.com 遷移) 核可了這些變更 5 年前
elegaanz (已從 github.com 遷移) 留下了回應

👍

:+1:

審核者

此合併請求已被合併為 0d708e1639
您也可以查看命令列指南

第一步:

在您的儲存庫中切換到新分支並測試變更。
git checkout -b remote-interact master
git pull origin remote-interact

第二步:

合併變更並更新到 Forgejo。
git checkout master
git merge --no-ff remote-interact
git push origin master
登入 才能加入這對話。
沒有審核者
未選擇里程碑
沒有負責人
2 參與者
通知
截止日期
截止日期無效或超出範圍,請使用「yyyy-mm-dd」的格式。

未設定截止日期。

先決條件

未設定先決條件。

參考: Plume/Plume#519
載入中…
尚未有任何內容