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
+43 -10
View File
@@ -86,6 +86,12 @@ msgstr "Nueva publicación"
msgid "Edit {0}"
msgstr ""
# 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 ""
@@ -246,6 +252,17 @@ msgstr ""
msgid "Runs Plume {0}"
msgstr ""
#, fuzzy
msgid "Follow {}"
msgstr "Seguir"
#, fuzzy
msgid "Login to follow"
msgstr "Dejar de seguir"
msgid "Enter your full username to follow"
msgstr ""
msgid "Edit your account"
msgstr "Edita tu cuenta"
@@ -537,6 +554,15 @@ msgstr "Iniciar Sesión"
msgid "Username, or email"
msgstr "Nombre de usuario o correo electrónico"
msgid "Interact with {}"
msgstr ""
msgid "Log in to interact"
msgstr ""
msgid "Enter your full username to interact"
msgstr ""
msgid "Publish"
msgstr "Publicar"
@@ -623,7 +649,9 @@ msgstr "Ya no me gusta"
msgid "Boost"
msgstr ""
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 ""
msgid "Comments"
@@ -738,6 +766,20 @@ msgstr ""
msgid "There are currently no articles with such a tag"
msgstr ""
msgid "I'm from this instance"
msgstr ""
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 su instancia"
msgid "Upload"
msgstr ""
@@ -812,9 +854,6 @@ msgstr ""
#~ msgid "Comment \"{0}\""
#~ msgstr "Comentario \"{0}\""
#~ msgid "Configure your instance"
#~ msgstr "Configure su instancia"
#~ msgid "Let's go!"
#~ msgstr "Vamos!"
@@ -824,12 +863,6 @@ msgstr ""
#~ msgid "Create a post"
#~ msgstr "Crear una publicación"
#~ msgid "Follow"
#~ msgstr "Seguir"
#~ msgid "Unfollow"
#~ msgstr "Dejar de seguir"
#~ msgid "One follower"
#~ msgid_plural "{0} followers"
#~ msgstr[0] "Un seguidor"