Commit Graph

5 Commits

Author SHA1 Message Date
Tobias Brunner cadfe1aa55 mark Einsatzrapport seen when processed
continuous-integration/drone/push Build is passing Details
2021-03-09 19:52:34 +01:00
Tobias Brunner 5f8d2a7109 rewrite email handling
continuous-integration/drone/push Build is passing Details
2021-03-02 21:52:37 +01:00
Tobias Brunner 8a22747315 small improvements and dont mail mark seen
continuous-integration/drone/push Build is passing Details
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 9c8c5396c8 major update to reuse already existing records
continuous-integration/drone/push Build is passing Details
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
Renamed from library/emailhandling.py (Browse further)