Skip to content
Snippets Groups Projects
  1. Apr 29, 2020
  2. Apr 28, 2020
  3. Apr 27, 2020
  4. Apr 24, 2020
  5. Apr 23, 2020
  6. Apr 22, 2020
  7. Apr 21, 2020
  8. Apr 20, 2020
  9. Apr 17, 2020
    • Patrick Cloke's avatar
    • James's avatar
      701788a2
    • Andrew Morgan's avatar
      Query missing cross-signing keys on local sig upload · 72fe2aff
      Andrew Morgan authored
      Add changelog
      
      Save retrieved keys to the db
      
      lint
      
      Fix and de-brittle remote result dict processing
      
      Use query_user_devices instead, assume only master, self_signing key types
      
      Make changelog more useful
      
      Remove very specific exception handling
      
      Wrap get_verify_key_from_cross_signing_key in a try/except
      
      Note that _get_e2e_cross_signing_verify_key can raise a SynapseError
      
      lint
      
      Add comment explaining why this is useful
      
      Only fetch master and self_signing key types
      
      Fix log statements, docstrings
      
      Remove extraneous items from remote query try/except
      
      lint
      
      Factor key retrieval out into a separate function
      
      Send device updates, modeled after SigningKeyEduUpdater._handle_signing_key_updates
      
      Update method docstring
      72fe2aff
    • Richard van der Hoff's avatar
      Improve type checking in `replication.tcp.Stream` (#7291) · 67ff7b8b
      Richard van der Hoff authored
      The general idea here is to get rid of the type: ignore annotations on all of the current_token and update_function assignments, which would have caught #7290.
      
      After a bit of experimentation, it seems like the least-awful way to do this is to pass the offending functions in as parameters to the Stream constructor. Unfortunately that means that the concrete implementations no longer have the same constructor signature as Stream itself, which means that it gets hard to correctly annotate STREAMS_MAP.
      
      I've also introduced a couple of new types, to take out some duplication.
      67ff7b8b
Loading