Add support for remote interact (#519)

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 ?
This commit is contained in:
fdb-hiroshima
2019-04-17 21:09:07 +01:00
committed by Baptiste Gelez
parent 12efe721cc
commit 0d708e1639
28 changed files with 1173 additions and 481 deletions
+44 -10
View File
@@ -85,6 +85,12 @@ msgstr "Novo artigo"
msgid "Edit {0}"
msgstr "Mudar {0}"
# src/routes/user.rs:222
msgid ""
"Couldn't obtain enough information about your account. Please make sure your "
"username is correct."
msgstr ""
# src/routes/reshares.rs:47
msgid "To reshare a post, you need to be logged in"
msgstr ""
@@ -253,6 +259,17 @@ msgstr "Administrado por"
msgid "Runs Plume {0}"
msgstr ""
#, fuzzy
msgid "Follow {}"
msgstr "Seguir"
#, fuzzy
msgid "Login to follow"
msgstr "Entrar para gostar"
msgid "Enter your full username to follow"
msgstr ""
msgid "Edit your account"
msgstr "Editar sua conta"
@@ -565,6 +582,15 @@ msgstr "Entrar"
msgid "Username, or email"
msgstr "Nome de usuário ou e-mail"
msgid "Interact with {}"
msgstr ""
msgid "Log in to interact"
msgstr ""
msgid "Enter your full username to interact"
msgstr ""
msgid "Publish"
msgstr "Publicar"
@@ -654,7 +680,9 @@ msgid "Boost"
msgstr ""
#, fuzzy
msgid "Log in, or use your Fediverse account to interact with this article"
msgid ""
"{0}Log in{1}, or {2}use your Fediverse account{3} to interact with this "
"article"
msgstr "Faça login ou use sua conta Fediverse para interagir com este artigo"
msgid "Comments"
@@ -775,6 +803,21 @@ msgstr "Artigos marcados com \"{0}\""
msgid "There are currently no articles with such a tag"
msgstr "Não há atualmente nenhum artigo com essa etiqueta"
#, fuzzy
msgid "I'm from this instance"
msgstr "Sobre esta instância"
msgid "I'm from another instance"
msgstr ""
# src/template_utils.rs:225
msgid "Example: user@plu.me"
msgstr ""
#, fuzzy
msgid "Continue to your instance"
msgstr "Configure sua instância"
msgid "Upload"
msgstr "Carregar"
@@ -885,15 +928,9 @@ msgstr "Utilizar como avatar"
#~ msgid "Unfollow"
#~ msgstr "Não Seguir"
#~ msgid "Follow"
#~ msgstr "Seguir"
#~ msgid "Comment \"{0}\""
#~ msgstr "Comentário \"{0}\""
#~ msgid "Configure your instance"
#~ msgstr "Configure sua instância"
#~ msgid "Let's go!"
#~ msgstr "Vamos lá!"
@@ -956,6 +993,3 @@ msgstr "Utilizar como avatar"
#~ msgid "Next page"
#~ msgstr "Próxima página"
#~ msgid "Login to like"
#~ msgstr "Entrar para gostar"