summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* by default include m.room.encryption on invites (#3902)Matthew Hodgson2019-01-301-0/+1
| | | | | | | | * by default include m.room.encryption on invites * fix constant * changelog
* NewsfileErik Johnston2019-01-301-0/+1
|
* Merge pull request #4472 from matrix-org/neilj/room_capabilitiesErik Johnston2019-01-301-0/+1
|\ | | | | Server capabilities support
| * Merge branch 'develop' into neilj/room_capabilitiesNeil Johnson2019-01-3048-6/+42
| |\
| * | update to reflect broadening scopeNeil Johnson2019-01-291-1/+1
| | |
| * | towncrierNeil Johnson2019-01-251-0/+1
| | |
* | | Fix replication for room v3 (#4523)Erik Johnston2019-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix replication for room v3 We were not correctly quoting the path fragments over http replication, which meant that it exploded when the event IDs had a slash in them * Newsfile
* | | ACME config cleanups (#4525)Richard van der Hoff2019-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle listening for ACME requests on IPv6 addresses the weird url-but-not-actually-a-url-string doesn't handle IPv6 addresses without extra quoting. Building a string which you are about to parse again seems like a weird choice. Let's just use listenTCP, which is consistent with what we do elsewhere. * Clean up the default ACME config make it look a bit more consistent with everything else, and tweak the defaults to listen on port 80. * newsfile
* | | NewsfileErik Johnston2019-01-301-0/+1
| | |
* | | Merge pull request #4521 from matrix-org/rav/fed_routing/cleanupsRichard van der Hoff2019-01-301-0/+1
|\ \ \ | | | | | | | | Tiny .well-known fixes
| * | | newsfileRichard van der Hoff2019-01-301-0/+1
| | | |
* | | | Follow redirects on .well-known (#4520)Richard van der Hoff2019-01-301-0/+1
| | | |
* | | | SIGHUP for TLS cert reloading (#4495)Amber Brown2019-01-301-0/+1
|/ / /
* | | Add a caching layer to .well-known responses (#4516)Richard van der Hoff2019-01-301-0/+1
| | |
* | | Fix flake8 (#4519)Amber Brown2019-01-301-0/+1
| |/ |/|
* | Merge pull request #4486 from xperimental/workaround-4216Richard van der Hoff2019-01-301-0/+1
|\ \ | | | | | | Implement workaround for login error.
| * | Implement workaround for login error.Robert Jacob2019-01-301-0/+1
| | | | | | | | | | | | Signed-off-by: Robert Jacob <xperimental@solidproject.de>
* | | NewsfileErik Johnston2019-01-291-0/+1
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-01-291-0/+1
|\ \ \ | | | | | | | | | | | | erikj/redactions_eiah
| * \ \ Merge pull request #4514 from matrix-org/erikj/remove_event_idErik Johnston2019-01-291-0/+1
| |\ \ \ | | | | | | | | | | Remove usages of event ID's domain
| | * | | NewsfileErik Johnston2019-01-291-0/+1
| | | | |
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-01-2925-8/+17
|\| | | | | | | | | | | | | | | | | | | erikj/redactions_eiah
| * | | | Merge pull request #4483 from matrix-org/erikj/event_v2Erik Johnston2019-01-291-0/+1
| |\ \ \ \ | | | | | | | | | | | | Implement event format V2
| | * | | | NewsfileErik Johnston2019-01-291-0/+1
| | | | | |
| * | | | | Merge pull request #4512 from matrix-org/anoa/consent_dirAndrew Morgan2019-01-291-0/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | | Check consent dir path on startup
| | * | | | Add changelogAndrew Morgan2019-01-291-0/+1
| | | | | |
| * | | | | Relax requirement for a content-type on .well-known (#4511)Richard van der Hoff2019-01-291-0/+1
| | | | | |
| * | | | | Merge pull request #4498 from matrix-org/travis/fix-docs-public_baseurlTravis Ralston2019-01-291-0/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | | Don't recommend :8448 to people on public_baseurl
| | * | | | Create 4498.miscTravis Ralston2019-01-281-0/+1
| | | | | |
| * | | | | Do not generate self-signed TLS certificates by default. (#4509)Amber Brown2019-01-291-0/+1
| | |/ / / | |/| | |
| * | | | Merge pull request #4481 from matrix-org/erikj/event_builderErik Johnston2019-01-291-0/+1
| |\ \ \ \ | | | | | | | | | | | | Refactor event building into EventBuilder
| | * | | | NewsfileErik Johnston2019-01-291-0/+1
| | | | | |
| * | | | | Implement MSC1708 (.well-known lookups for server routing) (#4489)Richard van der Hoff2019-01-2917-8/+9
| | | | | |
| * | | | | Merge pull request #4510 from matrix-org/erikj/fixup_compute_event_signatureErik Johnston2019-01-291-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Fixup calls to `comput_event_signature`
| | * | | | | NewsfileErik Johnston2019-01-291-0/+1
| | | | | | |
| * | | | | | Enable configuring test log level via env var (#4506)Richard van der Hoff2019-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I got fed up with always adding '@unittest.DEBUG' every time I needed to debug a test.
* | | | | | | NewsfileErik Johnston2019-01-291-0/+1
|/ / / / / /
* | | | | | Merge pull request #4496 from matrix-org/erikj/invite_fallbackErik Johnston2019-01-291-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Implement fallback for V2 invite API
| * | | | | NewsfileErik Johnston2019-01-281-0/+1
| | | | | |
* | | | | | Make linearizer more quiet (#4507)Amber Brown2019-01-291-0/+1
| |/ / / / |/| | | |
* | | | | Merge pull request #4494 from matrix-org/erikj/fixup_event_validatorErik Johnston2019-01-291-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Split up event validation between event and builder
| * | | | | NewsfileErik Johnston2019-01-281-0/+1
| | | | | |
* | | | | | Fix typo in upserts code (#4505)Amber Brown2019-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix obvious problem :| * changelog
* | | | | | Merge pull request #4493 from matrix-org/erikj/refactor_event_signingErik Johnston2019-01-291-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Refactor event signing to work on dicts
| * | | | | | NewsfileErik Johnston2019-01-281-0/+1
| |/ / / / /
* | | | | | Use SimpleResolverComplexifier in tests (#4497)Richard van der Hoff2019-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | two reasons for this. One, it saves a bunch of boilerplate. Two, it squashes unicode to IDNA-in-a-`str` (even on python 3) in a way that it turns out we rely on to give consistent behaviour between python 2 and 3.
* | | | | | Merge pull request #4482 from matrix-org/erikj/event_auth_room_versionErik Johnston2019-01-281-0/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Pass through room version to event auth
| * | | | | NewsfileErik Johnston2019-01-251-0/+1
| | |_|/ / | |/| | |
* | | | | Fix worker TLS (#4492)Amber Brown2019-01-281-0/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * load cert * changelog * fix
* | | | Fix UPSERTs on SQLite 3.24+ (#4477)Amber Brown2019-01-283-2/+3
| | | |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Andrew Morgan2019-01-289-1/+9
|\ \ \ \ | | |/ / | |/| | | | | | anoa/dm_room_upgrade
| * | | Remove --process-dependency-links from UPGRADE.rst (#4485)Aaron Raimist2019-01-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove --process-dependency-links from UPGRADE.rst Signed-off-by: Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by: Aaron Raimist <aaron@raim.ist>
| * | | changelogRichard van der Hoff2019-01-281-0/+1
| | | |
| * | | Fix idna and ipv6 literal handling in MatrixFederationAgent (#4487)Richard van der Hoff2019-01-281-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out that the library does a better job of parsing URIs than our reinvented wheel. Who knew. There are two things going on here. The first is that, unlike parse_server_name, URI.fromBytes will strip off square brackets from IPv6 literals, which means that it is valid input to ClientTLSOptionsFactory and HostnameEndpoint. The second is that we stay in `bytes` throughout (except for the argument to ClientTLSOptionsFactory), which avoids the weirdness of (sometimes) ending up with idna-encoded values being held in `unicode` variables. TBH it probably would have been ok but it made the tests fragile.
| * | Merge pull request #4470 from matrix-org/erikj/require_format_versionErik Johnston2019-01-251-0/+1
| |\ \ | | | | | | | | Require event format version to parse or create events
| | * | NewsfileErik Johnston2019-01-251-0/+1
| | | |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-01-254-0/+4
| |\ \ \ | | | | | | | | | | | | | | | erikj/sqlite_native_upsert
| | * | | Fix quoting for allowed_local_3pids example config (#4476)Richard van der Hoff2019-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you use double-quotes here, you have to escape your backslashes. It's much easier with single-quotes. (Note that the existing double-backslashes are already interpreted by python's """ parsing.)
| | * | | Fix Host header sent by MatrixFederationAgent (#4468)Richard van der Hoff2019-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the Host header logic down here so that (a) it is used if we reuse the agent elsewhere, and (b) we can mess about with it with .well-known.
| | * | | Don't require sqlite3 when using postgres (#4466)Andrew Morgan2019-01-251-0/+1
| | | | |
| * | | | NewsfileErik Johnston2019-01-252-1/+2
| | |/ / | |/| |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Andrew Morgan2019-01-2521-0/+21
|\ \ \ \ | | |/ / | |/| | | | | | anoa/dm_room_upgrade
| * | | Merge pull request #4415 from matrix-org/anoa/full_search_upgraded_roomsAndrew Morgan2019-01-251-0/+1
| |\ \ \ | | |/ / | |/| | Ability to search entire room history after upgrading room
| | * | Add changelogAndrew Morgan2019-01-181-0/+1
| | | |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/msc_1813Erik Johnston2019-01-2517-1/+17
| |\ \ \
| | * \ \ Merge pull request #4448 from matrix-org/erikj/get_pdu_versionsErik Johnston2019-01-241-0/+1
| | |\ \ \ | | | | | | | | | | | | Add room_version param to get_pdu
| | | * | | NewsfileErik Johnston2019-01-231-0/+1
| | | | | |
| | * | | | Merge pull request #4405 from matrix-org/erikj/fixup_rejecting_invitesErik Johnston2019-01-241-0/+1
| | |\ \ \ \ | | | | | | | | | | | | | | Store rejected remote invite events as outliers
| | | * | | | NewsfileErik Johnston2019-01-231-0/+1
| | | |/ / /
| | * | | | Merge pull request #4437 from matrix-org/erikj/event_format_version_v2Erik Johnston2019-01-241-0/+1
| | |\ \ \ \ | | | |_|_|/ | | |/| | | Add support for persisting event format versions
| | | * | | Update newsfileErik Johnston2019-01-231-1/+1
| | | | | |
| | * | | | Merge pull request #4461 from matrix-org/anoa/room_dir_quick_fixAndrew Morgan2019-01-241-0/+1
| | |\ \ \ \ | | | | | | | | | | | | | | Add a 60s timeout to filtered room directory queries
| | | * | | | Add changelogAndrew Morgan2019-01-241-0/+1
| | | | | | |
| | * | | | | Merge pull request #4464 from matrix-org/rav/fix_srv_lookupRichard van der Hoff2019-01-241-0/+1
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | MatrixFederationAgent: Look up the right SRV record
| | | * | | | | Look up the right SRV recordRichard van der Hoff2019-01-241-0/+1
| | | | | | | |
| | * | | | | | Generate the debian config during build (#4444)Richard van der Hoff2019-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than hardcoding a config which we always forget to update, generate it from the default config.
| | * | | | | | Fix UnboundLocalError in post_urlencoded_get_json (#4460)Richard van der Hoff2019-01-241-0/+1
| | |/ / / / / | | | | | | | | | | | | | | This could cause exceptions if the id server returned 4xx responses.
| | * | | | | Merge pull request #4435 from matrix-org/neilj/fix_threepid_auth_checkNeil Johnson2019-01-241-0/+1
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Neilj/fix threepid auth check
| | | * | | | | move guard out of is_threepid_reserved and into register.pyNeil Johnson2019-01-221-1/+1
| | | | | | | |
| | | * | | | | Fix None guard in config.server.is_threepid_reservedNeil Johnson2019-01-221-0/+1
| | | | | | | |
| | * | | | | | Merge pull request #4458 from matrix-org/dbkr/public_baseurl_docNeil Johnson2019-01-241-0/+1
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Clarify docs for public_baseurl
| | | * | | | | | ChangelogDavid Baker2019-01-241-0/+1
| | | | |/ / / / | | | |/| | | |
| | * / | | | | Fix UPSERT check (#4459)Amber Brown2019-01-241-0/+1
| | |/ / / / /
| | * | | | | Use native UPSERTs where possible (#4306)Amber Brown2019-01-241-0/+1
| | | | | | |
| | * | | | | Don't send IP addresses as SNI (#4452)Richard van der Hoff2019-01-241-0/+1
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | The problem here is that we have cut-and-pasted an impl from Twisted, and then failed to maintain it. It was fixed in Twisted in https://github.com/twisted/twisted/pull/1047/files; let's do the same here.
| | * | | | Merge pull request #4445 from matrix-org/anoa/user_dir_develop_backportAndrew Morgan2019-01-231-0/+1
| | |\ \ \ \ | | | | | | | | | | | | | | Add metric for user dir current event stream position
| | | * | | | Add changelogAndrew Morgan2019-01-231-0/+1
| | | | | | |
| | * | | | | Merge pull request #4428 from matrix-org/rav/matrix_federation_agentRichard van der Hoff2019-01-231-0/+1
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | Move SRV magic into an Agent-like thing
| | | * | | | changelogRichard van der Hoff2019-01-221-0/+1
| | | | | | |
| | * | | | | debian package: symlink to python-3.X (#4433)Richard van der Hoff2019-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the debian package, make the virtualenv symlink python to /usr/bin/python3.X rather than /usr/bin/python3. Also make sure we depend on the right python3.x package. This might help a bit with subtle failures when people install a package from the wrong distro (https://github.com/matrix-org/synapse/issues/4431).
| | * | | | | Fixup removal of duplicate `user_ips` rows (#4432)Erik Johnston2019-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unnecessary ORDER BY clause * Add logging * Newsfile
| | * | | | | Support ACME for certificate provisioning (#4384)Amber Brown2019-01-231-0/+1
| | | | | | |
| * | | | | | NewsfileErik Johnston2019-01-231-0/+1
| | |_|_|/ / | |/| | | |
| * | | | | NewsfileErik Johnston2019-01-231-0/+1
| |/ / / /
| * | | | Merge pull request #4434 from matrix-org/erikj/fix_user_ips_dedupErik Johnston2019-01-221-0/+1
| |\ \ \ \ | | |_|/ / | |/| | | Fix bug when removing duplicate rows from user_ips
| | * | | NewsfileErik Johnston2019-01-221-0/+1
| | | | |
| * | | | Merge pull request #4423 from matrix-org/neilj/disable_msisdn_on_registrationNeil Johnson2019-01-221-0/+1
| |\ \ \ \ | | |_|/ / | |/| | | Config option to disable requesting MSISDN on registration
| | * | | Config option to disable requesting MSISDN on registrationNeil Johnson2019-01-211-0/+1
| | | | |
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Andrew Morgan2019-01-221-0/+1
|\| | | | | | | | | | | | | | | | | | | anoa/dm_room_upgrade
| * | | | Make key fetches use regular federation client (#4426)Richard van der Hoff2019-01-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | All this magic is redundant.
* | | | | Fix typosAndrew Morgan2019-01-221-1/+1
| | | | |
* | | | | Add changelogAndrew Morgan2019-01-221-0/+1
|/ / / /
* | | | Refactor and bugfix for resove_service (#4427)Richard van der Hoff2019-01-221-0/+1
| | | |
* | | | Require ECDH key exchange & remove dh_params (#4429)Amber Brown2019-01-221-0/+1
| |/ / |/| | | | | * remove dh_params and set better cipher string
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-01-2110-0/+10
|\| | | | | | | | | | | erikj/fed_v2_invite_server
| * | Merge pull request #4390 from matrix-org/erikj/versioned_fed_apisErik Johnston2019-01-211-0/+1
| |\ \ | | | | | | | | Add groundwork for new versions of federation APIs
| * | | Migrate encryption state on room upgrade (#4411)Andrew Morgan2019-01-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate encryption state on room upgrade Signed-off-by: Andrew Morgan <andrew@amorgan.xyz> * Add changelog file
| * | | Fix race when persisting create event (#4404)Erik Johnston2019-01-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix race when persisting create event When persisting a chunk of DAG it is sometimes requried to do a state resolution, which requires knowledge of the room version. If this happens while we're persisting the create event then we need to use that event rather than attempting to look it up in the database.
| * | | Tweak code coverage settings (#4400)Erik Johnston2019-01-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tweak code coverage settings * Fix manifest * Newsfile * Fix commit status?
| * | | Remove redundant WrappedConnection (#4409)Richard van der Hoff2019-01-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove redundant WrappedConnection The matrix federation client uses an HTTP connection pool, which times out its idle HTTP connections, so there is no need for any of this business.
| * | | Fix incorrect logcontexts after a Deferred was cancelled (#4407)Richard van der Hoff2019-01-171-0/+1
| | |/ | |/|
| * | sign_request -> build_auth_headers (#4408)Richard van der Hoff2019-01-171-0/+1
| | | | | | | | | | | | | | | Just got very confused about the fact that the headers are only an output, not an input.
| * | Changing macaroon_secret_key no longer logs you out (#4387)Richard van der Hoff2019-01-161-0/+1
| | |
| * | don't store more remote device lists if they have more than 1K devices (#4397)Richard van der Hoff2019-01-161-0/+1
| | |
| * | Add a changelog entryAndrej Shadura2019-01-161-0/+1
| | | | | | | | | | | | Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
| * | ALL_USER_TYPES should be a tupleNeil Johnson2019-01-151-0/+1
| | |
* | | NewsfileErik Johnston2019-01-161-0/+1
| |/ |/|
* | NewsfileErik Johnston2019-01-151-0/+1
|/
* Silence travis-ci build warnings by removing non-functional python3.6 (#4377)Richard van der Hoff2019-01-121-0/+1
| | | | | | * Remove non-functional python3.6 in travis env * changelog
* Remove duplicates in the user_ips table and add an index (#4370)Amber Brown2019-01-121-0/+1
|
* Merge pull request #4342 from aaronraimist/new-virtualenvRichard van der Hoff2019-01-101-0/+1
|\ | | | | Update README to use new virtualenv (#4328)
| * Add changelogAaron Raimist2019-01-011-0/+1
| | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | Merge branch 'master' into developRichard van der Hoff2019-01-0942-43/+0
|\ \
| * | 0.34.1 v0.34.1Richard van der Hoff2019-01-092-2/+0
| | |
| * | Merge branch 'develop' into release-v0.34.1Erik Johnston2019-01-092-0/+2
| |\ \
| * | | changelogRichard van der Hoff2019-01-0840-41/+0
| | | |
* | | | Merge pull request #4368 from matrix-org/erikj/better_errorsErik Johnston2019-01-091-0/+1
|\ \ \ \ | | | | | | | | | | Fixup docstrings for matrixfederationclient
| * | | | NewsfileErik Johnston2019-01-091-0/+1
| | |/ / | |/| |
* / | | Fix adding new rows instead of updating them if one of the key values is a ↵Amber Brown2019-01-091-0/+1
|/ / / | | | | | | | | | NULL in upserts. (#4369)
* | | NewsfileErik Johnston2019-01-081-0/+1
| | |
* | | NewsfileErik Johnston2019-01-081-0/+1
|/ /
* | Refactor request sending to have better excpetions (#4358)Erik Johnston2019-01-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Correctly retry and back off if we get a HTTPerror response * Refactor request sending to have better excpetions MatrixFederationHttpClient blindly reraised exceptions to the caller without differentiating "expected" failures (e.g. connection timeouts etc) versus more severe problems (e.g. programming errors). This commit adds a RequestSendFailed exception that is raised when "expected" failures happen, allowing the TransactionQueue to log them as warnings while allowing us to log other exceptions as actual exceptions.
* | Fix synapse.config.__main__ on python 3 (#4356)Amber Brown2019-01-081-0/+1
| |
* | Fix command hint to generate a config file (#4353)Jason Robinson2019-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Add GET account data routes (#4303)Travis Ralston2019-01-071-0/+1
| | | | | | | | As per https://github.com/matrix-org/matrix-doc/issues/1339
* | Check jinja version for consent resource (#4327)Richard van der Hoff2019-01-071-0/+1
| | | | | | | | | | | | | | | | * Raise a ConfigError if an invalid resource is specified * Require Jinja 2.9 for the consent resource * changelog
* | fix the check for whether `is_url` to match all the other ones in codebase ↵Michael Telatynski2019-01-061-0/+1
| | | | | | | | | | | | (#3405) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* | Update debian Conflicts specifications (#4349)Richard van der Hoff2019-01-041-0/+1
| | | | | | ... to allow installation alongside our matrix-synapse transitional package.
* | fix NPE in /messages by checking if all events were filtered out (#4330)Matthew Hodgson2019-01-021-0/+1
| |
* | Update README to not lie about required restart (#4343)Aaron Raimist2019-01-021-0/+1
| | | | | | | | | | | | | | | | | | | | * Update README to not lie about required restart Signed-off-by: Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | Ensure synchrotrons can access is_support_user in the storage layerNeil Johnson2019-01-021-0/+1
| |
* | Update PR template to use absolute links (#4341)Aaron Raimist2019-01-021-0/+1
| | | | | | | | | | | | | | | | | | | | * Update PR template to use absolute links Signed-off-by: Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | Avoid packaging _trial_temp directory (#4326)Richard van der Hoff2019-01-021-0/+2
| | | | | | | | | | | | Make sure we don't put the _trial_temp directory in the package target directory. Fixes https://github.com/matrix-org/synapse/issues/4322
* | Install the optional dependencies into the debian package (#4325)Richard van der Hoff2019-01-021-0/+1
|/ | | | | | | | since #4298, the optional dependencies are no longer installed with a simple `pip install .`, which meant that they were not being included in the debian package. The easy fix to that is dh_virtualenv --extras, but that needs dh_virtualenv 1.1...
* Remove v1 only REST APIs now we don't ship matrix console (#4334)Amber Brown2018-12-291-0/+1
|
* Remove mention of lt-cred-mech in the sample coturn config. (#4333)Krithin Sitaram2018-12-281-0/+1
| | | | | | | | | | | * Remove mention of lt-cred-mech in the sample coturn config. See https://github.com/coturn/coturn/pull/262 for more context. Also clean up some minor formatting issues while I'm here. * Add changelog. Signed-off-by: Krithin Sitaram <krithin@gmail.com>
* Log roomid along with Unknown room (#4297)Will Hunt2018-12-241-0/+1
|
* Merge pull request #4307 from matrix-org/erikj/v2_roomsRichard van der Hoff2018-12-241-0/+1
|\ | | | | Add v2 room version
| * NewsfileErik Johnston2018-12-181-0/+1
| |
* | Return well_known in /login response (#4319)Richard van der Hoff2018-12-241-0/+1
| | | | | | | | ... as per MSC1730.
* | Merge pull request #4317 from de-vri-es/test-metric-prometheus-0.5Richard van der Hoff2018-12-231-0/+1
|\ \ | | | | | | Fix test_metrics.py compatibility prometheus_client 0.5
| * | Fix test_metrics.py compatibility prometheus_client 0.5Maarten de Vries2018-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | prometheus_client 0.5 has a named-tuple Sample type with more member than the old plain tuple had. This commit makes sure the unit test detects this and changes the way it reads the sample. Signed-off-by: Maarten de Vries <maarten@de-vri.es>
* | | Merge pull request #4316 from matrix-org/rav/fix_docker_uploadRichard van der Hoff2018-12-211-0/+1
|\ \ \ | | | | | | | | Fix circleci config for synapse:latest docker upload
| * | | Fix circleci config for synapse:latest docker uploadRichard van der Hoff2018-12-211-0/+1
| |/ / | | | | | | | | | Give the image the right tag, so that we can push it.
* | | Add a script to generate a clean config file (#4315)Richard van der Hoff2018-12-221-0/+1
| | |
* | | Fix indentation in default config (#4313)Richard van der Hoff2018-12-221-0/+1
| | | | | | | | | These settings are not supposed to be under 'listeners'.
* | | Fix IP URL previews on Python 3 (#4215)Amber Brown2018-12-221-0/+1
| | |
* | | Make the dependencies more like a standard Python project and hook up the ↵Amber Brown2018-12-221-0/+1
|/ / | | | | | | optional dependencies to setuptools (#4298)
* | Create 4309.bugfixNathan Pennie2018-12-191-0/+1
| |
* | ensure can report mau stats when hs.config.mau_stats_only is set (#4305)Neil Johnson2018-12-181-0/+1
| | | | | | * ensure can report mau stats when hs.config.mau_stats_only is set
* | create support user (#4141)Neil Johnson2018-12-141-0/+1
| | | | | | | | | | | | Allow for the creation of a support user. A support user can access the server, join rooms, interact with other users, but does not appear in the user directory nor does it contribute to monthly active user limits.
* | Settings Fix deleting e2e room keys on xenial (#4295)Amber Brown2018-12-141-0/+1
| |
* | Improved welcome page (#4294)Nad Chishtie2018-12-141-0/+1
| | | | | | | | | | | | | | * Improved static/index.html look, feel and content. * Added accessibility tags to in-line SVG. * Grammar.
* | Merge pull request #4274 from matrix-org/michaelkaye/update_kernel_dco_linkRichard van der Hoff2018-12-111-0/+1
|\ \ | | | | | | Update link to kernel.org DCO usage
| * | changelogMichael Kaye2018-12-071-0/+1
| | |
* | | Merge branch 'release-v0.34.0' into developRichard van der Hoff2018-12-1134-36/+0
|\ \ \
| * | | 0.34.0rc2 v0.34.0rc2Richard van der Hoff2018-12-113-3/+0
| | | |
| * | | remove changelog filesRichard van der Hoff2018-12-1134-36/+0
| | | |
| * | | Merge pull request #4290 from matrix-org/rav/remove_webclientRichard van der Hoff2018-12-111-0/+1
| |\ \ \ | | | | | | | | | | Stop installing Matrix Console by default
| | * | | Stop installing Matrix Console by defaultRichard van der Hoff2018-12-111-0/+1
| | | | | | | | | | | | | | | | | | | | This is based on the work done by @krombel in #2601.
| * | | | Merge branch 'rav/disable_pager_in_ci' into rav/welcome_pageRichard van der Hoff2018-12-111-0/+1
| |\ \ \ \
| | * | | | Disable pager for ci scriptRichard van der Hoff2018-12-111-0/+1
| | |/ / / | | | | | | | | | | | | | | | ... otherwise it hangs
| * / / / Add a welcome page to the static resourcesRichard van der Hoff2018-12-111-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is largely a precursor for the removal of the bundled webclient. The idea is to present a page at / which reassures people that something is working, and to give them some links for next steps. The welcome page lives at `/_matrix/static/`, so is enabled alongside the other `static` resources (which, in practice, means the client API is enabled). We'll redirect to it from `/` if we have nothing better to display there. It would be nice to have a way to disable it (in the same way that you might disable the nginx welcome page), but I can't really think of a good way to do that without a load of ickiness. It's based on the work done by @krombel for #2601.
* | | | Add 'sandbox' to CSP for media repo (#4284)David Baker2018-12-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Add 'sandbox' to the CSP for media repo * Changelog
* | | | Merge pull request #4279 from matrix-org/hs/fix-config-corsWill Hunt2018-12-101-0/+1
|\ \ \ \ | | | | | | | | | | Make /config more CORS-y
| * | | | changelog & isortWill Hunt2018-12-091-0/+1
| | |/ / | |/| |
* / | | NewsfileErik Johnston2018-12-101-0/+1
|/ / /
* | | Initialise user displayname from SAML2 data (#4272)Richard van der Hoff2018-12-071-0/+1
| | | | | | | | | | | | | | | 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-071-0/+1
| | | | | | | | | | | | | | | 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-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-0/+1
| | | | | | | | | | | | 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-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-061-0/+1
| | | | | | | | | | | | 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-051-0/+1
|/ / | | | | | | 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-041-0/+1
|\ \ | | | | | | Notes on upgrading to python3, and README updates.
| * | Notes on upgrading to python3, and README updates.Richard van der Hoff2018-12-041-0/+1
| | |
* | | Remove obsolete settings from docker homeserver.yamlRichard van der Hoff2018-12-041-0/+1
|/ / | | | | | | These aren't used, because we have a `log_config` setting.
* | Add an option to enable recording IPs for appservice users (#3831)Travis Ralston2018-12-041-0/+1
| |
* | Fix non-ASCII pushrules (#4248)Amber Brown2018-12-041-0/+1
| |
* | Add an option to disable search for homeservers which may not be interested ↵Travis Ralston2018-12-041-0/+1
| | | | | | | | | | | | 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-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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-041-0/+1
| |
* | Fix UnicodeDecodeError when postgres is not configured in english (#4253)Richard van der Hoff2018-12-041-0/+1
| | | | | | | | 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-041-0/+1
|\ \ | | | | | | Drop sent_transactions
| * | Add changelogAaron Raimist2018-12-011-0/+1
| | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | Patch defer.inlineCallbacks to check logcontexts in tests (#4205)Richard van der Hoff2018-12-041-0/+1
| | |
* | | Merge pull request #4250 from matrix-org/hawkowl/pusher-remove-py3Richard van der Hoff2018-12-041-0/+1
|\ \ \ | | | | | | | | Fix removing pushers on python 3
| * | | changelogAmber Brown2018-12-031-0/+1
| | | |
* | | | Merge pull request #4257 from aaronraimist/add-editorconfigRichard van der Hoff2018-12-041-0/+1
|\ \ \ \ | | | | | | | | | | Add a basic .editorconfig
| * | | | Add a basic .editorconfigAaron Raimist2018-12-031-0/+1
| |/ / / | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* / / / Run the AS senders as background processes (#4189)Richard van der Hoff2018-12-041-0/+2
|/ / / | | | | | | | | | 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-031-0/+1
|/ / | | | | | | | | | | 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-281-0/+1
| | | | | | | | | | | | * 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-281-0/+1
| |
* | Neilj/fix mau initial reserved users (#4211)Neil Johnson2018-11-281-0/+2
| | | | | | | | | | | | | | | | * 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-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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-271-0/+1
| |
* | Do a GC after each test to fix logcontext leaks (#4227)Richard van der Hoff2018-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | * 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
* | Ignore __pycache__ directories in schema delta dirRichard van der Hoff2018-11-201-0/+1
| | | | | | | | 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-201-0/+1
| | | | | | | | configuration (#4207)
* | Merge pull request #4204 from matrix-org/rav/logcontext_leak_fixesRichard van der Hoff2018-11-201-0/+1
|\ \ | | | | | | Fix some logcontext leaks
| * | changelogRichard van der Hoff2018-11-191-0/+1
| | |
* | | Merge remote-tracking branch 'origin/master' into developAmber Brown2018-11-1939-39/+0
|\ \ \ | | |/ | |/|
* | | Fix fallback auth on Python 3 (#4197)Amber Brown2018-11-191-0/+1
| |/ |/|
* | Merge pull request #4182 from aaronraimist/update-issue-templateRichard van der Hoff2018-11-191-0/+1
|\ \ | | | | | | Add a pull request template and add multiple issue templates
| * | Add changelogAaron Raimist2018-11-131-0/+1
| | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | Add changelogAaron Raimist2018-11-181-0/+1
| | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | Merge pull request #4193 from kivikakk/add-openbsd-prereqAmber Brown2018-11-171-0/+1
|\ \ \ | | | | | | | | add jpeg to OpenBSD prereq list
| * | | add changelog.d entryAshe Connor2018-11-171-0/+1
| | | |
* | | | ChangelogTravis Ralston2018-11-151-0/+1
|/ / /
* | | Fix Content-Disposition in media repository (#4176)Amber Brown2018-11-151-0/+1
| | |
* | | Add option to track MAU stats (but not limit people) (#3830)Travis Ralston2018-11-151-0/+1
| | |
* | | Use <meta> tags to discover the per-page encoding of html previews (#4183)Amber Brown2018-11-151-0/+1
| | |
* | | Add a coveragerc (#4180)Amber Brown2018-11-151-0/+1
| | |
* | | Update README for #1491 fixRichard van der Hoff2018-11-151-0/+1
| | |
* | | changelogRichard van der Hoff2018-11-141-0/+1
| | |
* | | Merge pull request #4113 from matrix-org/dbkr/e2e_backup_versions_are_numbersDavid Baker2018-11-141-0/+1
|\ \ \ | | | | | | | | Make e2e backup versions numeric in the DB
| * \ \ Merge remote-tracking branch 'origin/develop' into ↵David Baker2018-11-0958-30/+29
| |\ \ \ | | | | | | | | | | | | | | | dbkr/e2e_backup_versions_are_numbers
| * | | | news fragmentDavid Baker2018-10-301-0/+1
| | | | |
* | | | | Merge pull request #4166 from matrix-org/erikj/drop_unknown_eventsErik Johnston2018-11-091-0/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Drop incoming events from federation for unknown rooms
| * | | | NewsfileErik Johnston2018-11-081-0/+1
| | | | |
* | | | | Merge pull request #4164 from matrix-org/erikj/fix_device_comparisonErik Johnston2018-11-081-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix noop checks when updating device keys
| * | | | | NewsfileErik Johnston2018-11-081-0/+1
| |/ / / /
* / / / / changelogRichard van der Hoff2018-11-081-0/+1
|/ / / /
* | | | Port hash_password to Python 3 (#4161)Amber Brown2018-11-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * port hash_password * changelog
* | | | Fix URL preview bugs (type error when loading cache from db, content-type ↵Amber Brown2018-11-081-0/+1
| | | | | | | | | | | | | | | | including quotes) (#4157)
* | | | Merge pull request #4155 from rubo77/purge-apiRichard van der Hoff2018-11-071-0/+1
|\ \ \ \ | | | | | | | | | | 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-071-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ruben Barkow <github@r.z11.de>
* | | | | Remove some boilerplate in tests (#4156)Amber Brown2018-11-071-0/+1
|/ / / /
* | | | Add config variables for enabling terms auth and the policy name (#4142)Travis Ralston2018-11-063-2/+3
| | | | | | | | | | | | | | | | 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-051-0/+1
| | | | | | | | | | | | fixes #4056
* | | | Tests for user consent resource (#4140)Amber Brown2018-11-061-0/+1
| | | |
* | | | Add some tests for the HTTP pusher (#4149)Amber Brown2018-11-061-0/+1
| | | |
* | | | Add helpers for getting prev and auth events (#4139)Erik Johnston2018-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-031-0/+1
| | | |
* | | | Merge pull request #4137 from matrix-org/erikj/clean_up_eventsErik Johnston2018-11-021-0/+1
|\ \ \ \ | | | | | | | | | | Clean up event accesses and tests
| * | | | NewsfileErik Johnston2018-11-021-0/+1
| | | | |
* | | | | Fix typing being reset causing infinite syncs (#4127)Amber Brown2018-11-031-0/+1
| | | | |
* | | | | Merge pull request #4132 from matrix-org/rav/fix_device_list_lockingRichard van der Hoff2018-11-021-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix locked upsert on device_lists_remote_cache