Commit graph

12669 commits

Author SHA1 Message Date
Amber Brown
404cee9853 Add a coveragerc (#4180) 2019-02-13 14:24:42 +00:00
Richard van der Hoff
166cc35a48 Update README for #1491 fix 2019-02-13 14:24:42 +00:00
Richard van der Hoff
0d934b9ae1 changelog 2019-02-13 14:24:42 +00:00
Richard van der Hoff
ba2b6229c1 Add a test for the public T&Cs form 2019-02-13 14:24:42 +00:00
Richard van der Hoff
7cee15c47d Fix an internal server error when viewing the public privacy policy 2019-02-13 14:24:42 +00:00
David Baker
71f866d54d pep8 2019-02-13 14:24:42 +00:00
David Baker
785f5ef0f3 add docs 2019-02-13 14:24:42 +00:00
David Baker
daf28668d0 Remove unnecessary str() 2019-02-13 14:24:42 +00:00
David Baker
e750d031c8 Cast to int here too 2019-02-13 14:24:42 +00:00
David Baker
efb77b87d1 Cast bacjup version to int when querying 2019-02-13 14:24:42 +00:00
David Baker
b0ac23319a Convert version back to a string 2019-02-13 14:24:42 +00:00
David Baker
515a6cb0d3 news fragment 2019-02-13 14:24:42 +00:00
David Baker
8f46b61aed Try & make it work on postgres 2019-02-13 14:24:42 +00:00
David Baker
f814a1ec5a Make e2e backup versions numeric in the DB
We were doing max(version) which does not do what we wanted
on a column of type TEXT.
2019-02-13 14:24:42 +00:00
Brendan Abolivier
7b28b058e1 Add a Content-Type header on POST requests to the federation client 2019-02-13 14:24:42 +00:00
Erik Johnston
06132f1f0b Add test to assert set_e2e_device_keys correctly returns False on no-op 2019-02-13 14:24:42 +00:00
Erik Johnston
b8077ca8cd Lets convert bytes to unicode instead 2019-02-13 14:24:42 +00:00
Erik Johnston
e56d0456cb Newsfile 2019-02-13 14:24:42 +00:00
Erik Johnston
755f42d769 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.
2019-02-13 14:24:42 +00:00
Richard van der Hoff
ef77ab59a7 fix parse_string docstring 2019-02-13 14:24:42 +00:00
Richard van der Hoff
d26852e9d8 changelog 2019-02-13 14:24:42 +00:00
hera
1f8a82077e Fix encoding error for consent form on python3
The form was rendering this as "b'01234....'".

-- richvdh
2019-02-13 14:24:42 +00:00
Erik Johnston
14059e2300 pep8 2019-02-13 14:24:41 +00:00
Erik Johnston
3223f415e2 Add server health apis and server presence 2019-02-13 14:23:21 +00:00
Erik Johnston
f57e71645a Missing file 2019-02-13 14:22:59 +00:00
Erik Johnston
c400d9dcca Add backchatter 2019-02-13 14:22:58 +00:00
Erik Johnston
ed43a63fcf Don't verify stuff 2019-02-13 14:22:18 +00:00
Erik Johnston
e6896040c7 Merge branch 'erikj/thread_demo' of github.com:matrix-org/synapse into erikj/add_routing_hooks 2018-11-21 11:45:11 +00:00
Erik Johnston
d0d3c63705 Fix threading when pulling in via get_missing_events 2018-11-21 10:45:35 +00:00
Erik Johnston
5ae1644d3d Send down new thread marker 2018-11-20 17:42:43 +00:00
Erik Johnston
115e4bb4c6 Fix threading 2018-11-20 17:04:19 +00:00
Erik Johnston
607ac7ea37 Lower all the timeouts 2018-11-20 13:32:47 +00:00
Erik Johnston
775441105a Reduce timeouts for sending transaction 2018-11-20 11:30:43 +00:00
Erik Johnston
e644f49b46 Delta file 2018-11-19 15:09:07 +00:00
Erik Johnston
712caeba60 Add hooks in federation for funky event routing 2018-11-14 16:12:33 +00:00
Erik Johnston
956b47da2b Dont' log so aggressively 2018-11-14 15:32:33 +00:00
Erik Johnston
822fcc3bb8 Add concept of internal events 2018-11-13 15:33:54 +00:00
Erik Johnston
5daa2b9dbc Fix sync for archived rooms 2018-11-13 15:13:03 +00:00
Erik Johnston
08395c7f89 Implemented thread support for backfills 2018-11-13 14:56:38 +00:00
Erik Johnston
c67953748d Add thread_id to filter 2018-11-13 10:34:38 +00:00
Erik Johnston
78fec6b3c9 Add flag to sync to exclude threads 2018-11-12 16:20:14 +00:00
Erik Johnston
dfa830e61a Store and fetch thread IDs 2018-11-12 15:44:22 +00:00
Erik Johnston
dc59ad5334 Remove hack to support rejoining rooms 2018-11-09 14:58:09 +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
Erik Johnston
94896d7ffe Newsfile 2018-11-08 12:30:25 +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
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