summary refs log tree commit diff
path: root/synapse/app/admin_cmd.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge/remove `Slaved*` stores into `WorkerStores` (#14375)Nick Mills-Barrett2022-11-111-9/+27
|
* Handle the case of remote users leaving a partial join room for device lists ↵Erik Johnston2022-09-271-1/+1
| | | | (#13885)
* Remove old empty/redundant slaved stores. (#13349)Nick Mills-Barrett2022-07-211-10/+16
|
* Use cache store remove base slaved (#13329)Nick Mills-Barrett2022-07-211-2/+0
| | | This comes from two identical definitions in each of the base stores, and means the base slaved store is now empty and can be removed.
* Add a `filter_event_for_clients_with_state` function (#13222)Erik Johnston2022-07-111-1/+12
|
* Fix Synapse git info missing in version strings (#12973)David Robertson2022-06-071-3/+2
|
* Remove groups replication code. (#12900)Patrick Cloke2022-05-311-2/+0
| | | | The replication logic for groups is no longer used, so the message passing infrastructure can be removed.
* Add the `update_user_directory_from_worker` configuration option ↵reivilibre2022-05-101-1/+1
| | | | | (superseding `update_user_directory`) to allow a generic worker to be designated as the worker to update the user directory. (#12654) Co-authored-by: Shay <hillerys@element.io>
* Move `update_client_ip` background job from the main process to the ↵reivilibre2022-04-011-2/+0
| | | | background worker. (#12251)
* Use version string helper from matrix-common (#11979)David Robertson2022-02-141-2/+3
| | | | * Require latest matrix-common * Use the common function
* Add missing type hints to `synapse.app`. (#11287)Patrick Cloke2021-11-101-19/+23
|
* Add knock information in admin exported data (#11171)Rafael Gonçalves2021-10-281-0/+14
| | | Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-2/+2
|
* Fix broken export-data admin command and add a test for it to CI (#11078)Hillery Shay2021-10-181-8/+6
| | | Fix broken export-data admin command and add a test for it to CI
* Require direct references to configuration variables. (#10985)Patrick Cloke2021-10-061-2/+2
| | | | | | This removes the magic allowing accessing configurable variables directly from the config object. It is now required that a specific configuration class is used (e.g. `config.foo` must be replaced with `config.server.foo`).
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-2/+2
|
* Use direct references for configuration variables (part 5). (#10897)Patrick Cloke2021-09-241-3/+3
|
* Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-231-1/+1
|
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-5/+5
| | | | Instead of proxying through the magic getter of the RootConfig object. This should be more performant (and is more explicit).
* Remove the unused public_room_list_stream (#10565)Andrew Morgan2021-08-171-2/+0
| | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Remove shebang line from module files (#10415)V024602021-07-291-1/+0
| | | Signed-off-by: Kai A. Hiller <V02460@gmail.com>
* Clean up a broken import in admin_cmd.py (#10154)Andrew Morgan2021-06-111-2/+0
|
* Improved validation for received requests (#9817)Richard van der Hoff2021-04-231-7/+1
| | | | | | * Simplify `start_listening` callpath * Correctly check the size of uploaded files
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Clean up `ShardedWorkerHandlingConfig` (#9466)Erik Johnston2021-02-241-0/+2
| | | | | | | | | | | | | | | | | * Split ShardedWorkerHandlingConfig This is so that we have a type level understanding of when it is safe to call `get_instance(..)` (as opposed to `should_handle(..)`). * Remove special cases in ShardedWorkerHandlingConfig. `ShardedWorkerHandlingConfig` tried to handle the various different ways it was possible to configure federation senders and pushers. This led to special cases that weren't hit during testing. To fix this the handling of the different cases is moved from there and `generic_worker` into the worker config class. This allows us to have the logic in one place and allows the rest of the code to ignore the different cases.
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-1/+1
| | | All handlers now available via get_*_handler() methods on the HomeServer.
* Allow background tasks to be run on a separate worker. (#8369)Patrick Cloke2020-10-021-0/+1
|
* Directly import json from the standard library. (#8259)Patrick Cloke2020-09-081-2/+1
| | | | | By importing from canonicaljson the simplejson module was still being used in some situations. After this change the std lib json is consistenty used throughout Synapse.
* Convert the main methods run by the reactor to async. (#8213)Patrick Cloke2020-09-021-11/+9
|
* Move client command handling out of TCP protocol (#7185)Erik Johnston2020-04-061-12/+0
| | | 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.
* Port synapse.replication.tcp to async/await (#6666)Erik Johnston2020-01-161-2/+1
| | | | | | | | | | * Port synapse.replication.tcp to async/await * Newsfile * Correctly document type of on_<FOO> functions as async * Don't be overenthusiastic with the asyncing....
* Port some admin handlers to async/await (#6559)Erik Johnston2019-12-191-2/+4
|
* Remove database config parsing from apps.Erik Johnston2019-12-101-5/+0
|
* Implement a structured logging output system. (#5680)Amber Brown2019-08-281-2/+2
|
* Remove pointless descriptionErik Johnston2019-07-161-1/+0
|
* Fix typo in synapse/app/admin_cmd.pyErik Johnston2019-07-161-1/+1
| | | Co-Authored-By: Aaron Raimist <aaron@raim.ist>
* s/exfiltrate_user_data/export_user_data/Erik Johnston2019-07-151-1/+1
|
* Add FileExfiltrationWriterErik Johnston2019-07-151-1/+69
|
* Use set_defaults(func=) styleErik Johnston2019-07-151-11/+8
|
* Move creation of ArgumentParser to callerErik Johnston2019-07-151-1/+3
|
* Fix up commentsErik Johnston2019-07-151-2/+2
|
* Add basic admin cmd appErik Johnston2019-07-021-0/+198