Commit graph

100 commits

Author SHA1 Message Date
murmeldin 9e4c27ddac added basic auth 2025-02-09 02:22:04 +01:00
murmeldin c9da02466e correct .sqlite location 2025-02-09 01:51:28 +01:00
murmeldin 195c6a5e0c systemd fix 2025-02-09 01:36:38 +01:00
murmeldin 5e8ae5d635 mkdir -p 2025-02-09 01:29:48 +01:00
murmeldin 3f051f4436 correct path + mkdir .config/systemd/user 2025-02-09 01:26:57 +01:00
murmeldin 059191b545 without root 2025-02-09 01:19:13 +01:00
murmeldin 665b9ba013 right install method + fixed hedgedoc bugs 2025-02-09 01:11:16 +01:00
murmeldin 8df8d6eee6 correct plenum bot config folders 2025-02-09 00:49:39 +01:00
murmeldin 8a6c6cda9a cargo fmt 2025-01-15 14:54:11 +01:00
murmeldin c15188ec9d cleanup: removed old and unused functions and variables 2025-01-15 14:50:38 +01:00
murmeldin 68e7e1432f right path 2025-01-15 14:25:45 +01:00
murmeldin a9da9763c5 changed sudo to sudo -i 2025-01-15 14:24:25 +01:00
murmeldin 4110902c99 added missing sudo statements 2025-01-15 14:22:52 +01:00
murmeldin 35ab8923a4 added installation instructions and changed config file location to user/.config 2025-01-15 14:16:24 +01:00
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 6611f239f7 new systemd services and install file for ubuntu-server 2025-01-11 01:14:09 +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 9583d9c37d removed Cargo.lock and shell.nix from .gitignore 2024-12-10 21:38:35 +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