Commit graph

13 commits

Author SHA1 Message Date
murmeldin e4444b8118 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
2024-12-10 21:38:35 +01:00
murmeldin f12f6d05b1 mediawiki: added login stuff
- mediawiki: login_token_get and login_post now working
- csrf still in progress
- added wiki-api-user + secret to wiki-init
- changed ascii-art to be more compact
2024-12-10 21:38:35 +01:00
nobody 12501c8c73 improve debuggability
more Debug-derives, trace/verbose, …
2024-12-10 21:38:35 +01:00
nobody 2d3549a200 more env config (VERBOSE/TRACE, TODAY) 2024-12-10 21:38:35 +01:00
nobody 3be7898cdb add mediawiki struct & move stuff onto it 2024-12-10 21:37:59 +01:00
murmeldin 81714dfdc0 colored std-output for better readability 2024-12-10 21:36:36 +01:00
murmeldin c4fc33bc50 Error fixes 2024-12-10 21:36:33 +01:00
nobody 0a992e2900 split config & move email out into own file
In preparation for separate programs, the config spec is now built in
main; each module defines its own group and main combines them all.
2024-12-10 21:33:27 +01:00
murmeldin 427bd27968 mediawiki function cleanup, login token working and to-do list in main 2024-12-10 21:33:23 +01:00
murmeldin fbe8e4b85d added mediawiki config 2024-12-10 21:30:13 +01:00
murmeldin c8031dfc01 mit cargo fmt alles formatiert 2024-12-10 21:30:13 +01:00
murmeldin 9db5955c1b wiki in extra datei + get_tuesdays wurde general purpose 2024-12-10 21:27:38 +01:00
nobody 8a00931f49 more cleanup, dry run mode, more config usage
- email templates as raw strings w/ inline vars
- email info from config db now
- dry run mode is honored by email
- hedgedoc interfacing in a separate file
- mediawiki stuff (incl.) pandoc moved to a separate file
…and more
2024-12-10 21:27:38 +01:00