summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* regen sample config github/anoa/msc_1711 anoa/msc_1711Andrew Morgan2019-04-081-2/+3
|
* Heavier warning about disabling TLS verificationAndrew Morgan2019-04-081-2/+3
|
* Add comment and simplify diffAndrew Morgan2019-04-082-1/+4
|
* domain globbingAndrew Morgan2019-04-043-14/+17
|
* sample confiiiiiiiiiiiiiiiiiiiiiiigAndrew Morgan2019-04-041-2/+5
|
* fix domain_whitelistAndrew Morgan2019-04-041-4/+4
|
* lintAndrew Morgan2019-04-041-1/+4
|
* Change federation whitelist stuff backAndrew Morgan2019-04-045-11/+21
|
* Address changesAndrew Morgan2019-04-043-14/+7
|
* Addressed changesAndrew Morgan2019-04-043-44/+27
|
* provide an arg to default_configAndrew Morgan2019-04-031-1/+1
|
* regenAndrew Morgan2019-04-031-2/+10
|
* regen configAndrew Morgan2019-04-031-2/+1
|
* fix domain whitelistAndrew Morgan2019-04-034-15/+11
|
* Don't break logic when refactoringAndrew Morgan2019-04-033-3/+3
|
* None is very different from []Andrew Morgan2019-04-036-14/+25
|
* Change test defaultsAndrew Morgan2019-04-031-3/+3
|
* Raise config error if empty ca listAndrew Morgan2019-04-031-0/+4
|
* Simplify with better exception handlingAndrew Morgan2019-04-031-9/+4
|
* Don't laugh at my own jokesAndrew Morgan2019-04-031-4/+4
|
* Remove turning cert validation off from faqAndrew Morgan2019-04-031-22/+0
|
* regen sample configAndrew Morgan2019-04-021-2/+10
|
* Address changes. Make federation_domain_whitelist not NoneAndrew Morgan2019-04-029-53/+40
|
* Restart buildAndrew Morgan2019-04-020-0/+0
|
* Shuffle configAndrew Morgan2019-04-022-4/+2
|
* Pass configAndrew Morgan2019-04-021-0/+1
|
* isortAndrew Morgan2019-04-021-1/+1
|
* isortAndrew Morgan2019-04-021-2/+1
|
* Correct importsAndrew Morgan2019-04-021-6/+2
|
* liiintAndrew Morgan2019-04-021-1/+1
|
* lintAndrew Morgan2019-04-021-1/+6
|
* Give MFA config accessAndrew Morgan2019-04-022-2/+4
|
* Check for type instead of not NoneAndrew Morgan2019-04-021-9/+10
|
* Give tests config with default config valuesAndrew Morgan2019-04-022-2/+6
|
* Use platformTrust instead of verify=TrueAndrew Morgan2019-04-021-4/+7
|
* Remove TODOAndrew Morgan2019-04-022-1/+2
|
* Don't run validation code if validation is turned offAndrew Morgan2019-04-023-25/+34
|
* againAndrew Morgan2019-04-011-1/+1
|
* againAndrew Morgan2019-04-011-1/+1
|
* againAndrew Morgan2019-04-011-1/+1
|
* Cache configAndrew Morgan2019-04-011-2/+3
|
* Merge branch 'develop' into anoa/msc_1711Andrew Morgan2019-04-01135-320/+546
|\
| * Neilj/fix threepid auth check (with tests) (#4474)Neil Johnson2019-04-012-0/+33
| | | | | | test threepid checking
| * Merge pull request #4981 from ↵manuroe2019-04-012-5/+16
| |\ | | | | | | | | | | | | 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-012-5/+16
| | | | | | | | | | | | rate limit on registration and login too.
| * | Merge branch 'master' into developNeil Johnson2019-04-0188-89/+107
| |\ \ | | |/ | |/|
| | * 0.99.3 v0.99.3 github/release-v0.99.3 release-v0.99.3Neil Johnson2019-04-013-3/+13
| | |
| | * convert rst link to mdNeil Johnson2019-04-011-1/+1
| | |
| | * 0.99.3rc1 v0.99.3rc1Neil Johnson2019-03-2785-85/+93
| | |
| | * bump versionNeil Johnson2019-03-271-1/+1
| | |
| * | Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-0128-168/+222
| | | | | | | | | | | | 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.
| * | Merge pull request #4968 from Jurrie/feature/fix_small_stuff_in_Docker_README.mdRichard van der Hoff2019-03-292-2/+4
| |\ \ | | | | | | | | Feature/fix small stuff in docker readme.md
| | * | Add changelog.d entryJurrie Overgoor2019-03-291-0/+1
| | | |
| | * | Add -p argument for docker run command exampleJurrie Overgoor2019-03-291-0/+1
| | | | | | | | | | | | Signed-off-by: Jurrie Overgoor <1213142+Jurrie@users.noreply.github.com>
| | * | Fix typo in TLS filenamesJurrie Overgoor2019-03-291-2/+2
| |/ / | | | | | | Signed-off-by: Jurrie Overgoor <1213142+Jurrie@users.noreply.github.com>
| * | Merge pull request #4955 from matrix-org/rav/merge_state_into_eventsRichard van der Hoff2019-03-289-49/+141
| |\ \ | | | | | | | | Combine the CurrentStateDeltaStream into the EventStream
| | * | changelogRichard van der Hoff2019-03-271-0/+1
| | | |
| | * | Combine the CurrentStateDeltaStream into the EventStreamRichard van der Hoff2019-03-275-33/+43
| | | |
| | * | Make EventStream rows have a typeRichard van der Hoff2019-03-274-17/+98
| | | | | | | | | | | | | | | | ... as a precursor to combining it with the CurrentStateDelta stream.
| * | | Merge pull request #4954 from matrix-org/rav/refactor_parse_rowRichard van der Hoff2019-03-284-5/+22
| |\ \ \ | | | | | | | | | | Refactors to replication stream row update/parsing
| | * \ \ Merge remote-tracking branch 'origin/develop' into rav/refactor_parse_rowRichard van der Hoff2019-03-283-380/+336
| | |\ \ \ | | | |/ / | | |/| |
| | * | | changelogRichard van der Hoff2019-03-271-0/+1
| | | | |
| | * | | Skip building a ROW_TYPE when building updatesRichard van der Hoff2019-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | We're about to turn it straight into a JSON object anyway so building a ROW_TYPE is a bit pointless, and reduces flexibility in the update_function.
| | * | | Add parse_row method to replication stream classRichard van der Hoff2019-03-273-3/+19
| | | | | | | | | | | | | | | | | | | | This will allow individual stream classes to override how a row is parsed.
| * | | | remove log line for password (#4965)Neil Johnson2019-03-282-2/+1
| | | | | | | | | | | | | | | | | | | | Remove log line for password.
* | | | | Fix documentationAndrew Morgan2019-04-011-1/+0
| | | | |
* | | | | No tls.Andrew Morgan2019-04-011-3/+3
| | | | |
* | | | | Generate config and remove extra newlineAndrew Morgan2019-04-012-1/+23
| | | | |
* | | | | wordsAndrew Morgan2019-04-012-5/+4
| | | | |
* | | | | consolidate logicAndrew Morgan2019-04-011-23/+18
| | | | |
* | | | | Cleaner code logicAndrew Morgan2019-04-011-6/+4
| | | | |
* | | | | punctuationAndrew Morgan2019-04-011-1/+1
| | | | |
* | | | | lintAndrew Morgan2019-04-011-1/+1
| | | | |
* | | | | flake8 lied to me :cAndrew Morgan2019-04-012-0/+4
| | | | |
* | | | | fixes and lintAndrew Morgan2019-04-013-11/+6
| | | | |
* | | | | Add changelogAndrew Morgan2019-04-011-0/+1
| | | | |
* | | | | Documentation of new optionsAndrew Morgan2019-04-013-31/+68
| | | | |
* | | | | Ability to specify list of custom CA certificatesAndrew Morgan2019-04-012-1/+47
| | | | |
* | | | | Whitelist per domainAndrew Morgan2019-03-292-5/+16
| | | | |
* | | | | Config option for verifying federation certificatesAndrew Morgan2019-03-283-2/+30
|/ / / /
* | | | Allow password providers to bind emails (#4947)Andrew Morgan2019-03-283-4/+23
| | | | | | | | | | | | 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-285-33/+412
|\ \ \ \ | |_|/ / |/| | | Use event streams to calculate presence
| * | | Use an assertErik Johnston2019-03-281-2/+1
| | | |
| * | | Review commentsErik Johnston2019-03-282-49/+71
| | | |
| * | | NewsfileErik Johnston2019-03-271-0/+1
| | | |
| * | | Add unit testsErik Johnston2019-03-271-1/+171
| | | |
| * | | Use event streams to calculate presenceErik Johnston2019-03-273-32/+219
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Primarily this fixes a bug in the handling of remote users joining a room where the server sent out the presence for all local users in the room to all servers in the room. We also change to using the state delta stream, rather than the distributor, as it will make it easier to split processing out of the master process (as well as being more flexible). Finally, when sending presence states to newly joined servers we filter out old presence states to reduce the number sent. Initially we filter out states that are offline and have a last active more than a week ago, though this can be changed down the line. Fixes #3962
* | | Merge pull request #4953 from matrix-org/rav/refactor_replication_streamsRichard van der Hoff2019-03-288-77/+136
|\ \ \ | | |/ | |/| Split up replication.tcp.streams into smaller files
| * | changelogRichard van der Hoff2019-03-271-0/+2
| | |
| * | move FederationStream out to its own fileRichard van der Hoff2019-03-274-23/+43
| | |
| * | move EventsStream out to its own fileRichard van der Hoff2019-03-273-23/+42
| | |
| * | Move replication.tcp.streams into a packageRichard van der Hoff2019-03-274-35/+53
| | |
* | | Run `black` on some storage modules that the stats branch touches (#4959)Amber Brown2019-03-293-380/+336
|/ /
* / Fix/improve some docstrings in the replication code. (#4949)Richard van der Hoff2019-03-273-7/+20
|/
* Support 3PID login in password providers (#4931)Andrew Morgan2019-03-268-26/+137
| | | | | 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-272-8/+21
|
* Make federation endpoints more tolerant of trailing slashes v2 (#4935)Andrew Morgan2019-03-265-11/+13
| | | Redo of https://github.com/matrix-org/synapse/pull/4840
* Fix ClientReplicationStreamProtocol.__str__ (#4929)Richard van der Hoff2019-03-253-4/+6
| | | | | | | | `__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-258-12/+179
| | | | | 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-252-18/+17
| | | | | | 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-252-1/+2
|
* Refactor out state delta handling into its own class (#4917)Amber Brown2019-03-255-110/+152
|
* Merge pull request #4869 from matrix-org/erikj/yaml_loadErik Johnston2019-03-228-11/+12
|\ | | | | Fix yaml warnings by using safe_load
| * NewsfileErik Johnston2019-03-221-0/+1
| |
| * Use yaml safe_loadErik Johnston2019-03-227-11/+11
| |
* | Allow newsfragments to end with exclamation marks! (#4912)Richard van der Hoff2019-03-212-2/+3
| |
* | Some more porting to HomeserverTestCase and remove old RESTHelper (#4913)Amber Brown2019-03-225-230/+124
| |
* | Remove trailing slashes from outbound federation requests and retry on 400 ↵Andrew Morgan2019-03-215-17/+191
|\ \ | |/ |/| | | | | (#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.
| * Clean up backoff_on_404 and metehod callsAndrew Morgan2019-03-211-9/+13
| |
| * kwargs doesn't like commas on calling funcs either. TILAndrew Morgan2019-03-201-2/+2
| |
| * lintAndrew Morgan2019-03-202-3/+7
| |
| * New test, fix issuesAndrew Morgan2019-03-202-49/+73
| |
| * Fix comments. v0.99.2 -> v0.99.3Andrew Morgan2019-03-202-6/+6
| |
| * Just return if not doing any trailing slash shennanigansAndrew Morgan2019-03-201-0/+2
| |
| * Federation test fixed!Andrew Morgan2019-03-201-2/+5
| |
| * lintAndrew Morgan2019-03-181-1/+1
| |
| * Better exception handlingAndrew Morgan2019-03-182-20/+18
| |
| * Correct var nameAndrew Morgan2019-03-132-2/+56
| |
| * receiving a 400 caused an exception. handle itAndrew Morgan2019-03-131-5/+12
| |
| * is this what purgatory feels likeAndrew Morgan2019-03-131-3/+3
| |
| * i should have given up x3Andrew Morgan2019-03-131-39/+0
| |
| * i should have given up x2Andrew Morgan2019-03-132-18/+52
| |
| * i should have given upAndrew Morgan2019-03-131-1/+1
| |
| * there comes a time when you should give up. but you dontAndrew Morgan2019-03-131-1/+1
| |
| * as aboveAndrew Morgan2019-03-131-2/+4
| |
| * no kwargs todayAndrew Morgan2019-03-131-7/+12
| |
| * Or perhaps I was the one who was drunkAndrew Morgan2019-03-131-6/+3
| |
| * go home python, you're drunkAndrew Morgan2019-03-131-4/+2
| |
| * Syntax checker is borkAndrew Morgan2019-03-131-6/+5
| |
| * Destructure againAndrew Morgan2019-03-131-7/+8
| |
| * Are you happy nowAndrew Morgan2019-03-131-2/+2
| |
| * Syntax testAndrew Morgan2019-03-131-6/+5
| |
| * Remove testing codeAndrew Morgan2019-03-131-3/+0
| |
| * Add missing docstring detailAndrew Morgan2019-03-131-1/+1
| |
| * Fix syntax issuesAndrew Morgan2019-03-131-7/+10
| |
| * Switch to wrapper function around _send_requestAndrew Morgan2019-03-133-39/+78
| |
| * Retry on 400:M_UNRECOGNIZEDAndrew Morgan2019-03-131-6/+10
| |
| * Fix paranthesis indentAndrew Morgan2019-03-131-1/+2
| |
| * Add workaround noteAndrew Morgan2019-03-131-10/+4
| |
| * Correct argument nameAndrew Morgan2019-03-121-2/+2
| |
| * Cleaner way of implementing trailing slashesAndrew Morgan2019-03-123-70/+66
| |
| * and againAndrew Morgan2019-03-111-1/+1
| |
| * Fix syntax errorAndrew Morgan2019-03-111-1/+1
| |
| * We're calling different functions nowAndrew Morgan2019-03-111-2/+2
| |
| * Merge branch 'develop' into anoa/trailing_slashes_clientAndrew Morgan2019-03-115-12/+14
| |\
| * \ Merge branch 'develop' into anoa/trailing_slashes_clientAndrew Morgan2019-03-118-19/+57
| |\ \
| * | | lintAndrew Morgan2019-03-081-1/+3
| | | |
| * | | Add changelogAndrew Morgan2019-03-081-0/+1
| | | |
| * | | Retry certain federation requests on 404Andrew Morgan2019-03-082-5/+50
| | | |
| * | | Remove trailing slashes from outbound federation requestsAndrew Morgan2019-03-081-7/+7
| | | |
* | | | Merge pull request #4908 from matrix-org/erikj/block_peek_on_blocked_roomsErik Johnston2019-03-214-3/+77
|\ \ \ \ | | | | | | | | | | 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>
| * | | | isortErik Johnston2019-03-211-1/+1
| | | | |
| * | | | NewsfileErik Johnston2019-03-211-0/+1
| | | | |
| * | | | Deny peeking into rooms that have been blockedErik Johnston2019-03-213-3/+76
| | | | |
* | | | | Update Apache Setup To Remove Location Syntax (#4870)Colin W2019-03-212-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 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-218-25/+137
|\ \ \ \ \ | | | | | | | | | | | | Fixup shutdown room API
| * | | | | Fix typo and add descriptionErik Johnston2019-03-211-1/+5
| |/ / / /
| * | | | Rejig testcase to make it more extensibleErik Johnston2019-03-211-17/+22
| | | | |
| * | | | Remove debugErik Johnston2019-03-211-1/+0
| | | | |
| * | | | Add testsErik Johnston2019-03-211-1/+66
| | | | |
| * | | | Fix upsertErik Johnston2019-03-211-0/+1
| | | | |
| * | | | Revert spurious deleteErik Johnston2019-03-201-0/+4
| | | | |
| * | | | comment block_roomErik Johnston2019-03-201-0/+9
| | | | |
| * | | | Use flagsErik Johnston2019-03-205-15/+17
| | | | |
| * | | | Move requester check into assert_accepted_privacy_policyErik Johnston2019-03-201-5/+8
| | | | |
| * | | | NewsfileErik Johnston2019-03-201-0/+1
| | | | |
| * | | | Gracefully handle failing to kick userErik Johnston2019-03-201-19/+27
| | | | |
| * | | | Log new room IDErik Johnston2019-03-201-1/+6
| | | | |
| * | | | Only require consent for events with an associated requestErik Johnston2019-03-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a number of instances where a server or admin may puppet a user to join/leave rooms, which we don't want to fail if the user has not consented to the privacy policy. We fix this by adding a check to test if the requester has an associated access_token, which is used as a proxy to answer the question of whether the action is being done on behalf of a real request from the user.
| * | | | Allow blocking a room multiple timesErik Johnston2019-03-201-2/+4
| | | | |
* | | | | Merge pull request #4896 from matrix-org/erikj/disable_room_directoryErik Johnston2019-03-217-3/+97
|\ \ \ \ \ | | | | | | | | | | | | Add option to disable search room lists
| * | | | | Add testErik Johnston2019-03-202-3/+58
| | | | | |
| * | | | | Disable publishing to room list when its disabledErik Johnston2019-03-201-0/+8
| | | | | |
| * | | | | Pull out config optionErik Johnston2019-03-201-3/+3
| | | | | |
| * | | | | Return before we logErik Johnston2019-03-201-4/+5
| | | | | |
| * | | | | Fix up config commentsErik Johnston2019-03-202-6/+8
| | | | | |
| * | | | | NewsfileErik Johnston2019-03-191-0/+1
| | | | | |
| * | | | | Add option to disable search room listsErik Johnston2019-03-193-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | This disables both local and remote room list searching.
* | | | | | Log requests which are simulated by the unit tests. (#4905)Richard van der Hoff2019-03-202-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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-205-0/+73
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Add option to disable searching in the user dir
| * | | | | Add testErik Johnston2019-03-201-0/+52
| | | | | |
| * | | | | Fix up sample configErik Johnston2019-03-202-4/+8
| | | | | |
| * | | | | Update synapse/config/user_directory.pyRichard van der Hoff2019-03-201-1/+1
| | | | | | | | | | | | | | | | | | Co-Authored-By: erikjohnston <erikj@jki.re>
| * | | | | Update sample configErik Johnston2019-03-191-0/+3
| | | | | |
| * | | | | NewsfileErik Johnston2019-03-191-0/+1
| | | | | |
| * | | | | Add option to disable searching in the user dirErik Johnston2019-03-192-0/+13
| |/ / / / | | | | | | | | | | | | | | | We still populate it, as it can still be accessed via the admin API.
* | | | | Batching in the user directory import (#4900)Amber Brown2019-03-212-0/+14
| | | | |
* | | | | Add a config option for torture-testing worker replication. (#4902)Richard van der Hoff2019-03-203-1/+23
| | | | | | | | | | | | | | | 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-207-22/+308
|/ / / / | | | | | | | | | | | | Rate-limit outgoing read-receipts as per #4730.
* | | | Merge pull request #4894 from matrix-org/erikj/postgres_tuningErik Johnston2019-03-192-2/+21
|\ \ \ \ | | | | | | | | | | Add note on tuning postgres
| * | | | NewsfileErik Johnston2019-03-191-0/+1
| | | | |
| * | | | Add note on tuning postgresErik Johnston2019-03-191-2/+20
|/ / / /
* | | | Merge pull request #4879 from matrix-org/erikj/test_old_depsErik Johnston2019-03-193-1/+21
|\ \ \ \ | | | | | | | | | | Add py27-old test case to buildkite
| * | | | Add comment back inErik Johnston2019-03-191-0/+1
| | | | |
| * | | | Update newsfileErik Johnston2019-03-191-1/+1
| | | | |
| * | | | Revert changesErik Johnston2019-03-191-12/+2
| | | | |
| * | | | Bring py27-old into line with other test envsErik Johnston2019-03-181-0/+14
| | | | |
| * | | | Add coverage to py27-oldErik Johnston2019-03-181-3/+6
| | | | |
| * | | | NewsfileErik Johnston2019-03-181-0/+1
| | | | |
| * | | | Add py27-old test case to buildkiteErik Johnston2019-03-181-0/+11
| | | | |
* | | | | Merge pull request #4889 from matrix-org/rav/test_real_configRichard van der Hoff2019-03-198-18/+44
|\ \ \ \ \ | | | | | | | | | | | | Use a regular HomeServerConfig object for unit tests
| * | | | | Fix RegistrationTestCaseRichard van der Hoff2019-03-191-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | turns out this relies on there being a `user_consent_version` set.
| * | | | | changelogRichard van der Hoff2019-03-191-0/+1
| | | | | |
| * | | | | Use a regular HomeServerConfig object for unit testsRichard van der Hoff2019-03-193-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than using a Mock for the homeserver config, use a genuine HomeServerConfig object. This makes for a more realistic test, and means that we don't have to keep remembering to add things to the mock config every time we add a new config setting.
| * | | | | Fix resource limits testsRichard van der Hoff2019-03-191-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that we have a `server_notices_mxid` set, given that we are relying on it.
| * | | | | Fix registration testRichard van der Hoff2019-03-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set allow_guest_access = True, since we rely on it * config doesn't have a `hostname` attribute; it is `server_name`
| * | | | | Fix email testRichard van der Hoff2019-03-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Mailer expects the config object to have `email_smtp_pass` and `email_riot_base_url` attributes (and it won't by default, because the default config impl doesn't set any of the attributes unless email_enable_notifs is set).
| * | | | | Merge remote-tracking branch 'origin/develop' into HEADRichard van der Hoff2019-03-1910-11/+45
| |\ \ \ \ \
* | | | | | | Merge pull request #4888 from matrix-org/rav/fix_disabled_hsRichard van der Hoff2019-03-193-3/+24
|\| | | | | | | |/ / / / / |/| | | | | Enforce hs_disabled_message correctly
| * | | | | Enforce hs_disabled_message correctlyRichard van der Hoff2019-03-193-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where hs_disabled_message was not enforced for 3pid-based requests if there was no server_notices_mxid configured.
* | | | | | fix test_auto_create_auto_join_where_no_consent (#4886)Neil Johnson2019-03-195-5/+39
| | | | | |
* | | | | | Fix user directory background update (#4887)Erik Johnston2019-03-192-1/+2
| | | | | |
* | | | | | Merge remote-tracking branch 'origin/master' into developRichard van der Hoff2019-03-193-5/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Repoint docs for federation (#4881)Michael Kaye2019-03-192-1/+2
| | | | | |
| * | | | | fix some typos in federate.mdRichard van der Hoff2019-03-151-4/+2
| | | | | |
* | | | | | Comment out most options in the generated config. (#4863)Richard van der Hoff2019-03-1916-171/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-198-301/+405
| | | | | |
* | | | | | Add ratelimiting on failed login attempts (#4865)Brendan Abolivier2019-03-186-5/+86
| |/ / / / |/| | | |
* | | | | Add ratelimiting on login (#4821)Brendan Abolivier2019-03-1511-37/+259
| | | | | | | | | | | | | | | 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-158-761/+865
|\ \ \ \ \ | | | | | | | | | | | | Split TransactionQueue up
| * | | | | changelogRichard van der Hoff2019-03-131-0/+1
| | | | | |
| * | | | | Rename and move the classesRichard van der Hoff2019-03-137-811/+864
| | | | | |
| * | | | | Factor per-destination stuff out of TransactionQueueRichard van der Hoff2019-03-131-132/+182
| | | | | | | | | | | | | | | | | | | | | | | | This is easier than having to have a million fields keyed on destination.
* | | | | | Merge pull request #4852 from matrix-org/rav/move_rr_sending_to_workerRichard van der Hoff2019-03-156-55/+111
|\| | | | | | | | | | | | | | | | | Move client receipt processing to federation sender worker.
| * | | | | changelogRichard van der Hoff2019-03-131-0/+1
| | | | | |
| * | | | | Move client receipt processing to federation sender worker.Richard van der Hoff2019-03-134-33/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mostly a prerequisite for #4730, but also fits with the general theme of "move everything off the master that we possibly can".
| * | | | | declare a ReadReceipt classRichard van der Hoff2019-03-132-24/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm going to use this in queues and things, so it'll be useful to give it more of a structure.
* | | | | | Merge pull request #4853 from matrix-org/erikj/worker_docker_ciErik Johnston2019-03-155-17/+54
|\ \ \ \ \ \ | | | | | | | | | | | | | | Allow passing --daemonize to workers
| * | | | | | Correctly handle all command line optionsErik Johnston2019-03-143-16/+42
| | | | | | |
| * | | | | | NewsfileErik Johnston2019-03-131-0/+1
| | | | | | |
| * | | | | | Allow passing --daemonize to workersErik Johnston2019-03-132-1/+11
| | | | | | |
* | | | | | | Add systemd setup that supports workers (#4662)Luca Corbatto2019-03-156-0/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-152-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | | | | | Merge pull request #4859 from matrix-org/revert-4793-anoa/trailing_slashesErik Johnston2019-03-144-12/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Revert "Make federation endpoints more tolerant of trailing slashes for some endpoints"
| * | | | | | | Revert "Make federation endpoints more tolerant of trailing slashes for some ↵Erik Johnston2019-03-144-12/+11
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | endpoints (#4793)" This reverts commit 290552fd836f4ae2dc1d893a7f72f7fff85365d3.
* | | | | | | Merge pull request #4846 from matrix-org/hawkowl/userdir-searchErik Johnston2019-03-1411-138/+206
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Improve searching in the userdir
| * | | | | | fixupAmber Brown2019-03-132-2/+2
| | | | | | |
| * | | | | | fixupAmber Brown2019-03-134-75/+17
| | | | | | |
| * | | | | | fixupAmber Brown2019-03-121-2/+2
| | | | | | |
| * | | | | | fixupAmber Brown2019-03-121-1/+1
| | | | | | |
| * | | | | | fixupAmber Brown2019-03-121-1/+2
| | | | | | |
| * | | | | | fixupAmber Brown2019-03-124-176/+159
| | | | | | |
| * | | | | | fixupAmber Brown2019-03-121-1/+1
| | | | | | |
| * | | | | | use the old methodAmber Brown2019-03-121-3/+2
| | | | | | |
| * | | | | | fixAmber Brown2019-03-121-1/+1
| | | | | | |
| * | | | | | pep8Amber Brown2019-03-121-2/+1
| | | | | | |
| * | | | | | changelogAmber Brown2019-03-121-0/+1
| | | | | | |
| * | | | | | fixesAmber Brown2019-03-124-52/+74
| | | | | | |
| * | | | | | setup masterAmber Brown2019-03-111-0/+2
| | | | | | |