HelperScripts-for-ProxmoxVE/.github
CanbiZ (MickLesk) a9c2307b0e Enhance PocketBase bot commands & revalidation
Add frontend revalidation and richer command handling for the PocketBase GitHub bot. Key changes:

- Expose FRONTEND_URL and REVALIDATE_SECRET to workflow env and add a best-effort revalidate() helper to ping the frontend after edits.
- Introduce shared parsing/helpers: parseKVPairs, parseTokens, readJsonBlob, formatNotesList, formatMethodsList, and other utilities to centralize logic.
- Add an "info" subcommand to display script details, links, credentials, install methods and notes.
- Improve note handling (add/edit/remove) to use shared parsers and call revalidate after updates; tweak messages and reactions.
- Expand install method management: support add/remove/edit operations, new method fields (cpu, ram, hdd, os, version, config_path, script), validation of unknown fields, and better formatting. Persist install_methods_json as JSON (not stringified JSON) when PATCHing.
- Replace ad-hoc field parsers with the shared key=value parser for field updates and SET handling; call revalidate after SET/field patches.
- Update help text and minor message wording/formatting.
- In push-json-to-pocketbase workflow, remove writing config_path from pushed payload.

These changes aim to make the bot more robust, easier to extend, and ensure frontend caches are refreshed after data changes.
2026-04-14 15:37:50 +02:00
..
changelogs Archive old changelog entries (#13677) 2026-04-12 00:09:31 +00:00
DISCUSSION_TEMPLATE [gh] Update to the New Script request template (#11612) 2026-02-06 12:11:51 +01:00
ISSUE_TEMPLATE Add empty option to verbose mode question 2025-11-17 18:26:23 +01:00
workflows Enhance PocketBase bot commands & revalidation 2026-04-14 15:37:50 +02:00
autolabeler-config.json chore(github): improve PR template and cleanup obsolete references | move contribution guide (#9700) 2025-12-05 23:08:58 +01:00
changelog-pr-config.json chore(github): improve PR template and cleanup obsolete references | move contribution guide (#9700) 2025-12-05 23:08:58 +01:00
CODE_OF_CONDUCT.md move coc 2025-03-28 13:23:41 +01:00
CODEOWNERS Add CODEOWNERS (#116) 2024-11-07 14:54:02 +01:00
FUNDING.yml edit 2025-01-29 17:21:16 +01:00
pull_request_template.md add additional line in PR template 2025-12-14 23:08:57 +01:00