Commit graph

408 commits

Author SHA1 Message Date
kaniini 2505d81fef Merge branch 'master' into 'master'
Added an example config for nginx.

See merge request pleroma/relay!1
2018-11-01 10:04:17 +00:00
Rachel Fae Fox a583669d06 comment the block for using a static page, and clarify documentation 2018-11-01 02:13:23 +00:00
Tristan Mahé fb669f124f import re in database.py for removing blocked follow on load 2018-10-31 12:53:25 -07:00
Tristan Mahé 51d2ab4e36 Revert "expose the list of registered targets to default page"
This reverts commit b15665eb1f.
2018-10-31 12:32:10 -07:00
Tristan Mahé 64d8e34904 Revert "format instance name instead of inbox url"
This reverts commit 12af824b56.
2018-10-31 12:32:00 -07:00
Tristan Mahé aa79a27840 very simple blocklist 2018-10-31 12:29:30 -07:00
Tristan Mahé 12af824b56 format instance name instead of inbox url 2018-10-31 11:58:10 -07:00
Tristan Mahé b15665eb1f expose the list of registered targets to default page 2018-10-31 11:42:42 -07:00
Rachel Fae Fox 6bcc222c6f Added an example config for nginx.
Based off of my own config locally.
2018-10-31 03:15:59 -04:00
kaniini 976da47539 relay: fix mastodon announce check 2018-10-31 02:39:48 +00:00
kaniini 48f3977ff7 relay: don't relay mastodon announces
relayed mastodon announces are likely to result in fake direction issues, which will
result in the author seeing side effects from the relay.
2018-10-31 02:37:08 +00:00
kaniini 29c3bf4b5a http signatures: immediately fail validation attempt if no actor keys can be found 2018-10-31 02:28:51 +00:00
kaniini b12fe63a36 use relay.example.com by default 2018-10-31 02:25:06 +00:00
Alynna Trypnotk 79c902ae55 Fixed note support 2018-10-31 02:23:47 +00:00
Alynna Trypnotk 6170cd5ab0 Fixed error with displaying note lol 2018-10-31 02:23:30 +00:00
Alynna Trypnotk 0e6967b34a Added options to change the default listen address and port. Added default page that explains how to use the relay. Added note option to add information about the relay content and/or TOS. 2018-10-31 02:23:09 +00:00
kaniini 827f3ee42a actor: only send litepub relay messages to debug level 2018-10-31 02:18:54 +00:00
kaniini 5fcdfbd596 http signatures: log when http signature validation fails 2018-10-31 02:14:01 +00:00
kaniini 6e493ca9e1 http signatures: handle fetch_actor_key failure more gracefully 2018-10-31 02:12:35 +00:00
kaniini 42ad51e94a add some docs 2018-10-30 03:17:25 +00:00
kaniini 1e1b1127b8 actor: implement litepub relay protocol 2018-10-30 03:10:16 +00:00
kaniini 36749620ec actor: implement mastodon & pleroma relay handshakes 2018-10-30 02:49:38 +00:00
kaniini 5ab9ccf338 kill more irc bot stuff 2018-10-30 02:49:00 +00:00
kaniini c91d0a6755 strip down to base AP code 2018-10-30 01:42:17 +00:00
William Pitcock 5e9b2cd275 irc: make channels configurable on a per-actor basis 2018-08-18 11:53:04 -05:00
William Pitcock 87a7789cd0 README: note Python >= 3.5.2 requirement 2018-08-18 10:55:10 -05:00
William Pitcock fa236b1fe9 pipfile: delete python version requirement, because reasons 2018-08-18 10:54:16 -05:00
William Pitcock c085ad32e3 add requirements.txt file 2018-08-18 10:46:19 -05:00
William Pitcock 55f05225f2 add example config 2018-08-18 00:14:01 -05:00
William Pitcock 03e096a839 actor: don't relay non-public messages 2018-08-18 00:07:49 -05:00
William Pitcock 0405b0463b expand README 2018-08-18 00:05:48 -05:00
William Pitcock 2cfffd0693 irc: another layer of unescaping 2018-08-17 22:17:07 -05:00
William Pitcock 786f9162b4 irc: unescape html entities 2018-08-17 20:40:03 -05:00
William Pitcock 2855909ada actor: fix compile 2018-08-17 20:04:18 -05:00
William Pitcock 4495aec088 irc: add unfollow command 2018-08-17 20:03:46 -05:00
William Pitcock 94d4efbe11 irc: ensure only privileged accounts may follow/unfollow 2018-08-17 19:56:18 -05:00
William Pitcock 3e446bc584 irc: add follow command 2018-08-17 19:53:46 -05:00
William Pitcock c6bcbdfd45 http signatures: fix signature generation 2018-08-17 19:52:39 -05:00
William Pitcock b702d9a947 actor: add follow_remote_actor() 2018-08-17 18:09:24 -05:00
William Pitcock fd171fb52c irc: add AP message relay 2018-08-17 18:01:44 -05:00
William Pitcock 489a01fc9e authreqs: add get_irc_bot(), utter hackjob but works for now 2018-08-17 17:42:32 -05:00
William Pitcock 0742ff20b0 actor: check if the inbound message is an auth message or not 2018-08-17 17:36:05 -05:00
William Pitcock 9c92a6bc0e irc: add drop command 2018-08-11 10:27:04 -05:00
William Pitcock f048e2efff actor: add url field for older mastodon 2018-08-11 10:21:08 -05:00
William Pitcock ba854d5971 remote actor: force utf-8 encoding 2018-08-11 10:20:56 -05:00
William Pitcock 2b11d0522c fix content type 2018-08-10 21:24:23 -05:00
William Pitcock e5597399b6 harden AP side a bit 2018-08-10 20:53:01 -05:00
William Pitcock 6d234563e5 add the rest of the stuff 2018-08-10 20:36:24 -05:00
William Pitcock df62c1353e http signatures: add signing support 2018-08-10 17:08:30 -05:00
William Pitcock 13335b14d3 implement http signatures 2018-08-10 16:14:22 -05:00