Commit graph

46 commits

Author SHA1 Message Date
nobody 8bc7405d63 fix or silence most warnings 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 4686eff0d4 FIX: config spec "Fixes only" mode 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 88450b7a61 main: more date logic 2024-12-10 21:38:35 +01:00
nobody e4aae07113 hedgedoc: mark unused param as unused 2024-12-10 21:38:35 +01:00
nobody 248f1f227a chaosknoten logo unicode ansi art 2024-12-10 21:38:35 +01:00
nobody 61eb7cc6d6 Adjust generated fields to also have 'key' access
This permits them to also fill in related fields if needed.
2024-12-10 21:38:35 +01:00
nobody 77842f1f6d (empty) state machine exists 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 3be7898cdb add mediawiki struct & move stuff onto it 2024-12-10 21:37:59 +01:00
nobody a454914b1f rustfmt email.rs 2024-12-10 21:37:59 +01:00
nobody 62d12e314c config_spec: various improvements
- more color, using colored
- better wording of options
- highlight default choices
- various other small fixes
2024-12-10 21:37:59 +01:00
nobody 29e6285e3c ignore empty lines in debug_emails.txt 2024-12-10 21:37:59 +01:00
nobody 66329819a9 another layer of email guard 2024-12-10 21:37:59 +01:00
nobody 473d131246 rustfmt, rustdoc, Cargo.toml fixes 2024-12-10 21:37:57 +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 8f09feb0fc templating code 2024-12-10 21:33:27 +01:00
nobody 15fcb18422 rename: CfgField: RandomId->Generated, +module doc 2024-12-10 21:33:27 +01:00
nobody b2b4f15747 RandomId generator changed (now useful & used)
Now expects the config & dry run info, which means it can actually be
used to generate pad IDs… which also happens now.
2024-12-10 21:33:27 +01:00
nobody a34e4b7e1f reorder imports 2024-12-10 21:33:27 +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
nobody 155bab8e5e reword config descriptions 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 c026a38239 überall async entfernt, lauffähiger Zustand 2024-12-10 21:30:02 +01:00
murmeldin 9db5955c1b wiki in extra datei + get_tuesdays wurde general purpose 2024-12-10 21:27:38 +01:00
nobody 78c23531ab rustfmt config + format stable files 2024-12-10 21:27:38 +01:00
murmeldin 1742f768bf Jetzt läuft alles wiededer nach dem merge (Error Correction) 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
nobody de57e2c316 improve dates & borrowing strings 2024-12-10 21:27:38 +01:00
nobody 45f5eeee57 config check: mostly functional now 2024-12-10 21:27:38 +01:00
nobody 264cd364ed config checking: some prompting works 2024-12-10 21:27:38 +01:00
nobody 9f38a41b46 basic arg parsing + config check mode 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 8526fa4fca Pandoc Umwandlung zu MediaWiki 2024-12-10 21:27:25 +01:00
nobody 19be226f11 Clean up key/value store, add convenience wrapper. 2024-12-10 21:27:25 +01:00
nobody 08878169bc fix enum bugs 2024-12-10 21:27:25 +01:00
murmeldin dc0ff31b52 correct mail address 2024-12-10 21:27:25 +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 abbfef233f added rotate-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