Commit graph

253 commits

Author SHA1 Message Date
kjwon15 6b8c2354fd Add doctype to html 2019-01-09 22:17:01 +09:00
kaniini 190ccf27d1 http signatures: cache things we've already signed
this helps with the scatter/gather
2019-01-08 05:30:29 +00:00
kaniini 18b17f91e3 http signatures: hold actor keys in an LRU cache 2019-01-08 05:15:16 +00:00
kjwon15 65c80bca55 Merge branch 'upstream' 2018-12-29 13:41:14 +09:00
kaniini 950cd1e720 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
2018-12-27 18:49:12 +00:00
kaniini 6debb5f086 Merge branch 'patch-1' into 'master'
Fix encoding problem on actor

See merge request pleroma/relay!7
2018-12-27 18:48:49 +00:00
kjwon15 c1f1cfe066 Add white list policy 2018-12-27 19:08:38 +09:00
kjwon15 b97720cbd7 Persist db 2018-12-27 19:08:38 +09:00
kjwon15 a87c6c8220 Fix encoding 2018-12-27 19:08:38 +09:00
kjwon15 9dc8743fe3 Set blocked_instances as empty array 2018-12-27 19:08:38 +09:00
kjwon15 94a1b633e8 Fix GIT_REV on dokku 2018-12-27 19:08:28 +09:00
Jeong Arm ef51db3a4a Fix encoding problem on actor 2018-12-27 09:07:20 +00:00
kjwon15 5b921c52f6 Make Dokku-able 2018-12-27 16:39:41 +09:00
Finn Herzfeld 1d317e9b78 Rebuild the list of instances that use this relay every time / is requested 2018-12-10 14:14:43 -08:00
kaniini 008f43db2c nodeinfo: add commit hash to version field to prevent scams 2018-12-03 21:53:26 +00:00
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 db9597c9d9 add caddyfile and systemd service 2018-11-18 18:36:03 +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 26ed936019 README: document how to follow other relays 2018-11-18 14:43:28 +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 a7390f5996 requirements: add cachetools 2018-11-18 14:02:47 +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
kaniini dfee3d3658 Merge branch 'add_blocklist' into 'master'
Add blocklist

See merge request pleroma/relay!3
2018-11-10 21:56:26 +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 5823d38ad8 Merge remote-tracking branch 'upstream/master' into add_blocklist 2018-11-04 18:39:16 -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
kaniini 388bd8d946 Merge branch 'list_reged_instances' into 'master'
expose the list of registered targets to default page

See merge request pleroma/relay!2
2018-11-01 10:04:33 +00:00
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