1
0
Commit Graph

17691 Commits

Author SHA1 Message Date
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
Andrew Morgan
f3fb2c3a3f Merge pull request #6905 from matrix-org/babolivier/acme.md
* commit 'f48bf4feb':
  Update docs/ACME.md
  Mention that using Synapse to serve certificates requires restarts
  Changelog
  Remove duplicated info about certbot et al
  Update ACME.md to mention ACME v1 deprecation
2020-03-23 17:16:16 +00:00
Andrew Morgan
c36e468977 Remove m.lazy_load_members from unstable features since it is in CS r0.5.0 (#6877)
* commit 'dc3f99870':
  Remove m.lazy_load_members from unstable features since it is in CS r0.5.0 (#6877)
2020-03-23 17:16:02 +00:00
Andrew Morgan
fe99288d55 Merge pull request #6891 from matrix-org/babolivier/retention-doc-amend
* commit '6cd34da8b':
  Rephrase
  Update the changelog file
  Also spell it out in the purge history API doc
  Changelog
  Spell out that Synapse never purges the last event sent in a room
2020-03-23 17:15:49 +00:00
Andrew Morgan
dbf10b08c4 Return a 404 for admin api user lookup if user not found (#6901)
* commit 'd8994942f':
  Return a 404 for admin api user lookup if user not found (#6901)
  Move the warning at the top of the release changes
2020-03-23 17:15:20 +00:00
Andrew Morgan
279521a278 1.10.0
* commit 'fdb816713':
  1.10.0
2020-03-23 17:15:11 +00:00
Andrew Morgan
5f193a86ae bump the version of Alpine Linux used in the docker images (#6897)
* commit '3dd2b5f5e':
  bump the version of Alpine Linux used in the docker images (#6897)
2020-03-23 17:15:01 +00:00
Andrew Morgan
5e02ad6cf5 Use BSD-compatible in-place editing for sed. (#6887)
* commit 'ba547ec3a':
  Use BSD-compatible in-place editing for sed. (#6887)
2020-03-23 17:14:52 +00:00
Andrew Morgan
9f796b3d11 1.10.0rc5
* commit '856b2a955':
  1.10.0rc5
  changelog wording
  Update CHANGES.md
  changelog formatting
2020-03-23 17:14:37 +00:00
Andrew Morgan
a49c5a5ce5 1.10.0rc4
* commit '3edc65dd2':
  1.10.0rc4
2020-03-23 17:12:18 +00:00
Andrew Morgan
1dbb4305e3 Reject device display names that are too long (#6882)
* commit 'a92e703ab':
  Reject device display names that are too long (#6882)
2020-03-23 17:12:09 +00:00
Andrew Morgan
d83725c9dc filter out m.room.aliases from /sync state blocks (#6884)
* commit '01209382f':
  filter out m.room.aliases from /sync state blocks (#6884)
2020-03-23 17:12:00 +00:00
Andrew Morgan
40430fd1f6 Add an additional test to the SyTest blacklist for worker mode. (#6883)
* commit '3a3118f4e':
  Add an additional test to the SyTest blacklist for worker mode. (#6883)
2020-03-23 17:11:53 +00:00
Andrew Morgan
0be1d3a2e9 1.10.0rc3
* commit '3de57e706':
  1.10.0rc3
2020-03-23 17:11:46 +00:00
Andrew Morgan
92c98deb8b filter out m.room.aliases from the CS API until a better solution is specced (#6878)
* commit '8e64c5a24':
  filter out m.room.aliases from the CS API until a better solution is specced (#6878)
2020-03-23 17:11:40 +00:00
Andrew Morgan
d4ba9d285a Update setuptools for python 3.5 tests (#6880)
* commit 'fe73f0d53':
  Update setuptools for python 3.5 tests (#6880)
2020-03-23 17:11:27 +00:00
Andrew Morgan
ac99b4a37f Add support for putting fed user query API on workers (#6873)
* commit '21db35f77':
  Add support for putting fed user query API on workers (#6873)
2020-03-23 17:11:07 +00:00