1
0
Commit Graph

17728 Commits

Author SHA1 Message Date
Andrew Morgan
b2e71e372e Port PresenceHandler to async/await (#6991)
* commit '1f773eec9':
  Port PresenceHandler to async/await (#6991)
2020-03-24 13:24:54 +00:00
Andrew Morgan
9b74549f83 Updated warning for incorrect database collation/ctype (#6985)
* commit '7728d87fd':
  Updated warning for incorrect database collation/ctype (#6985)
2020-03-24 13:24:42 +00:00
Andrew Morgan
4d8fa1d9c2 Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user (#6990)
* commit '8c75b621b':
  Ensure 'deactivated' parameter is a boolean on user admin API, Fix error handling of call to deactivate user (#6990)
2020-03-24 13:24:21 +00:00
Andrew Morgan
9c05d82a9d Sanity-check database before running upgrades (#6982)
* commit 'c1156d3e2':
  Sanity-check database before running upgrades (#6982)
2020-03-24 13:24:00 +00:00
Andrew Morgan
46d2b135db Sanity-check database before running upgrades (#6982)
* commit 'e66f099ca':
  Sanity-check database before running upgrades (#6982)
2020-03-24 13:23:52 +00:00
Andrew Morgan
78e43a9b68 Merge worker apps into one. (#6964)
* commit 'bbf8886a0':
  Merge worker apps into one. (#6964)
2020-03-24 13:23:45 +00:00
Andrew Morgan
c5266d4366 contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)
* commit '4aea0bd29':
  contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)
2020-03-24 13:23:38 +00:00
Andrew Morgan
4f819f092d Remove redundant store_room call (#6979)
* commit '691659568':
  Remove redundant store_room call (#6979)
2020-03-24 13:23:30 +00:00
Andrew Morgan
698962af0a Upsert room version when we join over federation (#6968)
* commit 'a301934f4':
  Upsert room version when we join over federation (#6968)
2020-03-24 13:23:11 +00:00
Andrew Morgan
5dac67e2db Fix minor issues with email config (#6962)
* commit '4c2ed3f20':
  Fix minor issues with email config (#6962)
2020-03-24 13:23:02 +00:00
Andrew Morgan
b1528ca1d7 No longer use room alias events to calculate room names for push notifications. (#6966)
* commit 'af6c38950':
  No longer use room alias events to calculate room names for push notifications. (#6966)
2020-03-24 13:22:54 +00:00
Andrew Morgan
afc65ea972 Change displayname of user as admin in rooms (#6876)
* commit '7b0e2d961':
  Change displayname of user as admin in rooms (#6876)
2020-03-24 13:22:20 +00:00
Andrew Morgan
794a3d16da Stop returning aliases as part of the room list. (#6970)
* commit 'fcf459948':
  Stop returning aliases as part of the room list. (#6970)
  Publishing/removing from the directory requires a power level greater than canonical aliases.
2020-03-24 13:16:51 +00:00
Andrew Morgan
35d74a232c Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)
* commit '509e381af':
  Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)
  changelog
  Increase MAX_EVENTS_BEHIND for replication clients
2020-03-24 13:16:43 +00:00
Andrew Morgan
c0d7e952fc 1.11.0
* commit '9c1b83b00':
  1.11.0
2020-03-24 13:16:29 +00:00
Andrew Morgan
dc1f6d7576 Small grammar fixes to the ACME v1 deprecation notice (#6944)
* commit '8f6d9c4cf':
  Small grammar fixes to the ACME v1 deprecation notice (#6944)
2020-03-24 13:16:22 +00:00
Andrew Morgan
e8693091fd Do not send alias events when creating / upgrading a room (#6941)
* commit '99eed85a7':
  Do not send alias events when creating / upgrading a room (#6941)
2020-03-24 13:16:15 +00:00
Andrew Morgan
bbee32f534 don't insert into the device table for remote cross-signing keys (#6956)
* commit 'a90d0dc5c':
  don't insert into the device table for remote cross-signing keys (#6956)
2020-03-24 13:16:06 +00:00
Andrew Morgan
86502838d0 Add some clarifications to README.md in the database schema directory. (#6615)
* commit '4fb5f4d0c':
  Add some clarifications to README.md in the database schema directory. (#6615)
  Minor perf fixes to `get_auth_chain_ids`.
2020-03-24 13:16:00 +00:00
Andrew Morgan
2c6aae8071 Freeze allocated objects on startup. (#6953)
* commit 'fc87d2ffb':
  Freeze allocated objects on startup. (#6953)
2020-03-24 13:15:52 +00:00
Andrew Morgan
8fbacc7c54 Reduce auth chains fetched during v2 state res. (#6952)
* commit '2b37eabca':
  Reduce auth chains fetched during v2 state res. (#6952)
  update changes.md
2020-03-24 13:15:41 +00:00
Andrew Morgan
4b9c44b952 1.11.0rc1
* commit '197b08de3':
  1.11.0rc1
2020-03-24 13:15:31 +00:00
Andrew Morgan
fca30c7737 Revert get_auth_chain_ids changes (#6951)
* commit '099c96b89':
  Revert `get_auth_chain_ids` changes (#6951)
2020-03-24 13:15:23 +00:00
Andrew Morgan
7236385fd2 Merge pull request #6949 from matrix-org/rav/list_room_aliases_peekable
* commit '2fb7794e6':
  changelog
  Make room alias lists peekable
  Add `allow_departed_users` param to `check_in_room_or_world_readable`
  Refactor the membership check methods in Auth
2020-03-24 13:15:15 +00:00
Andrew Morgan
b63baf1a18 Merge pull request #6940 from matrix-org/babolivier/federate.md
* commit 'bbe39f808':
  Incorporate review
  Incorporate review
  Phrasing
  Changelog
  Add mention of SRV records as an advanced topic
  Argh trailing spaces
  Fix links in the reverse proxy doc
  Make federate.md more of a sumary of the steps to follow to set up replication
  Split the delegating documentation out of federate.md and trim it down
2020-03-24 13:15:08 +00:00
Andrew Morgan
a86ad65fbd Move MSC2432 stuff onto unstable prefix (#6948)
* commit '880aaac1d':
  Move MSC2432 stuff onto unstable prefix (#6948)
2020-03-24 13:14:59 +00:00
Andrew Morgan
bf123925f6 Tiny optimisation for _get_handler_for_request (#6950)
* commit 'abf1e5c52':
  Tiny optimisation for _get_handler_for_request (#6950)
2020-03-24 13:14:52 +00:00
Andrew Morgan
14ac70f225 Increase DB/CPU perf of _is_server_still_joined check. (#6936)
* commit '0d0bc3579':
  Increase DB/CPU perf of `_is_server_still_joined` check. (#6936)
2020-03-24 13:14:41 +00:00
Andrew Morgan
9261b5a7b9 Merge pull request #6945 from matrix-org/babolivier/fix-retention-debug-log
* commit '5e4a43855':
  Update changelog.d/6945.bugfix
  Changelog
  Fix log in message retention purge jobs
2020-03-24 13:14:35 +00:00
Andrew Morgan
1174a5b308 Limit size of get_auth_chain_ids query (#6947)
* commit '5a5abd55e':
  Limit size of get_auth_chain_ids query (#6947)
2020-03-24 13:14:25 +00:00
Andrew Morgan
2f7adc625e Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)
* commit 'adfaea8c6':
  Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)
2020-03-24 13:13:59 +00:00
Andrew Morgan
0818ea48e7 Merge pull request #6872 from matrix-org/rav/dictproperty
* commit '3f1cd1479':
  changelog
  Rewrite _EventInternalMetadata to back it with a _dict
  Replace _event_dict_property with DictProperty
2020-03-24 13:13:51 +00:00
Andrew Morgan
7534f1a7c0 Merge pull request #6907 from matrix-org/babolivier/acme-config
* commit 'd484126bf':
  Make the log more noticeable
  Print the error as an error log and raise the same exception we got
  Linters are hard but in they end they just want what's best for us
  Lint
  Changelog
  Lint
  Add a separator for the config warning
  Add a comprehensive error when failing to register for an ACME account
  Add mention and warning about ACME v1 deprecation to the Synapse config
2020-03-24 13:13:43 +00:00
Andrew Morgan
83d2923f93 Increase perf of get_auth_chain_ids used in state res v2. (#6937)
* commit '8a380d0fe':
  Increase perf of `get_auth_chain_ids` used in state res v2. (#6937)
2020-03-24 13:13:32 +00:00
Andrew Morgan
480ed7d168 Fix worker docs to point /publicised_groups API correctly. (#6938)
* commit '818def824':
  Fix worker docs to point `/publicised_groups` API correctly. (#6938)
2020-03-24 13:12:46 +00:00
Andrew Morgan
bb0f2c9064 Merge pull request #6909 from matrix-org/babolivier/acme-install
* commit '7a782c32a':
  Update INSTALL.md
  Changelog
  Update INSTALL.md to recommend reverse proxying and warn about ACMEv1 deprecation
2020-03-24 13:12:39 +00:00
Andrew Morgan
688b054fc7 Stop sending events when creating or deleting aliases (#6904)
* commit 'fe3941f6e':
  Stop sending events when creating or deleting aliases (#6904)
2020-03-24 13:12:31 +00:00
Andrew Morgan
44b314b396 Kill off deprecated "config-on-the-fly" docker mode (#6918)
* commit '3be2abd0a':
  Kill off deprecated "config-on-the-fly" docker mode (#6918)
  #6924 has been released in 1.10.1
2020-03-24 13:12:19 +00:00
Andrew Morgan
cf89f76ec7 1.10.1
* commit 'fd6d83ed9':
  1.10.1
2020-03-23 18:05:28 +00:00
Andrew Morgan
af9e5cb4ff wait for current_state_events_membership before delete_old_current_state_events (#6924)
* commit 'd2455ec3a':
  wait for current_state_events_membership before delete_old_current_state_events (#6924)
2020-03-23 18:05:18 +00:00
Andrew Morgan
ed2f00559f Raise the default power levels for invites, tombstones and server acls (#6834)
* commit '3404ad289':
  Raise the default power levels for invites, tombstones and server acls (#6834)
2020-03-23 18:01:36 +00:00
Andrew Morgan
a7882c2396 wait for current_state_events_membership before delete_old_current_state_events (#6924)
* commit '46fa66bbf':
  wait for current_state_events_membership before delete_old_current_state_events (#6924)
2020-03-23 18:00:43 +00:00
Andrew Morgan
a316fff074 Add type hints to the spam check module (#6915)
* commit '10027c80b':
  Add type hints to the spam check module (#6915)
2020-03-23 18:00:21 +00:00
Andrew Morgan
679da58c9c contrib/docker: Ensure correct encoding and locale settings on DB creation (#6921)
* commit '32873efa8':
  contrib/docker: Ensure correct encoding and locale settings on DB creation (#6921)
2020-03-23 17:48:23 +00:00
Andrew Morgan
1c257f8083 Add a warning about indentation to generated config (#6920)
* commit '97a42bbc3':
  Add a warning about indentation to generated config (#6920)
2020-03-23 17:48:14 +00:00
Andrew Morgan
dfe1580d05 Convert the directory handler tests to use HomeserverTestCase (#6919)
* commit '02e89021f':
  Convert the directory handler tests to use HomeserverTestCase (#6919)
2020-03-23 17:48:07 +00:00
Andrew Morgan
1c4d917cc2 Have ThirdPartyEventRules return True on success 2020-03-23 17:47:33 +00:00
Andrew Morgan
b683d4b07e Filter the results of user directory searching via the spam checker (#6888)
* commit '49f877d32':
  Filter the results of user directory searching via the spam checker (#6888)
2020-03-23 17:38:09 +00:00
Andrew Morgan
05b96d30be Update changelog for #6905 to group it with upcoming PRs
* commit 'df1c98c22':
  Update changelog for #6905 to group it with upcoming PRs
2020-03-23 17:16:42 +00:00
Andrew Morgan
27cad30417 Add documentation for the spam checker module (#6906)
* commit '361de49c9':
  Add documentation for the spam checker module (#6906)
2020-03-23 17:16:23 +00:00