Skip to content
Snippets Groups Projects
  1. Jan 08, 2021
  2. Aug 17, 2020
  3. May 27, 2020
  4. May 13, 2020
  5. May 12, 2020
  6. May 11, 2020
  7. Mar 20, 2020
  8. Mar 17, 2020
  9. Feb 21, 2020
  10. Oct 10, 2019
  11. Sep 13, 2019
  12. Sep 06, 2019
  13. Aug 28, 2019
  14. Jul 05, 2019
    • Richard van der Hoff's avatar
      Fixes to the federation rate limiter (#5621) · 9481707a
      Richard van der Hoff authored
      - Put the default window_size back to 1000ms (broken by #5181)
      - Make the `rc_federation` config actually do something
      - fix an off-by-one error in the 'concurrent' limit
      - Avoid creating an unused `_PerHostRatelimiter` object for every single
        incoming request
      9481707a
  15. Jun 28, 2019
  16. Jun 24, 2019
  17. Jun 20, 2019
  18. May 10, 2019
  19. Apr 01, 2019
  20. Mar 22, 2019
  21. Feb 14, 2019
  22. Feb 12, 2019
  23. Feb 11, 2019
  24. Jan 29, 2019
  25. Jan 22, 2019
  26. Oct 25, 2018
  27. Oct 24, 2018
    • Richard van der Hoff's avatar
      Fix a number of flake8 errors · ef771cc4
      Richard van der Hoff authored
      Broadly three things here:
      
      * disable W504 which seems a bit whacko
      * remove a bunch of `as e` expressions from exception handlers that don't use
        them
      * use `r""` for strings which include backslashes
      
      Also, we don't use pep8 any more, so we can get rid of the duplicate config
      there.
      ef771cc4
  28. Oct 19, 2018
  29. Aug 10, 2018
  30. Jul 09, 2018
  31. Apr 15, 2018
  32. Jan 09, 2018
  33. Jun 09, 2016
    • Mark Haines's avatar
      Add function to load config without generating it · 7dbb4733
      Mark Haines authored
      Renames ``load_config`` to ``load_or_generate_config``
      Adds a method called ``load_config`` that just loads the
      config.
      
      The main synapse.app.homeserver will continue to use
      ``load_or_generate_config`` to retain backwards compat.
      However new worker processes can use ``load_config`` to
      load the config avoiding some of the cruft needed to generate
      the config.
      
      As the new ``load_config`` method is expected to be used by new
      configs it removes support for the legacy commandline overrides
      that ``load_or_generate_config`` supports
      7dbb4733
  34. Feb 22, 2016
  35. Feb 09, 2016
  36. Feb 05, 2016
    • Daniel Wagner-Hall's avatar
      Error if macaroon key is missing from config · 6a9f1209
      Daniel Wagner-Hall authored
      Currently we store all access tokens in the DB, and fall back to that
      check if we can't validate the macaroon, so our fallback works here, but
      for guests, their macaroons don't get persisted, so we don't get to
      find them in the database. Each restart, we generate a new ephemeral
      key, so guests lose access after each server restart.
      
      I tried to fix up the config stuff to be less insane, but gave up, so
      instead I bolt on yet another piece of custom one-off insanity.
      
      Also, add some basic tests for config generation and loading.
      6a9f1209
Loading