Skip to content
Snippets Groups Projects
  1. Feb 07, 2020
  2. Nov 05, 2019
  3. Nov 01, 2019
  4. Oct 30, 2019
  5. Sep 11, 2019
  6. Jul 12, 2019
  7. Jul 11, 2019
    • Richard van der Hoff's avatar
      Clean up exception handling for access_tokens (#5656) · 0a4001eb
      Richard van der Hoff authored
      First of all, let's get rid of `TOKEN_NOT_FOUND_HTTP_STATUS`. It was a hack we
      did at one point when it was possible to return either a 403 or a 401 if the
      creds were missing. We always return a 401 in these cases now (thankfully), so
      it's not needed.
      
      Let's also stop abusing `AuthError` for these cases. Honestly they have nothing
      that relates them to the other places that `AuthError` is used, other than the
      fact that they are loosely under the 'Auth' banner. It makes no sense for them
      to share exception classes.
      
      Instead, let's add a couple of new exception classes: `InvalidClientTokenError`
      and `MissingClientTokenError`, for the `M_UNKNOWN_TOKEN` and `M_MISSING_TOKEN`
      cases respectively - and an `InvalidClientCredentialsError` base class for the
      two of them.
      0a4001eb
  8. Jul 10, 2019
  9. Jun 20, 2019
  10. May 10, 2019
  11. Mar 19, 2019
  12. Mar 05, 2019
    • Brendan Abolivier's avatar
      Add rate-limiting on registration (#4735) · a4c3a361
      Brendan Abolivier authored
      
      * Rate-limiting for registration
      
      * Add unit test for registration rate limiting
      
      * Add config parameters for rate limiting on auth endpoints
      
      * Doc
      
      * Fix doc of rate limiting function
      
      Co-Authored-By: default avatarbabolivier <contact@brendanabolivier.com>
      
      * Incorporate review
      
      * Fix config parsing
      
      * Fix linting errors
      
      * Set default config for auth rate limiting
      
      * Fix tests
      
      * Add changelog
      
      * Advance reactor instead of mocked clock
      
      * Move parameters to registration specific config and give them more sensible default values
      
      * Remove unused config options
      
      * Don't mock the rate limiter un MAU tests
      
      * Rename _register_with_store into register_with_store
      
      * Make CI happy
      
      * Remove unused import
      
      * Update sample config
      
      * Fix ratelimiting test for py2
      
      * Add non-guest test
      a4c3a361
  13. Jan 10, 2019
  14. Dec 14, 2018
    • Neil Johnson's avatar
      create support user (#4141) · d2f7c4e6
      Neil Johnson authored
      Allow for the creation of a support user.
      
      A support user can access the server, join rooms, interact with other users, but does not appear in the user directory nor does it contribute to monthly active user limits.
      d2f7c4e6
  15. Oct 24, 2018
  16. Sep 06, 2018
  17. Aug 31, 2018
  18. Aug 24, 2018
  19. Aug 18, 2018
  20. Aug 16, 2018
  21. Aug 15, 2018
  22. Aug 13, 2018
  23. Aug 10, 2018
  24. Aug 04, 2018
  25. Aug 03, 2018
  26. Aug 02, 2018
  27. Aug 01, 2018
  28. Jul 09, 2018
  29. Jun 28, 2018
  30. Mar 23, 2017
Loading