Commit Graph

19 Commits

Author SHA1 Message Date
f57f6e2402 Add method for deleting calendar event 2022-04-02 19:02:02 -04:00
50a2231174 Move calendar event ID encoding to method 2022-04-02 19:01:55 -04:00
d81a17ef61 Don't try to update if there is no print time estimate 2022-04-02 18:58:51 -04:00
3c1afc7b73 Take config file as command line argument 2022-03-29 15:11:01 -04:00
4d5268cac1 Move into module and define entry point script 2022-03-29 14:48:03 -04:00
0840a210be Migrate from Pipenv to PDM 2022-03-29 14:28:25 -04:00
63e28a0c67 Don't fail if one of the printers is unreachable/not responding 2022-03-29 14:16:21 -04:00
4f28ea21fe Switch to b16encode, since b32encode is not b32hexencode 2022-01-06 19:06:22 -05:00
6d5321491e Use b32encode instead of b32hexencode
As `b32hexencode` only exists on Python >= 3.10, and the server runs 3.9
2021-12-30 17:58:53 -05:00
33f38bfd5a Remove python version requirement 2021-12-30 17:58:53 -05:00
f3fa9caff7 Remove message when there is no active job 2021-12-30 17:58:53 -05:00
02cd790558 Add shebang to main.py and make it executable 2021-12-30 17:58:53 -05:00
c4d79c9def Move calendar ID and shop name into config file, per printer 2021-12-30 17:58:53 -05:00
f29a6170c1 Refactor Google Calendar module into a class 2021-12-30 17:58:53 -05:00
2c2848732e Add querying of octoprint servers for current job status 2021-12-30 17:58:53 -05:00
48b293521a Remove trailing = from event ID, as google does not allow them 2021-12-30 17:58:53 -05:00
9fe3467fb0 Add [tool.black] section to pyproject.toml
Not actually configuring anything, just hinting that it is used
2021-12-30 17:58:53 -05:00
47a8e6f5ad Move google calendar functionality to a separate module 2021-12-30 17:58:53 -05:00
812ef0f979 Initial Commit, basic adding/updating google calendar events 2021-12-27 14:23:53 -05:00