forked-synapse/synapse
Richard van der Hoff 0e3ab8afdc
Add some checks that we aren't using state from rejected events (#6330)
* Raise an exception if accessing state for rejected events

Add some sanity checks on accessing state_group etc for
rejected events.

* Skip calculating push actions for rejected events

It didn't actually cause any bugs, because rejected events get filtered out at
various later points, but there's not point in trying to calculate the push
actions for a rejected event.
2019-11-05 22:13:37 +00:00
..
_scripts Run Black. (#5482) 2019-06-20 19:32:02 +10:00
api Merge pull request #6301 from matrix-org/babolivier/msc2326 2019-11-01 17:04:45 +00:00
app Fix phone home stats 2019-11-05 17:44:09 +00:00
appservice rstrip slashes from url on appservice (#6306) 2019-10-31 17:32:25 +00:00
config Remove last usages of deprecated logging.warn method (#6314) 2019-11-01 12:03:44 +00:00
crypto Don't encode object as UTF-8 string if not needed. 2019-10-24 18:08:45 +01:00
events Add some checks that we aren't using state from rejected events (#6330) 2019-11-05 22:13:37 +00:00
federation Depublish a room from the public rooms list when it is upgraded (#6232) 2019-11-01 10:28:09 +00:00
groups Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
handlers Add some checks that we aren't using state from rejected events (#6330) 2019-11-05 22:13:37 +00:00
http Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
logging Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
metrics Fix up some typechecking (#6150) 2019-10-02 05:29:01 -07:00
module_api Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
push Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
replication document the REPLICATE command a bit better (#6305) 2019-11-04 12:40:18 +00:00
res/templates Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
rest Merge pull request #6334 from matrix-org/rav/url_preview_limit_title_2 2019-11-05 17:28:11 +00:00
server_notices Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
spam_checker_api Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
state Improve documentation for EventContext fields (#6319) 2019-11-05 13:23:25 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Merge pull request #6301 from matrix-org/babolivier/msc2326 2019-11-01 17:04:45 +00:00
streams Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
util Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
__init__.py 1.5.0 2019-10-29 14:28:54 +00:00
event_auth.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
notifier.py Port to use state storage 2019-10-30 14:46:54 +00:00
python_dependencies.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
server.pyi Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
types.py Merge branch 'develop' into uhoreg/e2e_cross-signing_merged 2019-10-18 11:39:40 +01:00
visibility.py Port to use state storage 2019-10-30 14:46:54 +00:00