summary refs log tree commit diff
path: root/scripts-dev/sign_json.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-03Fix race when persisting an event and deleting a room (#12594)Erik Johnston3-2/+22
This works by taking a row level lock on the `rooms` table at the start of both transactions, ensuring that they don't run at the same time. In the event persistence transaction we also check that there is an entry still in the `rooms` table. I can't figure out how to do this in SQLite. I was just going to lock the table, but it seems that we don't support that in SQLite either, so I'm *really* confused as to how we maintain integrity in SQLite when using `lock_table`....
2022-05-03Prune mypy ignore_missing_imports list (#12608)David Robertson2-51/+3
2022-05-03Move groups/communities deprecation notice to 1.58.0 heading v1.58.0Andrew Morgan1-2/+2
2022-05-031.58.0Andrew Morgan3-1/+13
2022-04-29Remove special-case for `twisted` logger (#12589)Richard van der Hoff3-14/+1
This was originally added when we first added a `MemoryHandler` to the default log config back in https://github.com/matrix-org/synapse/pull/8040, to ensure that we didn't explode with an infinite loop if there was an error formatting the logs. Since then, we made additional improvements to logging which make this workaround redundant. In particular: * we no longer attempt to log un-UTF8-decodable byte sequences, which were the most likely cause of an error in the first place. * https://github.com/matrix-org/synapse/pull/8268 ensures that in the unlikely case that there *is* an error, it won't cause an infinite loop.
2022-04-29Allow unused ignores in "bleeding edge" CI (#12576)David Robertson3-0/+6
* Allow unused ignores in "bleeding edge" CI Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574. * Use `--extras all` in latest deps mypy CI Twisted trunk job already does this. Missed in #12531. * changelog
2022-04-28Improve the docstrings for the receipts store. (#12581)Patrick Cloke2-5/+52
2022-04-28Use constants for receipt types in tests. (#12582)Šimon Brandner4-23/