1
0
Commit Graph

1140 Commits

Author SHA1 Message Date
Neil Johnson
6574fdd314 add in missing @defer.inlineCallbacks to test_auto_create_auto_join_where_no_consent 2018-11-28 12:05:20 +00:00
Neil Johnson
628c96e018 Merge branch 'develop' into neilj/create_support_user 2018-11-28 11:50:50 +00:00
Neil Johnson
b620f0ad14 fix reference to unused config.support_user_id 2018-11-28 11:49:42 +00:00
Neil Johnson
7039ece8fb Neilj/fix autojoin (#4223)
* Fix auto join failures for servers that require user consent

* Fix auto join failures for servers that require user consent
2018-11-28 22:24:57 +11:00
Neil Johnson
6ae725a9d8 fix race condition 2018-11-27 15:34:26 +00:00
Neil Johnson
40771fff82 remove line 2018-11-27 15:09:47 +00:00
Neil Johnson
65b4a21848 Merge branch 'develop' of github.com:matrix-org/synapse into neilj/create_support_user 2018-11-27 14:59:06 +00:00
Neil Johnson
255515babf isort 2018-11-27 14:47:16 +00:00
Richard van der Hoff
a44c0a096f Check logcontexts before and after each test (#4190)
* Add better diagnostics to flakey keyring test

* fix interpolation fail

* Check logcontexts before and after each test

* update changelog

* update changelog
2018-11-27 13:47:18 +11:00
Richard van der Hoff
80527b568d Fix more logcontext leaks in tests (#4209) 2018-11-27 13:01:04 +11:00
Richard van der Hoff
de8772a655 Do a GC after each test to fix logcontext leaks (#4227)
* Some words about garbage collections and logcontexts

* Do a GC after each test to fix logcontext leaks

This feels like an awful hack, but...

* changelog
2018-11-27 13:00:33 +11:00
Neil Johnson
44539dff13 Merge branch 'develop' into neilj/create_support_user 2018-11-22 10:04:12 +00:00
Richard van der Hoff
416c671474 Merge pull request #4204 from matrix-org/rav/logcontext_leak_fixes
Fix some logcontext leaks
2018-11-20 12:19:19 +01:00
Amber Brown
80cac86b2c Fix fallback auth on Python 3 (#4197) 2018-11-19 12:27:33 -06:00
Richard van der Hoff
828f18bd8b Fix logcontext leak in test_url_preview 2018-11-19 17:07:01 +00:00
Richard van der Hoff
a267c2e3ed Fix logcontext leak in http pusher test 2018-11-19 17:07:01 +00:00
Richard van der Hoff
884a561447 Fix some tests which leaked logcontexts 2018-11-19 17:07:01 +00:00
Travis Ralston
3da9781c98 Fix the terms UI auth tests
By setting the config value directly, we skip the block that adds the slash automatically for us.
2018-11-15 23:00:28 -07:00
Amber Brown
8b1affe7d5 Fix Content-Disposition in media repository (#4176) 2018-11-15 15:55:58 -06:00
Travis Ralston
835779f7fb Add option to track MAU stats (but not limit people) (#3830) 2018-11-15 18:08:27 +00:00
Amber Brown
df758e155d Use <meta> tags to discover the per-page encoding of html previews (#4183) 2018-11-15 11:05:08 -06:00
Neil Johnson
ded5774637 fix py2 Mock dep 2018-11-14 15:04:28 +00:00
Neil Johnson
ce27b1c9c1 clean up 2018-11-14 14:32:07 +00:00
Neil Johnson
3f5fe16955 test support user behaviour 2018-11-14 14:31:51 +00:00
Neil Johnson
add148841b Merge branch 'develop' of github.com:matrix-org/synapse into neilj/create_support_user 2018-11-14 13:22:39 +00:00
Richard van der Hoff
c1efcd7c6a Add a test for the public T&Cs form 2018-11-14 10:46:27 +00:00
Neil Johnson
b01271a12b tweak tests and tidy 2018-11-13 23:12:58 +00:00
Neil Johnson
c7082966f3 fix unit tests 2018-11-13 22:07:58 +00:00
Neil Johnson
3121f041c6 wip - move support user logic into handler from storage 2018-11-13 17:56:01 +00:00
Neil Johnson
45e0b9dc1e implementation and tests for db backed support user 2018-11-13 15:35: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
Neil Johnson
12d09ac132 tiday up cruft 2018-11-08 12:42:17 +00:00
Neil Johnson
f217b5fd7a fix case where auto creation of rooms should never auto create for support user 2018-11-07 22:29:17 +00:00
Neil Johnson
06a3ec83e2 replace filter with list comp to aid py2 py3 compat, make test more paranoid 2018-11-07 22:28:21 +00: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
Neil Johnson
373a461088 remove need to create support user in homeserver 2018-11-06 21:42:27 +00:00
Amber Brown
e62f7f17b3 Remove some boilerplate in tests (#4156) 2018-11-07 03:00:00 +11:00
Travis Ralston
0f5e51f726 Add config variables for enabling terms auth and the policy name (#4142)
So people can still collect consent the old way if they want to.
2018-11-06 10:32:34 +00:00
Hubert Chathi
f1087106cf handle empty backups according to latest spec proposal (#4123)
fixes #4056
2018-11-05 17:59:29 -05:00
Neil Johnson
503207678e Merge branch 'develop' of github.com:matrix-org/synapse into neilj/create_support_user 2018-11-05 21:48:52 +00:00
Amber Brown
efdcbbe46b Tests for user consent resource (#4140) 2018-11-06 05:53:44 +11:00
Amber Brown
5a63589e80 Add some tests for the HTTP pusher (#4149) 2018-11-06 05:53:24 +11:00
Erik Johnston
bc80b3f454 Add helpers for getting prev and auth events (#4139)
* Add helpers for getting prev and auth events

This is in preparation for allowing the event format to change between
room versions.
2018-11-06 00:35:15 +11:00
Neil Johnson
76081eb5bc ensure support user created if does not exist 2018-11-02 17:32:19 +00:00
Neil Johnson
158eccdfb1 test suppoer user filtering 2018-11-02 15:51:33 +00:00
Neil Johnson
cdb3aaee1c Merge branch 'develop' of github.com:matrix-org/synapse into neilj/create_support_user 2018-11-02 15:24:00 +00:00
Erik Johnston
90d713b8c6 Merge pull request #4137 from matrix-org/erikj/clean_up_events
Clean up event accesses and tests
2018-11-02 14:12:49 +00:00
Erik Johnston
b86d05a279 Clean up event accesses and tests
This is in preparation to refactor FrozenEvent to support different
event formats for different room versions
2018-11-02 13:44:14 +00:00
Amber Brown
cb7a6b2379 Fix typing being reset causing infinite syncs (#4127) 2018-11-03 00:19:23 +11:00
Erik Johnston
b199534518 Merge pull request #4135 from matrix-org/erikj/fix_state_res_none
Fix None exception in state res v2
2018-11-02 10:45:57 +00:00