summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Use `send_cors`Will Hunt2018-12-101-4/+1
|
* changelog & isortWill Hunt2018-12-092-1/+6
|
* Make /config more CORS-yWill Hunt2018-12-091-1/+3
|
* Initialise user displayname from SAML2 data (#4272)Richard van der Hoff2018-12-076-15/+39
| | | | | When we register a new user from SAML2 data, initialise their displayname correctly.
* Update the example systemd config to use a virtualenv (#4273)Richard van der Hoff2018-12-073-22/+32
| | | | | 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.
* Implement SAML2 authentication (#4267)Richard van der Hoff2018-12-079-2/+258
| | | | | | | | | | | This implements both a SAML2 metadata endpoint (at `/_matrix/saml2/metadata.xml`), and a SAML2 response receiver (at `/_matrix/saml2/authn_response`). If the SAML2 response matches what's been configured, we complete the SSO login flow by redirecting to the client url (aka `RelayState` in SAML2 jargon) with a login token. What we don't yet have is anything to build a SAML2 request and redirect the user to the identity provider. That is left as an exercise for the reader.
* Factor SSO success handling out of CAS login (#4264)Richard van der Hoff2018-12-075-32/+184
| | | | This is mostly factoring out the post-CAS-login code to somewhere we can reuse it for other SSO flows, but it also fixes the userid mapping while we're at it.
* Rip out half-implemented m.login.saml2 support (#4265)Richard van der Hoff2018-12-067-169/+4
| | | | | | | | | | | | | * Rip out half-implemented m.login.saml2 support This was implemented in an odd way that left most of the work to the client, in a way that I really didn't understand. It's going to be a pain to maintain, so let's start by ripping it out. * drop undocumented dependency on dateutil It turns out we were relying on dateutil being pulled in transitively by pysaml2. There's no need for that bloat.
* drop undocumented dependency on dateutil (#4266)Richard van der Hoff2018-12-062-7/+7
| | | | It turns out we were relying on dateutil being pulled in transitively by pysaml2. There's no need for that bloat.
* Implement .well-known handling (#4262)Richard van der Hoff2018-12-055-0/+140
| | | | Sometimes it's useful for synapse to generate its own .well-known file.
* Merge pull request #4260 from matrix-org/rav/python3Richard van der Hoff2018-12-043-53/+82
|\ | | | | Notes on upgrading to python3, and README updates.
| * Notes on upgrading to python3, and README updates.Richard van der Hoff2018-12-043-53/+82
| |
* | Merge pull request #4261 from matrix-org/rav/docker/remove_log_fileRichard van der Hoff2018-12-042-3/+2
|\ \ | | | | | | Remove obsolete settings from docker homeserver.yaml
| * | Remove obsolete settings from docker homeserver.yamlRichard van der Hoff2018-12-042-3/+2
| |/ | | | | | | These aren't used, because we have a `log_config` setting.
* | Merge pull request #4005 from matrix-org/michaelkaye/move_to_docker_labelRichard van der Hoff2018-12-041-8/+4
|\ \ | |/ |/| Use labels to tag builds with their SHA1 version.
| * Use labels to tag builds with their SHA1 version.Michael Kaye2018-10-041-8/+4
| | | | | | | | | | The additional sha1 tagged builds in docker hub are messy, so instead tag the build with the SHA1 version.
* | Add an option to enable recording IPs for appservice users (#3831)Travis Ralston2018-12-043-9/+26
| |
* | Fix non-ASCII pushrules (#4248)Amber Brown2018-12-042-12/+24
| |
* | Merge pull request #4210 from axelsimon/patch-1Richard van der Hoff2018-12-041-2/+2
|\ \ | | | | | | Replace mentions of Vector with Riot
| * | Replace mentions of Vector with Riotaxel simon2018-11-201-2/+2
| | | | | | | | | | | | https://github.com/vector-im/vector-web/issues/1977 --> https://github.com/vector-im/riot-web/issues/1977 And mention of Vector as a client replaced with Riot.
* | | Add an option to disable search for homeservers which may not be interested ↵Travis Ralston2018-12-044-1/+21
| | | | | | | | | | | | | | | | | | in it (#4230) This is useful for homeservers not intended for users, such as bot-only homeservers or ones that only process IoT data.
* | | Add note to UPGRADE.rst about removing riot.im from list of trusted identity ↵Aaron Raimist2018-12-042-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | servers (#4224) * Add note to UPGRADE.rst about removing riot.im from list of trusted identity servers Signed-off-by: Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | add more detail to logging regarding "More than one row matched" error (#4234)Ben Parsons2018-12-042-6/+7
| | |
* | | Fix UnicodeDecodeError when postgres is not configured in english (#4253)Richard van der Hoff2018-12-043-8/+47
| | | | | | | | | | | | This is a bit of a half-assed effort at fixing https://github.com/matrix-org/synapse/issues/4252. Fundamentally the right answer is to drop support for Python 2.
* | | Merge pull request #4244 from aaronraimist/drop-sent-txtRichard van der Hoff2018-12-047-74/+4
|\ \ \ | | | | | | | | Drop sent_transactions
| * | | Add changelogAaron Raimist2018-12-011-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
| * | | Drop sent_transactionsAaron Raimist2018-12-016-74/+3
| | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | Patch defer.inlineCallbacks to check logcontexts in tests (#4205)Richard van der Hoff2018-12-044-3/+99
| | | |
* | | | Merge pull request #4250 from matrix-org/hawkowl/pusher-remove-py3Richard van der Hoff2018-12-042-1/+2
|\ \ \ \ | | | | | | | | | | Fix removing pushers on python 3
| * | | | changelogAmber Brown2018-12-031-0/+1
| | | | |
| * | | | fix type errorAmber Brown2018-12-031-1/+1
| | | | |
* | | | | Merge pull request #4257 from aaronraimist/add-editorconfigRichard van der Hoff2018-12-043-0/+11
|\ \ \ \ \ | | | | | | | | | | | | Add a basic .editorconfig
| * | | | | Add a basic .editorconfigAaron Raimist2018-12-033-0/+11
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* / / / / Run the AS senders as background processes (#4189)Richard van der Hoff2018-12-042-12/+26
|/ / / / | | | | | | | | | | | | This should fix some "Starting db connection from sentinel context" warnings, and will mean we get metrics for these processes.
* / / / Workaround for non-ascii event ids (#4241)Richard van der Hoff2018-12-032-1/+4
|/ / / | | | | | | | | | | | | | | | It turns out that we accept events with non-ascii IDs, which would later cause an explosion during state res. Fixes #4226
* | | Neilj/fix autojoin (#4223)Neil Johnson2018-11-285-3/+36
| | | | | | | | | | | | | | | | | | * Fix auto join failures for servers that require user consent * Fix auto join failures for servers that require user consent
* | | Report combined coverage to codecov (#4225)Amber Brown2018-11-283-17/+23
| | |
* | | Neilj/fix mau initial reserved users (#4211)Neil Johnson2018-11-282-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * fix transaction wrapping bug that caused get_user_id_by_threepid_txn to fail * towncrier * white space
* | | Support m.login.sso (#4220)Richard van der Hoff2018-11-275-52/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clean up the CSS for the fallback login form I was finding this hard to work with, so simplify a bunch of things. Each flow is now a form inside a div of class login_flow. The login_flow class now has a fixed width, as that looks much better than each flow having a differnt width. * Support m.login.sso MSC1721 renames m.login.cas to m.login.sso. This implements the change (retaining support for m.login.cas for older clients). * changelog
* | | Check logcontexts before and after each test (#4190)Richard van der Hoff2018-11-273-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add better diagnostics to flakey keyring test * fix interpolation fail * Check logcontexts before and after each test * update changelog * update changelog
* | | Fix more logcontext leaks in tests (#4209)Richard van der Hoff2018-11-272-1/+3
| | |
* | | Do a GC after each test to fix logcontext leaks (#4227)Richard van der Hoff2018-11-273-3/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Some words about garbage collections and logcontexts * Do a GC after each test to fix logcontext leaks This feels like an awful hack, but... * changelog
* | | Merge pull request #4214 from matrix-org/rav/ignore_pycacheAmber Brown2018-11-202-1/+2
|\ \ \ | | | | | | | | Ignore __pycache__ directories in schema delta dir
| * | | Ignore __pycache__ directories in schema delta dirRichard van der Hoff2018-11-202-1/+2
|/ / / | | | | | | | | | Now that we use py3, compiled python ends up in __pycache__ rather than *.pyc.
* | | Remove riot.im from the list of trusted Identity Servers in the default ↵Neil Johnson2018-11-203-2/+7
| | | | | | | | | | | | configuration (#4207)
* | | Merge pull request #4204 from matrix-org/rav/logcontext_leak_fixesRichard van der Hoff2018-11-206-7/+12
|\ \ \ | | | | | | | | Fix some logcontext leaks
| * | | changelogRichard van der Hoff2018-11-191-0/+1
| | | |
| * | | Fix logcontext leak in test_url_previewRichard van der Hoff2018-11-191-1/+2
| | | |
| * | | Fix logcontext leak in http pusher testRichard van der Hoff2018-11-191-1/+2
| | | |
| * | | Fix some tests which leaked logcontextsRichard van der Hoff2018-11-192-3/+4
| | | |
| * | | Fix logcontext leak in EmailPusherRichard van der Hoff2018-11-191-2/+3
| | | |
* | | | Merge remote-tracking branch 'origin/master' into developAmber Brown2018-11-1941-40/+62
|\ \ \ \ | | |/ / | |/| |
| * | | Merge tag 'v0.33.9' 0.34.0rc2Amber Brown2018-11-1995-969/+2846
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features -------- - Include flags to optionally add `m.login.terms` to the registration flow when consent tracking is enabled. ([\#4004](https://github.com/matrix-org/synapse/issues/4004), [\#4133](https://github.com/matrix-org/synapse/issues/4133), [\#4142](https://github.com/matrix-org/synapse/issues/4142), [\#4184](https://github.com/matrix-org/synapse/issues/4184)) - Support for replacing rooms with new ones ([\#4091](https://github.com/matrix-org/synapse/issues/4091), [\#4099](https://github.com/matrix-org/synapse/issues/4099), [\#4100](https://github.com/matrix-org/synapse/issues/4100), [\#4101](https://github.com/matrix-org/synapse/issues/4101)) Bugfixes -------- - Fix exceptions when using the email mailer on Python 3. ([\#4095](https://github.com/matrix-org/synapse/issues/4095)) - Fix e2e key backup with more than 9 backup versions ([\#4113](https://github.com/matrix-org/synapse/issues/4113)) - Searches that request profile info now no longer fail with a 500. ([\#4122](https://github.com/matrix-org/synapse/issues/4122)) - fix return code of empty key backups ([\#4123](https://github.com/matrix-org/synapse/issues/4123)) - If the typing stream ID goes backwards (as on a worker when the master restarts), the worker's typing handler will no longer erroneously report rooms containing new typing events. ([\#4127](https://github.com/matrix-org/synapse/issues/4127)) - Fix table lock of device_lists_remote_cache which could freeze the application ([\#4132](https://github.com/matrix-org/synapse/issues/4132)) - Fix exception when using state res v2 algorithm ([\#4135](https://github.com/matrix-org/synapse/issues/4135)) - Generating the user consent URI no longer fails on Python 3. ([\#4140](https://github.com/matrix-org/synapse/issues/4140), [\#4163](https://github.com/matrix-org/synapse/issues/4163)) - Loading URL previews from the DB cache on Postgres will no longer cause Unicode type errors when responding to the request, and URL previews will no longer fail if the remote server returns a Content-Type header with the chartype in quotes. ([\#4157](https://github.com/matrix-org/synapse/issues/4157)) - The hash_password script now works on Python 3. ([\#4161](https://github.com/matrix-org/synapse/issues/4161)) - Fix noop checks when updating device keys, reducing spurious device list update notifications. ([\#4164](https://github.com/matrix-org/synapse/issues/4164)) Deprecations and Removals ------------------------- - The disused and un-specced identicon generator has been removed. ([\#4106](https://github.com/matrix-org/synapse/issues/4106)) - The obsolete and non-functional /pull federation endpoint has been removed. ([\#4118](https://github.com/matrix-org/synapse/issues/4118)) - The deprecated v1 key exchange endpoints have been removed. ([\#4119](https://github.com/matrix-org/synapse/issues/4119)) - Synapse will no longer fetch keys using the fallback deprecated v1 key exchange method and will now always use v2. ([\#4120](https://github.com/matrix-org/synapse/issues/4120)) Internal Changes ---------------- - Fix build of Docker image with docker-compose ([\#3778](https://github.com/matrix-org/synapse/issues/3778)) - Delete unreferenced state groups during history purge ([\#4006](https://github.com/matrix-org/synapse/issues/4006)) - The "Received rdata" log messages on workers is now logged at DEBUG, not INFO. ([\#4108](https://github.com/matrix-org/synapse/issues/4108)) - Reduce replication traffic for device lists ([\#4109](https://github.com/matrix-org/synapse/issues/4109)) - Fix `synapse_replication_tcp_protocol_*_commands` metric label to be full command name, rather than just the first character ([\#4110](https://github.com/matrix-org/synapse/issues/4110)) - Log some bits about room creation ([\#4121](https://github.com/matrix-org/synapse/issues/4121)) - Fix `tox` failure on old systems ([\#4124](https://github.com/matrix-org/synapse/issues/4124)) - Add STATE_V2_TEST room version ([\#4128](https://github.com/matrix-org/synapse/issues/4128)) - Clean up event accesses and tests ([\#4137](https://github.com/matrix-org/synapse/issues/4137)) - The default logging config will now set an explicit log file encoding of UTF-8. ([\#4138](https://github.com/matrix-org/synapse/issues/4138)) - Add helpers functions for getting prev and auth events of an event ([\#4139](https://github.com/matrix-org/synapse/issues/4139)) - Add some tests for the HTTP pusher. ([\#4149](https://github.com/matrix-org/synapse/issues/4149)) - add purge_history.sh and purge_remote_media.sh scripts to contrib/ ([\#4155](https://github.com/matrix-org/synapse/issues/4155)) - HTTP tests have been refactored to contain less boilerplate. ([\#4156](https://github.com/matrix-org/synapse/issues/4156)) - Drop incoming events from federation for unknown rooms ([\#4165](https://github.com/matrix-org/synapse/issues/4165))
| | * | | towncrier v0.33.9Amber Brown2018-11-191-0/+6
| | | | |
| | * | | versionAmber Brown2018-11-191-1/+1
| | | | |
| | * | | release 0.33.9rc1 v0.33.9rc1 github/release-v0.33.9 release-v0.33.9Neil Johnson2018-11-1441-40/+56
| | | | |
* | | | | Fix fallback auth on Python 3 (#4197)Amber Brown2018-11-193-22/+121
| |_|/ / |/| | |
* | | | Merge pull request #4182 from aaronraimist/update-issue-templateRichard van der Hoff2018-11-196-10/+57
|\ \ \ \ | | | | | | | | | | Add a pull request template and add multiple issue templates
| * | | | Fix caseAaron Raimist2018-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
| * | | | Add SUPPORT.mdAaron Raimist2018-11-131-0/+3
| | | | | | | | | | | | | | | | | | | | https://help.github.com/articles/adding-support-resources-to-your-project/
| * | | | Add changelogAaron Raimist2018-11-131-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
| * | | | Add a pull request template and add multiple issue templatesAaron Raimist2018-11-134-10/+53
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | | Merge pull request #4200 from aaronraimist/vacuum-full-noteRichard van der Hoff2018-11-192-0/+9
|\ \ \ \ \ | | | | | | | | | | | | Add a note saying you need to manually reclaim disk space
| * | | | | Add changelogAaron Raimist2018-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
| * | | | | Add a note saying you need to manually reclaim disk spaceAaron Raimist2018-11-181-0/+8
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | People keep asking why their database hasn't gotten smaller after using this API. Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | | Merge pull request #4193 from kivikakk/add-openbsd-prereqAmber Brown2018-11-172-1/+2
|\ \ \ \ \ | | | | | | | | | | | | add jpeg to OpenBSD prereq list
| * | | | | add changelog.d entryAshe Connor2018-11-171-0/+1
| | | | | |
| * | | | | add jpeg to OpenBSD prereq listAshe Connor2018-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ashe Connor <ashe@kivikakk.ee>
* | | | | | Merge pull request #4192 from matrix-org/travis/fix-consent-urlsTravis Ralston2018-11-164-4/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Remove duplicate slashes in generated consent URLs
| * | | | | Fix the terms UI auth testsTravis Ralston2018-11-151-1/+1
| | | | | | | | | | | | | | | | | | By setting the config value directly, we skip the block that adds the slash automatically for us.
| * | | | | ChangelogTravis Ralston2018-11-151-0/+1
| | | | | |
| * | | | | Remove duplicate slashes in generated consent URLsTravis Ralston2018-11-152-3/+3
|/ / / / /
* | | | | Fix Content-Disposition in media repository (#4176)Amber Brown2018-11-156-90/+271
| | | | |
* | | | | Add option to track MAU stats (but not limit people) (#3830)Travis Ralston2018-11-157-35/+92
| | | | |
* | | | | Use <meta> tags to discover the per-page encoding of html previews (#4183)Amber Brown2018-11-153-9/+100
| | | | |
* | | | | Add a coveragerc (#4180)Amber Brown2018-11-154-2/+27
| | | | |
* | | | | Merge pull request #4188 from matrix-org/rav/readme-update-1Neil Johnson2018-11-152-3/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | Update README for #1491 fix
| * | | | Update README for #1491 fixRichard van der Hoff2018-11-152-3/+5
|/ / / /
* | | | Merge pull request #4184 from matrix-org/rav/fix_public_consentRichard van der Hoff2018-11-143-5/+16
|\ \ \ \ | | | | | | | | | | Fix an internal server error when viewing the public privacy policy
| * | | | changelogRichard van der Hoff2018-11-141-0/+1
| | | | |
| * | | | Add a test for the public T&Cs formRichard van der Hoff2018-11-142-1/+8
| | | | |
| * | | | Fix an internal server error when viewing the public privacy policyRichard van der Hoff2018-11-141-4/+7
|/ / / /
* | | | Merge pull request #4113 from matrix-org/dbkr/e2e_backup_versions_are_numbersDavid Baker2018-11-143-2/+71
|\ \ \ \ | | | | | | | | | | Make e2e backup versions numeric in the DB
| * \ \ \ Merge remote-tracking branch 'origin/develop' into ↵David Baker2018-11-09140-758/+2475
| |\ \ \ \ | | | | | | | | | | | | | | | | | | dbkr/e2e_backup_versions_are_numbers
| * | | | | pep8David Baker2018-11-091-1/+2
| | | | | |
| * | | | | add docsDavid Baker2018-11-091-1/+4
| | | | | |
| * | | | | Remove unnecessary str()David Baker2018-11-091-1/+1
| | | | | |
| * | | | | Cast to int here tooDavid Baker2018-10-301-0/+5
| | | | | |
| * | | | | Cast bacjup version to int when queryingDavid Baker2018-10-301-1/+6
| | | | | |
| * | | | | Convert version back to a stringDavid Baker2018-10-301-0/+1
| | | | | |
| * | | | | news fragmentDavid Baker2018-10-301-0/+1
| | | | | |
| * | | | | Try & make it work on postgresDavid Baker2018-10-301-2/+2
| | | | | |
| * | | | | Make e2e backup versions numeric in the DBDavid Baker2018-10-293-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were doing max(version) which does not do what we wanted on a column of type TEXT.
* | | | | | Merge pull request #4166 from matrix-org/erikj/drop_unknown_eventsErik Johnston2018-11-093-89/+75
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Drop incoming events from federation for unknown rooms
| * | | | | Remove hack to support rejoining roomsErik Johnston2018-11-091-74/+42
| | | | | |
| * | | | | Simplify to always drop events if server isn't in the roomErik Johnston2018-11-091-14/+9
| | | | | |
| * | | | | Update synapse/federation/federation_server.pyRichard van der Hoff2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re>
| * | | | | Update synapse/federation/federation_server.pyRichard van der Hoff2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re>
| * | | | | NewsfileErik Johnston2018-11-081-0/+1
| | | | | |
| * | | | | Drop PDUs of unknown roomsErik Johnston2018-11-081-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we receive events over federation we will need to know the room version to be able to correctly handle them, e.g. once we start changing event formats. Currently, we attempt to handle events in unknown rooms.
* | | | | | Merge pull request #4168 from ↵Brendan Abolivier2018-11-091-2/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/babolivier/federation-client-content-type Add a Content-Type header on POST requests to the federation client script
| * | | | | | Add a Content-Type header on POST requests to the federation clientBrendan Abolivier2018-11-091-2/+7
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #4164 from matrix-org/erikj/fix_device_comparisonErik Johnston2018-11-083-1/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix noop checks when updating device keys
| * | | | | | Add test to assert set_e2e_device_keys correctly returns False on no-opErik Johnston2018-11-081-0/+15
| | | | | | |
| * | | | | | Lets convert bytes to unicode insteadErik Johnston2018-11-081-5/+3
| | | | | | |
| * | | | | | NewsfileErik Johnston2018-11-081-0/+1
| | | | | | |
| * | | | | | Fix noop checks when updating device keysErik Johnston2018-11-081-0/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clients often reupload their device keys (for some reason) so its important for the server to check for no-ops before sending out device list update notifications. The check is broken in python 3 due to the fact comparing bytes and unicode always fails, and that we write bytes to the DB but get unicode when we read.
* | | | | | Merge pull request #4163 from matrix-org/rav/fix_consent_on_py3Richard van der Hoff2018-11-083-6/+8
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fix encoding error for consent form on python3
| * | | | | fix parse_string docstringRichard van der Hoff2018-11-081-5/+4
| | | | | |
| * | | | | changelogRichard van der Hoff2018-11-081-0/+1
| | | | | |
| * | | | | Fix encoding error for consent form on python3hera2018-11-081-1/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | The form was rendering this as "b'01234....'". -- richvdh
* | | | | Port hash_password to Python 3 (#4161)Amber Brown2018-11-083-8/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * port hash_password * changelog
* | | | | Fix URL preview bugs (type error when loading cache from db, content-type ↵Amber Brown2018-11-085-10/+187
| | | | | | | | | | | | | | | | | | | | including quotes) (#4157)
* | | | | Merge pull request #4155 from rubo77/purge-apiRichard van der Hoff2018-11-074-0/+212
|\ \ \ \ \ | | | | | | | | | | | | add purge_history.sh and purge_remote_media.sh scripts
| * | | | | add purge_history.sh and purge_remote_media.sh scripts to contrib/purge_api/rubo772018-11-074-0/+212
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ruben Barkow <github@r.z11.de>
* | | | | | Remove some boilerplate in tests (#4156)Amber Brown2018-11-0711-216/+162
|/ / / / /
* | | | | Add config variables for enabling terms auth and the policy name (#4142)Travis Ralston2018-11-0610-11/+65
| | | | | | | | | | | | | | | | | | | | So people can still collect consent the old way if they want to.
* | | | | handle empty backups according to latest spec proposal (#4123)Hubert Chathi2018-11-054-52/+71
| | | | | | | | | | | | | | | fixes #4056
* | | | | Tests for user consent resource (#4140)Amber Brown2018-11-065-6/+140
| | | | |
* | | | | Add some tests for the HTTP pusher (#4149)Amber Brown2018-11-062-0/+160
| | | | |
* | | | | Add helpers for getting prev and auth events (#4139)Erik Johnston2018-11-0610-45/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add helpers for getting prev and auth events This is in preparation for allowing the event format to change between room versions.
* | | | | Set the encoding to UTF8 in the default logconfig (#4138)Amber Brown2018-11-032-0/+2
| | | | |
* | | | | Merge pull request #4137 from matrix-org/erikj/clean_up_eventsErik Johnston2018-11-026-10/+8
|\ \ \ \ \ | | | | | | | | | | | | Clean up event accesses and tests
| * | | | | NewsfileErik Johnston2018-11-021-0/+1
| | | | | |
| * | | | | Clean up event accesses and testsErik Johnston2018-11-025-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation to refactor FrozenEvent to support different event formats for different room versions
* | | | | | Fix typing being reset causing infinite syncs (#4127)Amber Brown2018-11-035-5/+155
| | | | | |
* | | | | | Merge pull request #4132 from matrix-org/rav/fix_device_list_lockingRichard van der Hoff2018-11-024-11/+129
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix locked upsert on device_lists_remote_cache
| * | | | | | changelogRichard van der Hoff2018-11-021-0/+1
| | | | | | |
| * | | | | | Add unique indexes to a couple of tablesRichard van der Hoff2018-11-023-6/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The indexes on device_lists_remote_extremeties can be unique, and they therefore should, to ensure that the db remains consistent.
| * | | | | | Remove redundant database locks for device list updatesRichard van der Hoff2018-11-021-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We can rely on the application-level per-user linearizer.
* | | | | | | Merge pull request #4133 from matrix-org/travis/fix-terms-authRichard van der Hoff2018-11-022-1/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix logic error that prevented guests from seeing the privacy policy
| * | | | | | | ChangelogTravis Ralston2018-11-011-0/+1
| | | | | | | |
| * | | | | | | Fix logic error that prevented guests from seeing the privacy policyTravis Ralston2018-11-011-1/+1
| | | | | | | |
* | | | | | | | Merge pull request #4135 from matrix-org/erikj/fix_state_res_noneErik Johnston2018-11-023-2/+103
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Fix None exception in state res v2
| * | | | | | | NewsfileErik Johnston2018-11-021-0/+1
| | | | | | | |
| * | | | | | | Fix None exception in state res v2Erik Johnston2018-11-022-2/+102
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #3778 from z3ntu/patch-1Richard van der Hoff2018-11-012-2/+5
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Fix build of Docker image with docker-compose
| * | | | | | changelog.d entry somehow got lostLuca Weiss2018-09-111-0/+1
| | | | | | |
| * | | | | | Fix build of Docker image with docker-composeLuca Weiss2018-09-111-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and fix a typo
* | | | | | | Merge pull request #4004 from matrix-org/travis/login-termsTravis Ralston2018-11-019-27/+277
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Add m.login.terms to the registration flow
| * | | | | | The tests also need a version parameter Travis Ralston2018-10-311-1/+1
| | | | | | |
| * | | | | | Include a version query string arg for the consent routeTravis Ralston2018-10-312-3/+8
| | | | | | |
| * | | | | | Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-3191-1262/+2561
| |\ \ \ \ \ \
| * | | | | | | pep8Travis Ralston2018-10-242-6/+3
| | | | | | | |
| * | | | | | | It helps to import thingsTravis Ralston2018-10-241-0/+16
| | | | | | | |
| * | | | | | | Move test to where the other integration tests areTravis Ralston2018-10-242-97/+109
| | | | | | | |
| * | | | | | | Fix testTravis Ralston2018-10-241-25/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Debug tests Try printing the channel fix Import and use six Remove debugging Disable captcha Add some mocks Define the URL Fix the clock? Less rendering? use the other render Complete the dummy auth stage Fix last stage of the test Remove mocks we don't need
| * | | | | | | Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-2490-971/+2312
| |\ \ \ \ \ \ \
| * | | | | | | | Fix terms UI auth testTravis Ralston2018-10-181-2/+5
| | | | | | | | |
| * | | | | | | | Test for terms UI authTravis Ralston2018-10-181-0/+70
| | | | | | | | |
| * | | | | | | | Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-1843-163/+308
| |\ \ \ \ \ \ \ \
| * | | | | | | | | pep8Travis Ralston2018-10-153-14/+3
| | | | | | | | | |
| * | | | | | | | | Ensure the terms params are actually providedTravis Ralston2018-10-151-0/+1
| | | | | | | | | |
| * | | | | | | | | Python is hardTravis Ralston2018-10-151-5/+6
| | | | | | | | | |
| * | | | | | | | | Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-1513-3/+1447
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Update login terms structure for the proposed language supportTravis Ralston2018-10-121-4/+7
| | | | | | | | | | |
| * | | | | | | | | | Rely on the lack of ?u to represent public accessTravis Ralston2018-10-122-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also general cleanup
| * | | | | | | | | | Update documentation and templates for new consentTravis Ralston2018-10-122-10/+18
| | | | | | | | | | |
| * | | | | | | | | | Merge branch 'develop' into travis/login-termsTravis Ralston2018-10-1285-190/+313
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | ChangelogTravis Ralston2018-10-031-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Use a flag rather than a new route for the public policyTravis Ralston2018-10-033-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also means that the template now has optional parameters, which will need to be documented somehow.
| * | | | | | | | | | | Auto-consent to the privacy policy if the user registered with termsTravis Ralston2018-10-031-0/+6
| | | | | | | | | | | |
| * | | | | | | | | | | Make the terms flow requriedTravis Ralston2018-10-031-4/+4
| | | | | | | | | | | |
| * | | | | | | | | | | Flesh out the fallback auth for termsTravis Ralston2018-10-031-7/+67
| | | | | | | | | | | |
| * | | | | | | | | | | Supply params for terms auth stageTravis Ralston2018-10-031-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://github.com/matrix-org/matrix-doc/pull/1692
| * | | | | | | | | | | Incorporate Dave's work for GDPR login flowsTravis Ralston2018-10-034-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://github.com/vector-im/riot-web/issues/7168#issuecomment-419996117
* | | | | | | | | | | | Merge pull request #4128 from matrix-org/erikj/state_res_v2_versionErik Johnston2018-11-013-2/+8
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Add STATE_V2_TEST room version
| * | | | | | | | | | | | NewsfileErik Johnston2018-11-011-0/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add STATE_V2_TEST room versionErik Johnston2018-11-012-2/+7
| | |_|_|_|_|/ / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' into developAmber Brown2018-11-0131-31/+64
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | / / / / | | |_|_|_|_|_|/ / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'release-v0.33.8'Amber Brown2018-11-01108-1814/+4145
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | changelog v0.33.8 github/release-v0.33.8 release-v0.33.8Amber Brown2018-11-011-0/+6
| | | | | | | | | | | |
| | * | | | | | | | | | versionAmber Brown2018-11-011-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | changelog v0.33.8rc2Amber Brown2018-10-312-1/+10
| | | | | | | | | | | |
| | * | | | | | | | | | version bumpAmber Brown2018-10-311-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Fix search 500ing (#4122)Amber Brown2018-10-313-3/+112
| | | | | | | | | | | |
| | * | | | | | | | | | changelog v0.33.8rc1Amber Brown2018-10-2930-30/+47
| | | | | | | | | | | |
| | * | | | | | | | | | version bumpAmber Brown2018-10-291-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #4101 from matrix-org/rav/aliases_for_upgradesRichard van der Hoff2018-10-313-14/+141
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Attempt to move room aliases on room upgrades
| * | | | | | | | | | | | Avoid else clause on exception for clarityRichard van der Hoff2018-10-311-2/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | Attempt to move room aliases on room upgradesRichard van der Hoff2018-10-313-14/+142
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #4125 from MazeChaZer/fix-typo-in-docker-composeRichard van der Hoff2018-10-311-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typo in docker-compose.yml
| * | | | | | | | | | | | | Fix typo in docker-compose.ymlJonas Schürmann2018-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jonas Schürmann <jonasschuermann@aol.de>
* | | | | | | | | | | | | | Log some bits about event creation (#4121)Richard van der Hoff2018-10-313-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I found these helpful in debugging my room upgrade tests.
* | | | | | | | | | | | | | Merge pull request #4124 from matrix-org/rav/fix_toxRichard van der Hoff2018-10-313-19/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | Attempt to fix tox installs
| * | | | | | | | | | | | | changelogRichard van der Hoff2018-10-301-0/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Attempt to fix tox installsRichard van der Hoff2018-10-302-19/+14
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that, at some point, the ability to run tox on old servers (with old setuptools) got broken - and it was only working on our Jenkins instance by dint of reusing the tox environments. Let's try to get tox to do the right thing, and remove the guff from jenkins/prepare_synapse.sh. (There is a separate question about whether the jenkins builds should be using tox to prepare the virtualenv at all here, but that is somewhat orthogonal).
* | | | | | | | | | | | | Remove fetching keys via the deprecated v1 kex method (#4120)Amber Brown2018-10-313-106/+13
| | | | | | | | | | | | |
* | | | | | | | | | | | | Remove deprecated v1 key exchange endpoint (#4119)Amber Brown2018-10-315-113/+2
| | | | | | | | | | | | |
* | | | | | | | | | | | | Fix search 500ing (#4122)Amber Brown2018-10-313-3/+112
| | | | | | | | | | | | |
* | | | | | | | | | | | | Remove the unused /pull federation API (#4118)Amber Brown2018-10-313-14/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #4006 from matrix-org/erikj/purge_state_groupsErik Johnston2018-10-305-48/+138
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delete unreferenced state groups during purge
| * | | | | | | | | | | | | Move _find_unreferenced_groupsErik Johnston2018-10-292-81/+83
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Fix set operations thinkoErik Johnston2018-10-291-3/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Don't make temporary listErik Johnston2018-10-291-3/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Make SQL a bit cleanerErik Johnston2018-10-291-3/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-10-26115-1683/+3799
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | erikj/purge_state_groups
| * | | | | | | | | | | | | pep8Erik Johnston2018-10-191-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-10-1970-301/+2020
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/purge_state_groups
| * | | | | | | | | | | | | | Batch process handling state groupsErik Johnston2018-10-192-101/+92
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Fix up commentsErik Johnston2018-10-121-3/+3
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | NewsfileErik Johnston2018-10-041-0/+1
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Add state_group index to event_to_state_groupsErik Johnston2018-10-043-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to efficiently check for unreferenced state groups during purge.
| * | | | | | | | | | | | | | Delete unreferened state groups during purgeErik Johnston2018-10-042-6/+77
| | |_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Write some tests for the email pusher (#4095)Amber Brown2018-10-3010-13/+182
| |_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #4109 from matrix-org/erikj/repl_devicesErik Johnston2018-10-292-1/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of replication fixes for device lists
| * | | | | | | | | | | | | NewsfileErik Johnston2018-10-291-0/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Deduplicate device updates sent over replicationErik Johnston2018-10-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently send several kHz of device list updates over replication occisonally, which often causes the replications streams to lag and then get dropped. A lot of those updates will actually be duplicates, since we don't send e.g. device_ids across replication, so let's deduplicate it when we pull them out of the database.
* | | | | | | | | | | | | | Merge pull request #4111 from matrix-org/erikj/repl_namesErik Johnston2018-10-292-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Erikj/repl names
| * | | | | | | | | | | | | | NewsfileErik Johnston2018-10-291-0/+1
| |/ / / / / / / / / / / / /
| * / / / / / / / / / / / / Don't truncate command name in metricsErik Johnston2018-10-291-2/+2
|/ / / / / / / / / / / / /
* | | | / / / / / / / / / Delete the disused & unspecced identicon functionality (#4106)Amber Brown2018-10-296-113/+1
| |_|_|/ / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #4100 from matrix-org/rav/room_upgrade_avatarRichard van der Hoff2018-10-292-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Remember to copy the avatar on room upgrades
| * | | | | | | | | | | | Remember to copy the avatar on room upgradesRichard van der Hoff2018-10-262-1/+3
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #4099 from matrix-org/rav/upgrade_odd_plsRichard van der Hoff2018-10-292-44/+82
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better handling of odd PLs during room upgrades
| * | | | | | | | | | | | | Better handling of odd PLs during room upgradesRichard van der Hoff2018-10-272-44/+82
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes handling of rooms where we have permission to send the tombstone, but not other state. We need to (a) fail more gracefully when we can't send the PLs in the old room, and (b) not set the PLs in the new room until we are done with the other stuff.
* | | | | | | | | | | | | Merge pull request #4091 from matrix-org/rav/room_version_upgradesRichard van der Hoff2018-10-299-47/+325
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Room version upgrade support
| * | | | | | | | | | | | optimise state copyingRichard van der Hoff2018-10-261-7/+5
| | | | | | | | | | | | |
| * | | | | | | | | | | | Address review commentsRichard van der Hoff2018-10-262-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve comments, get old room state from the context we already have
| * | | | | | | | | | | | fix broken testRichard van der Hoff2018-10-251-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test stubbed out some stuff in a very weird way. I have no idea why. It broke.
| * | | | | | | | | | | | changelogRichard van der Hoff2018-10-251-0/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | restrict PLs in old roomRichard van der Hoff2018-10-251-1/+43
| | | | | | | | | | | | |
| * | | | | | | | | | | | copy stateRichard van der Hoff2018-10-251-11/+26
| | | | | | | | | | | | |
| * | | | | | | | | | | | preserve PLsRichard van der Hoff2018-10-251-1/+7
| | | | | | | | | | | | |
| * | | | | | | | | | | | preserve room visibilityRichard van der Hoff2018-10-252-4/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | Basic initial support for room upgradesRichard van der Hoff2018-10-255-0/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently just creates a new, empty, room, and sends a tombstone in the old room.
| * | | | | | | | | | | | Allow power_level_content_override=None for _send_events_for_new_roomRichard van der Hoff2018-10-251-5/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | Make room_member_handler a member of RoomCreationHandlerRichard van der Hoff2018-10-252-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... to save passing it into `_send_events_for_new_room`
| * | | | | | | | | | | | Factor _generate_room_id out of create_roomRichard van der Hoff2018-10-251-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we're going to need this for room upgrades.
* | | | | | | | | | | | | Make the replication logger quieter (#4108)Amber Brown2018-10-292-1/+2
| |_|_|/ / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Port register_new_matrix_user to Python 3 and add tests (#4085)Amber Brown2018-10-266-202/+378
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #4089 from dekonnection/masterRichard van der Hoff2018-10-252-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | Make Docker image listen on ipv6 as well as ipv4
| * | | | | | | | | | | Make Docker image listening on ipv6 as well as ipv4Cédric Laudrel2018-10-252-2/+3
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Cédric Laudrel <dek@iono.me>
* | | | | | | | | | | Refactor state group lookup to reduce DB hits (#4011)Erik Johnston2018-10-2511-485/+714
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when fetching state groups from the data store we make two hits two the database: once for members and once for non-members (unless request is filtered to one or the other). This adds needless load to the datbase, so this PR refactors the lookup to make only a single database hit.
* | | | | | | | | | | Merge remote-tracking branch 'origin/master' into developRichard van der Hoff2018-10-252-2/+12
|\| | | | | | | | | |
| * | | | | | | | | | Merge pull request #4072 from steamp0rt/patch-1Richard van der Hoff2018-10-232-2/+12
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add Caddy example to README
| | * | | | | | | | | | README.rst: fix minor grammarRichard van der Hoff2018-10-221-3/+3
| | | | | | | | | | | |
| | * | | | | | | | | | Whoops!steamport2018-10-191-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | I HATE RSTsteamport2018-10-191-0/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Fixsteamport2018-10-191-3/+4
| | | | | | | | | | | |
| | * | | | | | | | | | Fix formatting.steamport2018-10-191-0/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Add CLsteamport2018-10-191-0/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Add Caddy example to READMEsteamport2018-10-191-0/+6
| |/ / / / / / / / / /
* | | | | | | | | | | Merge pull request #4051 from matrix-org/erikj/alias_disallow_listErik Johnston2018-10-258-15/+256
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add config option to control alias creation
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-10-2591-948/+2364
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | erikj/alias_disallow_list
| * | | | | | | | | | | | Use allow/denyErik Johnston2018-10-253-11/+11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Use match rather than searchErik Johnston2018-10-241-2/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add tests for alias creation rulesErik Johnston2018-10-191-0/+48
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add tests for config generationErik Johnston2018-10-191-0/+67
| | | | | | | | | | | | |
| * | | | | | | | | | | | Anchor returned regex to start and end of stringErik Johnston2018-10-191-2/+6
| | | | | | | | | | | | |