Tobias Brunner
888508d1c6
improve lodur einsatz detection
continuous-integration/drone/push Build is passing
Details
2021-02-27 14:30:40 +01:00
Tobias Brunner
f3acbd7ffd
Create LICENSE
continuous-integration/drone/push Build is passing
Details
2021-02-24 20:23:44 +01:00
Tobias Brunner
31caf1dc05
Merge pull request 'New Lodur Behaviour' ( #2 ) from new_lodur_behaviour into master
...
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #2
2021-02-23 19:23:36 +00:00
Tobias Brunner
c0ec11d804
update README
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-02-23 20:15:45 +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
a32f4041d3
Merge pull request 'Modernisation and Content-Type' ( #1 ) from poetry into master
...
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #1
2021-02-13 19:32:26 +00:00
Tobias Brunner
1e0b8d3af9
workaround content-type issue
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2021-02-13 20:31:41 +01:00
Tobias Brunner
1b9c895f02
switch to poetry
2021-02-13 20:31:41 +01:00
Tobias Brunner
6bbc9986a6
habemus new Kommandant
continuous-integration/drone/push Build is passing
Details
2020-12-23 21:10:30 +01:00
Tobias Brunner
93e0257e9b
add build status badge to README
continuous-integration/drone/push Build is passing
Details
2020-02-08 23:23:13 +01:00
Tobias Brunner
6114573591
set an imap timeout
...
so pylokid stops when the IMAP server doesn't respond in time
https://stackoverflow.com/questions/24422724/does-pythons-imaplib-let-you-set-a-timeout
2020-02-08 18:04:53 +01:00
Tobias Brunner
e46e21b486
fix several issues
2020-02-08 18:02:32 +01:00
Tobias Brunner
ec8e48e4d7
force json upload even when exists
2019-11-03 13:37:41 +01:00
Tobias Brunner
af592567a0
store lodur data on webdav
2019-11-03 13:31:27 +01:00
Tobias Brunner
b0803a6d86
improved einsatzrapport handling
2019-11-03 13:22:47 +01:00
Tobias Brunner
f2595ea604
handle scans
2019-10-28 21:25:34 +01:00
Tobias Brunner
7d4654ffd1
update README
2019-09-22 22:24:18 +02:00
Tobias Brunner
d9d72ee442
Merge pull request #9 from tobru/rewrite_pdf_parsing
...
Rewrite pdf parsing
2019-09-22 22:02:55 +02:00
Tobias Brunner
fd90e8c2e9
publish on pushover
2019-09-22 22:02:20 +02:00
Tobias Brunner
8c371e61d8
improve parsing
2019-09-22 21:18:58 +02:00
Tobias Brunner
40947c59a6
remove outdated dashboard
2019-09-22 20:35:32 +02:00
Tobias Brunner
7029d2136b
refresh requirements
2019-09-22 20:34:58 +02:00
Tobias Brunner
8a59d47d5e
install pdftotext in container image
2019-09-22 20:34:38 +02:00
Tobias Brunner
b0228afcfd
complete rework of pdf parsing
2019-09-22 18:10:09 +02:00
Tobias Brunner
b5c7d7b7b1
add gotify lib
2019-07-25 22:15:35 +02:00
Tobias Brunner
6ab9552341
initial support for gotify
2019-07-25 22:06:50 +02:00
Tobias Brunner
7f687282f8
update requests
2019-04-14 16:16:52 +02:00
Tobias Brunner
b01f4de1c5
continue even if mqtt fails - add version info
2019-04-14 16:03:20 +02:00
Tobias Brunner
2be7162838
use drone docker plugin
2019-01-06 13:37:02 +01:00
Tobias Brunner
4fb0f11a3d
add initial Dockerfile
2019-01-06 13:25:37 +01:00
Tobias Brunner
d3a8840f82
initial drone test config
2019-01-05 23:42:57 +01:00
Tobias Brunner
42ecd74472
Revert "use older version of aiohttp"
...
This reverts commit 3c30d23445
.
2018-08-18 16:38:42 +02:00
Tobias Brunner
3c30d23445
use older version of aiohttp
2018-08-18 16:30:03 +02:00
Tobias Brunner
40efca6d66
add one more known pdf and improved logging
2018-08-18 16:24:24 +02:00
Tobias Brunner
fa2932d98a
catch imap abortions and exit
...
exiting will allow f.e. OpenShift to restart the failed pod.
reason: got "imaplib.abort: Server shutting down." some day.
2018-02-06 17:46:16 +01:00
Tobias Brunner
13a15ec397
add CEC handling to client
2018-01-21 17:59:00 +01:00
Tobias Brunner
2c67846433
better tmp file name
2018-01-20 18:58:08 +01:00
Tobias Brunner
723700c64e
publish einsatzrapport json
2018-01-20 18:55:53 +01:00
Tobias Brunner
97a0376370
handle protokoll parse errors - systemd unit
2018-01-20 17:04:50 +01:00
Tobias Brunner
f1ebe71079
dashboard docs
2018-01-19 21:53:29 +01:00
Tobias Brunner
c485de0b93
enhance dashboard client
2018-01-19 21:35:17 +01:00
Tobias Brunner
73897bffa2
fix mqtt logging
2018-01-18 23:14:26 +01:00
Tobias Brunner
de802b737c
fix mqtt sending on rapport
2018-01-18 22:55:50 +01:00
Tobias Brunner
ed312b91fb
mqtt topics update for client compat
2018-01-18 22:45:14 +01:00
Tobias Brunner
5d178e575a
wip dashboard client
2018-01-17 21:50:15 +01:00
Tobias Brunner
dc403b9dd7
detect more pdf parser styles
2018-01-16 09:16:36 +01:00
Tobias Brunner
86fd6bca18
log login state as debug
2018-01-13 18:10:04 +01:00
Tobias Brunner
77ba501082
more robust lodur session handling
...
This commit closed the Github issue #8
2018-01-13 18:05:11 +01:00
Tobias Brunner
d3ca3fe1d0
publish data as JSON over MQTT
2018-01-04 21:29:03 +01:00
Tobias Brunner
152aa3d4b6
much improved pdf parsing
2018-01-04 21:26:38 +01:00