You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/core/admin/mailu
bors[bot] 4a5f6b1f92
Merge #1791
1791: Enhanced session handling r=mergify[bot] a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

- replaces flask_kvsession and simplekv with a mailu-specific session store
- call cleanup_sessions before first request and not on startup.
  this allows to run cmdline actions without redis (and makes it faster)
- allow running without redis for debugging purposes by setting MEMORY_SESSIONS to True
- don't sign session id, as it has plenty of entropy (as suggested by nextgens)
- adds method to prune a user's sessions

### Related issue(s)
- enhances and close #1787


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
3 years ago
..
internal Merge #1754 3 years ago
translations Update messages.po 4 years ago
ui Merge #1754 3 years ago
__init__.py Merge remote-tracking branch 'upstream/master' into kvsession 3 years ago
configuration.py removed double confiog and fixed shaker 3 years ago
debug.py Clean most of the refactored code 6 years ago
dkim.py Upgrading to a 2048-bit DKIM key 5 years ago
limiter.py Refactor the rate limiting code 5 years ago
manage.py always init Logger first 4 years ago
models.py fix bugs in model and schema introduced by #1604 3 years ago
schemas.py fix bugs in model and schema introduced by #1604 3 years ago
utils.py use fixed msg for key derivation 3 years ago