Commit graph

8 commits

Author SHA1 Message Date
Tobias Brunner 5f8d2a7109 rewrite email handling
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-02 21:52:37 +01:00
Tobias Brunner 8a22747315 small improvements and dont mail mark seen
All checks were successful
continuous-integration/drone/push Build is passing
By using BODY.PEEK[] messages are not implicitely marked seen which
allows to set them seen when it could be processed. Might help to
reiterate over mails until the record is ready in Lodur.
2021-02-27 20:33:23 +01:00
Tobias Brunner 5aae306119 Revert "handle signals for better app shutdown"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 573765958f.
2021-02-27 15:09:42 +01:00
Tobias Brunner 573765958f handle signals for better app shutdown
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-27 15:02:35 +01:00
Tobias Brunner bd3a00c2d9 include patches
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-27 14:37:24 +01:00
Tobias Brunner 888508d1c6 improve lodur einsatz detection
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-27 14:30:40 +01:00
Tobias Brunner 9c8c5396c8 major update to reuse already existing records
All checks were successful
continuous-integration/drone/push Build is passing
Lodur since some time automatically creates Einsatzrapporte via an API
from SRZ/GVZ. One of the main features of Pylokid was to exactly do
that. With that new change this isn't necessary anymore. Pylokid has
been amended to find the pre-existing entry and work with that -
enhancing it with any additional information missing and uploads PDFs to
the right place.

While at it a very small modernization has been made and the project
moved to use Poetry and Black formatting. But it's still the same ugly
code - to reflect Lodur.
2021-02-22 21:46:21 +01:00
Tobias Brunner 1b9c895f02 switch to poetry 2021-02-13 20:31:41 +01:00