summary refs log tree commit diff
path: root/contrib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch from `matrix://` to `matrix-federation://` scheme for internal ↵Eric Eastwood2023-06-201-1/+1
| | | | | | | Synapse routing of outbound federation traffic (#15806) `matrix://` is a registered specced scheme nowadays and doesn't make sense for our internal to Synapse use case anymore. ([discussion] (https://github.com/matrix-org/synapse/pull/15773#discussion_r1227598679))
* Add Synapse version deploy annotations to Grafana dashboard (#15674)Eric Eastwood2023-05-311-174/+894
| | | | | | | | | | | | | Fix https://github.com/matrix-org/synapse/issues/15662 This manifests as purple lines that show up on all time series panels that you can hover and see what version was deployed. Also added a new "Deployed Synapse versions over time" panel where the color block changes with each version. And mixed this color block into the "Up" time series panel. To get the Grafana dashboard JSON to copy here: use the **Share** icon at the top -> **Export** -> check the **Export for sharing externally** option -> **View JSON** or **Save to file**
* Add redis SSL configuration options (#15312)Roel ter Maat2023-05-111-0/+4
| | | | | | | | | | | | | | | | | * Add SSL options to redis config * fix lint issues * Add documentation and changelog file * add missing . at the end of the changelog * Move client context factory to new file * Rename ssl to tls and fix typo * fix lint issues * Added when redis attributes were added
* Make it easier to use DataGrip w/ Synapse's schema (#14982)David Robertson2023-02-156-0/+32
| | | | | | Also tweak the schema dump script: - add a note explaining myself how to use it -Explicitly call `poetry run`, because not everyone uses direnv :(
* Support for selecting the Redis logical database. (#15034)999lakhisidhu2023-02-151-0/+1
| | | | Note that this is only used for key-value store (cached values) and not for the pub/sub replication used by Synapse.
* lnav config for synpase logs (#14953)David Robertson2023-02-012-0/+114
|
* Include `x_forwarded` in workers example configs (#14667)villepeh2023-01-132-5/+11
|
* Fix the *MAU Limits* section of the Grafana dashboard relying on a specific ↵reivilibre2022-12-131-9/+6
| | | | `job` name for the workers of a Synapse deployment. (#14644)
* Update forgotten references to legacy metrics in the included Grafana ↵reivilibre2022-11-221-345/+1209
| | | | | dashboard. (#14477) Fixes https://github.com/matrix-org/synapse/issues/14465
* Remove not needed `replication` listener in docker compose example (#14107)Dirk Klimpel2022-10-173-25/+1
|
* Add comments to the Prometheus recording rules to make it clear which set of ↵reivilibre2022-09-231-7/+18
| | | | rules you need for Grafana or Prometheus Console. (#13876)
* Add `worker_main_http_uri` to the contrib bash script (#13772)villepeh2022-09-211-1/+3
| | | | | | * Add worker_main_http_uri, replace >> with > Co-authored-by: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Co-authored-by: Erik Johnston <erik@matrix.org>
* Remove unused Prometheus recording rules from `synapse-v2.rules` and add ↵reivilibre2022-09-081-23/+8
| | | | comments describing where the rest are used. (#13756)
* Fix Prometheus recording rules to not use legacy metric names. (#13718)reivilibre2022-09-082-32/+11
|
* Update Grafana dashboard to not use legacy metric names. (#13714)reivilibre2022-09-061-69/+69
|
* Update the Grafana dashboard that is included with Synapse in the `contrib` ↵reivilibre2022-09-011-20/+127
| | | | | | | | | | | | | directory. (#13697) * Add missing graph to contrib * Update with minor but plausible changes, including positioning changes * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* Update grafana dashboardRichard van der Hoff2022-08-131-1805/+2695
|
* Bash script for creating multiple stream writers (#13271)villepeh2022-07-192-1/+146
| | | | | Add another bash script to the contrib directory. It creates multiple stream writers and also prints out the example configuration for homeserver.yaml. Signed-off-by: Ville Petteri Huh.
* Add a sample bash script to docs for creating multiple worker files (#13032)villepeh2022-07-111-0/+31
| | | Signed-off-by: Ville Petteri Huh.
* Fix-up the contrib/graph scripts. (#13013)Patrick Cloke2022-06-103-43/+69
| | | | | | * Clarifies comments and documentation. * Adds type-hints. * Fixes Python 3 compatibility (and runs pyupgrade). * Updates for changes in Synapse internals.
* Docker Compose Worker Documentation and Examples (#12737)James2022-06-084-0/+235
|
* Remove direct refeferences to PyNaCl (use signedjson instead). (#12902)Jacek Kuśnierz2022-06-011-5/+4
|
* Remove unused `contrib/experiments/cursesio.py` (#12910)David Robertson2022-05-301-165/+0
|
* Remove `contrib/experiments/test_messaging.py` (#12911)David Robertson2022-05-301-367/+0
|
* Remove contrib/jitsimeetbridge (#12909)David Robertson2022-05-309-5526/+0
|
* Remove contrib/scripts/kick_users.py (#12908)David Robertson2022-05-301-88/+0
|
* docs(contrib): Add link to documentation in dashboard (#12602)Sheogorath2022-05-091-1/+13
|
* Bump `black` and `click` versions (#12320)David Robertson2022-03-291-6/+9
|
* Move the `snapcraft` configuration to `contrib`. (#12142)David Robertson2022-03-021-0/+57
| | | | | | | | | * Move the `snapcraft` configuration to `contrib`. We're happy for people to package this as a snap image if it's useful, but we don't support or maintain it. I'd like to move the config to `contrib` to reflect this state of affairs. * Changelog
* Improve `reactor_tick_time` metric (#11724)Richard van der Hoff2022-01-171-16/+0
| | | | | | | | | | | The existing implementation of the `python_twisted_reactor_tick_time` metric is pretty useless, because it *only* measures the time taken to execute timed calls and callbacks from threads. That neglects everything that happens off the back of I/O, which is obviously quite a lot for us. To improve this, I've hooked into a different place in the reactor - in particular, where it calls `epoll`. That call is the only place it should wait for something to happen - the rest of the loop *should* be quick. I've also removed `python_twisted_reactor_pending_calls`, because I don't believe anyone ever looks at it, and it's a nuisance to populate.
* Improve Docker docs for use with Postgres (#11640)Callum Macdonald2022-01-051-0/+1
|
* Fix Shellcheck SC2089 and SC2090: Quotes in varsDan Callahan2021-10-221-2/+4
| | | | | | | | | | | | | | | | | | SC2089: Quotes/backslashes will be treated literally. Use an array. https://github.com/koalaman/shellcheck/wiki/SC2089 SC2090: Quotes/backslashes in this variable will not be respected. https://github.com/koalaman/shellcheck/wiki/SC2090 Putting literal JSON in a variable mistakenly triggers these warnings. Instead of adding ignore directives, this can be avoided by inlining the JSON data into the curl invocation. Since the variable is only used in this one location, inlining is fine. Signed-off-by: Dan Callahan <danc@element.io>
* Break down cache expiry reasons in grafana (#10880)David Robertson2021-09-231-2/+2
| | | A follow-up to #10829
* Update the Synapse Grafana dashboard (#10570)Brendan Abolivier2021-08-161-66/+484
|
* Fix some links in `docs` and `contrib` (#10370)Dirk Klimpel2021-07-136-10/+13
|
* Fix broken links in INSTALL.md (#10331)Dirk Klimpel2021-07-081-1/+2
| | | Signed-off-by: Dirk Klimpel dirk@klimpel.org
* update black to 21.6b0 (#10197)Marcus2021-06-171-4/+4
| | | | | Reformat all files with the new version. Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
* Update the contrib grafana dashboard (#10001)Erik Johnston2021-05-191-644/+3557
|
* Hardened systemd unit files (#9803)Savyasachee Jha2021-05-191-0/+71
| | | Signed-off-by: Savyasachee Jha savya.jha@hawkradius.com
* Revert "Experimental Federation Speedup (#9702)"Andrew Morgan2021-04-281-23/+19
| | | | This reverts commit 05e8c70c059f8ebb066e029bc3aa3e0cefef1019.
* Experimental Federation Speedup (#9702)Jonathan de Jong2021-04-141-19/+23
| | | | | This basically speeds up federation by "squeezing" each individual dual database call (to destinations and destination_rooms), which previously happened per every event, into one call for an entire batch (100 max). Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-142-2/+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>`
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-082-6/+23
| | | | | | | Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>
* Use interpreter from $PATH instead of absolute paths in various scripts ↵Quentin Gliech2021-03-252-2/+2
| | | | | | | | | using /usr/bin/env (#9689) On NixOS, `bash` isn't under `/bin/bash` but rather in some directory in `$PATH`. Locally, I've been patching those scripts to make them work. `/usr/bin/env` seems to be the only [portable way](https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my) to use binaries from the PATH as interpreters. Signed-off-by: Quentin Gliech <quentingliech@gmail.com>
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-165-51/+32
| | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
* Add missing prometheus rules for persisted events (#8802)Johanna Dorothea Reichmann2020-12-021-0/+18
| | | | | | | The official dashboard uses data from these rules, but they were never added to the synapse-v2.rules. They are mentioned in this issue: https://github.com/matrix-org/synapse/issues/7917#issuecomment-661330409, but never got added to the rules. Adding them results in all graphs in the "Event persist rate" section to function as intended. Signed-off-by: Johanna Dorothea Reichmann <transcaffeine@finallycoffee.eu>
* Update example prometheus console (#8824)Dirk Klimpel2020-11-261-51/+50
| | | | Signed-off-by: Dirk Klimpel dirk@klimpel.org
* Improve documentation how to configure prometheus for workers (#8822)Dirk Klimpel2020-11-261-3/+7
|
* Cross-link documentation to the prometheus recording rules. (#8667)Michael Kaye2020-10-271-1/+1
|
* Remove obsolete __future__ imports (#8337)Jonathan de Jong2020-09-176-17/+1
|
* Stop sub-classing object (#8249)Patrick Cloke2020-09-043-6/+6
|
* Convert federation client to async/await. (#7975)Patrick Cloke2020-07-301-7/+9
|
* Lint the contrib/ directory in CI and linting scripts, add synctl to linting ↵Andrew Morgan2020-07-208-80/+68
| | | | | | | script (#7914) Run `isort`, `flake8` and `black` over the `contrib/` directory and `synctl` script. The latter was already being done in CI, but now the linting script does it too. Fixes https://github.com/matrix-org/synapse/issues/7910
* Fix deprecation warning due to invalid escape sequences (#7895)Karthikeyan Singaravelan2020-07-201-4/+4
| | | | | | | * Fix deprecation warnings due to invalid escape sequences. * Add changelog Signed-off-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
* Update grafana dashboardRichard van der Hoff2020-07-131-85/+214
|
* Merge branch 'master' into developPatrick Cloke2020-07-021-1/+1
|\
| * Update postgres in the Docker compose example to 12-alpine. (#7696)lub2020-06-171-1/+1
| |
* | Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
|/
* update grafana dashboardRichard van der Hoff2020-06-021-88/+525
|
* Add entry to set dependency against psql service (#7591)David Rio Deiros2020-05-281-0/+3
|
* Make systemd-with-workers doc official (#7234)Richard van der Hoff2020-04-085-208/+2
| | | | Simplify and update this documentation, and make it part of the core dist.
* update grafana dashboardRichard van der Hoff2020-03-191-32/+213
|
* rst->mdMatthew Hodgson2020-03-011-1/+1
|
* Fix mounting of homeserver.yaml when it does not exist on host (#6913)Sandro2020-02-291-2/+1
| | | Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
* contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)Fridtjof Mund2020-02-251-1/+1
| | | | | I made a mistake in https://github.com/matrix-org/synapse/pull/6921 - the quotes break the postgres container's startup script (or docker-compose), which makes initdb fail: https://github.com/matrix-org/synapse/pull/6921#issuecomment-590657154 Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
* contrib/docker: Ensure correct encoding and locale settings on DB creation ↵Fridtjof Mund2020-02-141-0/+3
| | | | | | (#6921) Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
* contrib/docker-compose: fixing mount that overrides containers' /etc (#6656)Fabian Meyer2020-01-081-1/+1
| | | | The mount in the form of ./matrix-config:/etc overwrites the contents of the container /etc folder. Since all valid ca certificates are stored in /etc, the synapse.push.httppusher, for example, cannot validate the certificate from matrix.org.
* Systemd documentation (#6490)Clifford Garwood II2019-12-091-1/+1
|
* Modify systemd unit file reference to align with installation instruction ↵Clifford Garwood II2019-12-052-2/+22
| | | | | (#6369) Signed-off-by: Clifford Garwood II cliff@cigii.com
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-2/+2
| | | * update version of black and also fix the mypy config being overridden
* Cleanup extra quotes from IDEs (#6236)Andrew Morgan2019-10-232-3/+3
|
* Update docker-compose.yml for a static config file, and update traefik ↵przemas752019-10-182-29/+27
| | | | examples (#6142)
* Allow Synapse to send registration emails + choose Synapse or an external ↵Andrew Morgan2019-09-061-0/+2
| | | | | | | | | | | | | | | | server to handle 3pid validation (#5987) This is a combination of a few different PRs, finally all being merged into `develop`: * #5875 * #5876 * #5868 (This one added the `/versions` flag but the flag itself was actually [backed out](https://github.com/matrix-org/synapse/commit/891afb57cbdf9867f2848341b29c75d6f35eef5a#diff-e591d42d30690ffb79f63bb726200891) in #5969. What's left is just giving /versions access to the config file, which could be useful in the future) * #5835 * #5969 * #5940 Clients should not actually use the new registration functionality until https://github.com/matrix-org/synapse/pull/5972 is merged. UPGRADE.rst, changelog entries and config file changes should all be reviewed closely before this PR is merged.
* Switch to using v2 Identity Service APIs other than lookup (MSC 2140) (#5892)Andrew Morgan2019-09-051-0/+5
|
* Fix curl command typo in purge_remote_media.shThomas Citharel2019-08-091-1/+1
| | | | | | Was verbose option instead of -X, command didn't work Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Also update systemd-with-workers contrib examplesErik Johnston2019-07-232-2/+4
|
* Update example systemd service fileErik Johnston2019-07-221-1/+3
|
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-043-6/+6
|
* Deprecate the env var way of running the docker image (#5566)Richard van der Hoff2019-06-271-0/+4
| | | | | This is mostly a documentation change, but also adds a default value for SYNAPSE_CONFIG_PATH, so that running from the generated config is the default, and will Just Work provided your config is in the right place.
* Update purge_api READMEjon r2019-06-271-2/+2
| | | This points the reverse links at the intended location.
* Add extremities graphs to grafana dashboardRichard van der Hoff2019-06-251-23/+832
|
* format json for grafana dashboardRichard van der Hoff2019-06-251-1/+6005
|
* Run Black. (#5482)Amber Brown2019-06-209-411/+479
|
* Fix seven contrib files with Python syntax errors (#5446)cclauss2019-06-186-119/+130
| | | | | | * Fix seven contrib files with Python syntax errors Signed-off-by: cclauss <cclauss@me.com>
* Set syslog identifiers in systemd units (#5023)Christoph Müller2019-05-103-1/+3
|
* update grafana dashboardRichard van der Hoff2019-04-131-5211/+1
|
* Add systemd setup that supports workers (#4662)Luca Corbatto2019-03-155-0/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This setup is a way to manage workers with systemd. It does however not require workers. You can use this setup without workers. You just have to make sure that the homeserver is forking and writes its PID file to the location the service is looking in. The currently distributed setup in the debian package does not work in conjunction with workers. * Adds changelog * Lets systemd handle the forking Sets all services to `type=simple` and disables daemonizing on the synapse side. * Formats readme to 80 columns per line * Allows for full restart of all workers * Changes README to reflect the new setup * Adds dot to end of changelog file * Removes surplus word Co-Authored-By: targodan <targodan@users.noreply.github.com> * Adds missing word Co-Authored-By: targodan <targodan@users.noreply.github.com> * Fixes linebreak Co-Authored-By: targodan <targodan@users.noreply.github.com> * Fixes unit type
* Update example_log_config.yaml (#4820)Richard van der Hoff2019-03-071-1/+2
|
* cleanups for contrib/prometheus/READMERichard van der Hoff2019-01-301-0/+7
|
* Update docker-compose.yml (#4282)jribal2019-01-021-1/+1
| | | | | | Hi, the original docker-compose file did not work by default. You get federation port working but no client port. My proposal is to let federation port work as it is by default (8448) and let traefik handle client http/https traffic.
* Update the example systemd config to use a virtualenv (#4273)Richard van der Hoff2018-12-072-22/+31
| | | | | If you're installing as a system package, the system package should have set up the systemd config, so it's more useful to give an example of running in a virtualenv here.
* add purge_history.sh and purge_remote_media.sh scripts to contrib/purge_api/rubo772018-11-073-0/+211
| | | | Signed-off-by: Ruben Barkow <github@r.z11.de>
* Merge pull request #3778 from z3ntu/patch-1Richard van der Hoff2018-11-011-2/+4
|\ | | | | Fix build of Docker image with docker-compose
| * Fix build of Docker image with docker-composeLuca Weiss2018-09-111-2/+4
| | | | | | | | ... and fix a typo
* | Fix typo in docker-compose.ymlJonas Schürmann2018-10-311-1/+1
| | | | | | | | Signed-off-by: Jonas Schürmann <jonasschuermann@aol.de>
* | Update grafana dashboardRichard van der Hoff2018-09-251-175/+417
|/
* fix event lag graphRichard van der Hoff2018-08-071-8/+16
|
* Update README.mdMichael Kaye2018-08-031-1/+1
| | | Link to docker/README.md
* Refactor docker locations and README.Michael Kaye2018-08-024-422/+2
| | | | This addresses #3224
* Merge pull request #3543 from bebehei/dockerJan Christian Grünhage2018-08-012-7/+2
|\ | | | | Improvements for Docker usage
| * [Docker] Build docker image via composeBenedikt Heine2018-07-172-7/+2
| | | | | | | | | | | | | | It's much easier to build the image via docker-compose instead of an error-prone low-level docker call. Signed-off-by: Benedikt Heine <bebe@bebehei.de>
* | Add some documentation for using the dashboardPaul Tötterman2018-07-311-0/+6
| |
* | synapse grafana dashboardRichard van der Hoff2018-07-311-0/+4961
|/
* light grammar changesNeil Johnson2018-05-171-4/+4
|
* Note that secrets need to be retained.Michael Kaye2018-05-171-2/+7
|
* Document macaroon env var correctlyMichael Kaye2018-05-171-2/+2
|
* Merge remote-tracking branch 'upstream/master' into feat-dockerfilekaiyou2018-05-026-20/+36
|\
| * Document contrib directoryErik Johnston2018-04-202-0/+14
| |
| * Merge pull request #3075 from NotAFile/six-type-checksRichard van der Hoff2018-04-091-1/+3
| |\ | | | | | | Replace some type checks with six type checks
| | * Replace some type checks with six type checksAdrian Tschira2018-04-071-1/+3
| | | | | | | | | | | | Signed-off-by: Adrian Tschira <nota@notafile.com>
| * | make prometheus config compliant to v0.28Krombel2018-04-053-19/+19
| |/
* | Make the logging level configurablekaiyou2018-05-012-3/+4
| |
* | Fix the documentation about 'POSTGRES_DB'kaiyou2018-05-011-1/+1
| |
* | Disable logging to file and rely on the console when using Dockerkaiyou2018-02-101-8/+1
| |
* | Explicitely provide the postgres password to synapse in the Compose examplekaiyou2018-02-101-0/+1
| |
* | Remove an accidentally committed test configurationkaiyou2018-02-101-1/+1
| |
* | Generate macaroon and registration secrets, then store the results to the ↵kaiyou2018-02-102-6/+15
| | | | | | | | data dir
* | Fix the path to the log config filekaiyou2018-02-092-2/+2
| |
* | Make SYNAPSE_MACAROON_SECRET_KEY a mandatory optionkaiyou2018-02-092-3/+4
| |
* | Specify the Docker registry for the postgres imagekaiyou2018-02-081-1/+1
| |
* | Specify the Docker registry in the build tagkaiyou2018-02-081-1/+1
| |
* | Make it clear that the image has two modes of operationkaiyou2018-02-081-5/+24
| |
* | Enable email server configuration from environment variableskaiyou2018-02-082-16/+24
| |
* | Honor the SYNAPSE_REPORT_STATS parameter in the Docker imagekaiyou2018-02-081-0/+5
| |
* | Disable the Web client in the Docker imagekaiyou2018-02-082-4/+3
| |
* | Use 'synapse' as a default postgres user in Docker exampleskaiyou2018-02-082-3/+3
| |
* | Refactor the start script to better handle mandatory parameterskaiyou2018-02-083-24/+35
| |
* | Rename the permissions variable to avoid confusionkaiyou2018-02-081-3/+3
| |
* | Add some documentation about high performance storagekaiyou2018-02-081-2/+7
| |
* | Make it clear that two modes are avaiable in the documentation, improve the ↵kaiyou2018-02-082-9/+20
| | | | | | | | compose file
* | Support loading application service files from /data/appservices/kaiyou2018-02-053-2/+18
| |
* | Only generate configuration files when necessarykaiyou2018-02-051-5/+7
| |
* | Point to the 'latest' tag in the Docker documentationkaiyou2018-02-052-2/+2
| |
* | Fix a typo in the Docker READMEkaiyou2018-02-051-1/+1
| |
* | Document the cache factor environment variable for Dockerkaiyou2018-02-051-0/+1
| |
* | Add dynamic TURN configuration in the Docker imagekaiyou2018-02-052-2/+14
| |
* | Add dynamic recaptcha configuration in the Docker imagekaiyou2018-02-052-0/+11
| |
* | Run the server as an unprivileged userkaiyou2018-02-041-4/+7
| |
* | Fix multiple typoskaiyou2018-02-042-10/+16
| |
* | Update sumperdump Docker readme to match this image propertieskaiyou2018-02-041-38/+64
| |
* | Remove etc/service files from rob's branchkaiyou2018-02-043-131/+0
| |
* | Merge remote-tracking branch 'origin/rob/docker' into feat-dockerfilekaiyou2018-02-044-0/+201
|\ \
* | | Reuse environment variables of the postgres containerkaiyou2018-02-042-9/+14
| | |
* | | Provide an example docker compose filekaiyou2018-02-041-0/+32
| | |
* | | Support an external postgresql config in the Docker imagekaiyou2018-02-041-2/+11
| | |
* | | Generate shared secrets if not defined in the environmentkaiyou2018-02-041-4/+11
| | |
* | | Generate any missing keys before starting synapsekaiyou2018-02-041-12/+13
| | |
* | | Allow for a wheel cache and include missing files in the buildkaiyou2018-02-041-0/+1
| | |
* | | Add template config files for the Docker imagekaiyou2018-02-032-0/+217
| | |
* | | Initial commit including a Dockerfile for synapsekaiyou2018-02-031-0/+29
| |/ |/|
* | Make clear that the config has changed since prometheus v2Krombel2017-11-143-2/+35
| | | | | | | | | | This restores the config that is usable for prometheus pre v2.0.0 The new config only works for Prometheus v2+
* | update prometheus-config to new formatKrombel2017-11-072-23/+67
| |
* | Start traditionally, stop synctlrnbdsh2017-09-241-1/+2
| | | | | | | | Starting with synctl lead to "no config file found" Stopping also leads to some (code=exited, status=1/FAILURE), but at least now we can stop the service.
* | Remove non-existing files, add stop, use synctlrnbdsh2017-09-241-2/+2
|/ | | | | | | Non-existing files, when running the suggested from https://github.com/matrix-org/synapse#configuring-synapse /etc/synapse/log_config.yaml so the --log-config leads to an error /etc/sysconfig/synapse The environment-file or even the /etc/sysconfig does not exist in arch linux Also instead of calling python2 we use synctl, as this seems to be the proper way to start it, and it gives us a more useful error in the systemctl status. And we now allow stop (and therefore restart).
* Add prometheus configRichard van der Hoff2017-08-163-0/+436
| | | | ... from https://github.com/matrix-org/synapse-prometheus-config.
* Fix some lies, and other clarifications, in docstringsRichard van der Hoff2017-04-211-10/+6
| | | | | The documentation on get_json has been wrong ever since the very first commit to synapse...
* Bring example log config into line with defaultRichard van der Hoff2017-03-131-2/+4
|
* merge in right archlinux package, thanks to @saram-kon from ↵Matthew Hodgson2017-02-281-1/+1
| | | | https://github.com/matrix-org/synapse/pull/1956
* Update example_log_config.yamlRichard van der Hoff2017-02-171-1/+1
| | | add trailing NL
* Add an example log_config fileRichard van der Hoff2017-02-171-0/+48
|
* Use signedjson.sign instead of syutil.crypto.jsonsignAndrew Shadura2017-02-131-1/+1
| | | | | | | Functions from syutil.crypto.jsonsign are now available in signedjson, so use that instead of depending on syutil. Signed-off-by: Andrew Shadura <andrew@shadura.me>
* Add environment file to systemd unit configuration.Oleg Girko2016-04-141-0/+1
| | | | | | | | | Now there is at least one environment variable that controls synapse server's behaviour: SYNAPSE_CACHE_FACTOR. So, it makes sense to make systemd unit file to use environment configuration file that can set this variable's value. Signed-off-by: Oleg Girko <ol@infoserver.lv>
* Add another graph contribErik Johnston2016-01-211-0/+151
|
* copyrightsMatthew Hodgson2016-01-076-6/+6
|
* hacky support for video for FS CC DDMatthew Hodgson2015-08-061-3/+0
|
* hacky support for video for FS CC DDMatthew Hodgson2015-08-061-15/+25
|
* contrib/systemd: log_config.yaml: do not disable existing loggersIvan Shapovalov2015-05-311-0/+2
| | | | | | | | | It turned out that merely configuring the root logger is not enough for "catch-all" semantics. The logging subsystem also needs to be told not to disable existing loggers (so that their messages will get propagated to handlers up the logging hierarchy, not just silently discarded). Signed-off-by: Ivan Shapovalov <intelfx100@gmail.com>
* minimal docMatthew Hodgson2015-04-291-0/+4
|
* contrib/systemd: add a sample systemd unit file and a logger configurationIvan Shapovalov2015-04-292-0/+35
| | | | | | | The added logger configuration (--log-config or log_config:) uses systemd's python bindings to pass messages directly to the journal. Signed-off-by: Ivan Shapovalov <intelfx100@gmail.com>
* Add kick users scriptKegan Dougal2015-04-171-0/+93
|
* potential contributing guide & author list for synapseMatthew Hodgson2015-04-031-0/+3
|
* uncommited WIP from MWCMatthew Hodgson2015-03-142-12/+15
|
* WIP vertobridge ASMatthew Hodgson2015-03-041-0/+489
|
* Fix contrib/graph/graph2.py to handle FrozenDictErik Johnston2015-02-161-1/+2
|
* Merge branch 'develop' into pushersDavid Baker2015-01-226-0/+1833
|\ | | | | | | | | Conflicts: synapse/rest/__init__.py
| * Move experiments, graph and cmdclient into contribMark Haines2015-01-226-0/+1833
| |
* | Merge branch 'master' into pushersDavid Baker2014-12-181-0/+0
|\|
| * Remove editor junkPaul "LeoNerd" Evans2014-12-021-0/+0
| |
| * Add non-working jitsi meet bridgeDavid Baker2014-12-0210-0/+5488
| |
| * fix IO::Async abuse - thanks leoMatthew Hodgson2014-12-021-9/+11
| |
| * ignore rogue matrix call events; support verto.media RPC as a horrible hack; ↵Matthew Hodgson2014-12-023-21/+33
| | | | | | | | fix NA::Matrix dep
| * clean up a vertobot a bitMatthew Hodgson2014-12-022-5/+0
| |
| * a simple matrix->verto bot, distantly related to the irc bridgeMatthew Hodgson2014-12-025-0/+546
|
* convert to spaces before I start a holy warDavid Baker2014-12-021-205/+205
|
* Add non-working jitsi meet bridgeDavid Baker2014-12-0210-0/+5488
|
* fix IO::Async abuse - thanks leoMatthew Hodgson2014-11-281-9/+11
|
* ignore rogue matrix call events; support verto.media RPC as a horrible hack; ↵Matthew Hodgson2014-11-283-21/+33
| | | | fix NA::Matrix dep
* clean up a vertobot a bitMatthew Hodgson2014-11-282-5/+0
|
* a simple matrix->verto bot, distantly related to the irc bridgeMatthew Hodgson2014-11-285-0/+546