- Apr 11, 2020
-
-
Matthew Hodgson authored
-
- Apr 09, 2020
-
-
Andrew Morgan authored
-
Patrick Cloke authored
-
Andrew Morgan authored
This commit was originally merged in #7228 but reverted in #7254 as the associated sytest was not ready yet. Now that it is, we can merge this again.
-
Andrew Morgan authored
-
Andrew Morgan authored
This reverts commit 59f0ca8b.
-
Andrew Morgan authored
-
Richard van der Hoff authored
I don't really remember why this was so complicated; I think it dates back to the time when we had to instantiate the Config classes before we could call `add_arguments` - ie before #5597. In any case, I don't think there's a good reason for it any more, and the impact of it being complicated is that `--help` doesn't work correctly.
-
Andrew Morgan authored
-
Andrew Morgan authored
-
- Apr 08, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
We pass --daemonize on the commandline, which (since at least #4853) overrides whatever the config file, so there is no need for it to be set in the config file.
-
Richard van der Hoff authored
Simplify and update this documentation, and make it part of the core dist.
-
Brendan Abolivier authored
-
- Apr 07, 2020
-
-
Andrew Morgan authored
-
Richard van der Hoff authored
We seem to have some duplicates, which could do with being cleared out.
-
Richard van der Hoff authored
Miscellaneous cleanups to replication code
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
`REPLICATE` is now a valid command, and it's nice if you can issue it from the console without remembering to call it `REPLICATE ` with a trailing space.
-
Richard van der Hoff authored
Separate `SimpleCommand` from `Command`, so that things which don't want to use the `data` property don't have to, and thus fix the warnings PyCharm was giving me about not calling `__init__` in the base class.
-
Richard van der Hoff authored
We've ripped pretty much all of this out: let's remove the remains.
-
Brendan Abolivier authored
* Fix typo in the login fallback javascript * Changelog
-
Richard van der Hoff authored
They just get in the way.
-
Erik Johnston authored
Fixes a race between handling `POSITION` and `RDATA` commands. We do this by simply linearizing handling of them.
-
Erik Johnston authored
This completes the merging of server and client command processing.
-
- Apr 06, 2020
-
-
Patrick Cloke authored
-
Andrew Morgan authored
-
Andrew Morgan authored
Improve error responses when a remote server doesn't allow you to access its public rooms list (#6899)
-
Erik Johnston authored
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.
-
- Apr 04, 2020
-
-
Brendan Abolivier authored
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.
-
- Apr 03, 2020
-
-
Patrick Cloke authored
-
Martin Milata authored
Log warning when filesystem path is used. Signed-off-by:
Martin Milata <martin@martinmilata.cz>
-
Amber Brown authored
-
Andrew Morgan authored
-
Richard van der Hoff authored
Let's just call `getrusage` once on each logcontext change, rather than twice.
-
Richard van der Hoff authored
Only run one background update at a time
-
Richard van der Hoff authored
By running this stuff with `run_in_background`, it won't be correctly reported against the relevant CPU usage stats. Fixes #7202
-
Richard van der Hoff authored
-