Skip to content
Snippets Groups Projects
  1. Apr 27, 2023
  2. Apr 24, 2023
  3. Mar 09, 2023
  4. Feb 28, 2023
  5. Feb 17, 2023
  6. Feb 14, 2023
  7. Feb 09, 2023
  8. Feb 08, 2023
  9. Feb 07, 2023
  10. Feb 06, 2023
  11. Feb 03, 2023
  12. Jan 26, 2023
  13. Jan 25, 2023
  14. Jan 22, 2023
  15. Jan 21, 2023
  16. Jan 11, 2023
  17. Dec 28, 2022
  18. Dec 16, 2022
  19. 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
  20. Dec 12, 2022
  21. Dec 09, 2022
  22. Dec 02, 2022
  23. Nov 25, 2022
  24. Nov 22, 2022
  25. Nov 17, 2022
Loading