This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Federation outbound proxy #15773
Merged
Merged
Federation outbound proxy #15773
Changes from 46 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
eb6e132
Proxy federation requests
erikjohnston 6a95e7a
Make configurable
erikjohnston f0270aa
Cache the fed proxy
erikjohnston 6d98582
Accept a list of federation proxies
erikjohnston 5889396
Make configurable
erikjohnston 58fe4da
Comment
erikjohnston f00fedd
Remove unused class
erikjohnston 41c5747
Merge branch 'develop' into erikj/fed_proxy
MadLittleMods f219f0e
Add changelog
MadLittleMods c998d28
Avoid negated condition
MadLittleMods cc05c97
Fix tests and align to new `matrix-federation://` schema
MadLittleMods 8cfad3d
Fix lints
MadLittleMods 9eec614
WORKER PROXY WIP
erikjohnston e9e900f
Align scheme checking
MadLittleMods dcb4105
Fix lints
MadLittleMods c6dcd5e
Refactor tests to use `get_clock()`
MadLittleMods f139898
Merge branch 'develop' into erikj/fed_proxy
MadLittleMods 8f9f478
Fix tests (make sure `federation_http_client` is defined)
MadLittleMods e789c64
Fix tests
MadLittleMods 0cead40
Fix lints
MadLittleMods 11bf041
Maybe fix more replication tests
MadLittleMods d847564
Mark out spots to add docs
MadLittleMods 74988e2
WIP: Very rough worker test
MadLittleMods 6b44e66
Cleaned up test
MadLittleMods 8af2fb8
Merge branch 'develop' into erikj/fed_proxy
MadLittleMods 1abd3b1
Clean up test
MadLittleMods 477844c
Explain why we care about catching `PotentialDataLoss`
MadLittleMods dac5532
Add some more context
MadLittleMods cf208d2
Test error case
MadLittleMods e665fa8
Flesh out docstrings and comments
MadLittleMods 2ce2025
Update docs
MadLittleMods 632544a
Add some background behind `matrix-federation://`
MadLittleMods 033e18a
Align language
MadLittleMods b5e916e
Revert back to debug level
MadLittleMods 484680f
Merge branch 'develop' into erikj/fed_proxy
erikjohnston 2032ea6
`master`/`main` is in the `instance_map` so no need to skip checking …
MadLittleMods 926e3e0
Remove extra proxy logging
MadLittleMods 0a2a9cf
Do not copy over hop-by-hop headers
MadLittleMods c757a38
Add tests for `parse_connection_header_value`
MadLittleMods be12f21
Add tests to make sure headers are removed
MadLittleMods 735203e
Ignore lint
MadLittleMods 9e3881f
Merge branch 'develop' into erikj/fed_proxy
MadLittleMods c1ec014
Fix `arg-type` lint
MadLittleMods d400b50
Simplify `parse_connection_header_value`
MadLittleMods e99a5e9
Use safe `json.dumps` for JSON response
MadLittleMods 074fe0c
Merge branch 'develop' into erikj/fed_proxy
MadLittleMods d3292d2
Merge branch 'develop' into erikj/fed_proxy
MadLittleMods File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Allow configuring the set of workers to proxy outbound federation traffic through via `outbound_federation_restricted_to`. | ||
MadLittleMods marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.