summary refs log tree commit diff
path: root/tests/server_notices (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-07Remove docs/sphinx and related references (#8480)Andrew Morgan62-839/+1
https://github.com/matrix-org/synapse/tree/develop/docs/sphinx doesn't seem to really be utilised or changed recently since the initial commit. I like the idea of exportable documentation of the codebase, but at the moment after running through the build instructions the generated website wasn't very useful...
2020-10-06Add support for MSC2732: olm fallback keys (#8312)Hubert Chathi8-1/+215
2020-10-06Additional tests for third-party event rules (#8468)Richard van der Hoff3-18/+79
* Optimise and test state fetching for 3p event rules Getting all the events at once is much more efficient than getting them individually * Test that 3p event rules can modify events
2020-10-06Don't bother responding to client requests that have already disconnected ↵Andrew Morgan3-0/+12
(#8465) This PR ports the quick fix from https://github.com/matrix-org/synapse/pull/2796 to further methods which handle media, URL preview and `/key/v2/server` requests. This prevents a harmless `ERROR` that comes up in the logs when we were unable to respond to a client request when the client had already disconnected. In this case we simply bail out if the client has already done so. This is the 'simple fix' as suggested by https://github.com/matrix-org/synapse/issues/5304#issuecomment-574740003. Fixes https://github.com/matrix-org/synapse/issues/6700 Fixes https://github.com/matrix-org/synapse/issues/5304
2020-10-05Update default room version to 6 (#8461)Richard van der Hoff4-3/+13
Per https://github.com/matrix-org/matrix-doc/pull/2788
2020-10-05Fix third-party event modules for `check_visibility_can_be_modified` checkRichard van der Hoff3-2/+5
PR #8292 tried to maintain backwards compat with modules which don't provide a `check_visibility_can_be_modified` method, but the tests weren't being run, and the check didn't work.
2020-10-05Ensure that event.redacts is the proper type before handling it (#8457)Patrick Cloke2-0/+3
This fixes a bug when backfilling invalid events.
2020-10-05Allow ThirdPartyEventRules modules to manipulate public room state (#8292)Andrew Morgan8-19/+223
This PR allows `ThirdPartyEventRules` modules to view, manipulate and block changes to the state of whether a room is published in the public rooms directory. While the idea of whether a room is in the public rooms list is not kept within an event in the room, `ThirdPartyEventRules` generally deal with controlling which modifications can happen to a room. Public rooms fits within that idea, even if its toggle state isn't controlled through a state event.
2020-10-05Remove stream ordering from Metadata dict (#8452)Richard van der Hoff13-33/+53
There's no need for it to be in the dict as well as the events table. Instead, we store it in a separate attribute in the EventInternalMetadata object, and populate that on load. This means that we can rely on it being correctly populated for any event which has been persited to the database.
2020-10-05Update manhole documentation for async/await. (#8462)Patrick Cloke2-2/+6
2020-10-05Do not assume that account data is of the correct form. (#8454)Patrick Cloke6-21/+34
This fixes a bug where `m.ignored_user_list` was assumed to be a dict, leading to odd behavior for users who set it to something else.
2020-10-02Add logging on startup/shutdown (#8448)Erik Johnston25-113/+152
This is so we can tell what is going on when things are taking a while to start up. The main change here is to ensure that transactions that are created during startup get correctly logged like normal transactions.
2020-10-02Speed up unit tests when using PostgreSQL (#8450)Erik Johnston3-1/+17
2020-10-02Allow background tasks to be run on a separate worker. (#8369)Patrick Cloke19-449/+537
2020-10-02move #8444 to 'feature' v1.21.0rc2Richard van der Hoff1-1/+5
2020-10-02linkify changelogRichard van der Hoff1-1/+1
2020-10-021.21.0rc2Richard van der Hoff1-1/+1
2020-10-021.21.0rc2Richard van der Hoff7-6/+14
2020-10-02Fix bug in remote thumbnail search (#8438)Richard van der Hoff2-20/+24
#7124 changed the behaviour of remote thumbnails so that the thumbnailing method was included in the filename of the thumbnail. To support existing files, it included a fallback so that we would check the old filename if the new filename didn't exist. Unfortunately, it didn't apply this logic to storage providers, so any thumbnails stored on such a storage provider was broken.
2020-10-02Include a public_baseurl in configs generated by the demo script. (#8443)Patrick Cloke2-0/+3
2020-10-02Fix DB query on startup for negative streams. (#8447)Erik Johnston2-1/+2
For negative streams we have to negate the internal stream ID before querying the DB. The effect of this bug was to query far too many rows, slowing start up time, but we would correctly filter the results afterwards so there was no ill effect.
2020-10-02Convert additional templates to Jinja (#8444)Patrick Cloke9-116/+121
This converts a few more of our inline HTML templates to Jinja. This is somewhat part of #7280 and should make it a bit easier to customize these in the future.
2020-10-02Fix malformed log line in new federation "catch up" logic (#8442)Richard van der Hoff2-1/+2
2020-10-02Add unit test for event persister sharding (#8433)Erik Johnston8-27/+371
2020-10-01Add config option for always using "userinfo endpoint" for OIDC (#7658)BBBSnowball6-15/+65
This allows for connecting to certain IdPs, e.g. GitLab.
2020-10-01Do not expose the experimental appservice login flow to clients. (#8440)Patrick Cloke2-2/+1
2020-10-01update changelog v1.21.0rc1Richard van der Hoff2-2/+1
2020-10-01fix a logging error in thumbnailer (#8435)Richard van der Hoff2-1/+2
Introduced in #8236
2020-10-01