Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop' of github.com:matrix-org/synapse into anoa/log…
Browse files Browse the repository at this point in the history
…ger_warning

* 'develop' of github.com:matrix-org/synapse:
  Fix log line that was printing undefined value (#6278)
  Update CI to run isort on scripts and scripts-dev (#6270)
  Fix small typo in comment (#6269)
  Fix typo in domain name in account_threepid_delegates config option (#6273)
  Remove redundant arguments to CI's flake8 (#6277)
  Handle FileNotFound error in checking git repository version (#6284)
  Don't return coroutines
  Newsfile
  Port receipt and read markers to async/wait
  Make concurrently_execute work with async/await
  Newsfile
  Port federation_server to async/await
  Newsfile
  Port room rest handlers to async/await
  Newsfile
  Port replication http server endpoints to async/await
  • Loading branch information
anoadragon453 committed Oct 30, 2019
2 parents a62b106 + a2276d4 commit 8ce2c12
Show file tree
Hide file tree
Showing 32 changed files with 252 additions and 331 deletions.
1 change: 1 addition & 0 deletions changelog.d/6269.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix incorrect comment regarding the functionality of an `if` statement.
1 change: 1 addition & 0 deletions changelog.d/6270.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update CI to run `isort` over the `scripts` and `scripts-dev` directories.
1 change: 1 addition & 0 deletions changelog.d/6273.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a small typo in `account_threepid_delegates` configuration option.
1 change: 1 addition & 0 deletions changelog.d/6274.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Port replication http server endpoints to async/await.
1 change: 1 addition & 0 deletions changelog.d/6275.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Port room rest handlers to async/await.
1 change: 1 addition & 0 deletions changelog.d/6277.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove redundant CLI parameters on CI's `flake8` step.
1 change: 1 addition & 0 deletions changelog.d/6278.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix exception when remote servers attempt to join a room that they're not allowed to join.
1 change: 1 addition & 0 deletions changelog.d/6279.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Port `federation_server.py` to async/await.
1 change: 1 addition & 0 deletions changelog.d/6280.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Port receipt and read markers to async/wait.
1 change: 1 addition & 0 deletions changelog.d/6284.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Prevent errors from appearing on Synapse startup if `git` is not installed.
2 changes: 1 addition & 1 deletion docs/sample_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ uploads_path: "DATADIR/uploads"
# If a delegate is specified, the config option public_baseurl must also be filled out.
#
account_threepid_delegates:
#email: https://example.com # Delegate email sending to example.org
#email: https://example.com # Delegate email sending to example.com
#msisdn: http://localhost:8090 # Delegate SMS sending to this local process

# Users who register on this homeserver will automatically be joined
Expand Down
3 changes: 1 addition & 2 deletions scripts-dev/update_database
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ from twisted.internet import defer, reactor
from synapse.config.homeserver import HomeServerConfig
from synapse.metrics.background_process_metrics import run_as_background_process
from synapse.server import HomeServer
from synapse.storage.engines import create_engine
from synapse.storage import DataStore
from synapse.storage.engines import create_engine
from synapse.storage.prepare_database import prepare_database

logger = logging.getLogger("update_database")
Expand Down Expand Up @@ -122,4 +122,3 @@ if __name__ == "__main__":
))

reactor.run()

2 changes: 1 addition & 1 deletion synapse/config/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def generate_config_section(self, generate_secrets=False, **kwargs):
# If a delegate is specified, the config option public_baseurl must also be filled out.
#
account_threepid_delegates:
#email: https://example.com # Delegate email sending to example.org
#email: https://example.com # Delegate email sending to example.com
#msisdn: http://localhost:8090 # Delegate SMS sending to this local process
# Users who register on this homeserver will automatically be joined
Expand Down
Loading

0 comments on commit 8ce2c12

Please sign in to comment.