1
0
Commit Graph

12675 Commits

Author SHA1 Message Date
Erik Johnston d85851bcca Fix fetching media when using proxy 2019-02-13 20:54:34 +00:00
Erik Johnston 422da6c52c Reduce send invite request size 2019-02-13 20:54:34 +00:00
Erik Johnston a0c8c1fc49 Compress some client data 2019-02-13 20:54:34 +00:00
Erik Johnston eca7ece93f Handle slow/lossy connections better when sending transactions 2019-02-13 20:54:34 +00:00
Erik Johnston 8a090731c9 Actually fix exceptions 2019-02-13 20:54:34 +00:00
Erik Johnston f8b891c5e7 Reduce size of fed transaction IDs 2019-02-13 20:54:34 +00:00
Erik Johnston 0d7ec185cb Make event_ids smaller 2019-02-13 20:54:34 +00:00
Erik Johnston dbf7545ccd Mangle some more PDU fields 2019-02-13 20:54:34 +00:00
Erik Johnston 7f9a087947 Change access tokens to be base64'ed 4 bytes 2019-02-13 20:54:34 +00:00
Travis Ralston b1db74b39a Merge pull request #4218 from matrix-org/travis/account-merging
Proof of concept for auto-accepting invites on merged accounts
2019-02-13 20:54:34 +00:00
Erik Johnston 3cba0dccb3 Disable presence/typing/receipts. Don't die if we can't parse an EDU 2019-02-13 20:54:34 +00:00
Erik Johnston 256333718b Make using proxy optional 2019-02-13 20:54:34 +00:00
Erik Johnston 1167fe1ad4 Drop unnecessary keys from transactions 2019-02-13 20:54:34 +00:00
Erik Johnston 7c7b084d50 Make room ID smaller 2019-02-13 20:54:34 +00:00
Erik Johnston 8d316f0060 Reduce event ID size 2019-02-13 20:54:34 +00:00
Erik Johnston b8deaa077e Strip signatures and hashes on outgoing events 2019-02-13 20:54:27 +00:00
Brendan Abolivier 7fa5156292 Make synapse talk HTTP to the local proxy only when federating 2019-02-13 18:05:47 +00:00
Erik Johnston 68105fca36 Don't verify stuff 2019-02-13 18:04:13 +00:00
Amber Brown 47e26f5a4d towncrier v0.33.9 2018-11-19 12:43:14 -06:00
Amber Brown d102e19e47 version 2018-11-19 12:42:49 -06:00
Neil Johnson bf648c37e7 release 0.33.9rc1 v0.33.9rc1 2018-11-14 11:45:52 +00:00
Richard van der Hoff 4b60c969d8 Merge pull request #4184 from matrix-org/rav/fix_public_consent
Fix an internal server error when viewing the public privacy policy
2018-11-14 11:32:43 +00:00
Richard van der Hoff 0c4dc6fd76 changelog 2018-11-14 10:48:08 +00:00
Richard van der Hoff c1efcd7c6a Add a test for the public T&Cs form 2018-11-14 10:46:27 +00:00
Richard van der Hoff 83a5f459aa Fix an internal server error when viewing the public privacy policy 2018-11-14 10:21:07 +00:00
David Baker 0869566ad3 Merge pull request #4113 from matrix-org/dbkr/e2e_backup_versions_are_numbers
Make e2e backup versions numeric in the DB
2018-11-14 07:55:48 +00:00
David Baker bca3b91c2d Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backup_versions_are_numbers 2018-11-09 18:35:02 +00:00
Erik Johnston db5a1c059a Merge pull request #4166 from matrix-org/erikj/drop_unknown_events
Drop incoming events from federation for unknown rooms
2018-11-09 17:59:34 +00:00
Erik Johnston dc59ad5334 Remove hack to support rejoining rooms 2018-11-09 14:58:09 +00:00
David Baker d44dea0223 pep8 2018-11-09 14:38:31 +00:00
David Baker 4f93abd62d add docs 2018-11-09 13:25:38 +00:00
Erik Johnston 30dd27afff Simplify to always drop events if server isn't in the room 2018-11-09 11:36:45 +00:00
Richard van der Hoff 3cecf5340d Update synapse/federation/federation_server.py
Co-Authored-By: erikjohnston <erikj@jki.re>
2018-11-09 11:28:25 +00:00
Richard van der Hoff 9bce065a53 Update synapse/federation/federation_server.py
Co-Authored-By: erikjohnston <erikj@jki.re>
2018-11-09 11:28:22 +00:00
David Baker d3fa6194f7 Remove unnecessary str() 2018-11-09 11:11:31 +00:00
Brendan Abolivier 0f3f0a64bf Merge pull request #4168 from matrix-org/babolivier/federation-client-content-type
Add a Content-Type header on POST requests to the federation client script
2018-11-09 11:00:55 +00:00
Brendan Abolivier 91d96759c9 Add a Content-Type header on POST requests to the federation client 2018-11-09 10:41:34 +00:00
Erik Johnston 7b22421a7b Merge pull request #4164 from matrix-org/erikj/fix_device_comparison
Fix noop checks when updating device keys
2018-11-08 14:37:20 +00:00
Erik Johnston abaa93c158 Add test to assert set_e2e_device_keys correctly returns False on no-op 2018-11-08 14:06:44 +00:00
Richard van der Hoff c70809a275 Merge pull request #4163 from matrix-org/rav/fix_consent_on_py3
Fix encoding error for consent form on python3
2018-11-08 12:48:51 +00:00
Erik Johnston 5ebed18692 Lets convert bytes to unicode instead 2018-11-08 12:33:13 +00:00
Erik Johnston 94896d7ffe Newsfile 2018-11-08 12:30:25 +00:00
Erik Johnston 06c3d8050f Newsfile 2018-11-08 12:18:41 +00:00
Erik Johnston b1a22b24ab Fix noop checks when updating device keys
Clients often reupload their device keys (for some reason) so its
important for the server to check for no-ops before sending out device
list update notifications.

The check is broken in python 3 due to the fact comparing bytes and
unicode always fails, and that we write bytes to the DB but get unicode
when we read.
2018-11-08 12:18:38 +00:00
Erik Johnston 9417986f77 Drop PDUs of unknown rooms
When we receive events over federation we will need to know the room
version to be able to correctly handle them, e.g. once we start changing
event formats. Currently, we attempt to handle events in unknown rooms.
2018-11-08 12:11:20 +00:00
Richard van der Hoff 0a1fc52971 fix parse_string docstring 2018-11-08 11:12:29 +00:00
Richard van der Hoff de6223836e changelog 2018-11-08 11:06:28 +00:00
hera 2b075fb03a Fix encoding error for consent form on python3
The form was rendering this as "b'01234....'".

-- richvdh
2018-11-08 11:05:39 +00:00
Amber Brown 264cb14402 Port hash_password to Python 3 (#4161)
* port hash_password

* changelog
2018-11-08 04:57:28 +11:00
Amber Brown b3708830b8 Fix URL preview bugs (type error when loading cache from db, content-type including quotes) (#4157) 2018-11-08 01:37:43 +11:00