1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
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>
2021-07-04 18:04:15 +00:00
..
internal Merge #1754 2021-06-29 12:32:21 +00:00
translations Update messages.po 2021-03-19 10:46:42 +01:00
ui Merge #1754 2021-06-29 12:32:21 +00:00
__init__.py Merge remote-tracking branch 'upstream/master' into kvsession 2021-06-29 16:38:38 +02:00
configuration.py removed double confiog and fixed shaker 2021-06-16 22:06:28 +02:00
debug.py Clean most of the refactored code 2018-10-18 17:55:07 +02:00
dkim.py Upgrading to a 2048-bit DKIM key 2020-01-16 16:47:27 +01:00
limiter.py Refactor the rate limiting code 2020-02-09 17:38:18 +01:00
manage.py always init Logger first 2021-03-10 18:50:52 +01:00
models.py fix bugs in model and schema introduced by #1604 2021-07-03 11:40:32 +02:00
schemas.py fix bugs in model and schema introduced by #1604 2021-07-03 11:40:32 +02:00
utils.py use fixed msg for key derivation 2021-07-03 22:32:47 +02:00