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
+45 -13
View File
@@ -84,6 +84,12 @@ msgstr "Nuovo post"
msgid "Edit {0}"
msgstr "Modifica"
# 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 ""
@@ -255,6 +261,17 @@ msgstr "Amministrata da"
msgid "Runs Plume {0}"
msgstr "Utilizza Plume {0}"
#, fuzzy
msgid "Follow {}"
msgstr "Segui"
#, fuzzy
msgid "Login to follow"
msgstr "Accedi per boostare"
msgid "Enter your full username to follow"
msgstr ""
msgid "Edit your account"
msgstr "Modifica il tuo account"
@@ -567,6 +584,16 @@ msgstr "Accedi"
msgid "Username, or email"
msgstr "Nome utente o email"
msgid "Interact with {}"
msgstr ""
#, fuzzy
msgid "Log in to interact"
msgstr "Accedi per mettere mi piace"
msgid "Enter your full username to interact"
msgstr ""
msgid "Publish"
msgstr "Pubblica"
@@ -663,7 +690,9 @@ msgid "Boost"
msgstr "Boost"
#, 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 ""
"Accedi o utilizza un tuo account del Fediverso per interagire con questo "
"articolo"
@@ -794,6 +823,21 @@ msgstr "Articoli etichettati \"{0}\""
msgid "There are currently no articles with such a tag"
msgstr "Attualmente non è ancora presente nessun articolo con quell'etichetta"
#, fuzzy
msgid "I'm from this instance"
msgstr "A proposito di questa istanza"
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 "Configura la tua istanza"
msgid "Upload"
msgstr "Carica"
@@ -908,9 +952,6 @@ msgstr "Usa come avatar"
#~ msgid "Unfollow"
#~ msgstr "Segui"
#~ msgid "Follow"
#~ msgstr "Segui"
#, fuzzy
#~ msgid "No articles to see here yet."
#~ msgstr "Nessun post da mostrare qui."
@@ -988,9 +1029,6 @@ msgstr "Usa come avatar"
#~ msgid "Comment \"{0}\""
#~ msgstr "Commenta \"{0}\""
#~ msgid "Configure your instance"
#~ msgstr "Configura la tua istanza"
#~ msgid "Let's go!"
#~ msgstr "Andiamo!"
@@ -1041,12 +1079,6 @@ msgstr "Usa come avatar"
#~ msgid "The password should be at least 8 characters long"
#~ msgstr "Le password devono essere lunghe almeno 8 caratteri"
#~ msgid "Login to like"
#~ msgstr "Accedi per mettere mi piace"
#~ msgid "Login to boost"
#~ msgstr "Accedi per boostare"
#~ msgid "Create a post"
#~ msgstr "Crea un post"