Commit graph

9132 commits

Author SHA1 Message Date
Erik Johnston
1466adf427 Make event_ids smaller 2019-02-13 15:16:04 +00:00
Erik Johnston
a99c2f56b5 Mangle some more PDU fields 2019-02-13 15:16:04 +00:00
Erik Johnston
a01468c1a8 Change access tokens to be base64'ed 4 bytes 2019-02-13 15:16:04 +00:00
Erik Johnston
62fa8570ec Route full mesh if message contains 'mesh' 2019-02-13 15:16:04 +00:00
Travis Ralston
645d5c8c35 Use run_as_background_process 2019-02-13 15:16:04 +00:00
Travis Ralston
0463d9ba75 Safer execution 2019-02-13 15:16:04 +00:00
Travis Ralston
b26d8cea66 Preserve log contexts in the room_member_handler 2019-02-13 15:16:04 +00:00
Travis Ralston
de6d002d01 Proof of concept for auto-accepting invites
This is for demonstration purposes only. In practice this would actually look up the right profile and use the right thing, not to mention be in a more reasonable location.
2019-02-13 15:16:04 +00:00
Neil Johnson
2b77c8d50e Remove riot.im from the list of trusted Identity Servers in the default configuration (#4207) 2019-02-13 15:16:04 +00:00
Richard van der Hoff
cb7c2ad85a Fix logcontext leak in EmailPusher 2019-02-13 15:16:04 +00:00
Amber Brown
5e499c58fd version 2019-02-13 15:16:03 +00:00
Neil Johnson
fa574331fb release 0.33.9rc1 2019-02-13 15:16:03 +00:00
Amber Brown
ca05b679e3 Fix fallback auth on Python 3 (#4197) 2019-02-13 15:16:03 +00:00
Matthew Hodgson
32df91cbcb de-hardcode IP for jaeger 2019-02-13 15:16:03 +00:00
Erik Johnston
42f555393a GAH FILES WHY 2019-02-13 15:16:03 +00:00
Erik Johnston
224df403ea Fixup opentracing error logging 2019-02-13 15:16:03 +00:00
Erik Johnston
2d8da62feb Only relay 'live' events 2019-02-13 15:16:03 +00:00
Erik Johnston
e2230b28fb Mangle PDUs some more. Disable presence/typing/receipts. Don't die if we can't parse an EDU 2019-02-13 15:16:03 +00:00
Erik Johnston
28c3a43a7e Make using proxy optional 2019-02-13 15:16:03 +00:00
Erik Johnston
9dfb6b6c52 Drop unnecessary keys from transactions 2019-02-13 15:16:03 +00:00
Erik Johnston
caa0004466 Track PDU in opentracing 2019-02-13 15:16:03 +00:00
Erik Johnston
ae7460b9f4 Make room ID smaller 2019-02-13 15:16:03 +00:00
Erik Johnston
fe6e221cfa Opentracing. Reduce event ID size 2019-02-13 15:16:03 +00:00
Erik Johnston
b071101729 Strip signatures and hashes on outgoing events 2019-02-13 15:16:03 +00:00
Erik Johnston
e7b70e272f Fix jaeger over federation 2019-02-13 15:16:03 +00:00
Erik Johnston
ec288b48fd add basic jaeger support 2019-02-13 15:16:03 +00:00
Erik Johnston
27ca009b0a Reenable retries for sending transactions 2019-02-13 15:16:03 +00:00
Erik Johnston
6284acf910 Add API to force new threads 2019-02-13 15:16:03 +00:00
Erik Johnston
93db2124ec Add timestamp lookup API 2019-02-13 15:16:03 +00:00
Brendan Abolivier
55bfb3caa8 Make synapse talk HTTP to the local proxy only when federating 2019-02-13 15:16:02 +00:00
Erik Johnston
e8be4ca1ad Join via closest server 2019-02-13 15:16:02 +00:00
Erik Johnston
781bd4fb96 FILES 2019-02-13 15:16:02 +00:00
Matthew Hodgson
fe3b9d085f meshsim Dockerfile 2019-02-13 14:24:42 +00:00
Travis Ralston
8d98c4e3e3 Remove duplicate slashes in generated consent URLs 2019-02-13 14:24:42 +00:00
Amber Brown
e0581ccf0e Fix Content-Disposition in media repository (#4176) 2019-02-13 14:24:42 +00:00
Travis Ralston
ac9b734e31 Add option to track MAU stats (but not limit people) (#3830) 2019-02-13 14:24:42 +00:00
Amber Brown
dc768f208e Use <meta> tags to discover the per-page encoding of html previews (#4183) 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
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
Erik Johnston
b8077ca8cd Lets convert bytes to unicode instead 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