murmeldin
c2d9dcdd74
added matrix messages to do_reminder and do_announcement and improved their html formatting
2025-01-14 17:40:04 +01:00
murmeldin
1577d5de2e
fixed bug that triggered QueryNoRows on state-toc by adding a default value and improved output when QueryNoRows occurs
2025-01-14 17:15:07 +01:00
murmeldin
49ceea6871
removed unused imports
2025-01-06 08:09:42 +01:00
murmeldin
1f75e0cc94
matrix formatting improvements - still in progress
2024-12-20 09:56:09 +01:00
murmeldin
57f211036e
some matrix improvements with added html messages
2024-12-20 09:38:32 +01:00
murmeldin
5aa6eb8179
ollama integration + better messages
2024-12-20 09:37:52 +01:00
murmeldin
ac901ccf4a
cargo fmt
2024-12-12 15:29:16 +01:00
murmeldin
ec3a327c3e
new matrix.rs and improved mail messages
2024-12-12 14:07:20 +01:00
murmeldin
81d7282e8a
proper error handling for mediawiki edits
2024-12-12 14:06:09 +01:00
murmeldin
7023e9445f
mediawiki finally working properly, e-mail messages fixed, ran rustfmt
2024-12-11 16:07:25 +01:00
murmeldin
20b8ce40de
restructuring of mediawiki (still in progress)
2024-12-10 21:38:35 +01:00
murmeldin
659e9f258a
mediawiki work in progress
2024-12-10 21:38:35 +01:00
murmeldin
bbd9b2c29e
major improvements to plenum pad logic
...
- a lot of new comments for better doc
- removed unnecessary functions
- main plenum pad logic still in progress
- one additional comment in main
2024-12-10 21:38:35 +01:00
murmeldin
aca180d6ba
new state() function
...
- now, it is possible to use e.g. STATE_OVERRIDE=Waiting to override the state
- this is useful for development in order to ignore parts of the config.sqlite
2024-12-10 21:38:35 +01:00
nobody
b04d35ee6b
mediawiki: more follow-up cleanup
...
- use macros for conditional status messages
- abstract out a pipe() fn
2024-12-10 21:38:35 +01:00
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
nobody
3608838949
mediawiki: use OnceCell instead of mut
...
login_token and csrf_token are internally mutable now
2024-12-10 21:38:35 +01:00
murmeldin
12450ce5a3
mediawiki mutable in main.rs, less unwrap in mediawiki.rs
2024-12-10 21:38:35 +01:00
Marek Krug
2da4a149c9
mediawiki: new features
...
- Updated new_wiki_page
- New update_plenum_page function to download the main Plenum Page from Mediawiki, insert the Link to the new Page and replace the content of the mediawiki
- new get-page functions
- new edit-selection functions
(Wiki still in progress)
2024-12-10 21:38:35 +01:00
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
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