relay.git/.git
3 years agoApply 1 suggestion(s) to 1 file(s)
Izalia Mae [Sat, 5 Dec 2020 05:34:58 +0000 (05:34 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agomake software blocklist configurable
Izalia Mae [Fri, 4 Dec 2020 07:34:40 +0000 (02:34 -0500)]
make software blocklist configurable

3 years agofetch well-known url for nodeinfo
Izalia Mae [Fri, 4 Dec 2020 06:43:49 +0000 (01:43 -0500)]
fetch well-known url for nodeinfo

3 years agoadd relay blocking option
Izalia Mae [Thu, 3 Dec 2020 04:13:33 +0000 (23:13 -0500)]
add relay blocking option

3 years agocleanup load_config
Izalia Mae [Thu, 3 Dec 2020 03:41:45 +0000 (22:41 -0500)]
cleanup load_config

3 years agoMerge branch 'db-inbox-fix' into 'master'
Haelwenn [Mon, 23 Nov 2020 07:06:50 +0000 (07:06 +0000)]
Merge branch 'db-inbox-fix' into 'master'

properly create 'relay-list' in db

See merge request pleroma/relay!25

3 years agoMerge branch 'master' into 'master'
Haelwenn [Mon, 23 Nov 2020 06:51:56 +0000 (06:51 +0000)]
Merge branch 'master' into 'master'

set content-type to application/activity+json for /actor

See merge request pleroma/relay!24

3 years agoproperly create 'relay-list' in db
Izalia Mae [Sun, 22 Nov 2020 05:50:57 +0000 (00:50 -0500)]
properly create 'relay-list' in db

3 years agoset content-type to application/activity+json for /actor
Joel Beckmeyer [Fri, 20 Nov 2020 02:13:24 +0000 (21:13 -0500)]
set content-type to application/activity+json for /actor

3 years agoMerge branch 'follows' into 'master'
Haelwenn [Thu, 12 Nov 2020 13:43:09 +0000 (13:43 +0000)]
Merge branch 'follows' into 'master'

remove unnecessary actor checking for (un)follows

See merge request pleroma/relay!22

3 years agoMerge branch 'headers-fix' into 'master'
Haelwenn [Thu, 12 Nov 2020 13:40:20 +0000 (13:40 +0000)]
Merge branch 'headers-fix' into 'master'

Include the headers required by mastodon

See merge request pleroma/relay!23

3 years agoInclude the headers required by mastodon
Izalia Mae [Thu, 12 Nov 2020 13:40:19 +0000 (13:40 +0000)]
Include the headers required by mastodon

4 years agoremove unnecessary actor checking for (un)follows
Izalia Mae [Wed, 18 Mar 2020 04:53:21 +0000 (00:53 -0400)]
remove unnecessary actor checking for (un)follows

4 years agoMerge branch 'update_crypto' into 'master'
kaniini [Wed, 20 Nov 2019 11:24:27 +0000 (11:24 +0000)]
Merge branch 'update_crypto' into 'master'

Update crypto module

See merge request pleroma/relay!21

4 years agouse pycryptodome instead of pycrypto
Izalia Mae [Wed, 20 Nov 2019 03:08:14 +0000 (22:08 -0500)]
use pycryptodome instead of pycrypto

4 years agoMerge branch 'fix' into 'master'
kaniini [Mon, 30 Sep 2019 10:45:46 +0000 (10:45 +0000)]
Merge branch 'fix' into 'master'

Fix db wipe on json error and default config checking

See merge request pleroma/relay!19

4 years agoFix db wipe on json error and default config checking
Izalia Mae [Mon, 30 Sep 2019 10:45:46 +0000 (10:45 +0000)]
Fix db wipe on json error and default config checking

4 years agoMerge branch 'dockerize' into 'master'
kaniini [Mon, 30 Sep 2019 10:45:09 +0000 (10:45 +0000)]
Merge branch 'dockerize' into 'master'

Add a Dockerfile and instructions to run with Docker

See merge request pleroma/relay!20

4 years agoAdd the whole directory in the workdir
Louise de Beaufort [Tue, 20 Aug 2019 11:52:27 +0000 (13:52 +0200)]
Add the whole directory in the workdir

(Prevents a fatal error about not being a git repository)

4 years agoAdd config file to gitignore
Louise de Beaufort [Tue, 20 Aug 2019 10:39:18 +0000 (12:39 +0200)]
Add config file to gitignore

4 years agoAdd a Dockerfile and instructions to run with Docker
Louise de Beaufort [Tue, 20 Aug 2019 10:38:53 +0000 (12:38 +0200)]
Add a Dockerfile and instructions to run with Docker

4 years agoMerge branch 'feature/add_force_remove_relay' into 'master'
kaniini [Wed, 31 Jul 2019 19:21:12 +0000 (19:21 +0000)]
Merge branch 'feature/add_force_remove_relay' into 'master'

implement force-remove in manage.py, should only be used when relay is not running

See merge request pleroma/relay!15

4 years agoMerge branch 'feature/semaphore_in_push_to_actor' into 'master'
kaniini [Wed, 31 Jul 2019 19:20:46 +0000 (19:20 +0000)]
Merge branch 'feature/semaphore_in_push_to_actor' into 'master'

use global semaphore in push_to_actor to prevent overloading system with outbound connections

See merge request pleroma/relay!16

4 years agoMerge branch 'patch-2' into 'master'
kaniini [Wed, 31 Jul 2019 19:20:18 +0000 (19:20 +0000)]
Merge branch 'patch-2' into 'master'

Fix relay crashing on signed GET requests

See merge request pleroma/relay!18

4 years agoFix relay crashing on signed GET requests
Thibaut Girka [Wed, 31 Jul 2019 05:36:23 +0000 (05:36 +0000)]
Fix relay crashing on signed GET requests

4 years agoMerge branch 'feature-update' into 'master'
kaniini [Sat, 20 Jul 2019 21:18:05 +0000 (21:18 +0000)]
Merge branch 'feature-update' into 'master'

Handle "Update" event

See merge request pleroma/relay!14

4 years agoMerge branch 'whitelist' into 'master'
kaniini [Sat, 20 Jul 2019 21:17:32 +0000 (21:17 +0000)]
Merge branch 'whitelist' into 'master'

add whitelist feature

See merge request pleroma/relay!13

4 years agouse global semaphore in push_to_actor to prevent overloading system with outbound...
gled [Tue, 11 Jun 2019 17:54:05 +0000 (10:54 -0700)]
use global semaphore in push_to_actor to prevent overloading system with outbound connections

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

4 years agoHandle "Update" event to forward update profile
kjwon15 [Mon, 3 Jun 2019 09:48:32 +0000 (18:48 +0900)]
Handle "Update" event to forward update profile

4 years agoadd whitelist feature
Izalia Mae [Tue, 21 May 2019 16:29:55 +0000 (12:29 -0400)]
add whitelist feature

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