Skip to content
Snippets Groups Projects
  1. Oct 27, 2020
    • Dan Callahan's avatar
      Minor updates to docs on how to run tests (#8666) · e90fad5c
      Dan Callahan authored
      
      The test runner isn't present in the `[all]` set of extras, so the
      previous instructions did not work without also installing `[test]`.
      
      Note that this does not include the `[lint]` extras, since those do not
      install on all supported Python versions (specifically, isort 5.x
      requires Python 3.6, while we still support 3.5). Instructions for that
      are included in our pull request template, so we should be fine there.
      
      I've also dropped the `--no-use-pep517` arg to `pip install` since it
      seems to have been added to address a temporary regression in pip 19.1
      which was fixed in pip 19.1.1 the following month.
      
      Lastly, updated the example output of the test suite to set more
      realistic expectations around run time.
      
      Signed-off-by: default avatarDan Callahan <danc@element.io>
      e90fad5c
    • Dan Callahan's avatar
      Note support for Python 3.9 (#8665) · 88e1d0c5
      Dan Callahan authored
      
      As expected, all tests pass locally without modification.
      
      Signed-off-by: default avatarDan Callahan <danc@element.io>
      88e1d0c5
  2. Oct 20, 2020
  3. Oct 19, 2020
  4. Sep 23, 2020
  5. Sep 17, 2020
  6. Aug 26, 2020
  7. Aug 24, 2020
  8. Aug 14, 2020
  9. Aug 12, 2020
  10. Aug 11, 2020
  11. Aug 05, 2020
  12. Jul 31, 2020
  13. Jul 28, 2020
  14. Jul 24, 2020
  15. Jul 20, 2020
  16. 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
  17. Jul 01, 2020
  18. Jun 25, 2020
  19. Jun 03, 2020
    • Richard van der Hoff's avatar
      Clean up exception handling in SAML2ResponseResource (#7614) · 1bbc9e2d
      Richard van der Hoff authored
      * Expose `return_html_error`, and allow it to take a Jinja2 template instead of a raw string
      
      * Clean up exception handling in SAML2ResponseResource
      
        * use the existing code in `return_html_error` instead of re-implementing it
          (giving it a jinja2 template rather than inventing a new form of template)
      
        * do the exception-catching in the REST layer rather than in the handler
          layer, to make sure we catch all exceptions.
      1bbc9e2d
  20. May 22, 2020
  21. May 18, 2020
  22. May 15, 2020
  23. May 08, 2020
  24. May 07, 2020
  25. May 05, 2020
  26. May 04, 2020
  27. Apr 30, 2020
  28. 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
  29. Apr 22, 2020
  30. Apr 16, 2020
  31. Apr 07, 2020
  32. Mar 26, 2020
  33. Mar 19, 2020
  34. Mar 12, 2020
Loading