mediawiki progress

- mediawiki.rs:
 - new make_request function for easier post- and get-requests
 - new new_wiki_page function that creates new wiki pages
 - working csrf-Token-function
 - fixed read_txt_file function: Now properly working
 - pad_ins_wiki-function is now the main trigger for all the actions that should be done on day after plenum
- hedgedoc.rs + mediawiki.rs: Better error handling for common offline edge case
- main: ansi art moved in function, Timer and eta for time prediction during development
- still to do in mediawiki.rs: Date logic for pad generation and function for modifying the main Plenum Page
This commit is contained in:
murmeldin 2024-08-12 22:23:21 +02:00 committed by murmeldin
parent f12f6d05b1
commit e4444b8118
4 changed files with 174 additions and 64 deletions

View file

@ -22,6 +22,7 @@ serde = {version = "1.0.204", features = ["derive"]}
serde_json = "1.0.122"
colored = "2.1.0"
nom = "7.1.3"
mediawiki = "0.3.1"
[[bin]]
name = "Plenum-Bot"