- 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
- 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)
- 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
- 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
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
- 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