Skip to content
Snippets Groups Projects
  1. Sep 16, 2021
  2. Jul 13, 2021
  3. Apr 14, 2021
  4. Apr 13, 2021
  5. Apr 09, 2021
  6. Mar 09, 2021
  7. Jan 18, 2021
    • Richard van der Hoff's avatar
      Fix bugs in handling clientRedirectUrl, and improve OIDC tests (#9127, #9128) · 02070c69
      Richard van der Hoff authored
      * Factor out a common TestHtmlParser
      
      Looks like I'm doing this in a few different places.
      
      * Improve OIDC login test
      
      Complete the OIDC login flow, rather than giving up halfway through.
      
      * Ensure that OIDC login works with multiple OIDC providers
      
      * Fix bugs in handling clientRedirectUrl
      
       - don't drop duplicate query-params, or params with no value
       - allow utf-8 in query-params
      02070c69
  8. Dec 15, 2020
    • Richard van der Hoff's avatar
      Preparatory refactoring of the SamlHandlerTestCase (#8938) · 01333681
      Richard van der Hoff authored
      * move simple_async_mock to test_utils
      
      ... so that it can be re-used
      
      * Remove references to `SamlHandler._map_saml_response_to_user` from tests
      
      This method is going away, so we can no longer use it as a test point. Instead,
      factor out a higher-level method which takes a SAML object, and verify correct
      behaviour by mocking out `AuthHandler.complete_sso_login`.
      
      * changelog
      01333681
  9. Dec 14, 2020
  10. Dec 02, 2020
  11. Oct 30, 2020
  12. Oct 27, 2020
  13. Sep 18, 2020
  14. Sep 11, 2020
  15. Sep 08, 2020
  16. Sep 01, 2020
  17. Jul 24, 2020
  18. Jul 22, 2020
  19. Jul 05, 2020
    • Will Hunt's avatar
      isort 5 compatibility (#7786) · 62b1ce85
      Will Hunt authored
      The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
      62b1ce85
  20. May 05, 2020
  21. Apr 29, 2020
    • Richard van der Hoff's avatar
      Fix limit logic for EventsStream (#7358) · c2e1a211
      Richard van der Hoff authored
      * Factor out functions for injecting events into database
      
      I want to add some more flexibility to the tools for injecting events into the
      database, and I don't want to clutter up HomeserverTestCase with them, so let's
      factor them out to a new file.
      
      * Rework TestReplicationDataHandler
      
      This wasn't very easy to work with: the mock wrapping was largely superfluous,
      and it's useful to be able to inspect the received rows, and clear out the
      received list.
      
      * Fix AssertionErrors being thrown by EventsStream
      
      Part of the problem was that there was an off-by-one error in the assertion,
      but also the limit logic was too simple. Fix it all up and add some tests.
      c2e1a211
  22. Jul 03, 2019
  23. Jun 20, 2019
  24. May 10, 2019
  25. Jan 29, 2019
Loading