forked-synapse/synapse
Richard van der Hoff a5213df1f7 Sanity checking for user ids
Check the user_id passed to a couple of APIs for validity, to avoid
"IndexError: list index out of range" exception which looks scary and results
in a 500 rather than a more useful error.

Fixes #1432, among other things
2018-01-17 14:28:54 +00:00
..
api Refactor UI auth implementation 2017-12-05 09:40:05 +00:00
app Actually make it work 2018-01-12 10:39:27 +00:00
appservice Extract group_id from the dict for multiple use 2017-11-16 18:18:30 +00:00
config fix typo 2018-01-16 16:52:35 +00:00
crypto Fix 500 when joining matrix-dev 2017-11-29 16:00:46 +00:00
events replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
federation Metrics for events processed in appservice and fed sender 2018-01-15 18:23:24 +00:00
groups Namespace visibility options for groups 2017-11-09 15:27:18 +00:00
handlers Sanity checking for user ids 2018-01-17 14:28:54 +00:00
http Reorganise request and block metrics 2018-01-15 17:09:44 +00:00
metrics mechanism to render metrics with alternative names 2018-01-15 17:04:39 +00:00
module_api Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
push Remove pushers when deleting access tokens 2017-11-29 16:44:35 +00:00
replication Metrics for number of RDATA commands received 2018-01-15 17:45:55 +00:00
rest Add docstring 2018-01-17 10:06:14 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Fix a logcontext leak in persist_events 2018-01-16 11:47:36 +00:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Optimise LoggingContext creation and copying 2018-01-16 15:49:42 +00:00
__init__.py Bump version and changelog 2018-01-05 10:54:01 +00:00
event_auth.py Fix templating error with unban permission message 2018-01-07 19:52:58 -07:00
notifier.py Clear logcontext before starting fed txn queue runner 2017-11-28 15:26:14 +00:00
python_dependencies.py Make 'affinity' package optional 2017-10-02 18:03:59 +01:00
server.py Merge branch 'develop' into matthew/search-all-local-users 2017-11-30 01:51:38 +00:00
server.pyi Move set_password into its own handler 2017-11-29 16:44:35 +00:00
state.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
types.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
visibility.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00