summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-07Move server command handling out of TCP protocol (#7187)Erik Johnston4-269/+237
This completes the merging of server and client command processing.
2020-04-06Add information about .well-known to Debian installation. (#7227)Patrick Cloke3-7/+18
2020-04-06Remove stream before/after debug log lines (#7207)Andrew Morgan2-2/+1
2020-04-06Improve error responses when a remote server doesn't allow you to access its ↵Andrew Morgan3-24/+33
public rooms list (#6899)
2020-04-06Move client command handling out of TCP protocol (#7185)Erik Johnston12-371/+378
The aim here is to move the command handling out of the TCP protocol classes and to also merge the client and server command handling (so that we can reuse them for redis protocol). This PR simply moves the client paths to the new `ReplicationCommandHandler`, a future PR will move the server paths too.
2020-04-04Server notices: Dissociate room creation/lookup from invite (#7199)Brendan Abolivier4-22/+154
Fixes #6815 Before figuring out whether we should alert a user on MAU, we call get_notice_room_for_user to get some info on the existing server notices room for this user. This function, if the room doesn't exist, creates it and invites the user in it. This means that, if we decide later that no server notice is needed, the user gets invited in a room with no message in it. This happens at every restart of the server, since the room ID returned by get_notice_room_for_user is cached. This PR fixes that by moving the inviting bit to a dedicated function, that's only called when the server actually needs to send a notice to the user. A potential issue with this approach is that the room that's created by get_notice_room_for_user doesn't match how that same function looks for an existing room (i.e. it creates a room that doesn't have an invite or a join for the current user in it, so it could lead to a new room being created each time a user syncs), but I'm not sure this is a problem given it's cached until the server restarts, so that function won't run very often. It also renames get_notice_room_for_user into get_or_create_notice_room_for_user to make what it does clearer.
2020-04-03Support CAS in UI Auth flows. (#7186)Patrick Cloke5-83/+131
2020-04-03Extend web_client_location to handle absolute URLs (#7006)Martin Milata4-9/+30
Log warning when filesystem path is used. Signed-off-by: Martin Milata <martin@martinmilata.cz>
2020-04-03Add some benchmarks for LruCache (#6446)Amber Brown5-5/+91
2020-04-03Convert http.HTTPStatus objects to their int equivalent (#7188)Andrew Morgan2-1/+9
2020-04-03Reduce the number of calls to `resource.getrusage` (#7183)Richard van der Hoff2-39/+64
Let's just call `getrusage` once on each logcontext change, rather than twice.
2020-04-03Remove some `run_in_background` calls in replication code (#7203)Richard van der Hoff2-8/+9
By running this stuff with `run_in_background`, it won't be correctly reported against the relevant CPU usage stats. Fixes #7202
2020-04-03Revert "Revert "Merge pull request #7153 from ↵Richard van der Hoff4-1/+28
matrix-org/babolivier/sso_whitelist_login_fallback"" This reverts commit 0122ef1037c8bfe826ea09d9fc7cd63fb9c59fd1.
2020-04-03Revert "Revert "Improve the UX of the login fallback when using SSO (#7152)""Richard van der Hoff3-22/+32
This reverts commit 8d4cbdeaa9765ae0d87ec82b053f12ed8162f6f5.
2020-04-03Revert "Merge pull request #7153 from ↵Richard van der Hoff4-28/+1
matrix-org/babolivier/sso_whitelist_login_fallback" This was incorrectly merged to master. This reverts commit 319c41f573eb14a966367b60b2e6e93bf6b028d9, reversing changes made to 229eb81498b0fe1da81e9b5b333a0285acde9446.
2020-04-03Revert "Improve the UX of the login fallback when using SSO (#7152)"Richard van der Hoff3-32/+22
This was incorrectly merged to `master` instead of develop. This reverts commit 90246344e340bce3417fb330da6be9338a701c5c.
2020-04-03tweak changelog v1.12.3 github/release-v1.12.3 release-v1.12.3Richard van der Hoff1-5/+2
2020-04-031.12.3Richard van der Hoff4-4/+16
2020-04-03Update docstring per review commentsRichard van der Hoff1-1/+1
2020-04-03Fix device list update stream ids going backward (#7158)Richard van der Hoff3-2/+15
Occasionally we could get a federation device list update transaction which looked like: ``` [ {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D2', 'prev_id': [], 'stream_id': 12, 'deleted': True}}, {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D1', 'prev_id': [12], 'stream_id': 11, 'deleted': True}}, {'edu_type': 'm.device_list_update', 'content': {'user_id': '@user:test', 'device_id': 'D3', 'prev_id': [11], 'stream_id': 13, 'deleted': True}} ] ``` Having `stream_ids` which are lower than `prev_ids` looks odd. It might work (I'm not actually sure), but in any case it doesn't seem like a reasonable thing to expect other implementations to support.
2020-04-03Fix the debian build in a better way. (#7212)Richard van der Hoff4-9/+36
2020-04-02Fix changelog wording v1.12.2 github/release-v1.12.2 release-v1.12.2Andrew Morgan1-1/+1
2020-04-021.12.2Andrew Morgan3-1/+17
2020-04-02Pin Pillow>=4.3.0,<7.1.0 to fix dep issueAndrew Morgan1-1/+3
2020-04-021.12.1Andrew Morgan3-1/+13
2020-04-02review commentRichard van der Hoff1-1/+1
2020-04-021.12.1 v1.12.1 github/release-v1.12.1