summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use attr.s for VerifyKeyRequestRichard van der Hoff2019-05-301-0/+1
| | | | because namedtuple is awful
* 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.
| * Merge branch 'develop' into anoa/trailing_slashes_clientAndrew Morgan2019-03-112-0/+2
| |\
| * \ Merge branch 'develop' into anoa/trailing_slashes_clientAndrew Morgan2019-03-113-0/+3
| |\ \
| * | | Add changelogAndrew Morgan2019-03-081-0/+1
| | | |
* | | | Merge pull request #4908 from matrix-org/erikj/block_peek_on_blocked_roomsErik Johnston2019-03-211-0/+1
|\ \ \ \ | | | | | | | | | | Deny peeking into rooms that have been blocked
| * | | | Update changelog.d/4908.bugfixRichard van der Hoff2019-03-211-1/+1
| | | | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re>
| * | | | NewsfileErik Johnston2019-03-211-0/+1
| | | | |
* | | | | Update Apache Setup To Remove Location Syntax (#4870)Colin W2019-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This one should close #4841. Many thanks to @dev4223 for bringing it up and finding a solution. Signed-off-by: Colin White
* | | | | Merge pull request #4904 from matrix-org/erikj/fix_shutdownErik Johnston2019-03-211-0/+1
|\| | | | | | | | | | | | | | Fixup shutdown room API
| * | | | NewsfileErik Johnston2019-03-201-0/+1
| | | | |
* | | | | Merge pull request #4896 from matrix-org/erikj/disable_room_directoryErik Johnston2019-03-211-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Add option to disable search room lists
| * | | | | NewsfileErik Johnston2019-03-191-0/+1
| | | | | |
* | | | | | Log requests which are simulated by the unit tests. (#4905)Richard van der Hoff2019-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Rather than stubbing out the access_log, make it actually log the requests, which makes it a lot more obvious what is going on during tests.
* | | | | | Merge pull request #4895 from matrix-org/erikj/disable_user_searchErik Johnston2019-03-201-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Add option to disable searching in the user dir
| * | | | | NewsfileErik Johnston2019-03-191-0/+1
| |/ / / /
* | | | | Batching in the user directory import (#4900)Amber Brown2019-03-211-0/+1
| | | | |
* | | | | Add a config option for torture-testing worker replication. (#4902)Richard van der Hoff2019-03-201-0/+1
| | | | | | | | | | | | | | | Setting this to 50 or so makes a bunch of sytests fail in worker mode.
* | | | | Batch up outgoing read-receipts to reduce federation traffic. (#4890)Richard van der Hoff2019-03-201-0/+1
|/ / / / | | | | | | | | | | | | Rate-limit outgoing read-receipts as per #4730.
* | | | NewsfileErik Johnston2019-03-191-0/+1
| | | |
* | | | Merge pull request #4879 from matrix-org/erikj/test_old_depsErik Johnston2019-03-191-0/+1
|\ \ \ \ | | | | | | | | | | Add py27-old test case to buildkite
| * | | | Update newsfileErik Johnston2019-03-191-1/+1
| | | | |
| * | | | NewsfileErik Johnston2019-03-181-0/+1
| | | | |
* | | | | changelogRichard van der Hoff2019-03-191-0/+1
| | | | |
* | | | | Merge remote-tracking branch 'origin/develop' into HEADRichard van der Hoff2019-03-194-0/+4
|\ \ \ \ \
| * | | | | fix test_auto_create_auto_join_where_no_consent (#4886)Neil Johnson2019-03-192-0/+2
| | | | | |
| * | | | | Fix user directory background update (#4887)Erik Johnston2019-03-191-0/+1
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/master' into developRichard van der Hoff2019-03-191-0/+1
| |\ \ \ \ \
| | * | | | | Repoint docs for federation (#4881)Michael Kaye2019-03-191-0/+1
| | | | | | |
* | | | | | | Enforce hs_disabled_message correctlyRichard van der Hoff2019-03-191-0/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where hs_disabled_message was not enforced for 3pid-based requests if there was no server_notices_mxid configured.
* | | | | | Comment out most options in the generated config. (#4863)Richard van der Hoff2019-03-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it so that most options in the config are optional, and commented out in the generated config. The reasons this is a good thing are as follows: * If we decide that we should change the default for an option, we can do so, and only those admins that have deliberately chosen to override that option will be stuck on the old setting. * It moves us towards a point where we can get rid of the super-surprising feature of synapse where the default settings for the config come from the generated yaml. * It makes setting up a test config for unit testing an order of magnitude easier (see forthcoming PR). * It makes the generated config more consistent, and hopefully easier for users to understand.
* | | | | | Migrate the user directory initial population to a background task (#4864)Amber Brown2019-03-191-0/+1
| | | | | |
* | | | | | Add ratelimiting on failed login attempts (#4865)Brendan Abolivier2019-03-181-0/+1
| |/ / / / |/| | | |
* | | | | Add ratelimiting on login (#4821)Brendan Abolivier2019-03-151-0/+1
| | | | | | | | | | | | | | | Add two ratelimiters on login (per-IP address and per-userID).
* | | | | Merge pull request #4855 from matrix-org/rav/refactor_transaction_queueRichard van der Hoff2019-03-151-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Split TransactionQueue up
| * | | | | changelogRichard van der Hoff2019-03-131-0/+1
| | | | | |
* | | | | | Merge pull request #4852 from matrix-org/rav/move_rr_sending_to_workerRichard van der Hoff2019-03-151-0/+1
|\| | | | | | | | | | | | | | | | | Move client receipt processing to federation sender worker.
| * | | | | changelogRichard van der Hoff2019-03-131-0/+1
| | | | | |
* | | | | | Merge pull request #4853 from matrix-org/erikj/worker_docker_ciErik Johnston2019-03-151-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Allow passing --daemonize to workers
| * | | | | | NewsfileErik Johnston2019-03-131-0/+1
| | | | | | |
* | | | | | | Add systemd setup that supports workers (#4662)Luca Corbatto2019-03-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This setup is a way to manage workers with systemd. It does however not require workers. You can use this setup without workers. You just have to make sure that the homeserver is forking and writes its PID file to the location the service is looking in. The currently distributed setup in the debian package does not work in conjunction with workers. * Adds changelog * Lets systemd handle the forking Sets all services to `type=simple` and disables daemonizing on the synapse side. * Formats readme to 80 columns per line * Allows for full restart of all workers * Changes README to reflect the new setup * Adds dot to end of changelog file * Removes surplus word Co-Authored-By: targodan <targodan@users.noreply.github.com> * Adds missing word Co-Authored-By: targodan <targodan@users.noreply.github.com> * Fixes linebreak Co-Authored-By: targodan <targodan@users.noreply.github.com> * Fixes unit type
* | | | | | | Add some stuff back to the .gitignore (#4843)Aaron Raimist2019-03-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add some stuff back to the .gitignore Signed-off-by: Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by: Aaron Raimist <aaron@raim.ist> * Reorder and remove old items from .gitignore Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | | | | Revert "Make federation endpoints more tolerant of trailing slashes for some ↵Erik Johnston2019-03-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | endpoints (#4793)" This reverts commit 290552fd836f4ae2dc1d893a7f72f7fff85365d3.
* | | | | | | Merge pull request #4846 from matrix-org/hawkowl/userdir-searchErik Johnston2019-03-141-0/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Improve searching in the userdir
| * | | | | | changelogAmber Brown2019-03-121-0/+1
| | |_|_|/ / | |/| | | |
* | | | | | Document using a certificate with a full chain (#4849)Andrew Morgan2019-03-131-0/+1
| | | | | |
* | | | | | Merge branch 'master' of github.com:matrix-org/synapse into developNeil Johnson2019-03-121-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | / / / | | |/ / / | |/| | |
| * | | | Neilj/improved delegation doc 2 (#4832)Neil Johnson2019-03-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Improved federation configuration docs. Specifically detailing .well-known and SRV based delegation methods. Inspiration Valentin Lab <valentin.lab@kalysto.org> for https://github.com/matrix-org/synapse/pull/4781
* | | | | Transfer local user's push rules on room upgrade (#4838)Andrew Morgan2019-03-121-0/+1
| | | | | | | | | | | | | | | Transfer push rules (notifications) on room upgrade
* | | | | Clarify what registration_shared_secret allows for (#2885) (#4844)Aaron Raimist2019-03-111-0/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clarify what registration_shared_secret allows for (#2885) Signed-off-by: Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by: Aaron Raimist <aaron@raim.ist>
* | | | Make federation endpoints more tolerant of trailing slashes for some ↵Andrew Morgan2019-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | endpoints (#4793) Server side of a solution towards #3622.
* | | | NewsfileErik Johnston2019-03-111-0/+1
| |/ / |/| |
* | | Merge pull request #4839 from matrix-org/anoa/no_captcha_testsAndrew Morgan2019-03-111-0/+1
|\ \ \ | | | | | | | | Disable captcha registration by default in tests