summary refs log tree commit diff
path: root/tests/test_test_utils.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-13Remove redundent callTravis Ralston1-2/+0
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-13Revert "move _state_group_cache to statestore"Erik Johnston2-12/+13
This reverts commit f5cf3638e9c6086e1c33ddad8eda9298cf53a58e.
2017-11-13Up cache size of get_global_account_data_by_type_for_userErik Johnston1-1/+1
2017-11-12Add a route for determining who you areTravis Ralston1-0/+17
Useful for applications which may have an access token, but no idea as to who owns it. Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-11-10Bit more loggingRichard van der Hoff1-0/+2
2017-11-10Cache failures in url_preview handlerRichard van der Hoff1-41/+45
Reshuffle the caching logic in the url_preview handler so that failures are cached (and to generally simplify things and fix the logcontext leaks).
2017-11-10Add some more comments appservice user registrationRichard van der Hoff1-1/+4
Explain why we don't validate userids registered via app services
2017-11-10Downcase userids for shared-secret registrationRichard van der Hoff2-3/+21
2017-11-10Fix 500 on invalid utf-8 in requestRichard van der Hoff1-1/+2
If somebody sends us a request where the the body is invalid utf-8, we should return a 400 rather than a 500. (json.loads throws a UnicodeError in this situation) We might as well catch all Exceptions here: it seems very unlikely that we would get a request that *isn't caused by invalid json.
2017-11-09Downcase userid on registrationRichard van der Hoff1-1/+7
Force username to lowercase before attempting to register https://github.com/matrix-org/synapse/issues/2660
2017-11-09Revert "Allow upper-case characters in mxids"Richard van der Hoff1-3/+3
This reverts commit b70b64690330c25cbd04c1b2cacf8276b566efc8.
2017-11-09Allow upper-case characters in mxidsRichard van der Hoff1-3/+3
Because we're never going to be able to fix this :'(
2017-11-09Fix typoErik Johnston1-1/+1
2017-11-09Register group servletErik Johnston1-0/+1
2017-11-09Namespace visibility options for groupsErik Johnston1-9/+19
2017-11-09Fix 'NoneType' not iterable in /deactivateRichard van der Hoff1-2/+1
make sure we actually return a value from user_delete_access_tokens
2017-11-09Add bracketsErik Johnston1-2/+4
2017-11-08Have an explicit API to update room configErik Johnston6-1/+100
2017-11-08Revert "Modify group room association API to allow modification of is_public"Erik Johnston6-32/+22
2017-11-08s/items/iteritems/Richard van der Hoff1-2/+2
2017-11-07Remove useless assignment in notify_interested_servicesIlya Zhuravlev1-1/+0
2017-11-07Update deltas when doing auth resolutionRichard van der Hoff1-3/+7
Fixes a bug where the persisted state groups were different to those actually being used after auth resolution.
2017-11-07factor out _update_context_for_auth_eventsRichard van der Hoff1-20/+42
This is duplicated, so let's factor it out before fixing it
2017-11-07move _state_group_cache to statestoreRichard van der Hoff2-13/+12
this is internal to statestore, so let's keep it there.
2017-11-07Revert "Merge branch 'master' of github.com:matrix-org/synapse into develop"Erik Johnston1-1/+10
This reverts commit f9b255cd62fe724e16b2222f6af623b2d39282ab, reversing changes made to 1bd654dabde776bbb7ee365c115b307cd6a110b8.
2017-11-07Remember to pick is_admin out of the dbLuke Barnard1-1/+1
2017-11-07Return whether a user is an admin within a groupLuke Barnard1-2/+3
2017-11-07create new indexes before dropping old ones to keep safetynet in placeMatthew Hodgson1-2/+4
2017-11-07Logging and logcontext fixes for LimiterRichard van der Hoff1-7/+17
Add some logging to the Limiter in a similar spirit to the Linearizer, to help debug issues. Also fix a logcontext leak. Also refactor slightly to avoid throwing exceptions.
2017-11-04s/users_in_pubic_room/users_in_public_rooms/gMatthew Hodgson1-2/+2
2017-11-04s/users_in_pubic_room/users_in_public_rooms/gMatthew Hodgson2-10/+32
2017-11-04fix copyright....Matthew Hodgson1-1/+1
2017-11-04