Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve the error message printed by synctl when synapse fails to start. ↵ | Richard van der Hoff | 2021-05-27 | 1 | -4/+8 |
| | | | | (#10059) | ||||
* | Fix --no-daemonize for synctl with workers (#9995) | Richard van der Hoff | 2021-05-24 | 1 | -70/+32 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -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>` | ||||
* | Allow bytecode again (#9502) | Jonathan de Jong | 2021-02-26 | 1 | -2/+1 |
| | | | | | | | In #75, bytecode was disabled (from a bit of FUD back in `python<2.4` days, according to dev chat), I think it's safe enough to enable it again. Added in `__pycache__/` and `.pyc`/`.pyd` to `.gitignore`, to extra-insure compiled files don't get committed. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Fix synctl and duplicate worker spawning (#8798) | Waylon Cude | 2020-11-23 | 1 | -0/+7 |
| | | | | | | | | | Synctl did not check if a worker thread was already running when using `synctl start` and would naively start a fresh copy. This would sometimes lead to cases where many duplicate copies of a single worker would run. This fix adds a pid check when starting worker threads and synctl will now refuse to start individual workers if they're already running. | ||||
* | Allow YAML config file to contain None (#7779) | Alex Kotov | 2020-07-03 | 1 | -1/+2 |
| | | | | | Useful when config file is fully commented Signed-off-by: Alex Kotov <kotovalexarian@gmail.com> | ||||
* | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 1 | -4/+2 |
| | |||||
* | `synctl restart` should start synapse if it wasn't running (#7624) | Richard van der Hoff | 2020-06-03 | 1 | -1/+1 |
| | |||||
* | synctl warns when no process is stopped and avoids start (#6598) | Romain Bouyé | 2020-05-19 | 1 | -3/+28 |
| | | | | | | * If an error occurs when stopping a process synctl now logs a warning. * During a restart, synctl will avoid attempting to start Synapse if an error occurs during stopping Synapse. | ||||
* | Remove redundant checks on `daemonize` from synctl (#7233) | Richard van der Hoff | 2020-04-08 | 1 | -9/+11 |
| | | | | | 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. | ||||
* | Give appropriate exit codes when synctl fails (#5992) | Jorik Schellekens | 2019-09-18 | 1 | -4/+39 |
| | |||||
* | Let synctl use a config directory. (#5904) | Jorik Schellekens | 2019-08-28 | 1 | -3/+10 |
| | | | * Let synctl use a config directory. | ||||
* | Fix --no-daemonize flag for synctl | Erik Johnston | 2019-07-02 | 1 | -6/+6 |
| | |||||
* | Accidentally reversed pep8 fixed before, fixed now | sohamg | 2019-06-10 | 1 | -1/+1 |
| | |||||
* | Edited description to note that the arg will not work with daemonize set in ↵ | sohamg | 2019-06-10 | 1 | -2/+3 |
| | | | | the config. | ||||
* | Resolved pep8 extra spacing issue | sohamg | 2019-06-10 | 1 | -1/+1 |
| | |||||
* | - Fix https://github.com/matrix-org/synapse/issues/4130 | sohamg | 2019-06-10 | 1 | -3/+15 |
| | | | | | | - Add parser argument "--no-daemonize" Signed-off-by: sohamg <sohamg2@gmail.com> | ||||
* | Use yaml safe_load | Erik Johnston | 2019-03-22 | 1 | -2/+2 |
| | |||||
* | Fix command hint to generate a config file (#4353) | Jason Robinson | 2019-01-07 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | * Fix command hint to generate a config file When trying to start Synapse without a config file, it will complain and give a hint towards what command to run. This hinted command is missing the "report_stats" parameter, which is required with either yes or no value. Add this to the command. Not an ideal situation but makes the given command work without the user getting another error, even though it might be unclear what "report_stats" represents. Signed-off-by: Jason Robinson <jasonr@matrix.org> | ||||
* | Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵ | Amber Brown | 2018-10-20 | 1 | -44/+36 |
| | | | | on py3) (#4068) | ||||
* | Use the right python when starting workers | Richard van der Hoff | 2018-10-18 | 1 | -1/+2 |
| | | | | | We should use the same python to start the workers as we do for the main synapse (ie, the same one used to run synctl.) | ||||
* | Assume isatty is always defined, and catch AttributeError. Also don't bother ↵ | Erik Johnston | 2018-10-17 | 1 | -2/+6 |
| | | | | checking colour==Normal | ||||
* | Only colourise synctl output when attached to tty | Erik Johnston | 2018-10-17 | 1 | -1/+6 |
| | |||||
* | Make workers work on Py3 (#4027) | Amber Brown | 2018-10-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' into rav/hacky_cache_factor_fix | Richard van der Hoff | 2018-09-26 | 1 | -1/+294 |
|\ | |||||
| * | Move synctl into top dir to avoid a symlink | Richard van der Hoff | 2018-09-25 | 1 | -1/+284 |
|/ | | | | | | symlinks apparently break setuptools on python3 and alpine (https://bugs.python.org/issue31940), so let's stop using a symlink and just use the file directly. | ||||
* | merge in msg.__room_member usage to new message display template | Matthew Hodgson | 2014-11-15 | 1 | -0/+1 |
| | |||||
* | SYN-138: Rewrite synctl in python and include it in the python distribution | Mark Haines | 2014-11-13 | 1 | -35/+0 |
| | |||||
* | Fix ncorrect ports in documentation and add notes on how generate-config ↵ | David Baker | 2014-10-02 | 1 | -1/+1 |
| | | | | | | also generates certs bound to whatever hostname you give with --generate-config. SYN-87 #resolved | ||||
* | Re-apply a0b1b34c71e46304f7024f0570db92f4577303b5 to master (fixing synctl) | David Baker | 2014-10-02 | 1 | -2/+2 |
| | |||||
* | Add slightly helpful advice on how to generate config if you don'y already ↵ | Erik Johnston | 2014-09-08 | 1 | -0/+1 |
| | | | | have one | ||||
* | Don't autogen config in synctl for the same reasons we don't turn of ↵ | Erik Johnston | 2014-09-08 | 1 | -6/+2 |
| | | | | | | --generate-config by default on the homeserver - it is liable to confuse people who have moved the config file or have chosen a non standard location. Also, don't override log file location. | ||||
* | make synctl default to homesever.log | Matthew Hodgson | 2014-09-03 | 1 | -3/+3 |
| | |||||
* | Added a simple start/stop control script | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+38 |