1
0
Commit Graph

17137 Commits

Author SHA1 Message Date
Andrew Morgan
0fec900aab port BackgroundUpdateTestCase to HomeserverTestCase (#6653)
* commit 'd20c34654':
  port BackgroundUpdateTestCase to HomeserverTestCase (#6653)
  changelog
  Fix exceptions in log when rejected event is replicated
  async/await for SyncReplicationHandler.process_and_notify
  Clarify documentation on get_event* methods
2020-03-20 16:59:35 +00:00
Andrew Morgan
eb08accdba Merge pull request #6629 from matrix-org/rav/kill_event_reference_hashes
* commit '1807db5e7':
  changelog
  Remove unused get_latest_event_ids_and_hashes_in_room
  Remove unused get_prev_events_and_hashes_for_room
  Remove unused hashes and depths from _update_membership params
  Remove unused hashes and depths from create_event params
  Remove unused hashes and depths from create_new_client_event params
  replace get_prev_events_and_hashes_for_room with get_prev_events_for_room in create_new_client_event
  rename get_prev_events_for_room to get_prev_events_and_hashes_for_room
2020-03-20 16:59:26 +00:00
Andrew Morgan
eed6f380a1 Fix some test failures when frozen_dicts are enabled (#6642)
* commit 'ba897a759':
  Fix some test failures when frozen_dicts are enabled (#6642)
2020-03-20 16:59:15 +00:00
Andrew Morgan
5343df35b5 Add experimental 'databases' config (#6580)
* commit '9f6c1befb':
  Add experimental 'databases' config (#6580)
2020-03-20 16:59:08 +00:00
Andrew Morgan
6c382fb045 Fix an error which was thrown by the PresenceHandler _on_shutdown handler. (#6640)
* commit 'ab4b4ee6a':
  Fix an error which was thrown by the PresenceHandler _on_shutdown handler. (#6640)
2020-03-20 16:59:00 +00:00
Andrew Morgan
32543333b8 Fix exception when fetching notary server's old keys (#6625)
* commit '4b36b482e':
  Fix exception when fetching notary server's old keys (#6625)
2020-03-20 16:58:37 +00:00
Andrew Morgan
d6b6c64943 Workaround for error when fetching notary's own key (#6620)
* commit '18674eebb':
  Workaround for error when fetching notary's own key (#6620)
2020-03-20 16:58:30 +00:00
Andrew Morgan
b87a212c49 Fix power levels being incorrectly set in old and new rooms after a room upgrade (#6633)
* commit '01c3c6c92':
  Fix power levels being incorrectly set in old and new rooms after a room upgrade (#6633)
2020-03-20 16:58:15 +00:00
Andrew Morgan
1b410419c2 Automate generation of the sample and debian log configs (#6627)
* commit '08815566b':
  Automate generation of the sample and debian log configs (#6627)
2020-03-20 16:58:07 +00:00
Andrew Morgan
34e65b909a Raise an error if someone tries to use the log_file config option (#6626)
* commit 'e48410130':
  Raise an error if someone tries to use the log_file config option (#6626)
2020-03-20 16:57:58 +00:00
Andrew Morgan
8fced9e2ac Remove unused, undocumented "content repo" resource (#6628)
* commit '98247c4a0':
  Remove unused, undocumented "content repo" resource (#6628)
2020-03-20 16:57:48 +00:00
Andrew Morgan
6d9f40cf4c Kill off redundant SynapseRequestFactory (#6619)
* commit 'b6b57ecb4':
  Kill off redundant SynapseRequestFactory (#6619)
2020-03-20 16:57:41 +00:00
Andrew Morgan
a54d17c8c5 Reduce the reconnect time when replication fails. (#6617)
* commit '6964ea095':
  Reduce the reconnect time when replication fails. (#6617)
2020-03-20 16:57:33 +00:00
Andrew Morgan
10396544f5 Added the section 'Configuration' in /docs/turn-howto.md (#6614)
* commit '0495097a7':
  Added the section 'Configuration' in /docs/turn-howto.md (#6614)
2020-03-20 16:57:22 +00:00
Andrew Morgan
7dca131010 Reword sections of federate.md that explained delegation at time of Synapse 1.0 transition (#6601)
* commit '32779b59f':
  Reword sections of federate.md that explained delegation at time of Synapse 1.0 transition (#6601)
2020-03-20 16:57:12 +00:00
Andrew Morgan
6b516d7ee6 Fix small extra argument passed to get_events 2020-03-20 15:42:16 +00:00
Andrew Morgan
3505a2baac 1.7.3
* commit '77661ce81':
  1.7.3
2020-03-20 15:05:41 +00:00
Andrew Morgan
7a4b2b4883 Hacks to work around #6605 (#6608)
* commit '92eac974b':
  Hacks to work around #6605 (#6608)
  sample log config
2020-03-20 15:05:00 +00:00
Andrew Morgan
618a703b0b Update reverse proxy file name (#6590)
* commit 'b2db38284':
  Update reverse proxy file name (#6590)
2020-03-20 15:04:52 +00:00
Andrew Morgan
f8d37bdf25 Update reverse proxy file name (#6590)
* commit '7c6b85355':
  Update reverse proxy file name (#6590)
2020-03-20 15:04:31 +00:00
Andrew Morgan
41107a0f1b 1.7.2
* commit '29794c6bc':
  1.7.2
2020-03-20 15:01:40 +00:00
Andrew Morgan
02a2fd0f6a Split state groups into a separate data store (#6296)
* commit '75d8f26ac':
  Split state groups into a separate data store (#6296)
2020-03-20 15:01:31 +00:00
Andrew Morgan
b7059bec18 Backport fixes to sqlite upgrade from develop (#6578)
* commit '4caab0e95':
  Backport fixes to sqlite upgrade from develop (#6578)
2020-03-20 15:01:19 +00:00
Andrew Morgan
efd80e0d05 Change EventContext to use the Storage class (#6564)
* commit 'fa780e972':
  Change EventContext to use the Storage class (#6564)
2020-03-20 14:55:54 +00:00
Andrew Morgan
bcbc56fe21 Fix exceptions when attempting to backfill (#6576)
* commit '03d3792f3':
  Fix exceptions when attempting to backfill (#6576)
2020-03-20 14:55:31 +00:00
Andrew Morgan
8468c90dfe Explode on duplicate delta file names. (#6565)
* commit '0b5dbadd9':
  Explode on duplicate delta file names. (#6565)
2020-03-20 14:42:18 +00:00
Andrew Morgan
adf1c37901 Port some admin handlers to async/await (#6559)
* commit '3d46124ad':
  Port some admin handlers to async/await (#6559)
2020-03-20 14:42:08 +00:00
Andrew Morgan
22d45b854e Improve diagnostics on database upgrade failure (#6570)
* commit 'bca30cefe':
  Improve diagnostics on database upgrade failure (#6570)
2020-03-20 14:42:00 +00:00
Andrew Morgan
5f231e3223 Fix sdnotify with acme enabled (#6571)
* commit '0b794cbd7':
  Fix sdnotify with acme enabled (#6571)
2020-03-20 14:40:41 +00:00
Andrew Morgan
f1735cb718 Add an export_signing_key script (#6546)
* commit 'b95b76256':
  Add an export_signing_key script (#6546)
2020-03-20 14:40:29 +00:00
Andrew Morgan
a4c9c2bb6d Clean up startup for the pusher (#6558)
* commit 'd6752ce5d':
  Clean up startup for the pusher (#6558)
2020-03-20 14:40:20 +00:00
Andrew Morgan
148c5155bd Add delta file to fix missing default table data (#6555)
* commit '7963ca83c':
  Add delta file to fix missing default table data (#6555)
2020-03-20 14:40:10 +00:00
Andrew Morgan
032fed6f42 Add database config class (#6513)
* commit '2284eb3a5':
  Add database config class (#6513)
  too many parens
2020-03-20 14:39:41 +00:00
Andrew Morgan
84cb2f7212 1.7.1
* commit 'd656e91fc':
  1.7.1
2020-03-19 19:17:44 +00:00
Andrew Morgan
4ad14317f6 Fix bug where we added duplicate event IDs as auth_events (#6560)
* commit '502942253':
  Fix bug where we added duplicate event IDs as auth_events (#6560)
2020-03-19 19:17:35 +00:00
Andrew Morgan
72f0171f37 Remove unused get_pagination_rows methods. (#6557)
* commit '02553901c':
  Remove unused `get_pagination_rows` methods. (#6557)
2020-03-19 19:17:24 +00:00
Andrew Morgan
b6c674753d Add auth events as per spec. (#6556)
* commit '5ca2cfadc':
  Add auth events as per spec. (#6556)
2020-03-19 19:17:12 +00:00
Andrew Morgan
1c17a8c70d Add auth events as per spec. (#6556)
* commit '3fbe5b7ec':
  Add auth events as per spec. (#6556)
2020-03-19 19:16:57 +00:00
Andrew Morgan
194287c2ec Merge pull request #6553 from matrix-org/babolivier/fix-context-filter
* commit '631653036':
  Incorporate review
  Update changelog.d/6553.bugfix
  Lint
  Add test case
  Changelog
  Update the documentation of the filtering function
  Use the filtered version of an event when responding to /context requests for that event
2020-03-19 19:16:47 +00:00
Andrew Morgan
1964f11955 Add option to allow profile queries without sharing a room (#6523)
* commit 'bfb95654c':
  Add option to allow profile queries without sharing a room (#6523)
2020-03-19 19:15:45 +00:00
Andrew Morgan
52b74ec989 Exclude rejected state events when calculating state at backwards extrems (#6527)
* commit 'bbb75ff6e':
  Exclude rejected state events when calculating state at backwards extrems (#6527)
2020-03-19 19:05:26 +00:00
Andrew Morgan
da063246b0 Persist auth/state events at backwards extremities when we fetch them (#6526)
* commit 'ff773ff72':
  Persist auth/state events at backwards extremities when we fetch them (#6526)
2020-03-19 19:05:13 +00:00
Andrew Morgan
4da896581c sanity-checking for events used in state res (#6531)
* commit '83895316d':
  sanity-checking for events used in state res (#6531)
2020-03-19 18:59:37 +00:00
Andrew Morgan
33a461808f Sanity-check room ids in event auth (#6530)
* commit '6577f2d88':
  Sanity-check room ids in event auth (#6530)
2020-03-19 18:56:50 +00:00
Andrew Morgan
5c4280dd8e Check the room_id of events when fetching room state/auth (#6524)
* commit '35bbe4ca7':
  Check the room_id of events when fetching room state/auth (#6524)
2020-03-19 18:56:41 +00:00
Andrew Morgan
dface403ae Add include_event_in_state to _get_state_for_room (#6521)
* commit '20d5ba16e':
  Add `include_event_in_state` to _get_state_for_room (#6521)
2020-03-19 18:56:27 +00:00
Andrew Morgan
79c0a438ff Move get_state methods into FederationHandler (#6503)
* commit 'be294d6fd':
  Move get_state methods into FederationHandler (#6503)
2020-03-19 18:52:20 +00:00
Andrew Morgan
302af3dc7d Refactor get_events_from_store_or_dest to return a dict (#6501)
* commit '4c7b1bb6c':
  Refactor get_events_from_store_or_dest to return a dict (#6501)
2020-03-19 18:05:42 +00:00
Andrew Morgan
f16334e5a7 Exclude rejected state events when calculating state at backwards extrems (#6527)
* commit '6920d8889':
  Exclude rejected state events when calculating state at backwards extrems (#6527)
2020-03-19 18:01:47 +00:00
Andrew Morgan
3fcb360860 Persist auth/state events at backwards extremities when we fetch them (#6526)
* commit 'bc7de8765':
  Persist auth/state events at backwards extremities when we fetch them (#6526)
2020-03-19 18:01:36 +00:00