Skip to content
Snippets Groups Projects
  1. Feb 03, 2023
  2. Jan 26, 2023
  3. Jan 25, 2023
  4. Jan 22, 2023
  5. Jan 21, 2023
  6. Jan 11, 2023
  7. Dec 28, 2022
  8. Dec 16, 2022
  9. Dec 13, 2022
    • David Robertson's avatar
      Allow selecting "prejoin" events by state keys (#14642) · e2a1adbf
      David Robertson authored
      * Declare new config
      
      * Parse new config
      
      * Read new config
      
      * Don't use trial/our TestCase where it's not needed
      
      Before:
      
      ```
      $ time trial tests/events/test_utils.py > /dev/null
      
      real	0m2.277s
      user	0m2.186s
      sys	0m0.083s
      ```
      
      After:
      ```
      $ time trial tests/events/test_utils.py > /dev/null
      
      real	0m0.566s
      user	0m0.508s
      sys	0m0.056s
      ```
      
      * Helper to upsert to event fields
      
      without exceeding size limits.
      
      * Use helper when adding invite/knock state
      
      Now that we allow admins to include events in prejoin room state with
      arbitrary state keys, be a good Matrix citizen and ensure they don't
      accidentally create an oversized event.
      
      * Changelog
      
      * Move StateFilter tests
      
      should have done this in #14668
      
      * Add extra methods to StateFilter
      
      * Use StateFilter
      
      * Ensure test file enforces typed defs; alphabetise
      
      * Workaround surprising get_current_state_ids
      
      * Whoops, fix mypy
      e2a1adbf
  10. Dec 12, 2022
  11. Dec 09, 2022
  12. Dec 02, 2022
  13. Nov 25, 2022
  14. Nov 22, 2022
  15. Nov 17, 2022
  16. Nov 16, 2022
  17. Oct 31, 2022
  18. Oct 06, 2022
  19. Sep 06, 2022
  20. Aug 15, 2022
  21. Jul 21, 2022
  22. Jul 05, 2022
    • David Robertson's avatar
      Type `tests.utils` (#13028) · 6ba732fe
      David Robertson authored
      * Cast to postgres types when handling postgres db
      
      * Remove unused method
      
      * Easy annotations
      
      * Annotate create_room
      
      * Use `ParamSpec` to annotate looping_call
      
      * Annotate `default_config`
      
      * Track `now` as a float
      
      `time_ms` returns an int like the proper Synapse `Clock`
      
      * Introduce a `Timer` dataclass
      
      * Introduce a Looper type
      
      * Suppress checking of a mock
      
      * tests.utils is typed
      
      * Changelog
      
      * Whoops, import ParamSpec from typing_extensions
      
      * ditch the psycopg2 casts
      6ba732fe
  23. Jul 04, 2022
  24. Jun 30, 2022
  25. Jun 28, 2022
  26. Jun 15, 2022
  27. Jun 09, 2022
  28. May 23, 2022
  29. May 19, 2022
  30. May 18, 2022
  31. May 17, 2022
  32. May 16, 2022
  33. May 13, 2022
  34. May 12, 2022
  35. May 04, 2022
  36. May 03, 2022
Loading