Commit graph

43 commits

Author SHA1 Message Date
kaniini e44544d22e relay: add additional assertion proving that a message is never relayed back to it's origin 2018-12-03 20:26:46 +00:00
kaniini c9cd9a8337 actor: handle remote actor fetch failures more gracefully 2018-11-20 01:10:43 +00:00
kaniini 3af63d4d9f relay: never relay an object back to the instance which hosts it 2018-11-20 00:42:31 +00:00
kaniini b607e382cb relay: only import urlsplit from urllib.parse 2018-11-20 00:41:52 +00:00
kaniini 4623aaf5b6 relay: status, not status_code 2018-11-18 22:09:08 +00:00
kaniini 69dfb04131 remote_actor: cleanly catch exceptions while fetching actors 2018-11-18 22:07:12 +00:00
kaniini e0d633b861 actor: cleanly catch exceptions while delivering messages 2018-11-18 22:05:41 +00:00
kaniini ccd0e12b0a relay: track statistics 2018-11-18 22:03:53 +00:00
kaniini 379ba26478 relay: catch 202s 2018-11-18 21:29:10 +00:00
kaniini 3cc48dd3e8 manage: fix compile 2018-11-18 18:24:21 +00:00
kaniini 33868b1e19 nodeinfo: fix capitalization 2018-11-18 15:25:46 +00:00
kaniini db52dd4af9 relay: add support for nodeinfo protocol 2018-11-18 15:05:13 +00:00
kaniini 0941c66f7c actor: implement loop breaking for follow handshake 2018-11-18 14:49:54 +00:00
kaniini 332fd6992e relay: add manage task, allows for following/unfollowing remote peers 2018-11-18 14:41:00 +00:00
kaniini 5871c40667 database: no longer store remote actors indefinitely in JSON-LD database, use hot cache instead 2018-11-18 14:25:04 +00:00
kaniini 692cf89195 actor: use LFU cache to break cycles 2018-11-18 14:20:17 +00:00
kaniini 9c55d307ab actor: remove pointless sharedInbox declaration (was not even in the right place) 2018-11-18 14:15:45 +00:00
kaniini 34e23f0ed7 actor: add LFUCache definition 2018-11-18 14:15:34 +00:00
kaniini 3c71a35b61 relay: actor: don't send (request-target) psuedo-header 2018-11-18 00:09:36 +00:00
kaniini 2f1eed51a1 relay: add http request debugger 2018-11-18 00:09:36 +00:00
tristan d6d86bbf86 restore proper instance list on default page 2018-11-04 18:44:27 -08:00
tristan d74fc15198 Revert "Revert "expose the list of registered targets to default page""
This reverts commit 51d2ab4e36.
2018-11-04 18:41:08 -08:00
Tristan Mahé ee7f1cc190 do not use regex to parse instances, and add count of instances to default page 2018-11-01 14:49:48 -07:00
Tristan Mahé 39a255375e use urllib.parse.urlsplit instead of regex 2018-11-01 13:14:37 -07: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
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
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 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