synapse/changelog.d
Andrew Morgan 21bd230831
Add a test for update_presence (#10033)
https://github.com/matrix-org/synapse/issues/9962 uncovered that we accidentally removed all but one of the presence updates that we store in the database when persisting multiple updates. This could cause users' presence state to be stale.

The bug was fixed in #10014, and this PR just adds a test that failed on the old code, and was used to initially verify the bug.

The test attempts to insert some presence into the database in a batch using `PresenceStore.update_presence`, and then simply pulls it out again.
2021-05-21 17:29:14 +01:00
..
.gitignore
9803.doc Hardened systemd unit files (#9803) 2021-05-19 11:44:16 +01:00
9823.misc Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 2021-05-18 14:13:45 +01:00
9922.feature Allow a user who could join a restricted room to see it in spaces summary. (#9922) 2021-05-20 11:10:36 -04:00
9958.feature Use ijson to parse the response to /send_join, reducing memory usage. (#9958) 2021-05-20 16:11:48 +01:00
9974.misc Clarify comments in the space summary handler. (#9974) 2021-05-17 09:01:19 -04:00
9975.misc Minor @cachedList enhancements (#9975) 2021-05-14 11:12:36 +01:00
9977.misc Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
9978.feature Support enabling opentracing by user (#9978) 2021-05-14 10:51:08 +01:00
9980.doc Update SSO mapping providers documentation about unique IDs. (#9980) 2021-05-13 14:37:20 -04:00
9981.misc Run black on the scripts (#9981) 2021-05-14 11:46:35 +01:00
9984.misc Use Python's secrets module instead of random (#9984) 2021-05-14 10:58:46 +01:00
9985.misc Simplify exception handling in is_ascii. (#9985) 2021-05-14 10:58:52 +01:00
9986.misc Remove superfluous call to bool() (#9986) 2021-05-14 10:58:57 +01:00
9987.misc Remove unnecessary SystemRandom from SQLBaseStore (#9987) 2021-05-14 10:59:10 +01:00
9988.doc Update postgres docs (#9989) 2021-05-14 13:14:48 +01:00
9989.doc Update postgres docs (#9989) 2021-05-14 13:14:48 +01:00
10001.misc Update the contrib grafana dashboard (#10001) 2021-05-19 11:47:16 +01:00
10002.bugfix Fix the allowed range of valid ordering characters for spaces. (#10002) 2021-05-17 09:59:17 -04:00
10007.feature Refactor checking restricted join rules (#10007) 2021-05-18 12:17:04 -04:00
10014.bugfix Fixed removal of new presence stream states (#10014) 2021-05-21 12:02:06 +01:00
10016.doc Update user_directory.md (#10016) 2021-05-20 14:24:19 +01:00
10017.misc Add a batching queue implementation. (#10017) 2021-05-21 11:20:51 +01:00
10018.misc Add Keyring.verify_events_for_server and reduce memory usage (#10018) 2021-05-20 16:25:11 +01:00
10033.bugfix Add a test for update_presence (#10033) 2021-05-21 17:29:14 +01:00
10038.feature Remove unused properties from the SpaceSummaryHandler. (#10038) 2021-05-21 12:02:01 -04:00