1
0
Commit Graph

17605 Commits

Author SHA1 Message Date
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
Andrew Morgan
0e4f076892 Remove unused get_room_stats_state method. (#6869)
* commit 'e1d858984':
  Remove unused `get_room_stats_state` method. (#6869)
2020-03-23 17:10:59 +00:00
Andrew Morgan
ec9d297b12 Add a make_event_from_dict method (#6858)
* commit '799001f2c':
  Add a `make_event_from_dict` method (#6858)
2020-03-23 17:10:52 +00:00
Andrew Morgan
6c970c528d Add typing to synapse.federation.sender (#6871)
* commit 'b08b0a22d':
  Add typing to synapse.federation.sender (#6871)
2020-03-23 17:10:44 +00:00
Andrew Morgan
5bb1eb6136 Allow moving group read APIs to workers (#6866)
* commit 'de2d26737':
  Allow moving group read APIs to workers (#6866)
2020-03-23 17:10:38 +00:00
Andrew Morgan
3b0ce55bf7 Admin api to add an email address (#6789)
* commit '56ca93ef5':
  Admin api to add an email address (#6789)
2020-03-23 17:10:32 +00:00
Andrew Morgan
6e8ecf93e3 remove unused room_version_to_event_format (#6857)
* commit 'f4884444c':
  remove unused room_version_to_event_format (#6857)
2020-03-23 17:10:25 +00:00
Andrew Morgan
0402b659f6 Merge pull request #6856 from matrix-org/rav/redact_changes/6
* commit 'e1b240329':
  Pass room_version into `event_from_pdu_json`
2020-03-23 17:10:18 +00:00
Andrew Morgan
99eeff7c12 Limit the number of events that can be requested when backfilling events (#6864)
* commit '7765bf398':
  Limit the number of events that can be requested when backfilling events (#6864)
2020-03-23 17:10:11 +00:00
Andrew Morgan
3e219a6ef0 pass room version into FederationClient.send_join (#6854)
* commit 'b0c8bdd49':
  pass room version into FederationClient.send_join (#6854)
2020-03-23 17:10:02 +00:00
Andrew Morgan
29102e0cd1 Allow empty federation_certificate_verification_whitelist (#6849)
* commit 'bce557175':
  Allow empty federation_certificate_verification_whitelist (#6849)
2020-03-23 17:09:54 +00:00
Andrew Morgan
693425b4ea Third party event rules Update (#6781)
* commit '99fcc9628':
  Third party event rules Update (#6781)
2020-03-23 17:09:45 +00:00
Andrew Morgan
26447c543f Reduce amount of logging at INFO level. (#6862)
* commit 'ed630ea17':
  Reduce amount of logging at INFO level. (#6862)
2020-03-23 17:09:39 +00:00
Andrew Morgan
97962c4028 Merge pull request #6823 from matrix-org/rav/redact_changes/5
* commit '9bcd37146':
  Update changelog
  Update changelog
  Update changelog
  Newsfile
  Simplify `room_version` handling in `FederationClient.send_invite`
  Pass room version object into `FederationClient.get_pdu`
2020-03-23 17:09:33 +00:00
Andrew Morgan
87f9d944dd 1.10.0rc2
* commit '6a7e90ad7':
  1.10.0rc2
2020-03-23 17:09:25 +00:00
Andrew Morgan
0057df8072 Update documentation (#6859)
* commit 'f0561fcff':
  Update documentation (#6859)
2020-03-23 17:09:18 +00:00
Andrew Morgan
62d3277719 Merge pull request #6855 from matrix-org/clokep/readme-pip-install
* commit '5e019069a':
  Add quotes around pip install target (my shell complained without them).
2020-03-23 17:09:05 +00:00
Andrew Morgan
aa17b55a9b Merge pull request #6840 from matrix-org/rav/federation_client_async
* commit '577f46036':
  make FederationClient._do_send_invite async
  Apply suggestions from code review
  make FederationClient.send_invite async
  newsfile
  make FederationClient.get_missing_events async
  make FederationClient._do_send_leave async
  make FederationClient.send_leave.send_request async
  make FederationClient._do_send_join async
  make FederationClient.send_join.send_request async
  make FederationClient.make_membership_event.send_request async
  make FederationClient._try_destination_list async
  make FederationClient.send_leave async
  make FederationClient.send_join async
  make FederationClient.make_membership_event async
  make FederationClient.get_event_auth async
  make FederationClient.get_room_state_ids async
  make FederationClient.get_pdu async
  make FederationClient.backfill async
2020-03-23 17:08:58 +00:00
Andrew Morgan
00b7754fe5 Check sender_key matches on inbound encrypted events. (#6850)
* commit 'a58860e48':
  Check sender_key matches on inbound encrypted events. (#6850)
2020-03-23 17:08:51 +00:00
Andrew Morgan
d867f29652 Merge pull request #6844 from matrix-org/uhoreg/cross_signing_fix_device_fed
* commit '60d067242':
  Merge pull request #6844 from matrix-org/uhoreg/cross_signing_fix_device_fed
2020-03-23 17:08:40 +00:00
Andrew Morgan
8f939e896d Reduce performance logging to DEBUG (#6833)
* commit 'a831d2e4e':
  Reduce performance logging to DEBUG (#6833)
2020-03-23 17:08:28 +00:00
Andrew Morgan
9abd8e46c1 Database updates to populate rooms.room_version (#6847)
* commit 'd88e0ec08':
  Database updates to populate rooms.room_version (#6847)
2020-03-23 17:08:21 +00:00
Andrew Morgan
85d36b62c4 Fix detecting unknown devices from remote encrypted events. (#6848)
* commit '6475382d8':
  Fix detecting unknown devices from remote encrypted events. (#6848)
2020-03-23 17:08:15 +00:00
Andrew Morgan
432d213889 Merge pull request #6844 from matrix-org/uhoreg/cross_signing_fix_device_fed
* commit '74bf3fdbb':
  add changelog
  add device signatures to device key query results
2020-03-23 17:08:09 +00:00
Andrew Morgan
d26f388fa9 Update CONTRIBUTING.md about merging PRs. (#6846)
* commit 'c87572d6e':
  Update CONTRIBUTING.md about merging PRs. (#6846)
2020-03-23 17:07:57 +00:00
Andrew Morgan
f275c2c195 Merge pull request #6837 from matrix-org/rav/federation_async
* commit 'c7d6d5c69': (27 commits)
  make FederationHandler.send_invite async
  make FederationHandler.on_get_missing_events async
  changelog
  make FederationHandler.user_joined_room async
  make FederationHandler._clean_room_for_join async
  make FederationHandler._notify_persisted_event async
  make FederationHandler.persist_events_and_notify async
  make FederationHandler._make_and_verify_event async
  make FederationHandler.do_remotely_reject_invite async
  make FederationHandler._check_for_soft_fail async
  make FederationHandler._persist_auth_tree async
  make FederationHandler.do_invite_join async
  make FederationHandler.on_event_auth async
  make FederationHandler.on_exchange_third_party_invite_request async
  make FederationHandler.construct_auth_difference async
  make FederationHandler._update_context_for_auth_events async
  make FederationHandler._update_auth_events_and_context_for_auth async
  make FederationHandler.do_auth async
  make FederationHandler._prep_event async
  make FederationHandler._handle_new_event async
  ...
2020-03-23 17:05:01 +00:00