Skip to content
Snippets Groups Projects
  1. Oct 26, 2020
  2. Oct 23, 2020
  3. Oct 14, 2020
  4. Oct 12, 2020
    • Erik Johnston's avatar
      Make event persisters periodically announce position over replication. (#8499) · 8de3703d
      Erik Johnston authored
      Currently background proccesses stream the events stream use the "minimum persisted position" (i.e. `get_current_token()`) rather than the vector clock style tokens. This is broadly fine as it doesn't matter if the background processes lag a small amount. However, in extreme cases (i.e. SyTests) where we only write to one event persister the background processes will never make progress.
      
      This PR changes it so that the `MultiWriterIDGenerator` keeps the current position of a given instance as up to date as possible (i.e using the latest token it sees if its not in the process of persisting anything), and then periodically announces that over replication. This then allows the "minimum persisted position" to advance, albeit with a small lag.
      Unverified
      8de3703d
  5. Oct 09, 2020
  6. Oct 07, 2020
  7. Oct 05, 2020
  8. Oct 02, 2020
  9. Oct 01, 2020
  10. Sep 30, 2020
  11. Sep 29, 2020
  12. Sep 28, 2020
  13. Sep 25, 2020
  14. Sep 23, 2020
    • Julian Fietkau's avatar
      Add note to reverse_proxy.md about disabling Apache's mod_security2 (#8375) · a4e63e5a
      Julian Fietkau authored
      This change adds a note and a few lines of configuration settings for Apache users to disable ModSecurity for Synapse's virtual hosts. With ModSecurity enabled and running with its default settings, Matrix clients are unable to send chat messages through the Synapse installation. With this change, ModSecurity can be disabled only for the Synapse virtual hosts.
      Unverified
      a4e63e5a
  15. Sep 22, 2020
  16. Sep 18, 2020
  17. Sep 14, 2020
  18. Sep 10, 2020
  19. Sep 08, 2020
  20. Sep 02, 2020
  21. Sep 01, 2020
  22. Aug 25, 2020
  23. Aug 24, 2020
  24. Aug 19, 2020
  25. Aug 18, 2020
  26. Aug 17, 2020
  27. Aug 11, 2020
    • Erik Johnston's avatar
      Move setting of Filter into code. · 0304ad0c
      Erik Johnston authored
      We do this to prevent foot guns. The default config uses a MemoryFilter,
      but users are free to change to logging to files directly. If they do
      then they have to ensure to set the `filters: [context]` on the right
      handler, otherwise records get written with the wrong context.
      
      Instead we move the logic to happen when we generate a record, which is
      when we *log* rather than *handle*.
      
      (It's possible to add filters to loggers in the config, however they
      don't apply to descendant loggers and so they have to be manually set on
      *every* logger used in the code base)
      0304ad0c
    • Erik Johnston's avatar
      Change the default log config to reduce disk I/O and storage (#8040) · db131b6b
      Erik Johnston authored
      * Change default log config to buffer by default.
      
      This batches up writes to the filesystem, which is more efficient for
      disk I/O. This means that it can take some time for logs to get written
      to disk. Note that ERROR logs (and above) immediately flush the buffer.
      
      This only effects new installs, as we only write the log config if
      started with `--generate-config` (in the same way we do for generating
      signing keys).
      
      * Default to keeping last 4 days of logs.
      
      This hopefully reduces the amount of logs kept for new servers. Keeping
      the last 1GB of logs is likely overkill for new servers, but equally may
      not be enough for busy ones.
      
      Instead, we keep the last four days worth of logs, enough so that admins
      can investigate any problems that happened over e.g. a long weekend.
      Unverified
      db131b6b
    • Richard van der Hoff's avatar
      Implement login blocking based on SAML attributes (#8052) · 0cb16990
      Richard van der Hoff authored
      Hopefully this mostly speaks for itself. I also did a bit of cleaning up of the
      error handling.
      
      Fixes #8047
      Unverified
      0cb16990
  28. Aug 07, 2020
Loading