Commit Graph
6 Commits
Author SHA1 Message Date
Michael Manganiello b81fbc5820 fix: Improve handling of Redis URL
This change replaces the creation of Redis URL, from a simple string
interpolation, to using `yarl.URL`. The main benefit, besides not
forgetting to set all five different variables on every Redis client
initialization, is that user credentials are correctly URL-encoded, if
present.

Up until now, if a password had special characters, it could break the
generated URL.

This change also introduces support for a `REDIS_SSL` setting, which
allows the user to specify if the Redis connection should use SSL or not.
2024-10-11 21:41:19 -03:00
Georges-Antoine Assi 880345f20c ruff-only pre-commit 2024-05-18 12:05:57 -04:00
Georges-Antoine Assi 1a2c914045 refactor handlers out into own files 2024-05-05 12:45:56 -04:00
Georges-Antoine Assi f259e1b1d0 fix scanning after socketio upgrade 2024-03-18 09:47:15 -04:00
Georges-Antoine Assi 6bcadec702 everything we need for 3.0 2024-02-01 18:13:16 -05:00
Zurdi 4b9e76f550 backend structure refactor 2024-01-12 23:44:27 +01:00