Commit graph

65 commits

Author SHA1 Message Date
Marek Krug 9afc16ca0c moved all to-dos to readme.md 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 fd27541bbf move debug / util macros to lib.rs 2024-12-10 21:38:35 +01:00
nobody 0df0d9c5a4 more nyi reminders 2024-12-10 21:38:35 +01:00
nobody 9a6b7f8685 more cleanup & fixes 2024-12-10 21:38:35 +01:00
nobody 233a263b89 clippy 2024-12-10 21:38:35 +01:00
nobody 7c8c13a609 remove variables_and_settings 2024-12-10 21:38:35 +01:00
nobody 06457bd1c5 actions mostly completed (with NYIs) 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 7093280d80 announcement/reminder 2024-12-10 21:38:35 +01:00
murmeldin fecf6ebed5 small tweaks 2024-12-10 21:38:35 +01:00
nobody d152e0da61 state transition progress
- add notes what needs to happen
- hedgedoc summary
2024-12-10 21:38:35 +01:00
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 f7627246f5 .gitignore more pandoc output 2024-12-10 21:38:31 +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 8cf25de458 util: preserve more data 2024-12-10 21:37:59 +01:00
nobody e3fe992cd2 add utility scripts for db adjustments 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