Commit graph

15 commits

Author SHA1 Message Date
nobody d3681e1699 mediawiki/pandoc: call directly instead of via lib
Pandoc crate is confusing and badly documented.
Using std::process::command now to avoid temporary files.
2024-12-10 21:38:35 +01:00
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 92d87193a8 NYI macro, cleanup transition function 2024-12-10 21:38:35 +01:00
nobody 60956b6303 lib target; working doctests
also paves the way for further cleanups
2024-12-10 21:38:35 +01:00
nobody 124c1b2a55 date logic: parsing, computations, config, states
date:
- parse a date specification
- now has most of the date computations we need

main:
- add explicit state machine (states + config)
- has first steps towards figuring out intended state
- still needs more logic, and some stuff can probably move to date
2024-12-10 21:38:35 +01:00
nobody 473d131246 rustfmt, rustdoc, Cargo.toml fixes 2024-12-10 21:37:57 +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 c026a38239 überall async entfernt, lauffähiger Zustand 2024-12-10 21:30:02 +01:00
nobody 97dfcd79bf merge von cleanup und main 2024-12-10 21:27:38 +01:00
murmeldin 79fa94e5d8 Überall async entfernt und weiter beim Wiki gemacht 2024-12-10 21:27:38 +01:00
murmeldin 72bd5ba9cf TL;DR and Number of TOPs added to the mail.
There is also much better regex and the top instructions are
automatically being removed when being sent per email or put
in the wiki-function.
2024-12-10 21:26:43 +01:00
murmeldin 7e91eae81b added new pad generator 2024-12-10 21:26:43 +01:00
murmeldin e2bd4780a2 email has in-reply-to 2024-12-10 21:26:43 +01:00
murmeldin 2df36a387a initial commit 2024-12-10 21:26:35 +01:00