summary refs log tree commit diff
path: root/changelog.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop' into anoa/widgets_room_upgrade github/anoa/widgets_room_upgrade anoa/widgets_room_upgradeAndrew Morgan2019-04-046-0/+6
|\
| * 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
* / | Add changelogAndrew Morgan2019-04-031-0/+1
|/ /
* | 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
|\ \ \ | |/ / |/| |
| * | 0.99.3rc1 v0.99.3rc1Neil Johnson2019-03-2784-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
|/
* 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.
| * | | Merge pull request #4652 from matrix-org/babolivier/acme-delegatedBrendan Abolivier2019-02-191-0/+1
| |\ \ \ | | | | | | | | | | Support .well-known delegation when issuing certificates through ACME
| | * \ \ Merge branch 'develop' into babolivier/acme-delegatedBrendan Abolivier2019-02-183-0/+3
| | |\ \ \
| | * | | | Typo in changelogAndrew Morgan2019-02-181-1/+1
| | | | | | | | | | | | | | | | | | Co-Authored-By: babolivier <contact@brendanabolivier.com>
| | * | | | Support .well-known delegation when issuing certificates through ACMEBrendan Abolivier2019-02-151-0/+1
| | | | | |
| * | | | | Merge pull request #4670 from matrix-org/erikj/register_login_splitErik Johnston2019-02-192-1/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | Split /login into client_reader
| | * | | | | NewsfileErik Johnston2019-02-181-0/+1
| | | | | | |
| | * | | | | Update worker docsErik Johnston2019-02-181-1/+1
| | | | | | |
| * | | | | | Try and make TLS federation client code faster (#4674)Richard van der Hoff2019-02-191-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * fix to use makeContext so that we don't need to rebuild the certificateoptions each time
| | * | | | | | misc->featureRichard van der Hoff2019-02-191-0/+0
| | | | | | | |
| | * | | | | | changelogAmber Brown2019-02-191-0/+1
| | | |_|_|/ / | | |/| | | |
| * | | | | | Merge pull request #4642 from matrix-org/anoa/bans_room_upgradeAndrew Morgan2019-02-191-0/+1
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | Transfer bans on room upgrade
| | * | | | | Move member event processing and changelog fixAndrew Morgan2019-02-181-0/+0
| | | | | | |
| | * | | | | Add changelogAndrew Morgan2019-02-181-0/+1
| | | | | | |
| * | | | | | Merge pull request #4632 from matrix-org/erikj/basic_sentryErik Johnston2019-02-181-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Add basic optional sentry.io integration
| | * | | | | | Fixup comments and add warningErik Johnston2019-02-131-1/+1
| | | | | | | |
| | * | | | | | NewsfileErik Johnston2019-02-121-0/+1
| | | | | | | |
| * | | | | | | Merge pull request #4666 from matrix-org/erikj/register_login_splitErik Johnston2019-02-181-0/+1
| |\ \ \ \ \ \ \ | | | |_|/ / / / | | |/| | | | | Split out registration to worker
| | * | | | | | Update changelog.d/4666.featureWill Hunt2019-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re>
| | * | | | | | NewsfileErik Johnston2019-02-181-0/+1
| | | | | | | |
| * | | | | | | Merge pull request #4668 from matrix-org/erikj/catch_exceptionsErik Johnston2019-02-181-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Correctly handle HttpResponseException when handling device updates
| | * | | | | | | NewsfileErik Johnston2019-02-181-0/+1
| | | |_|_|_|/ / | | |/| | | | |
| * | | | | | | Merge pull request #4669 from matrix-org/erikj/log_exceptionErik Johnston2019-02-181-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Cleanup top level request exception logging
| | * | | | | | | NewsfileErik Johnston2019-02-181-0/+1
| | |/ / / / / /
| * | | | | | | Merge pull request #4651 from matrix-org/matthew/well-known-corsErik Johnston2019-02-181-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | set CORS on .well-known URI to unbreak modular
| | * | | | | | | FixupErik Johnston2019-02-181-1/+1
| | | | | | | | |
| | * | | | | | | changelogMatthew Hodgson2019-02-181-0/+1
| | | |_|_|_|/ / | | |/| | | | |
| * | | | | | | Merge pull request #4667 from matrix-org/erikj/fix_revoke_guest_access_workersErik Johnston2019-02-181-0/+1
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | Fix kicking guest users in worker mode
| | * | | | | | NewsfileErik Johnston2019-02-181-0/+1
| | | |/ / / / | | |/| | | |
| * | | | | | Merge pull request #4643 from matrix-org/erikj/catch_exceptionsErik Johnston2019-02-181-0/+1
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | Correctly handle RequestSendFailed exceptions
| | * | | | | NewsfileErik Johnston2019-02-141-0/+1
| | | |_|/ / | | |/| | |
| * | | | | ChangelogTravis Ralston2019-02-151-0/+1
| | | | | |
| * | | | | Merge pull request #4647 from matrix-org/erikj/add_room_publishing_rulesErik Johnston2019-02-151-0/+1
| |\ \ \ \ \ | | |_|/ / / | |/| | | | Add configurable room list publishing rules
| | * | | | NewsfileErik Johnston2019-02-141-0/+1
| | |/ / /
| * | | | Merge branch 'master' into developRichard van der Hoff2019-02-141-1/+0
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | 0.99.1rc2 v0.99.1rc2Richard van der Hoff2019-02-131-1/+0
| | | | |
| * | | | Merge pull request #4450 from 14mRh4X0r/fix-dependency-messageRichard van der Hoff2019-02-131-0/+2
| |\ \ \ \ | | | | | | | | | | | | Fix error message for optional dependencies
| | * | | | Fix error message for optional dependenciesWillem Mulder2019-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Willem Mulder <willemmaster@hotmail.com>