1
0
Commit Graph

17297 Commits

Author SHA1 Message Date
Andrew Morgan 09e9ebd0d9 Port synapse_port_db to async/await (#6718)
* commit '07124d028':
  Port synapse_port_db to async/await (#6718)
2020-03-23 11:38:36 +00:00
Andrew Morgan a09011a6ab Add a DeltaState to track changes to be made to current state (#6716)
* commit '0e6876007':
  Add a DeltaState to track changes to be made to current state (#6716)
2020-03-23 11:38:29 +00:00
Andrew Morgan fd3b31dc73 Fixup synapse.rest to pass mypy (#6732)
* commit 'b0a66ab83':
  Fixup synapse.rest to pass mypy (#6732)
2020-03-23 11:38:22 +00:00
Andrew Morgan 169a5854fa Fix /events/:event_id deprecated API. (#6731)
* commit '74b74462f':
  Fix `/events/:event_id` deprecated API. (#6731)
2020-03-23 11:38:15 +00:00
Andrew Morgan a5fe87b85f Fixup synapse.api to pass mypy (#6733)
* commit '0f6e525be':
  Fixup synapse.api to pass mypy (#6733)
2020-03-23 11:38:01 +00:00
Andrew Morgan 6df0a3c48c Fix changing password via user admin API. (#6730)
* commit 'ceecedc68':
  Fix changing password via user admin API. (#6730)
2020-03-23 11:37:54 +00:00
Andrew Morgan 7ed8a68815 Fix empty account_validity config block (#6747)
* commit 'e9e066055':
  Update changelog.d/6747.bugfix
  Revert "Newsfile"
  Newsfile
  Add changelog
  Fix empty account_validity config block
2020-03-23 11:37:47 +00:00
Andrew Morgan 96b48d5bcc Add more logging around message retention policies support (#6717)
* commit 'a17f64361':
  Add more logging around message retention policies support (#6717)
  Fix up changelog
  bump version to v1.9.0.dev2
2020-03-23 11:37:40 +00:00
Andrew Morgan fbda94b8f4 Fix syntax error in run_upgrade for schema 57 (#6728)
* commit '722b4f302':
  Fix syntax error in run_upgrade for schema 57 (#6728)
2020-03-23 11:37:32 +00:00
Andrew Morgan f2df9692a9 Merge pull request #6714 from matrix-org/babolivier/retention_select_event
* commit '3b72bb780':
  bump version to v1.9.0.dev1
  Precise changelog
  Fixup diff
  Remove get_room_event_after_stream_ordering entirely
  Lint
  Rename changelog
  Changelog
  Correctly order when selecting before stream ordering
  Fix typo
  Fix instantiation of message retention purge jobs
2020-03-23 11:36:52 +00:00
Andrew Morgan f7fb31d200 Merge pull request #6724 from matrix-org/rav/log_saml_attributes
* commit '59dc87c61':
  changelog
  Log saml assertions rather than the whole response
  move batch_iter to a separate module
2020-03-23 11:36:45 +00:00
Andrew Morgan 5ba900d744 Delegate remote_user_id mapping to the saml mapping provider (#6723)
* commit '2b6a77fcd':
  Delegate remote_user_id mapping to the saml mapping provider (#6723)
2020-03-23 11:36:38 +00:00
Andrew Morgan bd6344c729 Wake up transaction queue when remote server comes back online (#6706)
* commit 'a8a50f5b5':
  Wake up transaction queue when remote server comes back online (#6706)
2020-03-23 11:36:27 +00:00
Andrew Morgan 09cdecd44d Clarify the account_validity and email sections of the sample configuration. (#6685)
* commit '5ce0b17e3':
  Clarify the `account_validity` and `email` sections of the sample configuration. (#6685)
2020-03-23 11:36:19 +00:00
Andrew Morgan ea066e5b67 Add StateMap type alias (#6715)
* commit 'd386f2f33':
  Add StateMap type alias (#6715)
2020-03-23 11:36:00 +00:00
Andrew Morgan 3af295a009 Add tips for the changelog to the pull request template (#6663)
* commit '7b14c4a01':
  Add tips for the changelog to the pull request template (#6663)
2020-03-23 11:35:52 +00:00
Andrew Morgan 5b211ae070 Add org.matrix.e2e_cross_signing to unstable_features in /versions as per MSC1756 (#6712)
* commit '38e0e59f4':
  Add org.matrix.e2e_cross_signing to unstable_features in /versions as per MSC1756 (#6712)
2020-03-23 11:35:35 +00:00
Andrew Morgan 730dac53f8 Port synapse.replication.tcp to async/await (#6666)
* commit '48c3a9688':
  Port synapse.replication.tcp to async/await (#6666)
2020-03-23 11:35:12 +00:00
Andrew Morgan 888e203aab Fix purge_room admin API (#6711)
* commit '19a1aac48':
  Fix purge_room admin API (#6711)
2020-03-23 11:35:00 +00:00
Andrew Morgan 02931b95b8 Remove duplicate session check in web fallback servlet (#6702)
* commit 'edc244eec':
  Remove duplicate session check in web fallback servlet (#6702)
2020-03-23 11:34:53 +00:00
Andrew Morgan 67ab74cb31 Merge pull request #6688 from matrix-org/rav/module_api_extensions
* commit '608bf7d74':
  changelog
  Handle `config` not being set for synapse plugin modules
  Cleanups and additions to the module API
2020-03-23 11:34:34 +00:00
Andrew Morgan 562718fe12 Implement RedirectException (#6687)
* commit '8f5d7302a':
  Implement RedirectException (#6687)
2020-03-23 11:34:26 +00:00
Andrew Morgan 1e34631d1a Add local_current_membership table (#6655)
* commit '28c98e51f':
  Add `local_current_membership` table (#6655)
2020-03-23 11:34:19 +00:00
Andrew Morgan 9edb5f944f Process EDUs in parallel with PDUs. (#6697)
* commit 'b5ce7f587':
  Process EDUs in parallel with PDUs. (#6697)
2020-03-23 11:34:11 +00:00
Andrew Morgan 09a8668751 Fixup synapse.replication to pass mypy checks (#6667)
* commit 'e8b68a4e4':
  Fixup synapse.replication to pass mypy checks (#6667)
2020-03-23 11:34:02 +00:00
Andrew Morgan 061c671c6c Quarantine media by ID or user ID (#6681)
* commit '1177d3f3a':
  Quarantine media by ID or user ID (#6681)
2020-03-23 11:33:54 +00:00
Andrew Morgan 9483cb6ced Document more supported endpoints for workers (#6698)
* commit '47f4f493f':
  Document more supported endpoints for workers (#6698)
2020-03-23 11:33:47 +00:00
Andrew Morgan 262d78a868 Kill off RegistrationError (#6691)
* commit '326c893d2':
  Kill off RegistrationError (#6691)
2020-03-23 11:33:40 +00:00
Andrew Morgan e861fd82ef Don't assign numeric IDs for empty usernames (#6690)
* commit '2d07c7377':
  Don't assign numeric IDs for empty usernames (#6690)
2020-03-23 11:33:32 +00:00
Andrew Morgan 3ad357338d Merge pull request #6689 from matrix-org/rav/saml_mapping_provider_updates
* commit '3cfac9593':
  changelog
  Pass client redirect URL into SAML mapping providers
  Pass the module_api into the SamlMappingProvider
2020-03-23 11:33:06 +00:00
Andrew Morgan 12763b513f Allow additional_resources to implement Resource directly (#6686)
* commit '803968505':
  Allow additional_resources to implement Resource directly (#6686)
2020-03-23 11:32:57 +00:00
Andrew Morgan 3cfe6ba011 Fix exceptions on requests for non-ascii urls (#6682)
* commit 'feee81997':
  Fix exceptions on requests for non-ascii urls (#6682)
  comment for run_in_background
2020-03-23 11:32:47 +00:00
Andrew Morgan e9dc7683fd Merge pull request #6675 from matrix-org/rav/die_sqlite37_die_die_die
* commit '1d16f5ea0':
  update install notes for CentOS
  changelog
  Refuse to start if sqlite is older than 3.11.0
  Check postgres version in check_database
  Modify check_database to take a connection rather than a cursor
2020-03-23 11:32:39 +00:00
Andrew Morgan bdc0007da4 Add note about log_file no longer be accepted (#6674)
* commit 'c2ba994db':
  Add note about log_file no longer be accepted (#6674)
2020-03-23 11:32:29 +00:00
Andrew Morgan 35d1ec2c8f Allow admin users to create or modify users without a shared secret (#6495)
* commit 'd2906fe66':
  Allow admin users to create or modify users without a shared secret (#6495)
  Fixup changelog
2020-03-23 11:31:22 +00:00
Andrew Morgan e8e76ea60d 1.8.0
* commit '24b2c940f':
  1.8.0
2020-03-20 17:01:35 +00:00
Andrew Morgan 61a7c534bd Merge pull request #6664 from matrix-org/erikj/media_admin_apis
* commit '7c232bd98':
  Shuffle the code
  Comments
  Do not rely on streaming events, as media repo doesn't
  Newsfile
  Import RoomStore in media worker to fix admin APIs
  Move media admin store functions to worker store
2020-03-20 17:01:29 +00:00
Andrew Morgan 27ecf74366 Merge pull request #6665 from matrix-org/babolivier/retention_doc_typo
* commit 'e16521faa':
  Changelog
  Fix typo in message retention policies doc
2020-03-20 17:01:22 +00:00
Andrew Morgan 6e7fb4cbb9 Fix GET request on /_synapse/admin/v2/users endpoint (#6563)
* commit '7caaa29da':
  Fix GET request on /_synapse/admin/v2/users endpoint (#6563)
2020-03-20 17:01:11 +00:00
Andrew Morgan f4a7449d1a Back out ill-advised notary server hackery (#6657)
* commit '573fee759':
  Back out ill-advised notary server hackery (#6657)
2020-03-20 17:00:59 +00:00
Andrew Morgan 6827282aa4 Merge pull request #6624 from matrix-org/babolivier/retention_doc
* commit 'cff1cb868':
  Fix reference
  Incorporate review
  Apply suggestions from code review
  Update changelog.d/6624.doc
  Fix vacuum instructions for sqlite
  Rename changelog
  Add a complete documentation of the message retention policies support
2020-03-20 17:00:51 +00:00
Andrew Morgan a7a73bbbd8 contrib/docker-compose: fixing mount that overrides containers' /etc (#6656)
* commit 'dd57715de':
  contrib/docker-compose: fixing mount that overrides containers' /etc (#6656)
  typo
2020-03-20 17:00:41 +00:00
Andrew Morgan 6eb4fda0a7 Correctly proxy remote group HTTP errors. (#6654)
* commit 'be29ed7ad':
  Correctly proxy remote group HTTP errors. (#6654)
2020-03-20 17:00:33 +00:00
Andrew Morgan 0450704071 Merge pull request #6621 from matrix-org/babolivier/purge_job_config_typo
* commit '2b6b7f482':
  Reword
  Change the example from 5min to 12h
  Fixup changelog
  Fixup changelog
  Fixup changelog
  Changelog
  Update sample config
  Fix a typo in the purge jobs configuration example
2020-03-20 17:00:26 +00:00
Andrew Morgan 5bf0fa4482 1.8.0rc1
* commit '7f0e706eb':
  1.8.0rc1
2020-03-20 17:00:15 +00:00
Andrew Morgan 5af50a046d Merge pull request #6652 from matrix-org/babolivier/depth_missing_events
* commit '0ab5853ec':
  Changelog
  Fix conditions failing if min_depth = 0
2020-03-20 17:00:08 +00:00
Andrew Morgan 66c36eaa8a Add a background update to clear tombstoned rooms from the directory (#6648)
* commit '85db7f73b':
  Add a background update to clear tombstoned rooms from the directory (#6648)
2020-03-20 16:59:58 +00:00
Andrew Morgan 44743d35fe Async/await for background updates (#6647)
* commit '9824a39d8':
  Async/await for background updates (#6647)
2020-03-20 16:59:44 +00:00
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