summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |
| * | | Merge pull request #4718 from matrix-org/erikj/fix_backfill_state_shredErik Johnston2019-02-251-0/+1
| |\ \ \ | | | | | | | | | | Fix backfill storing incorrect state for events
| | * | | Fixup changelogErik Johnston2019-02-251-1/+1
| | | | |
| | * | | NewsfileErik Johnston2019-02-251-0/+1
| | | | |
| * | | | Merge pull request #4721 from matrix-org/erikj/msc_1866Erik Johnston2019-02-251-0/+1
| |\ \ \ \ | | | | | | | | | | | | MSC 1866 - Use M_UNSUPPORTED_ROOM_VERSION for invite API
| | * | | | NewsfileErik Johnston2019-02-231-0/+1
| | | | | |
| * | | | | Merge pull request #4722 from ↵Erik Johnston2019-02-251-0/+1
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | matrix-org/erikj/correctly_handle_keyring_exceptions Handle errors when fetching remote server keys
| | * | | | NewsfileErik Johnston2019-02-231-0/+1
| | |/ / /
| * / / / NewsfileErik Johnston2019-02-231-0/+1
| |/ / /
| * | | Merge pull request #4716 from matrix-org/erikj/pusher_loggingErik Johnston2019-02-221-0/+1
| |\ \ \ | | | | | | | | | | Fix up pusher logging a bit
| | * | | NewsfileErik Johnston2019-02-221-0/+1
| | |/ /
| * / / NewsfileErik Johnston2019-02-221-0/+1
| |/ /
| * | Add prometheus metrics for number of badge update pushes. (#4709)Richard van der Hoff2019-02-221-0/+1
| | | | | | | | | | | | | | | | | | We're counting the number of push notifications, but not the number of badges; I'd like to see if they are significant.
| * | Better checks on newsfragments (#4698)Richard van der Hoff2019-02-221-0/+1
| | | | | | | | | | | | | | | * You need an entry in the debian changelog (and not a regular newsfragment) for debian packaging changes. * Regular newsfragments must end in full stops.
| * | Minor tweaks to acme docs (#4689)Richard van der Hoff2019-02-221-0/+1
| | |
| * | bail out early in on_new_receipts if no pushers (#4706)Richard van der Hoff2019-02-211-0/+1
| | |
| * | Run push_receipts_to_remotes as background job (#4707)Richard van der Hoff2019-02-211-0/+1
| | | | | | | | | I suspect the CPU usage metrics for this are going to /dev/null at the moment.
| * | Added HAProxy example (#4660)Benoît S2019-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added HAProxy example Proposal of an example with HAProxy. Asked by #4541. Signed-off-by: Benoît S. (“Benpro”) <gitlab@benpro.fr> * Following suggestions of @richvdh
| * | Merge pull request #4263 from rkfg/developErik Johnston2019-02-211-0/+1
| |\ \ | | | | | | | | Prevent crash on pagination.
| | * | Prevent crash on pagination.rkfg2018-12-061-0/+1
| | | |
| * | | Consider e2e_room_keys.is_verified column as booleanEric2019-02-201-0/+3
| | |/ | |/| | | | | | | | | | | | | | | | This column was considered as an int, crashing the whole migration process Signed-off-by: Eric <eric@pedr0.net>
| * | Merge pull request #4694 from matrix-org/erikj/fix_sentry_config_formatErik Johnston2019-02-201-0/+1
| |\ \ | | | | | | | | Fixup generated metrics config
| | * | NewsfileErik Johnston2019-02-201-0/+1
| | | |
| * | | Add metrics for number of outgoing EDUs, by type (#4695)Richard van der Hoff2019-02-201-0/+1
| | | |
| * | | UPSERT many functionality (#4644)Amber Brown2019-02-201-0/+1
| | | |
| * | | Logging improvements for the pusher (#4691)Richard van der Hoff2019-02-201-0/+1
| | | |
| * | | Fix TaskStopped exceptions when outbound requests time out (#4690)Richard van der Hoff2019-02-201-0/+1
| | | |
| * | | Clean up gitignores (#4688)Richard van der Hoff2019-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | I just got bitten by a file being caught by the .gitignore, which shouldn't have been, and am now pissed off with the .gitignore. I have basically declared bankruptcy on it and started again.
| * | | Merge pull request #4678 from matrix-org/rav/tls_install_instructionsRichard van der Hoff2019-02-201-0/+1
| |\ \ \ | | |/ / | |/| | Attempt to clarify installation/config instructions
| | * | changelogRichard van der Hoff2019-02-191-0/+1
| | | |
| * | | Fix registration on workers (#4682)Erik Johnston2019-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move RegistrationHandler init to HomeServer * Move post registration actions to RegistrationHandler * Add post regisration replication endpoint * Newsfile
| * | | Run unit tests against python 3.7 (#4677)Richard van der Hoff2019-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Run unit tests against python 3.7 ... so that we span the full range of our supported python versions * Switch to xenial * fix psql fail * pep8 etc want python 3.6
| * | | Merge pull request #4671 from matrix-org/erikj/state_cache_invalidationErik Johnston2019-02-191-0/+1
| |\ \ \ | | |/ / | |/| | Batch cache invalidation over replication
| | * | NewsfileErik Johnston2019-02-181-0/+1
| | | |
| * | | Merge pull request #4676 from matrix-org/rav/pg95Richard van der Hoff2019-02-191-0/+1
| |\ \ \ | | | | | | | | | | Test against Postgres 9.5 as well as 9.4
| | * | | Test against Postgres 9.5 as well as 9.4Richard van der Hoff2019-02-191-0/+1
| | |/ / | | | | | | | | | | | | | | | | Postgres 9.5 is the first to support UPSERTs, so we should really run against it as well as 9.4.