summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a test room version where we enforce key validity (#5348)Richard van der Hoff2019-06-051-0/+1
|
* Clean up debug logging (#5347)Richard van der Hoff2019-06-051-0/+2
| | | Remove some spurious stuff, clarify some other stuff
* Rename VerifyKeyRequest.deferred field (#5343)Richard van der Hoff2019-06-051-0/+1
| | | it's a bit confusing
* Call RetryLimiter correctly (#5340)Richard van der Hoff2019-06-041-0/+2
| | | Fixes a regression introduced in #5335.
* Fix failure to fetch batches of PDUs (#5342)Richard van der Hoff2019-06-041-0/+1
| | | | | FederationClient.get_pdu is called in a loop to fetch a batch of PDUs. A failure to fetch one should not result in a failure of the whole batch. Add the missing `continue`.
* Rename get_events->get_events_from_store_or_dest (#5344)Richard van der Hoff2019-06-041-0/+1
| | | | | We have too many things called get_event, and it's hard to figure out what we mean. Also remove some unused params from the signature, and add some logging.
* Merge pull request #5341 from matrix-org/babolivier/email_configBrendan Abolivier2019-06-041-0/+1
|\ | | | | Make account validity renewal emails work when email notifs are disabled
| * Make account validity renewal emails work when email notifs are disabledBrendan Abolivier2019-06-041-0/+1
| |
* | Merge pull request #5324 from matrix-org/erikj/ignore_nullErik Johnston2019-06-041-0/+1
|\ \ | | | | | | Ignore room state with null bytes in for room stats
| * | NewsfileErik Johnston2019-06-031-0/+1
| | |
* | | Avoid rapidly backing-off a server if we ignore the retry interval (#5335)Richard van der Hoff2019-06-041-0/+1
|\ \ \
| * | | Avoid rapidly backing-off a server if we ignore the retry intervalRichard van der Hoff2019-06-031-0/+1
| | | |
* | | | Don't do long retries when calling the key notary server. (#5334)Richard van der Hoff2019-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It takes at least 20 minutes to work through the long_retries schedule (11 attempts, each with a 60 second timeout, and 60 seconds between each request), so if the notary server isn't returning within the timeout, we'll just end up blocking whatever request is happening for 20 minutes. Ain't nobody got time for that.
* | | | Merge pull request #5333 from ↵Richard van der Hoff2019-06-041-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | matrix-org/rav/server_keys/09_improve_notary_server Fixes for the key-notary server
| * | | | changelogRichard van der Hoff2019-06-041-0/+1
| |/ / /
* | | | Improve docstrings on MatrixFederationClient. (#5332)Richard van der Hoff2019-06-041-0/+1
| | | |
* | | | Hawkowl/fix missing auth (#5328)Amber Brown2019-06-041-0/+1
|/ / /
* | | Enforce validity period on server_keys for fed requests. (#5321)Richard van der Hoff2019-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | When handling incoming federation requests, make sure that we have an up-to-date copy of the signing key. We do not yet enforce the validity period for event signatures.
* | | Revert "Newsfile"Erik Johnston2019-06-031-1/+0
| | | | | | | | | | | | This reverts commit 4bd67db100efacc3d31a2f8187b7bdd4479d9bc3.
* | | NewsfileErik Johnston2019-06-031-0/+1
|/ /
* | Merge pull request #5307 from ↵Richard van der Hoff2019-06-031-0/+1
|\ \ | | | | | | | | | | | | matrix-org/rav/server_keys/07-fix-notary-cache-poison Stop overwriting server keys with other keys
| * | Stop overwriting server keys with other keysRichard van der Hoff2019-05-311-0/+1
| | | | | | | | | | | | | | | Fix a bug where we would discard a key result which the origin server is no longer returning. Fixes #5305.
* | | Unify v1 and v2 REST client APIs (#5226)Amber Brown2019-06-031-0/+1
| | |
* | | Merge pull request #5309 from matrix-org/rav/limit_displayname_lengthRichard van der Hoff2019-06-011-0/+1
|\ \ \ | | | | | | | | Limit displaynames and avatar URLs
| * | | Limit displaynames and avatar URLsRichard van der Hoff2019-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | These end up in join events everywhere, so let's limit them. Fixes #5079
* | | | Merge pull request #5299 from matrix-org/rav/server_keys/05-rewrite-gsvk-againRichard van der Hoff2019-05-311-0/+1
|\ \ \ \ | | | | | | | | | | Rewrite get_server_verify_keys, again.
| * \ \ \ Merge remote-tracking branch 'origin/develop' into ↵Richard van der Hoff2019-05-315-0/+5
| |\ \ \ \ | | | |/ / | | |/| | | | | | | rav/server_keys/05-rewrite-gsvk-again
| * | | | Rewrite get_server_verify_keys, again.Richard van der Hoff2019-05-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Attempt to simplify the logic in get_server_verify_keys by splitting it into two methods.
* | | | | Merge pull request #5276 from matrix-org/babolivier/account_validity_job_deltaErik Johnston2019-05-311-0/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Allow configuring a range for the account validity startup job
| * | | | Config and changelogBrendan Abolivier2019-05-281-0/+1
| | |_|/ | |/| |
* | | | Merge pull request #5300 from ↵Richard van der Hoff2019-05-311-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | matrix-org/rav/server_keys/06-fix-serverkeys-handling Remove some pointless exception handling
| * | | | Remove some pointless exception handlingRichard van der Hoff2019-05-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The verify_request deferred already returns a suitable SynapseError, so I don't really know what we expect to achieve by doing more wrapping, other than log spam. Fixes #4278.
* | | | | Merge pull request #5296 from ↵Richard van der Hoff2019-05-311-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | matrix-org/rav/server_keys/04-use-attrs-for_verify-request use attr.s for VerifyKeyRequest
| * | | | use attr.s for VerifyKeyRequestRichard van der Hoff2019-05-301-0/+1
| | | | | | | | | | | | | | | | | | | | because namedtuple is awful
* | | | | Merge pull request #5293 from Kagamihime/messages-federation-formatErik Johnston2019-05-311-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix ignored filter field in `/messages` endpoint
| * | | | | Add changelogEisha Chen-yen-su2019-05-301-0/+1
| | |_|/ / | |/| | |
* | | | | Merge pull request #5294 from matrix-org/erikj/speed_up_room_statsErik Johnston2019-05-311-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Speed up room stats background update
| * | | | | NewsfileErik Johnston2019-05-311-0/+1
| | | | | |
* | | | | | Clarify that the admin change password endpoint logs them out (#5303)Travis Ralston2019-05-311-0/+1
| |/ / / / |/| | | |
* | | | | NewsfileErik Johnston2019-05-301-0/+1
|/ / / /
* | | | Merge pull request #5278 from matrix-org/erikj/cleanup_bad_extremitiesErik Johnston2019-05-301-0/+1
|\ \ \ \ | | | | | | | | | | Add DB bg update to cleanup extremities.
| * | | | NewsfileErik Johnston2019-05-291-0/+1
| | | | |
* | | | | Merge pull request #5256 from aaronraimist/logout-correct-errorErik Johnston2019-05-301-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Show correct error when logging out and access token is missing
| * | | | | Add changelogAaron Raimist2019-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | | | Remove spurious debug from MatrixFederationHttpClient.get_json (#5287) v0.99.5.1.dev0Richard van der Hoff2019-05-291-0/+1
| | | | | | | | | | | | | | | | | | This is just unhelpful spam
* | | | | | Improve logging for logcontext leaks. (#5288)Richard van der Hoff2019-05-291-0/+1
| | | | | |
* | | | | | Merge pull request #5283 from aaronraimist/captcha-docsErik Johnston2019-05-291-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Specify the type of reCAPTCHA key to use (#5013)
| * | | | | | Add changelogAaron Raimist2019-05-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | | | | Implement the SHHS complexity API (#5216)Amber Brown2019-05-301-0/+1
| | | | | | |
* | | | | | | Serve CAS login over r0 (#5286)Amber Brown2019-05-301-0/+1
| | | | | | |
* | | | | | | Fix error when downloading thumbnail with width/height param missing (#5258)Aaron Raimist2019-05-291-0/+1
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix error when downloading thumbnail with width/height param missing Fixes #2748 Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | | | Correctly filter out extremities with soft failed prevs (#5274)Erik Johnston2019-05-291-0/+1
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we receive a soft failed event we, correctly, *do not* update the forward extremity table with the event. However, if we later receive an event that references the soft failed event we then need to remove the soft failed events prev events from the forward extremities table, otherwise we just build up forward extremities. Fixes #5269
* | | | | Fix dropped logcontexts during high outbound traffic. (#5277)Richard van der Hoff2019-05-291-0/+1
| | | | | | | | | | | | | | | Fixes #5271.
* | | | | Rename 5282.misc to 5282.docAmber Brown2019-05-291-0/+0
| | | | |
* | | | | Add changelogAaron Raimist2019-05-281-0/+1
|/ / / / | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | Merge pull request #5251 from matrix-org/rav/server_keys/01-check_sigRichard van der Hoff2019-05-281-0/+1
|\ \ \ \ | | | | | | | | | | Ensure that server_keys fetched via a notary server are correctly signed.
| * | | | changelogRichard van der Hoff2019-05-241-0/+1
| | | | |
* | | | | Fix "db txn 'update_presence' from sentinel context" log messages (#5275)Richard van der Hoff2019-05-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4414.
* | | | | Merge pull request #5268 from matrix-org/babolivier/account_validity_fix_schemaBrendan Abolivier2019-05-281-0/+1
|\ \ \ \ \ | | |_|/ / | |/| | | Fix schema update for account validity
| * | | | ChangelogBrendan Abolivier2019-05-281-0/+1
| | | | |
* | | | | Merge pull request #5260 from matrix-org/travis/fix-room-bg-taskErik Johnston2019-05-251-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix logging for room stats background update
| * | | | | ChangelogTravis Ralston2019-05-251-0/+1
| | | | | |
* | | | | | Merge pull request #5257 from aaronraimist/fix-error-code-publicroomsErik Johnston2019-05-251-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix error code for invalid parameter
| * | | | | | Add changelogAaron Raimist2019-05-241-0/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* / | | | | Simplification to Keyring.wait_for_previous_lookups. (#5250)Richard van der Hoff2019-05-241-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | The list of server names was redundant, since it was equivalent to the keys on the server_to_deferred map. This reduces the number of large lists being passed around, and has the benefit of deduplicating the entries in `wait_on`.
* | | | | Fix appservice timestamp massaging (#5233)Tulir Asokan2019-05-241-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Tulir Asokan <tulir@maunium.net>
* | | | | Add missing blank line in config (#5249)Richard van der Hoff2019-05-241-0/+1
| | | | |
* | | | | Merge pull request #5220 from matrix-org/erikj/dont_bundle_live_eventsErik Johnston2019-05-241-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | Don't bundle aggregations with events in /sync or /events or state queries
| * | | | NewsfileErik Johnston2019-05-211-0/+1
| | | | |
* | | | | Merge pull request #5244 from matrix-org/rav/server_keys/00-factor-out-fetchersErik Johnston2019-05-231-0/+1
|\ \ \ \ \ | | |_|/ / | |/| | | Factor out KeyFetchers from KeyRing
| * | | | Factor out KeyFetchers from KeyRingRichard van der Hoff2019-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than have three methods which have to have the same interface, factor out a separate interface which is provided by three implementations. I find it easier to grok the code this way.
* | | | | Add config option for setting homeserver's default room version (#5223)Andrew Morgan2019-05-231-0/+1
|/ / / / | | | | | | | | | | | | | | | | Replaces DEFAULT_ROOM_VERSION constant with a method that first checks the config, then returns a hardcoded value if the option is not present. That hardcoded value is now located in the server.py config file.
* | | | Store key validity time in the storage layerRichard van der Hoff2019-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a first step to checking that the key is valid at the required moment. The idea here is that, rather than passing VerifyKey objects in and out of the storage layer, we instead pass FetchKeyResult objects, which simply wrap the VerifyKey and add a valid_until_ts field.
* | | | Simplify process_v2_response (#5236)Richard van der Hoff2019-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pass time_added_ms into process_v2_response * Simplify process_v2_response We can merge old_verify_keys into verify_keys, and reduce the number of dicts flying around.
* | | | Remove unused VerifyKey.expired and .time_added fields (#5235)Richard van der Hoff2019-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | These were never used, and poking arbitary data into objects from other packages seems confusing at best.
* | | | Rewrite store_server_verify_key to store several keys at once (#5234)Richard van der Hoff2019-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | Storing server keys hammered the database a bit. This replaces the implementation which stored a single key, with one which can do many updates at once.
* | | | Simplifications and comments in do_auth (#5227)Richard van der Hoff2019-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | I was staring at this function trying to figure out wtf it was actually doing. This is (hopefully) a non-functional refactor which makes it a bit clearer.
* | | | Run black on synapse.crypto.keyring (#5232)Richard van der Hoff2019-05-221-0/+1
| | | |
* | | | remove urllib3 pin (#5230)Marcus Hoffmann2019-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | requests 2.22.0 as been released supporting urllib3 1.25.2 Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
* | | | Neilj/ensure get profileinfo available in client reader slaved store (#5213)Neil Johnson2019-05-221-0/+1
| | | | | | | | | | | | * expose SlavedProfileStore to ClientReaderSlavedStore
* | | | Merge branch 'master' into developRichard van der Hoff2019-05-2226-26/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | update changelog v0.99.5rc1Richard van der Hoff2019-05-212-2/+0
| | | |
| * | | Merge commit 'f4c80d70f' into release-v0.99.5Richard van der Hoff2019-05-212-0/+2
| |\ \ \
| * | | | 0.99.5rc1Richard van der Hoff2019-05-2124-24/+0
| | | | |
* | | | | Room Statistics (#4338)Amber Brown2019-05-211-0/+1
| |/ / / |/| | |
* | | | Merge pull request #5203 from matrix-org/erikj/aggregate_by_senderErik Johnston2019-05-211-0/+1
|\ \ \ \ | | | | | | | | | | Only count aggregations from distinct senders
| * | | | NewsfileErik Johnston2019-05-211-0/+1
| | | | |
* | | | | Merge pull request #5212 from matrix-org/erikj/deny_multiple_reactionsErik Johnston2019-05-211-0/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Block attempts to annotate the same event twice
| * | | | NewsfileErik Johnston2019-05-201-0/+1
| | | | |
* | | | | Introduce room v4 which updates event ID format. (#5217)Richard van der Hoff2019-05-212-1/+2
| | | | | | | | | | | | | | | Implements https://github.com/matrix-org/matrix-doc/pull/2002.
* | | | | Exclude soft-failed events from fwd-extremity candidates. (#5146)Richard van der Hoff2019-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When considering the candidates to be forward-extremities, we must exclude soft failures. Hopefully fixes #5090.
* | | | | Pin eliot to <1.8 on python 3.5.2 (#5218)Richard van der Hoff2019-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pin eliot to <1.8 on python 3.5.2 Fixes https://github.com/matrix-org/synapse/issues/5199 * Add support for 'markers' to python_dependencies * tell xargs not to strip quotes
* | | | | Merge pull request #5204 from ↵Brendan Abolivier2019-05-211-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | matrix-org/babolivier/account_validity_expiration_date Add startup background job for account validity
| * | | ChangelogBrendan Abolivier2019-05-171-0/+1
| | | |
* | | | Fix error handling for rooms whose versions are unknown. (#5219)Richard van der Hoff2019-05-211-0/+1
| |/ / |/| | | | | | | | | | | | | | | | | If we remove support for a particular room version, we should behave more gracefully. This should make client requests fail with a 400 rather than a 500, and will ignore individiual PDUs in a federation transaction, rather than the whole transaction.
* | | Revert "expose SlavedProfileStore to ClientReaderSlavedStore (#5200)"Richard van der Hoff2019-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ce5bcefc609db40740c692bd53a1ef84ab675e8c. This caused: ``` Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/synapse/src/synapse/app/client_reader.py", line 32, in <module> from synapse.replication.slave.storage import SlavedProfileStore ImportError: cannot import name 'SlavedProfileStore' from 'synapse.replication.slave.storage' (/home/synapse/src/synapse/replication/slave/storage/__init__.py) error starting synapse.app.client_reader('/home/synapse/config/workers/client_reader.yaml') (exit code: 1); see above for logs ```
* | | Add a test room version which updates event ID format (#5210)Richard van der Hoff2019-05-201-0/+1
| | | | | | | | | Implements MSC1884
* | | NewsfileErik Johnston2019-05-201-0/+1
| | |
* | | Merge pull request #5209 from matrix-org/erikj/reactions_baseErik Johnston2019-05-201-0/+1
|\ \ \ | | | | | | | | Land basic reaction and edit support.
| * | | NewsfileErik Johnston2019-05-202-1/+1
| | |/ | |/|
| * | NewsfileErik Johnston2019-05-151-0/+1
| | |
* | | Limit UserIds to a length that fits in a state key (#5198)ReidAnderson2019-05-201-0/+1
| | |
* | | fix mapping of return values for get_or_register_3pid_guest (#5177)bytepoets-blo2019-05-171-0/+1
| | | | | | | | | * fix mapping of return values for get_or_register_3pid_guest
* | | Merge pull request #5191 from matrix-org/erikj/refactor_pagination_boundsErik Johnston2019-05-171-0/+1
|\| | | | | | | | Make generating SQL bounds for pagination generic
| * | NewsfileErik Johnston2019-05-151-0/+1
| | |
* | | expose SlavedProfileStore to ClientReaderSlavedStore (#5200)Neil Johnson2019-05-171-0/+1
| | | | | | | | | * expose SlavedProfileStore to ClientReaderSlavedStore
* | | Merge remote-tracking branch 'origin/master' into developRichard van der Hoff2019-05-171-0/+1
|\ \ \
| * | | Stop telling people to install the optional dependencies. (#5197)Richard van der Hoff2019-05-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Stop telling people to install the optional dependencies. They're optional. Also update the postgres docs a bit for clarity(?)
* | | | Merge pull request #5196 from matrix-org/babolivier/per_room_profilesBrendan Abolivier2019-05-171-0/+1
|\ \ \ \ | | |_|/ | |/| | Add an option to disable per-room profiles
| * | | Changelog + sample configBrendan Abolivier2019-05-161-0/+1
| | | |
* | | | Fix image orientation when generating thumbnail (#5039)PauRE2019-05-161-0/+1
| | | |
* | | | Merge pull request #5174 from matrix-org/dbkr/add_dummy_flow_to_recaptcha_onlyDavid Baker2019-05-161-0/+1
|\ \ \ \ | |/ / / |/| | | Re-order registration stages to do msisdn & email auth last
| * | | Merge remote-tracking branch 'origin/develop' into ↵David Baker2019-05-131-0/+1
| |\ \ \ | | | | | | | | | | | | | | | dbkr/add_dummy_flow_to_recaptcha_only
| * \ \ \ Merge remote-tracking branch 'origin/develop' into ↵David Baker2019-05-131-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | dbkr/add_dummy_flow_to_recaptcha_only
| * | | | | Update changelogDavid Baker2019-05-101-1/+1
| | | | | |
| * | | | | Thanks, automated grammar pedantry.David Baker2019-05-101-1/+1
| | | | | |
| * | | | | Add changelog entryDavid Baker2019-05-101-0/+1
| | | | | |
* | | | | | Make /sync attempt to return device updates for both joined and invited ↵Matthew Hodgson2019-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | users (#3484)
* | | | | | Merge pull request #5187 from ↵David Baker2019-05-161-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/dbkr/only_check_threepid_not_in_use_if_actually_registering Only check 3pids not in use when registering
| * | | | | | Make newsfile clearerDavid Baker2019-05-151-1/+1
| | | | | | |
| * | | | | | Have I got newsfile for youDavid Baker2019-05-141-0/+1
| | | | | | |
* | | | | | | Make all the rate limiting options more consistent (#5181)Amber Brown2019-05-151-0/+1
| | | | | | |
* | | | | | | Drop support for v2_alpha API prefix (#5190)Richard van der Hoff2019-05-151-0/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #5183 from matrix-org/erikj/async_serialize_eventErik Johnston2019-05-151-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Allow client event serialization to be async
| * | | | | | NewsfileErik Johnston2019-05-141-0/+1
| |/ / / / /
* | | | | | Merge pull request #5184 from matrix-org/erikj/expose_get_events_as_arrayErik Johnston2019-05-151-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Expose DataStore._get_events as get_events_as_list
| * | | | | | NewsfileErik Johnston2019-05-141-0/+1
| |/ / / / /
* / / / / / NewsfileErik Johnston2019-05-141-0/+1
|/ / / / /
* | | | | Migrate all tests to use the dict-based config format instead of hanging ↵Amber Brown2019-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | items off HomeserverConfig (#5171)
* | | | | Add ability to blacklist ip ranges for federation traffic (#5043)Andrew Morgan2019-05-131-0/+1
| |_|_|/ |/| | |
* | | | 0.99.4rc1 v0.99.4rc1Brendan Abolivier2019-05-1373-77/+0
| |_|/ |/| |
* | | Fix changelogBrendan Abolivier2019-05-131-0/+0
| | |
* | | ChangelogBrendan Abolivier2019-05-131-0/+1
| |/ |/|
* | URL preview blacklisting fixes (#5155)Andrew Morgan2019-05-101-0/+1
|/ | | Prevents a SynapseError being raised inside of a IResolutionReceiver and instead opts to just return 0 results. This thus means that we have to lump a failed lookup and a blacklisted lookup together with the same error message, but the substitute should be generic enough to cover both cases.
* Set syslog identifiers in systemd units (#5023)Christoph Müller2019-05-101-0/+3
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-0/+1
|
* Limit the number of EDUs in transactions to 100 as expected by receiver (#5138)Quentin Dufour2019-05-091-0/+1
| | | Fixes #3951.
* Fix bogus imports in tests (#5154)Brendan Abolivier2019-05-081-0/+1
|
* add options to require an access_token to GET /profile and /publicRooms on ↵Matthew Hodgson2019-05-081-0/+1
| | | | | | | | | | | | | | | | | CS API (#5083) This commit adds two config options: * `restrict_public_rooms_to_local_users` Requires auth to fetch the public rooms directory through the CS API and disables fetching it through the federation API. * `require_auth_for_profile_requests` When set to `true`, requires that requests to `/profile` over the CS API are authenticated, and only returns the user's profile if the requester shares a room with the profile's owner, as per MSC1301. MSC1301 also specifies a behaviour for federation (only returning the profile if the server asking for it shares a room with the profile's owner), but that's currently really non-trivial to do in a not too expensive way. Next step is writing down a MSC that allows a HS to specify which user sent the profile query. In this implementation, Synapse won't send a profile query over federation if it doesn't believe it already shares a room with the profile's owner, though. Groups have been intentionally omitted from this commit.
* Merge pull request #5037 from matrix-org/erikj/limit_inflight_dnsErik Johnston2019-05-081-0/+1
|\ | | | | Limit in flight DNS requests
| * NewsfileErik Johnston2019-04-091-0/+1
| |
* | Do checks on aliases for incoming m.room.aliases events (#5128)Brendan Abolivier2019-05-081-0/+1
| | | | | | | | | | Follow-up to #5124 Also added a bunch of checks to make sure everything (both the stuff added on #5124 and this PR) works as intended.
* | Merge pull request #5104 from matrix-org/erikj/ratelimit_3pid_inviteErik Johnston2019-05-071-0/+1
|\ \ | | | | | | Ratelimit 3pid invites
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-04-2625-0/+25
| |\ \ | | | | | | | | | | | | erikj/ratelimit_3pid_invite
| * | | NewsfileErik Johnston2019-04-261-0/+1
| | | |
* | | | Remove the requirement to authenticate for /admin/server_version. (#5122)Richard van der Hoff2019-05-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This endpoint isn't much use for its intended purpose if you first need to get yourself an admin's auth token. I've restricted it to the `/_synapse/admin` path to make it a bit easier to lock down for those concerned about exposing this information. I don't imagine anyone is using it in anger currently.
* | | | Fix spelling in server notices admin API docs (#5142)Travis Ralston2019-05-061-0/+1
| | | |
* | | | Add admin api for sending server_notices (#5121)Richard van der Hoff2019-05-021-0/+1
| | | |
* | | | Merge pull request #5124 from matrix-org/babolivier/aliasesBrendan Abolivier2019-05-021-0/+1
|\ \ \ \ | | | | | | | | | | Add some limitations to alias creation
| * | | | Add some limitations to alias creationBrendan Abolivier2019-05-021-0/+1
| | | | |
* | | | | Factor out an "assert_requester_is_admin" function (#5120)Richard van der Hoff2019-05-021-0/+1
| | | | | | | | | | | | | | | | | | | | Rather than copying-and-pasting the same four lines hundreds of times
* | | | | changelogRichard van der Hoff2019-05-011-0/+1
|/ / / /
* | | | Merge pull request #5116 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-05-011-0/+1
|\ \ \ \ | | | | | | | | | | Fix path in account validity admin route's doc
| * | | | Rename changelog fileBrendan Abolivier2019-05-011-0/+0
| | | | |
| * | | | Add changelogBrendan Abolivier2019-05-011-0/+1
| | | | |
* | | | | Add a default .m.rule.tombstone push rule (#4867)Travis Ralston2019-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a default .m.rule.tombstone push rule In support of MSC1930: https://github.com/matrix-org/matrix-doc/pull/1930 * changelog * Appease the changelog linter
* | | | | Merge pull request #5100 from matrix-org/rav/verification_hackeryRichard van der Hoff2019-04-291-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | Improve logging when event-signature checking fails
| * | | | changelogRichard van der Hoff2019-04-251-0/+1
| | | | |
* | | | | Fix infinite loop in presence handlerRichard van der Hoff2019-04-261-0/+1
|/ / / / | | | | | | | | | | | | Fixes #5102
* | | | Merge pull request #5098 from matrix-org/rav/fix_pep_517Richard van der Hoff2019-04-251-0/+1
|\ \ \ \ | | | | | | | | | | Workarounds for pep-517 errors
| * | | | ChangelogRichard van der Hoff2019-04-251-0/+1
| | | | |
* | | | | Fix handling of SYNAPSE_NO_TLS in docker image (#5005)*=0=1=4=*2019-04-251-0/+1
|/ / / /
* | | | Config option for verifying federation certificates (MSC 1711) (#4967)Andrew Morgan2019-04-251-0/+1
| | | |
* | | | Remove log error for .well-known/matrix/client (#4972)Michael Kaye2019-04-241-0/+1
| | | |
* | | | Prevent "producer not unregistered" message (#5009)Amber Brown2019-04-241-0/+1
|/ / /
* | | Don't crash on lack of expiry templatesBrendan Abolivier2019-04-181-0/+1
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-04-1744-0/+46
|\ \ \ | | | | | | | | | | | | babolivier/account_expiration
| * \ \ Merge pull request #5047 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-171-0/+1
| |\ \ \ | | | | | | | | | | Send out emails with links to extend an account's validity period
| * \ \ \ Merge pull request #5071 from matrix-org/babolivier/3pid-checkBrendan Abolivier2019-04-171-0/+1
| |\ \ \ \ | | | | | | | | | | | | Make sure we're not registering the same 3pid twice
| | * | | | Make sure we're not registering the same 3pid twiceBrendan Abolivier2019-04-171-0/+1
| | | | | |
| * | | | | Merge pull request #5070 from matrix-org/erikj/postpathErik Johnston2019-04-171-0/+1
| |\ \ \ \ \ | | | |_|/ / | | |/| | | Remove usage of request.postpath
| | * | | | NewsfileErik Johnston2019-04-161-0/+1
| | | | | |
| * | | | | Merge pull request #5065 from matrix-org/erikj/fix_versionsErik Johnston2019-04-161-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | VersionRestServlet doesn't take a param
| | * | | | | NewsfileErik Johnston2019-04-151-0/+1
| | | | | | |
| * | | | | | Use packages.matrix.org for packages (#5067)Travis Ralston2019-04-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use packages.matrix.org for packages See https://github.com/vector-im/riot-web/issues/9497 (applies to more than just Olm) * changelog
| * | | | | | Add systemd-python to optional dependencies (#4339)Silke Hofstra2019-04-161-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using systemd-python allows for logging to the systemd journal, as is documented in: `synapse/contrib/systemd/log_config.yaml`. Signed-off-by: Silke Hofstra <silke@slxh.eu>
| * | | | | Merge pull request #5063 from matrix-org/erikj/move_endpointsErik Johnston2019-04-151-0/+1
| |\| | | | | | | | | | | | | | | | Move some rest endpoints to client reader
| | * | | | NewsfileErik Johnston2019-04-151-0/+1
| | | | | |
| * | | | | Remove periods from copyright headers (#5046)Andrew Morgan2019-04-111-0/+1
| | | | | |
| * | | | | Merge pull request #5033 from matrix-org/erikj/fix_schema_deltaErik Johnston2019-04-101-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Fix schema upgrade when dropping tables
| | * | | | | NewsfileErik Johnston2019-04-091-0/+1
| | | | | | |
| * | | | | | Fix disappearing exceptions in manhole. (#5035)Richard van der Hoff2019-04-101-0/+1
| | |_|_|_|/ | |/| | | | | | | | | | Avoid sending syntax errors from the manhole to sentry.
| * | | | | Merge pull request #5027 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-091-0/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | | Add time-based account expiration
| * | | | | Merge pull request #5030 from matrix-org/rav/rewrite_g_s_v_kRichard van der Hoff2019-04-091-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Rewrite Datastore.get_server_verify_keys
| | * | | | | changelogRichard van der Hoff2019-04-091-0/+1
| | | | | | |
| * | | | | | Bump psycopg requirement (#5032)Richard van der Hoff2019-04-091-0/+1
| |/ / / / /
| * | | | | Remove unused server_tls_certificates functions (#5028)Richard van der Hoff2019-04-082-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | These have been unused since #4120, and with the demise of perspectives, it is unlikely that they will ever be used again.
| * | | | | add context to phonehome stats (#5020)Neil Johnson2019-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | add context to phonehome stats
| * | | | | Merge pull request #5024 from matrix-org/rav/record_correct_server_in_serverkeysRichard van der Hoff2019-04-081-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Fix from_server buglet in get_keys_from_perspectives
| | * | | | | Fix from_server buglet in get_keys_from_perspectivesRichard van der Hoff2019-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make sure we store the name of the server the keys came from, rather than the origin server, after doing a fetch-from-perspectives.
| * | | | | | drop tables listed in #1830 (#4992)Neil Johnson2019-04-081-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tables dropped: * application_services, * application_services_regex, * transaction_id_to_pdu, * stats_reporting * current_state_resets * event_content_hashes * event_destinations * event_edge_hashes * event_signatures * feedback * room_hosts * state_forward_extremities
| * | | | | Merge pull request #5001 from matrix-org/rav/keyring_cleanupsRichard van der Hoff2019-04-081-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Cleanups in the Keyring
| | * | | | | changelogRichard van der Hoff2019-04-041-0/+1
| | | | | | |
| * | | | | | Add config option to block users from looking up 3PIDs (#5010)Brendan Abolivier2019-04-041-0/+1
| | |_|/ / / | |/| | | |
| * | | | | Clean up the database pagination code (#5007)Amber Brown2019-04-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rewrite & simplify * changelog * cleanup potential sql injection
| * | | | | Merge pull request #5002 from matrix-org/erikj/delete_groupErik Johnston2019-04-041-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Add delete group admin API
| | * | | | | NewsfileErik Johnston2019-04-031-0/+1
| | | | | | |
| * | | | | | Prevent kicking users who aren't in the room (#4999)Andrew Morgan2019-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | | Prevent kick events from succeeding if the user is not currently in the room.
| * | | | | | Avoid redundant URL encoding (#4555)Marcel Krüger2019-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not double encode fallback redirect URL Signed-off-by: Marcel Fabian Krüger <zauguin@gmail.com>
| * | | | | | Merge pull request #5004 from ajensenwaud/developErik Johnston2019-04-041-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix issue #4596
| | * | | | | | Fix issue #4596Anders2019-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make synapse_port_db --curses work with Python 3. Signed-off-by: Anders Jensen-Waud <anders@jensenwaud.com>
| * | | | | | | Correct default POSTGRES_USER in Docker README (#4987)*=0=1=4=*2019-04-041-0/+1
| | |/ / / / / | |/| | | | | | | | | | | | Correct default POSTGRES_USER in Docker README
| * | | | | | Fix grammar and document get_current_users_in_room (#4998)Andrew Morgan2019-04-031-0/+1
| | |/ / / / | |/| | | |
| * | | | | Rewrite KeyringTestCase as a HomeServerTestCase (#4986)Richard van der Hoff2019-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bit fiddly due to the keyring doing weird things with logcontexts.
| * | | | | Remove presence lists (#4989)Neil Johnson2019-04-031-0/+1
| | | | | | | | | | | | | | | | | | Remove presence list support as per MSC 1819
| * | | | | Merge pull request #4982 from matrix-org/erikj/msc1915Erik Johnston2019-04-031-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Implement MSC1915 - 3PID unbind APIs
| | * | | | | NewsfileErik Johnston2019-04-011-0/+1
| | | | | | |
| * | | | | | Run black on the rest of the storage module (#4996)Amber Brown2019-04-031-0/+1
| | | | | | |
| * | | | | | Merge pull request #4991 from matrix-org/erikj/stagger_push_startupErik Johnston2019-04-021-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Make starting pushers faster during start up
| | * | | | | | s/misc/feature/Erik Johnston2019-04-021-0/+0
| | | | | | | |
| | * | | | | | NewsfileErik Johnston2019-04-021-0/+1
| | | | | | | |
| * | | | | | | Transfer related groups on room upgrade (#4990)Andrew Morgan2019-04-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Transfers the m.room.related_groups state event on room upgrade.
| * | | | | | | Add config.signing_key_path. (#4974)Richard van der Hoff2019-04-021-0/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As requested by @andrewshadura
| * | / / / / Fix sync bug when accepting invites (#4956)Richard van der Hoff2019-04-021-0/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully this time we really will fix #4422. We need to make sure that the cache on `get_rooms_for_user_with_stream_ordering` is invalidated *before* the SyncHandler is notified for the new events, and we can now do so reliably via the `events` stream.
| * | | | | Neilj/fix threepid auth check (with tests) (#4474)Neil Johnson2019-04-011-0/+1
| | | | | | | | | | | | | | | | | | test threepid checking
| * | | | | Merge pull request #4981 from ↵manuroe2019-04-011-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/manuroe/demo_bypass_account_rate_limiting start.sh: Fix the --no-rate-limit option for messages
| | * | | | | start.sh: Fix the --no-rate-limit option for messages and make it bypass ↵manuroe2019-04-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | rate limit on registration and login too.
| * | | | | | Merge branch 'master' into developNeil Johnson2019-04-0184-85/+0
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | / / | | | |_|/ / | | |/| | |
| * | | | | Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-0/+2
| | |/ / / | |/| | | | | | | | | | | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions.
| * | | | Add changelog.d entryJurrie Overgoor2019-03-291-0/+1
| | | | |
| * | | | Merge pull request #4955 from matrix-org/rav/merge_state_into_eventsRichard van der Hoff2019-03-281-0/+1
| |\ \ \ \ | | | | | | | | | | | | Combine the CurrentStateDeltaStream into the EventStream
| | * | | | changelogRichard van der Hoff2019-03-271-0/+1
| | | | | |
| * | | | | Merge pull request #4954 from matrix-org/rav/refactor_parse_rowRichard van der Hoff2019-03-281-0/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | Refactors to replication stream row update/parsing
| | * \ \ \ \ Merge remote-tracking branch 'origin/develop' into rav/refactor_parse_rowRichard van der Hoff2019-03-281-0/+1
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | |
| | * | | | | changelogRichard van der Hoff2019-03-271-0/+1
| | | | | | |
| * | | | | | remove log line for password (#4965)Neil Johnson2019-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove log line for password.
| * | | | | | Allow password providers to bind emails (#4947)Andrew Morgan2019-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | | This PR allows password provider modules to bind email addresses when a user is registering and is motivated by matrix-org/matrix-synapse-ldap3#58
| * | | | | | Merge pull request #4942 from matrix-org/erikj/fix_presenceErik Johnston2019-03-281-0/+1
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | Use event streams to calculate presence
| | * | | | | NewsfileErik Johnston2019-03-271-0/+1
| | | | | | |
| * | | | | | Merge pull request #4953 from matrix-org/rav/refactor_replication_streamsRichard van der Hoff2019-03-281-0/+2
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | Split up replication.tcp.streams into smaller files
| | * | | | | changelogRichard van der Hoff2019-03-271-0/+2
| | | | | | |
| * | | | | | Run `black` on some storage modules that the stats branch touches (#4959)Amber Brown2019-03-291-0/+1
| |/ / / / /
| * / / / / Fix/improve some docstrings in the replication code. (#4949)Richard van der Hoff2019-03-271-0/+1
| |/ / / /
* | | | / Add management endpoints for account validityBrendan Abolivier2019-04-171-0/+1
| |_|_|/ |/| | |
* | | | Send out emails with links to extend an account's validity periodBrendan Abolivier2019-04-171-0/+1
| |_|/ |/| |
* | | Add account expiration featureBrendan Abolivier2019-04-091-0/+1
| |/ |/|
* | 0.99.3rc1 v0.99.3rc1Neil Johnson2019-03-2784-85/+0
|/
* Support 3PID login in password providers (#4931)Andrew Morgan2019-03-261-0/+1
| | | | | Adds a new method, check_3pid_auth, which gives password providers the chance to allow authentication with third-party identifiers such as email or msisdn.
* Use the state event amount for userdir import batching, not room count (#4944)Amber Brown2019-03-271-0/+1
|
* Make federation endpoints more tolerant of trailing slashes v2 (#4935)Andrew Morgan2019-03-261-0/+1
| | | Redo of https://github.com/matrix-org/synapse/pull/4840
* Fix ClientReplicationStreamProtocol.__str__ (#4929)Richard van der Hoff2019-03-251-0/+1
| | | | | | | | `__str__` depended on `self.addr`, which was absent from ClientReplicationStreamProtocol, so attempting to call str on such an object would raise an exception. We can calculate the peer addr from the transport, so there is no need for addr anyway.
* Fix bug where read-receipts lost their timestamps (#4927)Richard van der Hoff2019-03-251-0/+1
| | | | | Make sure that they are sent correctly over the replication stream. Fixes: #4898
* Use an explicit dbname for postgres connections in the tests. (#4928)Richard van der Hoff2019-03-251-0/+1
| | | | | | I don't have a database with the same name as my user, so leaving the database name unset fails. While we're at it, clear out some unused stuff in the test setup.
* Fix nginx example in ACME doc. (#4923)Richard van der Hoff2019-03-251-0/+1
|
* Refactor out state delta handling into its own class (#4917)Amber Brown2019-03-251-0/+1
|
* Merge pull request #4869 from matrix-org/erikj/yaml_loadErik Johnston2019-03-221-0/+1
|\ | | | | Fix yaml warnings by using safe_load
| * NewsfileErik Johnston2019-03-221-0/+1
| |
* | Allow newsfragments to end with exclamation marks! (#4912)Richard van der Hoff2019-03-211-0/+1
| |
* | Some more porting to HomeserverTestCase and remove old RESTHelper (#4913)Amber Brown2019-03-221-0/+1
| |
* | Remove trailing slashes from outbound federation requests and retry on 400 ↵Andrew Morgan2019-03-211-0/+1
|\ \ | |/ |/| | | | | (#4840) As per #3622, we remove trailing slashes from outbound federation requests. However, to ensure that we remain backwards compatible with previous versions of Synapse, if we receive a HTTP 400 with `M_UNRECOGNIZED`, then we are likely talking to an older version of Synapse in which case we retry with a trailing slash appended to the request path.