1
0
Commit Graph

17057 Commits

Author SHA1 Message Date
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
Andrew Morgan
63f56c08ca Automatically delete empty groups/communities (#6453)
* commit '9d173b312':
  Automatically delete empty groups/communities (#6453)
2020-03-19 18:01:23 +00:00
Andrew Morgan
88fc911614 Document Shutdown Room admin API (#6541)
* commit '0b90fc6ed':
  Document Shutdown Room admin API (#6541)
2020-03-19 18:01:13 +00:00
Andrew Morgan
fcb1c99978 sanity-checking for events used in state res (#6531)
* commit '1da15f05f':
  sanity-checking for events used in state res (#6531)
2020-03-19 18:01:02 +00:00
Andrew Morgan
3719f3fa2f Sanity-check room ids in event auth (#6530)
* commit '971a0702b':
  Sanity-check room ids in event auth (#6530)
2020-03-19 18:00:46 +00:00
Andrew Morgan
fa87b96ad2 Merge pull request #6537 from matrix-org/erikj/bump_mypy_version
* commit '5cadbd9eb':
  More rewording of changelog.
  Reword changelog
  Add deprecation notes
  Newsfile
  Bump version of mypy
2020-03-19 18:00:37 +00:00
Andrew Morgan
f60ca2bb56 1.7.0
* commit 'f5aeea9e8':
  1.7.0
2020-03-19 18:00:23 +00:00
Andrew Morgan
7a3fe99b16 Adjust the sytest blacklist for worker mode (#6538)
* commit '4ce05ec17':
  Adjust the sytest blacklist for worker mode (#6538)
2020-03-19 18:00:15 +00:00
Andrew Morgan
3e5e7f29d1 Merge pull request #6496 from matrix-org/erikj/initial_sync_asnyc
* commit 'caa52836e':
  Newsfile
  Port synapse.handlers.initial_sync to async/await
2020-03-19 18:00:08 +00:00
Andrew Morgan
e5592ca2c1 Merge pull request #6534 from matrix-org/erikj/extend_mypy
* commit '7e67cfc87':
  Newsfile
  Include more folders in mypy
2020-03-19 17:59:57 +00:00
Andrew Morgan
1a051ca537 look up cross-signing keys from the DB in bulk (#6486)
* commit 'cb2db1799':
  look up cross-signing keys from the DB in bulk (#6486)
2020-03-19 17:59:50 +00:00
Andrew Morgan
8757a54206 Fix redacted events being returned in search results ordered by "recent" (#6522)
* commit '5bfd8855d':
  Fix redacted events being returned in search results ordered by "recent" (#6522)
2020-03-19 17:59:40 +00:00
Andrew Morgan
2d0506f1be Check the room_id of events when fetching room state/auth (#6524)
* commit '25f124432':
  Check the room_id of events when fetching room state/auth (#6524)
2020-03-19 17:59:24 +00:00
Andrew Morgan
49ba0a7434 Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_apps
* commit 'b8e4b39b6':
  Add new config param to docstring and add types
  Newsfile
  Fix upgrade db script
  Remove database config parsing from apps.
2020-03-19 17:59:17 +00:00
Andrew Morgan
354e790e0d Add include_event_in_state to _get_state_for_room (#6521)
* commit '204535651':
  Add `include_event_in_state` to _get_state_for_room (#6521)
2020-03-19 17:59:08 +00:00
Andrew Morgan
050bc5bf40 Merge pull request #6517 from matrix-org/rav/event_auth/13
* commit '894d2adda':
  changelog
  convert to async: FederationHandler._process_received_pdu
  convert to async: FederationHandler._get_state_for_room
  convert to async: FederationHandler.on_receive_pdu
  Convert federation backfill to async
2020-03-19 17:58:58 +00:00
Andrew Morgan
e71d3cdb7c Update workers.md to make media_repository work (again) (#6519)
* commit '58fdcbdfe':
  Update  workers.md to make media_repository work (again) (#6519)
  Remove #6369 changelog
2020-03-19 17:58:47 +00:00
Andrew Morgan
fe97d69358 Merge pull request #6504 from matrix-org/erikj/account_validity_async_await
* commit '31905a518':
  Newsfile
  Port handlers.account_validity to async/await.
  Port handlers.account_data to async/await.
2020-03-19 17:57:34 +00:00
Andrew Morgan
19a2804fa4 Clean up some logging (#6515)
* commit '7c429f92d':
  Clean up some logging (#6515)
2020-03-19 17:49:14 +00:00
Andrew Morgan
82be5c38d6 1.7.0rc2
* commit 'd156912c4':
  1.7.0rc2
  Back out change preventing setting null avatar URLs
  Fixup changelogs
2020-03-19 17:49:07 +00:00
Andrew Morgan
22a602077c Prevent redacted events from appearing in message search (#6377)
* commit 'fc316a489':
  Prevent redacted events from appearing in message search (#6377)
2020-03-19 17:48:59 +00:00
Andrew Morgan
b10a35db1f Add dev script to generate full SQL schema files (#6394)
* commit '6676ee9c4':
  Add dev script to generate full SQL schema files (#6394)
2020-03-19 17:48:51 +00:00
Andrew Morgan
2f42d6f846 Prevent message search in upgraded rooms we're not in (#6385)
* commit 'ea0f0ad41':
  Prevent message search in upgraded rooms we're not in (#6385)
2020-03-19 17:48:40 +00:00
Andrew Morgan
5af87590e1 Merge pull request #6349 from matrix-org/babolivier/msc1802
* commit '54ae52ba9':
  Lint
  Changelog
  Lint
  Fix prefix for v2/send_leave
  Add server-side support to the v2 API
  Implement v2 API for send_leave
  Add missing yield
  Implement v2 API for send_join
2020-03-19 17:48:28 +00:00
Andrew Morgan
200efb9d68 wMerge pull request #6512 from matrix-org/erikj/silence_mypy
* commit '239d86a13':
  Newsfile
  Silence mypy errors for files outside those specified
2020-03-19 17:48:16 +00:00
Andrew Morgan
0a48dd4d5e Move get_state methods into FederationHandler (#6503)
* commit 'f8bc2ae88':
  Move get_state methods into FederationHandler (#6503)
2020-03-19 17:48:07 +00:00
Andrew Morgan
f131b1a36d Allow SAML username provider plugins (#6411)
* commit '4947de5a1':
  Allow SAML username provider plugins (#6411)
2020-03-19 17:47:57 +00:00
Andrew Morgan
32c3f7ca67 Merge pull request #6510 from matrix-org/erikj/phone_home_stats_db
* commit 'b2dcddc41':
  Newsfile
  Phone home stats DB reporting should not assume a single DB.
2020-03-19 17:47:50 +00:00
Andrew Morgan
9ccb061352 Fix race which caused deleted devices to reappear (#6514)
* commit '40eda8493':
  Fix race which caused deleted devices to reappear (#6514)
2020-03-19 17:47:40 +00:00
Andrew Morgan
0d60ea6d37 Refactor get_events_from_store_or_dest to return a dict (#6501)
* commit 'c3dda2874':
  Refactor get_events_from_store_or_dest to return a dict (#6501)
2020-03-19 17:47:31 +00:00
Andrew Morgan
5d68a2f9c9 Remove redundant code from event authorisation implementation. (#6502)
* commit '424fd5823':
  Remove redundant code from event authorisation implementation. (#6502)
2020-03-19 17:47:21 +00:00
Andrew Morgan
8c190d0b7e Merge pull request #6505 from matrix-org/erikj/make_deferred_yiedable
* commit '35f3c366e':
  Update comment
  Newsfile
  Fix make_deferred_yieldable to work with coroutines
2020-03-19 17:47:05 +00:00
Andrew Morgan
8cb2ab114d Merge pull request #6499 from matrix-org/erikj/fix_sqlite_7
* commit 'e726e1873':
  Drop unused index
  Convert _censor_redactions to async since it awaits on coroutines
  Only start censor background job after indices are created
  Newsfile
  Fix support for SQLite 3.7.
2020-03-19 17:46:58 +00:00