mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 14:54:19 -05:00
6a9f1209df
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. |
||
---|---|---|
.. | ||
api | ||
app | ||
appservice | ||
config | ||
crypto | ||
events | ||
federation | ||
handlers | ||
http | ||
metrics | ||
push | ||
rest | ||
static/client | ||
storage | ||
streams | ||
util | ||
__init__.py | ||
notifier.py | ||
python_dependencies.py | ||
server.py | ||
state.py | ||
types.py |