1
0
Commit Graph

17784 Commits

Author SHA1 Message Date
Andrew Morgan
736bc4f428 Store room_versions in EventBase objects (#6875)
* commit '78a15b1f9':
  Store room_versions in EventBase objects (#6875)
2020-03-24 14:24:06 +00:00
Andrew Morgan
70ca85b805 Merge pull request #7035 from matrix-org/babolivier/hide_dummy_events
* commit 'fe678a090':
  Changelog
  Hide extremities dummy events from clients
2020-03-24 14:23:59 +00:00
Andrew Morgan
36bebb4c17 Allow deleting an alias if the user has sufficient power level (#6986)
* commit '13892776e':
  Allow deleting an alias if the user has sufficient power level (#6986)
2020-03-24 14:23:51 +00:00
Andrew Morgan
57d83e962d Read the room version from database when fetching events (#6874)
* commit '8ef8fb2c1':
  Read the room version from database when fetching events (#6874)
  Update debian changelog
2020-03-24 14:23:24 +00:00
Andrew Morgan
959b119d58 v1.11.1
* commit 'fd983fad9':
  v1.11.1
  Fix wrong handler being used in SAML handler
  Factor out complete_sso_login and expose it to the Module API
  Add a whitelist for the SSO confirmation step.
  Add a confirmation step to the SSO login flow
2020-03-24 13:42:54 +00:00
Andrew Morgan
e87e413151 Validate the alt_aliases property of canonical alias events (#6971)
* commit '7dcbc33a1':
  Validate the alt_aliases property of canonical alias events (#6971)
2020-03-24 13:38:59 +00:00
Andrew Morgan
13cb403e0e Always return a deferred from get_current_state_deltas. (#7019)
* commit 'b29474e0a':
  Always return a deferred from `get_current_state_deltas`. (#7019)
2020-03-24 13:36:02 +00:00
Andrew Morgan
868ad41f09 Fix py35-old CI by using native tox. (#7018)
* commit '3ab8e9c29':
  Fix py35-old CI by using native tox. (#7018)
  remove spurious changelog
  rst->md
2020-03-24 13:34:03 +00:00
Andrew Morgan
8682867efc Fixed set a user as an admin with the new API (#6928)
* commit 'bbeee33d6':
  Fixed set a user as an admin with the new API (#6928)
2020-03-24 13:33:01 +00:00
Andrew Morgan
8b731d1842 Fix last date for ACMEv1 install (#7015)
* commit 'e4ffb14d5':
  Fix last date for ACMEv1 install (#7015)
2020-03-24 13:30:03 +00:00
Andrew Morgan
bb32140598 Fix mounting of homeserver.yaml when it does not exist on host (#6913)
* commit 'd96ac97d2':
  Fix mounting of homeserver.yaml when it does not exist on host (#6913)
2020-03-24 13:29:54 +00:00
Andrew Morgan
3bd5d4c39e Add some type annotations to the federation base & client classes (#6995)
* commit '12d425900':
  Add some type annotations to the federation base & client classes (#6995)
2020-03-24 13:29:43 +00:00
Andrew Morgan
4c75c20fc5 Fixed set a user as an admin with the new API (#6928)
* commit '9b06d8f8a':
  Fixed set a user as an admin with the new API (#6928)
2020-03-24 13:29:30 +00:00
Andrew Morgan
637f8d9b1a Don't refuse to start worker if media listener configured. (#7002)
* commit '2201bc979':
  Don't refuse to start worker if media listener configured. (#7002)
2020-03-24 13:25:44 +00:00
Andrew Morgan
9c7554230c set worker_app for frontend proxy test (#7003)
* commit 'cab4a5253':
  set worker_app for frontend proxy test (#7003)
2020-03-24 13:25:32 +00:00
Andrew Morgan
6cea3c3d43 Expose common commands via snap run interface to allow easier invocation (#6315)
* commit 'b32ac60c2':
  Expose common commands via snap run interface to allow easier invocation (#6315)
2020-03-24 13:25:24 +00:00
Andrew Morgan
17aba0c0a3 Add some type annotations in synapse.storage (#6987)
* commit '132b673db':
  Add some type annotations in `synapse.storage` (#6987)
2020-03-24 13:25:15 +00:00
Andrew Morgan
06d54f9f8c Store room version on invite (#6983)
* commit '3e99528f2':
  Store room version on invite (#6983)
2020-03-24 13:25:08 +00:00
Andrew Morgan
1bca0d40fc Cast a coroutine into a Deferred in the federation base (#6996)
* commit '380122866':
  Cast a coroutine into a Deferred in the federation base (#6996)
2020-03-24 13:25:01 +00:00
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