summary refs log tree commit diff
path: root/demo (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix Shellcheck SC2129: Consider using {..} >> fileDan Callahan2021-10-221-60/+63
| | | | | | | | Consider using { cmd1; cmd2; } >> file instead of individual redirects. https://github.com/koalaman/shellcheck/wiki/SC2129 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC2086: Quote to prevent splittingDan Callahan2021-10-223-29/+29
| | | | | | | | Double quote to prevent globbing and word splitting. https://github.com/koalaman/shellcheck/wiki/SC2086 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC1001: Meaningless char escapesDan Callahan2021-10-221-1/+1
| | | | | | | | This \o will be a regular 'o' in this context. https://github.com/koalaman/shellcheck/wiki/SC1001 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC2155: Declare + export separatelyDan Callahan2021-10-221-1/+2
| | | | | | | | Declare and assign separately to avoid masking return values. https://github.com/koalaman/shellcheck/wiki/SC2155 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC2115: Ensure never expands to /*Dan Callahan2021-10-221-2/+2
| | | | | | | | Use "${var:?}" to ensure this never expands to /* . https://github.com/koalaman/shellcheck/wiki/SC2115 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC2046: Quote to prevent word splitDan Callahan2021-10-221-1/+1
| | | | | | | | Quote this to prevent word splitting https://www.shellcheck.net/wiki/SC2046 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC2164: exit in case cd fails.Dan Callahan2021-10-221-4/+4
| | | | | | | | Use `cd ... || exit` in case cd fails. https://github.com/koalaman/shellcheck/wiki/SC2164 Signed-off-by: Dan Callahan <danc@element.io>
* Handle all new rate limits in demo scripts (#9858)manuroe2021-04-221-12/+42
|
* Use interpreter from $PATH instead of absolute paths in various scripts ↵Quentin Gliech2021-03-253-3/+3
| | | | | | | | | 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>
* Remove broken and unmaintained 'webserver.py' script (#9039)Richard van der Hoff2021-01-081-59/+0
| | | | | | I'm not even sure what this was supposed to do, but the fact it has python2isms and nobody has noticed suggests it's not terribly important. It doesn't seem to have been used since ff23e5ba3764506c99d9c1c640e202fe262b65ce.
* Include a public_baseurl in configs generated by the demo script. (#8443)Patrick Cloke2020-10-021-0/+2
|
* Fix demo script on ipv6-supported boxes (#6229)Andrew Morgan2019-10-221-2/+1
| | | The synapse demo was a bit flakey in terms of supporting federation. It turns out that if your computer resolved `localhost` to `::1` instead of `127.0.0.1`, the built-in federation blacklist specified in `start.sh` would still block it, since it contained an entry for `::/127`. Removing this no longer prevents Synapse from contacting `::1`, federation works again on these boxes.
* Demo uses deprecated cli option (#5725)Jorik Schellekens2019-07-221-4/+3
| | | | | | * Remove deprecated 'verbose' cli arg * Create 5725.bugfix
* Revert "Remove deprecated 'verbose' cli arg"Jorik Schellekens2019-07-191-3/+4
| | | | This reverts commit dc7cf81267e464858c74e6215184de0c634e2b26.
* Remove deprecated 'verbose' cli argJorik Schellekens2019-07-191-4/+3
|
* Run Black. (#5482)Amber Brown2019-06-201-14/+11
|
* One shot demo server startupJorik Schellekens2019-06-172-4/+70
| | | | | | | | Configure the demo servers to use untrusted tls certs so that they communicate with each other. This configuration makes them very unsafe so I've added warnings about it in the readme.
* Use python3 in the demoJorik Schellekens2019-06-141-2/+2
|
* start.sh: Fix the --no-rate-limit option for messages and make it bypass ↵manuroe2019-04-011-5/+15
| | | | rate limit on registration and login too.
* Clean up gitignores (#4688)Richard van der Hoff2019-02-201-0/+7
| | | | | I just got bitten by a file being caught by the .gitignore, which shouldn't have been, and am now pissed off with the .gitignore. I have basically declared bankruptcy on it and started again.
* Require ECDH key exchange & remove dh_params (#4429)Amber Brown2019-01-221-9/+0
| | | * remove dh_params and set better cipher string
* Don't keep appending report_stats to demo configErik Johnston2015-10-221-2/+6
|
* Enable stack traces for the demo scriptsMark Haines2015-10-131-0/+3
|
* Fix demo/start.sh to work with --report-statsErik Johnston2015-09-231-0/+1
|
* enable registration in the demo serversMark Haines2015-08-121-1/+2
|
* Fix the cleanup script to use the right $DIRMark Haines2015-08-121-2/+2
|
* Federation demo start.sh: Fixed --no-rate-limit param in the scriptmanuroe2015-06-042-10/+13
|
* Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-081-0/+1
|
* Write a default log_config when generating configMark Haines2015-04-301-2/+2
|
* Don't break when sizes or durations are given as integersMark Haines2015-04-301-3/+3
|
* Allow multiple config files, set up a default config before applying the ↵Mark Haines2015-04-301-1/+2
| | | | config files
* Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-14/+13
| | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
* Fix --enable-registration flag to work if you don't give a valueErik Johnston2015-04-071-2/+2
|
* Make demo script use --enable-registrationErik Johnston2015-04-071-1/+1
|
* Allow registration in the HSes federation demomanuroe2015-03-271-0/+1
|
* update .gitignore, set media-store-path in demoMark Haines2015-01-221-1/+2
|
* remove demo webserver since synapse serves up the webclient itselfMark Haines2014-11-191-3/+0
|
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2014-11-071-1/+1
|\ | | | | | | federation_authorization
| * Determine webclient path by the python module it is contained inMark Haines2014-11-041-1/+1
| |
* | Add option to not bind to HTTPS port. This is useful if running behind an ↵Erik Johnston2014-11-031-1/+1
|/ | | | ssl load balancer
* Added a param (--no-rate-limit) to demo/start.sh to disable the HS rate limitmanuroe2014-10-202-1/+11
|
* Make the demo listen on both HTTP and HTTPS portsErik Johnston2014-09-021-3/+5
|
* Fix homeserver config parsingMark Haines2014-09-012-2/+21
|
* Add the ability to turn on the twisted manhole telnet service.Erik Johnston2014-08-261-2/+3
|
* -w is no moreMatthew Hodgson2014-08-221-2/+1
|
* Only start event streaming after having set up the controllers.Erik Johnston2014-08-211-1/+2
|
* Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE2014-08-141-1/+24
| | | | demos/webserver.py) and client side with an angularjs service component.
* Reference Matrix Home Servermatrix.org2014-08-125-0/+115