relay.git/.git
4 years agoimplement force-remove in manage.py, should only be used when relay is not running
gled [Tue, 11 Jun 2019 17:48:49 +0000 (10:48 -0700)]
implement force-remove in manage.py, should only be used when relay is not running

5 years agoMerge branch 'feature-delete' into 'master'
kaniini [Mon, 13 May 2019 18:41:06 +0000 (18:41 +0000)]
Merge branch 'feature-delete' into 'master'

Implement handle_delete to forward delete

Closes #2

See merge request pleroma/relay!12

5 years agoMerge branch 'block_unauth' into 'master'
kaniini [Mon, 13 May 2019 18:39:05 +0000 (18:39 +0000)]
Merge branch 'block_unauth' into 'master'

reject activities from instance not on relay-list

See merge request pleroma/relay!11

5 years agoImplement handle_delete to forward delete
kjwon15 [Wed, 8 May 2019 08:27:01 +0000 (17:27 +0900)]
Implement handle_delete to forward delete

5 years agoreject activities from instance not on relay-list
Izalia Mae [Wed, 8 May 2019 06:54:57 +0000 (02:54 -0400)]
reject activities from instance not on relay-list

5 years agoMerge branch 'patch-1' into 'master'
kaniini [Fri, 29 Mar 2019 11:29:13 +0000 (11:29 +0000)]
Merge branch 'patch-1' into 'master'

Fix wrong URI for the relay's followers collection

See merge request pleroma/relay!10

5 years agoFix wrong URI for the relay's followers collection
Thibaut Girka [Thu, 28 Mar 2019 17:21:53 +0000 (17:21 +0000)]
Fix wrong URI for the relay's followers collection

5 years agoMerge branch 'revert-10744d91' into 'master'
kaniini [Thu, 17 Jan 2019 23:04:20 +0000 (23:04 +0000)]
Merge branch 'revert-10744d91' into 'master'

Revert "Merge branch 'fix-html' into 'master'"

See merge request pleroma/relay!9

5 years agoRevert "Merge branch 'fix-html' into 'master'" origin/revert-10744d91
kaniini [Thu, 17 Jan 2019 23:04:07 +0000 (23:04 +0000)]
Revert "Merge branch 'fix-html' into 'master'"

This reverts merge request !8

5 years agoMerge branch 'fix-html' into 'master'
kaniini [Thu, 17 Jan 2019 23:02:53 +0000 (23:02 +0000)]
Merge branch 'fix-html' into 'master'

Fix html

See merge request pleroma/relay!8

5 years agoAdd doctype to html
kjwon15 [Wed, 9 Jan 2019 13:17:01 +0000 (22:17 +0900)]
Add doctype to html

5 years agohttp signatures: cache things we've already signed
kaniini [Tue, 8 Jan 2019 05:30:00 +0000 (05:30 +0000)]
http signatures: cache things we've already signed

this helps with the scatter/gather

5 years agohttp signatures: hold actor keys in an LRU cache
kaniini [Tue, 8 Jan 2019 05:14:59 +0000 (05:14 +0000)]
http signatures: hold actor keys in an LRU cache

5 years agoMerge branch 'upstream'
kjwon15 [Sat, 29 Dec 2018 04:41:14 +0000 (13:41 +0900)]
Merge branch 'upstream'

5 years agoMerge branch 'feature/always-update-displayed-instance-list' into 'master'
kaniini [Thu, 27 Dec 2018 18:49:12 +0000 (18:49 +0000)]
Merge branch 'feature/always-update-displayed-instance-list' into 'master'

Rebuild the list of instances that use this relay every time it is requested

See merge request pleroma/relay!6

5 years agoMerge branch 'patch-1' into 'master'
kaniini [Thu, 27 Dec 2018 18:48:49 +0000 (18:48 +0000)]
Merge branch 'patch-1' into 'master'

Fix encoding problem on actor

See merge request pleroma/relay!7

5 years agoAdd white list policy
kjwon15 [Thu, 27 Dec 2018 09:55:00 +0000 (18:55 +0900)]
Add white list policy

5 years agoPersist db
kjwon15 [Thu, 27 Dec 2018 09:48:40 +0000 (18:48 +0900)]
Persist db

5 years agoFix encoding
kjwon15 [Thu, 27 Dec 2018 08:51:31 +0000 (17:51 +0900)]
Fix encoding

5 years agoSet blocked_instances as empty array
kjwon15 [Thu, 27 Dec 2018 08:25:42 +0000 (17:25 +0900)]
Set blocked_instances as empty array

5 years agoFix GIT_REV on dokku
kjwon15 [Thu, 27 Dec 2018 08:06:52 +0000 (17:06 +0900)]
Fix GIT_REV on dokku

5 years agoFix encoding problem on actor
Jeong Arm [Thu, 27 Dec 2018 09:07:20 +0000 (09:07 +0000)]
Fix encoding problem on actor

5 years agoMake Dokku-able
kjwon15 [Thu, 27 Dec 2018 07:38:19 +0000 (16:38 +0900)]
Make Dokku-able

5 years agoRebuild the list of instances that use this relay every time / is requested
Finn Herzfeld [Mon, 10 Dec 2018 22:14:43 +0000 (14:14 -0800)]
Rebuild the list of instances that use this relay every time / is requested

5 years agonodeinfo: add commit hash to version field to prevent scams
kaniini [Mon, 3 Dec 2018 21:53:26 +0000 (21:53 +0000)]
nodeinfo: add commit hash to version field to prevent scams

5 years agorelay: add additional assertion proving that a message is never relayed back to it...
kaniini [Mon, 3 Dec 2018 20:26:46 +0000 (20:26 +0000)]
relay: add additional assertion proving that a message is never relayed back to it's origin

5 years agoactor: handle remote actor fetch failures more gracefully
kaniini [Tue, 20 Nov 2018 01:10:43 +0000 (01:10 +0000)]
actor: handle remote actor fetch failures more gracefully

5 years agorelay: never relay an object back to the instance which hosts it
kaniini [Tue, 20 Nov 2018 00:42:31 +0000 (00:42 +0000)]
relay: never relay an object back to the instance which hosts it

5 years agorelay: only import urlsplit from urllib.parse
kaniini [Tue, 20 Nov 2018 00:41:52 +0000 (00:41 +0000)]
relay: only import urlsplit from urllib.parse

5 years agorelay: status, not status_code
kaniini [Sun, 18 Nov 2018 22:09:08 +0000 (22:09 +0000)]
relay: status, not status_code

5 years agoremote_actor: cleanly catch exceptions while fetching actors
kaniini [Sun, 18 Nov 2018 22:07:12 +0000 (22:07 +0000)]
remote_actor: cleanly catch exceptions while fetching actors

5 years agoactor: cleanly catch exceptions while delivering messages
kaniini [Sun, 18 Nov 2018 22:05:41 +0000 (22:05 +0000)]
actor: cleanly catch exceptions while delivering messages

5 years agorelay: track statistics
kaniini [Sun, 18 Nov 2018 22:03:53 +0000 (22:03 +0000)]
relay: track statistics

5 years agorelay: catch 202s
kaniini [Sun, 18 Nov 2018 21:29:10 +0000 (21:29 +0000)]
relay: catch 202s

5 years agoadd caddyfile and systemd service
kaniini [Sun, 18 Nov 2018 18:36:03 +0000 (18:36 +0000)]
add caddyfile and systemd service

5 years agomanage: fix compile
kaniini [Sun, 18 Nov 2018 18:24:21 +0000 (18:24 +0000)]
manage: fix compile

5 years agonodeinfo: fix capitalization
kaniini [Sun, 18 Nov 2018 15:25:46 +0000 (15:25 +0000)]
nodeinfo: fix capitalization

5 years agorelay: add support for nodeinfo protocol
kaniini [Sun, 18 Nov 2018 15:05:13 +0000 (15:05 +0000)]
relay: add support for nodeinfo protocol

5 years agoactor: implement loop breaking for follow handshake
kaniini [Sun, 18 Nov 2018 14:49:54 +0000 (14:49 +0000)]
actor: implement loop breaking for follow handshake

5 years agoREADME: document how to follow other relays
kaniini [Sun, 18 Nov 2018 14:43:28 +0000 (14:43 +0000)]
README: document how to follow other relays

5 years agorelay: add manage task, allows for following/unfollowing remote peers
kaniini [Sun, 18 Nov 2018 14:41:00 +0000 (14:41 +0000)]
relay: add manage task, allows for following/unfollowing remote peers

5 years agodatabase: no longer store remote actors indefinitely in JSON-LD database, use hot...
kaniini [Sun, 18 Nov 2018 14:25:04 +0000 (14:25 +0000)]
database: no longer store remote actors indefinitely in JSON-LD database, use hot cache instead

5 years agoactor: use LFU cache to break cycles
kaniini [Sun, 18 Nov 2018 14:20:17 +0000 (14:20 +0000)]
actor: use LFU cache to break cycles

5 years agoactor: remove pointless sharedInbox declaration (was not even in the right place)
kaniini [Sun, 18 Nov 2018 14:15:45 +0000 (14:15 +0000)]
actor: remove pointless sharedInbox declaration (was not even in the right place)

5 years agoactor: add LFUCache definition
kaniini [Sun, 18 Nov 2018 14:15:34 +0000 (14:15 +0000)]
actor: add LFUCache definition

5 years agorequirements: add cachetools
kaniini [Sun, 18 Nov 2018 14:02:47 +0000 (14:02 +0000)]
requirements: add cachetools

5 years agorelay: actor: don't send (request-target) psuedo-header
kaniini [Sun, 18 Nov 2018 00:09:01 +0000 (00:09 +0000)]
relay: actor: don't send (request-target) psuedo-header

5 years agorelay: add http request debugger
kaniini [Sun, 18 Nov 2018 00:07:36 +0000 (00:07 +0000)]
relay: add http request debugger

5 years agoMerge branch 'add_blocklist' into 'master'
kaniini [Sat, 10 Nov 2018 21:56:26 +0000 (21:56 +0000)]
Merge branch 'add_blocklist' into 'master'

Add blocklist

See merge request pleroma/relay!3

5 years agorestore proper instance list on default page
tristan [Mon, 5 Nov 2018 02:44:27 +0000 (18:44 -0800)]
restore proper instance list on default page

5 years agoRevert "Revert "expose the list of registered targets to default page""
tristan [Mon, 5 Nov 2018 02:41:08 +0000 (18:41 -0800)]
Revert "Revert "expose the list of registered targets to default page""

This reverts commit 51d2ab4e36b03d274cea64fa97a307573a87326d.

5 years agoMerge remote-tracking branch 'upstream/master' into add_blocklist
tristan [Mon, 5 Nov 2018 02:39:16 +0000 (18:39 -0800)]
Merge remote-tracking branch 'upstream/master' into add_blocklist

5 years agodo not use regex to parse instances, and add count of instances to default page
Tristan Mahé [Thu, 1 Nov 2018 21:49:48 +0000 (14:49 -0700)]
do not use regex to parse instances, and add count of instances to default page

5 years agouse urllib.parse.urlsplit instead of regex
Tristan Mahé [Thu, 1 Nov 2018 20:14:37 +0000 (13:14 -0700)]
use urllib.parse.urlsplit instead of regex

5 years agoMerge branch 'list_reged_instances' into 'master'
kaniini [Thu, 1 Nov 2018 10:04:33 +0000 (10:04 +0000)]
Merge branch 'list_reged_instances' into 'master'

expose the list of registered targets to default page

See merge request pleroma/relay!2

5 years agoMerge branch 'master' into 'master'
kaniini [Thu, 1 Nov 2018 10:04:17 +0000 (10:04 +0000)]
Merge branch 'master' into 'master'

Added an example config for nginx.

See merge request pleroma/relay!1

5 years agocomment the block for using a static page, and clarify documentation
Rachel Fae Fox [Thu, 1 Nov 2018 02:13:23 +0000 (02:13 +0000)]
comment the block for using a static page, and clarify documentation

5 years agoimport re in database.py for removing blocked follow on load
Tristan Mahé [Wed, 31 Oct 2018 19:53:25 +0000 (12:53 -0700)]
import re in database.py for removing blocked follow on load

5 years agoRevert "expose the list of registered targets to default page"
Tristan Mahé [Wed, 31 Oct 2018 19:32:10 +0000 (12:32 -0700)]
Revert "expose the list of registered targets to default page"

This reverts commit b15665eb1f518ef16bc6deb87ed49dc439969b42.

5 years agoRevert "format instance name instead of inbox url"
Tristan Mahé [Wed, 31 Oct 2018 19:32:00 +0000 (12:32 -0700)]
Revert "format instance name instead of inbox url"

This reverts commit 12af824b56159d24ffe5cd22eb9fe46be52bb25d.

5 years agovery simple blocklist
Tristan Mahé [Wed, 31 Oct 2018 19:29:30 +0000 (12:29 -0700)]
very simple blocklist

5 years agoformat instance name instead of inbox url
Tristan Mahé [Wed, 31 Oct 2018 18:58:10 +0000 (11:58 -0700)]
format instance name instead of inbox url

5 years agoexpose the list of registered targets to default page
Tristan Mahé [Wed, 31 Oct 2018 18:42:42 +0000 (11:42 -0700)]
expose the list of registered targets to default page

5 years agoAdded an example config for nginx.
Rachel Fae Fox [Wed, 31 Oct 2018 07:15:59 +0000 (03:15 -0400)]
Added an example config for nginx.

Based off of my own config locally.

5 years agorelay: fix mastodon announce check
kaniini [Wed, 31 Oct 2018 02:39:48 +0000 (02:39 +0000)]
relay: fix mastodon announce check

5 years agorelay: don't relay mastodon announces
kaniini [Wed, 31 Oct 2018 02:37:08 +0000 (02:37 +0000)]
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.

5 years agohttp signatures: immediately fail validation attempt if no actor keys can be found
kaniini [Wed, 31 Oct 2018 02:28:51 +0000 (02:28 +0000)]
http signatures: immediately fail validation attempt if no actor keys can be found

5 years agouse relay.example.com by default
kaniini [Wed, 31 Oct 2018 02:25:06 +0000 (02:25 +0000)]
use relay.example.com by default

5 years agoFixed note support
Alynna Trypnotk [Tue, 30 Oct 2018 22:43:16 +0000 (22:43 +0000)]
Fixed note support

5 years agoFixed error with displaying note lol
Alynna Trypnotk [Tue, 30 Oct 2018 22:42:18 +0000 (22:42 +0000)]
Fixed error with displaying note lol

5 years agoAdded options to change the default listen address and port. Added default page that...
Alynna Trypnotk [Tue, 30 Oct 2018 22:35:04 +0000 (22:35 +0000)]
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.

5 years agoactor: only send litepub relay messages to debug level
kaniini [Wed, 31 Oct 2018 02:18:54 +0000 (02:18 +0000)]
actor: only send litepub relay messages to debug level

5 years agohttp signatures: log when http signature validation fails
kaniini [Wed, 31 Oct 2018 02:14:01 +0000 (02:14 +0000)]
http signatures: log when http signature validation fails

5 years agohttp signatures: handle fetch_actor_key failure more gracefully
kaniini [Wed, 31 Oct 2018 02:12:35 +0000 (02:12 +0000)]
http signatures: handle fetch_actor_key failure more gracefully

5 years agoadd some docs
kaniini [Tue, 30 Oct 2018 03:17:25 +0000 (03:17 +0000)]
add some docs

5 years agoactor: implement litepub relay protocol
kaniini [Tue, 30 Oct 2018 03:10:16 +0000 (03:10 +0000)]
actor: implement litepub relay protocol

5 years agoactor: implement mastodon & pleroma relay handshakes
kaniini [Tue, 30 Oct 2018 02:49:38 +0000 (02:49 +0000)]
actor: implement mastodon & pleroma relay handshakes

5 years agokill more irc bot stuff
kaniini [Tue, 30 Oct 2018 02:49:00 +0000 (02:49 +0000)]
kill more irc bot stuff

5 years agostrip down to base AP code
kaniini [Tue, 30 Oct 2018 01:42:17 +0000 (01:42 +0000)]
strip down to base AP code

5 years agoirc: make channels configurable on a per-actor basis
William Pitcock [Sat, 18 Aug 2018 16:53:04 +0000 (11:53 -0500)]
irc: make channels configurable on a per-actor basis

5 years agoREADME: note Python >= 3.5.2 requirement
William Pitcock [Sat, 18 Aug 2018 15:55:10 +0000 (10:55 -0500)]
README: note Python >= 3.5.2 requirement

5 years agopipfile: delete python version requirement, because reasons
William Pitcock [Sat, 18 Aug 2018 15:54:16 +0000 (10:54 -0500)]
pipfile: delete python version requirement, because reasons

5 years agoadd requirements.txt file
William Pitcock [Sat, 18 Aug 2018 15:46:19 +0000 (10:46 -0500)]
add requirements.txt file

5 years agoadd example config
William Pitcock [Sat, 18 Aug 2018 05:14:01 +0000 (00:14 -0500)]
add example config

5 years agoactor: don't relay non-public messages
William Pitcock [Sat, 18 Aug 2018 05:07:49 +0000 (00:07 -0500)]
actor: don't relay non-public messages

5 years agoexpand README
William Pitcock [Sat, 18 Aug 2018 05:05:48 +0000 (00:05 -0500)]
expand README

5 years agoirc: another layer of unescaping
William Pitcock [Sat, 18 Aug 2018 03:17:07 +0000 (22:17 -0500)]
irc: another layer of unescaping

5 years agoirc: unescape html entities
William Pitcock [Sat, 18 Aug 2018 01:40:03 +0000 (20:40 -0500)]
irc: unescape html entities

5 years agoactor: fix compile
William Pitcock [Sat, 18 Aug 2018 01:04:18 +0000 (20:04 -0500)]
actor: fix compile

5 years agoirc: add unfollow command
William Pitcock [Sat, 18 Aug 2018 01:03:46 +0000 (20:03 -0500)]
irc: add unfollow command

5 years agoirc: ensure only privileged accounts may follow/unfollow
William Pitcock [Sat, 18 Aug 2018 00:56:18 +0000 (19:56 -0500)]
irc: ensure only privileged accounts may follow/unfollow

5 years agoirc: add follow command
William Pitcock [Sat, 18 Aug 2018 00:53:46 +0000 (19:53 -0500)]
irc: add follow command

5 years agohttp signatures: fix signature generation
William Pitcock [Sat, 18 Aug 2018 00:52:39 +0000 (19:52 -0500)]
http signatures: fix signature generation

5 years agoactor: add follow_remote_actor()
William Pitcock [Fri, 17 Aug 2018 23:09:24 +0000 (18:09 -0500)]
actor: add follow_remote_actor()

5 years agoirc: add AP message relay
William Pitcock [Fri, 17 Aug 2018 23:01:44 +0000 (18:01 -0500)]
irc: add AP message relay

5 years agoauthreqs: add get_irc_bot(), utter hackjob but works for now
William Pitcock [Fri, 17 Aug 2018 22:42:32 +0000 (17:42 -0500)]
authreqs: add get_irc_bot(), utter hackjob but works for now

5 years agoactor: check if the inbound message is an auth message or not
William Pitcock [Fri, 17 Aug 2018 22:36:05 +0000 (17:36 -0500)]
actor: check if the inbound message is an auth message or not

5 years agoirc: add drop command
William Pitcock [Sat, 11 Aug 2018 15:27:04 +0000 (10:27 -0500)]
irc: add drop command

5 years agoactor: add url field for older mastodon
William Pitcock [Sat, 11 Aug 2018 15:21:08 +0000 (10:21 -0500)]
actor: add url field for older mastodon

5 years agoremote actor: force utf-8 encoding
William Pitcock [Sat, 11 Aug 2018 15:20:56 +0000 (10:20 -0500)]
remote actor: force utf-8 encoding