summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | Add changelogAndrew Morgan2019-03-081-0/+1
| | |/ | |/|
* | | fix incorrect encoding of filenames with spaces in (#2090)Matthew Hodgson2019-03-111-0/+1
| | | | | | | | | | | | fixes https://github.com/vector-im/riot-web/issues/3155
* | | NewsfileErik Johnston2019-03-081-0/+1
|/ /
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-03-0814-0/+14
|\ \ | | | | | | | | | erikj/soft_fail_impl
| * \ Merge pull request #4829 from matrix-org/erikj/device_list_seen_updatesErik Johnston2019-03-081-0/+1
| |\ \ | | | | | | | | When re-syncing device lists reset the state
| | * | NewsfileErik Johnston2019-03-071-0/+1
| | | |
| * | | NewsfileErik Johnston2019-03-071-0/+1
| |/ /
| * | Merge pull request #4824 from matrix-org/rav/docker_docsRichard van der Hoff2019-03-071-0/+1
| |\ \ | | | | | | | | Document the `generate` option for the docker image.
| | * | Document the `generate` option for the docker image.Richard van der Hoff2019-03-071-0/+1
| | | |
| * | | Update example_log_config.yaml (#4820)Richard van der Hoff2019-03-071-0/+1
| | | |
| * | | Fix check-newsfragment for debian-only changes. (#4825)Richard van der Hoff2019-03-071-0/+1
| | | |
| * | | Rewrite userdir to be faster (#4537)Amber Brown2019-03-071-0/+1
| | | |
| * | | Reword the sample config header to be less scary (#4801)Matthew Hodgson2019-03-071-0/+1
| |/ /
| * | Merge pull request #4779 from matrix-org/travis/iconsTravis Ralston2019-03-061-0/+1
| |\ \ | | | | | | | | Use static locations for Riot icons
| | * | Update changelog.d/4779.miscRichard van der Hoff2019-03-061-1/+1
| | | | | | | | | | | | Co-Authored-By: turt2live <travpc@gmail.com>
| | * | ChangelogTravis Ralston2019-03-011-0/+1
| | | |
| * | | Merge pull request #4818 from matrix-org/erikj/prefill_client_ipsErik Johnston2019-03-061-0/+1
| |\ \ \ | | | | | | | | | | Prefill client IPs cache on workers
| | * | | Update changelogErik Johnston2019-03-062-1/+1
| | | | |
| | * | | NewsfileErik Johnston2019-03-061-0/+1
| | | | |
| * | | | Merge pull request #4815 from matrix-org/erikj/docstringsErik Johnston2019-03-061-0/+1
| |\ \ \ \ | | | | | | | | | | | | Add docstrings from matrix-org-hotfixes
| | * | | | NewsfileErik Johnston2019-03-061-0/+1
| | |/ / /
| * | | | Merge pull request #4816 from matrix-org/erikj/4422_debugErik Johnston2019-03-061-0/+1
| |\ \ \ \ | | | | | | | | | | | | Port #4422 debug logging from hotfixes
| | * | | | NewsfileErik Johnston2019-03-061-0/+1
| | |/ / /
| * / / / NewsfileErik Johnston2019-03-061-0/+1
| |/ / /
| * | | Merge pull request #4792 from matrix-org/anoa/replication_tokensAndrew Morgan2019-03-061-0/+1
| |\ \ \ | | | | | | | | | | Support batch updates in the worker sender
| | * | | Add changelogAndrew Morgan2019-03-041-0/+1
| | | | |
| * | | | Add changelogBrendan Abolivier2019-03-051-0/+1
| | | | |
* | | | | NewsfileErik Johnston2019-03-061-0/+1
|/ / / /
* | | | Merge pull request #4772 from jbweston/jbweston/server-version-apiErik Johnston2019-03-051-0/+1
|\ \ \ \ | | | | | | | | | | Add 'server_version' endpoint to admin API
| * | | | Add changelog and AUTHORS file entryJoseph Weston2019-03-011-0/+1
| |/ / / | | | | | | | | | | | | Signed-off-by: Joseph Weston <joseph@weston.cloud>
* | | | Add rate-limiting on registration (#4735)Brendan Abolivier2019-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rate-limiting for registration * Add unit test for registration rate limiting * Add config parameters for rate limiting on auth endpoints * Doc * Fix doc of rate limiting function Co-Authored-By: babolivier <contact@brendanabolivier.com> * Incorporate review * Fix config parsing * Fix linting errors * Set default config for auth rate limiting * Fix tests * Add changelog * Advance reactor instead of mocked clock * Move parameters to registration specific config and give them more sensible default values * Remove unused config options * Don't mock the rate limiter un MAU tests * Rename _register_with_store into register_with_store * Make CI happy * Remove unused import * Update sample config * Fix ratelimiting test for py2 * Add non-guest test
* | | | Merge pull request #4795 from matrix-org/anoa/configinatoractoringAndrew Morgan2019-03-051-0/+1
|\ \ \ \ | | | | | | | | | | Remove reference to that no longer exists in README
| * | | | Add changelogAndrew Morgan2019-03-041-0/+1
| | | | |
* | | | | Merge pull request #4794 from matrix-org/anoa/erroneous_dollahsAndrew Morgan2019-03-051-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Remove unnecessary dollar signs
| * | | | | Add changelogAndrew Morgan2019-03-041-0/+1
| |/ / / /
* | | | | Merge pull request #4699 from matrix-org/erikj/stop_fed_not_in_roomErik Johnston2019-03-051-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Stop backpaginating when events not visible
| * | | | | clarify commentsErik Johnston2019-03-051-1/+1
| | | | | |
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2019-03-0436-27/+10
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | erikj/stop_fed_not_in_room
| * | | | | | Update newsfile to have a full stopErik Johnston2019-02-271-1/+1
| | | | | | |
| * | | | | | NewsfileErik Johnston2019-02-201-0/+1
| | | | | | |
* | | | | | | Merge pull request #4799 from matrix-org/rav/clean_up_replication_codeErik Johnston2019-03-051-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Clean ups in replication notifier
| * | | | | | | changelogRichard van der Hoff2019-03-041-0/+1
| | | | | | | |
* | | | | | | | Merge pull request #4796 from matrix-org/erikj/factor_out_e2e_keysErik Johnston2019-03-051-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Allow /keys/{changes,query} API to run on worker
| * | | | | | | | NewsfileErik Johnston2019-03-041-0/+1
| | |_|_|/ / / / | |/| | | | | |
* | | | | | | | Add some debug about processing read receipts.Richard van der Hoff2019-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm hoping to establish which rooms are having lots of RRs sent for them, and how old the events are when they are sent.
* | | | | | | | Clean up read-receipt handling.Richard van der Hoff2019-03-041-0/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a call to run_as_background_process: there is no need to run this as a background process, because build_and_send_edu does not block. We may as well inline the whole of _push_remotes.
* | | | | | | Include a default configuration file in the 'docs' directory. (#4791)Richard van der Hoff2019-03-041-0/+1
|/ / / / / /
* | | | | | Fix v4v6 option in HAProxy example config (#4790)Seebi2019-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The v4v6 option only has a usage one ipv6 socket: https://serverfault.com/q/747895 Signed-off-by: Flakebi <flakebi@t-online.de>
* | | | | | Avoid rebuilding Edu objects in worker mode (#4770)Richard van der Hoff2019-03-041-0/+1
| |/ / / / |/| | | | | | | | | | | | | | | | | | | In worker mode, on the federation sender, when we receive an edu for sending over the replication socket, it is parsed into an Edu object. There is no point extracting the contents of it so that we can then immediately build another Edu.
* | | | | Update test_typing to use HomeserverTestCase. (#4771)Richard van der Hoff2019-03-041-0/+1
| |_|/ / |/| | |
* | | | Fix incorrect log about not persisting duplicate state event. (#4776)Richard van der Hoff2019-03-011-0/+1
| |/ / |/| | | | | We were logging this when it was not true.
* | | Minor docstring fixes for MatrixFederationAgent (#4765)Andrew Morgan2019-02-281-0/+1
| | |
* | | Make 'event_id' a required parameter in federated state requests (#4741)Amber Brown2019-02-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make 'event_id' a required parameter in federated state requests As per the spec: https://matrix.org/docs/spec/server_server/r0.1.1.html#id40 Signed-off-by: Joseph Weston <joseph@weston.cloud> * add changelog entry for bugfix Signed-off-by: Joseph Weston <joseph@weston.cloud> * Update server.py
* | | Fix parsing of Content-Disposition headers (#4763)Richard van der Hoff2019-02-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix parsing of Content-Disposition headers TIL: filenames in content-dispostion headers can contain semicolons, and aren't %-encoded. * fix python2 incompatibility * Fix docstrings
* | | Move from TravisCI to BuildKite (#4752)Amber Brown2019-02-271-0/+1
| | |
* | | Merge pull request #4759 from matrix-org/erikj/3pid_client_readerErik Johnston2019-02-271-0/+1
|\ \ \ | | | | | | | | Move /account/3pid to client_reader
| * | | Update changelog.d/4759.featureRichard van der Hoff2019-02-271-1/+1
| | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re>
| * | | NewsfileErik Johnston2019-02-271-0/+1
| | | |
* | | | Merge pull request #4758 from matrix-org/erikj/use_presence_replicationErik Johnston2019-02-271-0/+1
|\ \ \ \ | | | | | | | | | | When presence is disabled don't send over replication
| * | | | NewsfileErik Johnston2019-02-271-0/+1
| |/ / /
* / / / NewsfileErik Johnston2019-02-271-0/+1
|/ / /
* | | Merge pull request #4749 from matrix-org/erikj/replication_connection_backoffErik Johnston2019-02-271-0/+1
|\ \ \ | |_|/ |/| | Fix tightloop over connecting to replication server
| * | NewsfileErik Johnston2019-02-261-0/+1
| | |
* | | 0.99.2rc1 v0.99.2rc1Richard van der Hoff2019-02-2747-50/+0
| | |
* | | Limit cache invalidation replication line length (#4748)Erik Johnston2019-02-271-0/+1
| | |
* | | Add database version to phonehome stats. (#4753)Richard van der Hoff2019-02-271-0/+1
| | |
* | | Fix check-newsfragment script (#4750)Richard van der Hoff2019-02-262-1/+2
|/ / | | | | | | | | | | | | | | | | | | * Fix check-newsfragment script I previously broke this so that it always succeeded... * more fixes * fix newsfiles
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Andrew Morgan2019-02-2643-0/+46
|\ \ | | | | | | | | | anoa/public_rooms_federate_develop
| * | Don't log stack trace when client has gone away during media download (#4738)Erik Johnston2019-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Don't log stack trace when client has gone away during media download * Newsfile * Fixup newsfile
| * | Fix ACME config for python 2. (#4717)Richard van der Hoff2019-02-251-0/+1
| | | | | | | | | Fixes #4675.
| * | Merge pull request #4737 from matrix-org/erikj/failure_log_tbErik Johnston2019-02-252-1/+2
| |\ \ | | | | | | | | Log tracebacks correctly
| | * | NewsfileErik Johnston2019-02-252-1/+2
| | | |