From 348b9194e6b25e6b932455448c25faa1d07c253b Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Thu, 20 Mar 2025 04:50:10 +0000 Subject: [PATCH 1/2] add support for dynamic javascript --- CHANGELOG.md | 5 +++++ README.md | 16 +++++++++++++++- jinjafx_server.py | 12 ++++++++++-- www/index.html | 2 +- www/jinjafx_m.js | 15 +++++++++++++++ 5 files changed, 46 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd8ef64..e368a28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## CHANGELOG +### [25.6.0] - Mar 20, 2025 +- Added support for `-allowjs` which allows dynamic JavaScript in HTML outputs and JinjaFx Input modals - this should only be enabled in internal environments where you trust your users +- Added support for a `script` option to JinjaFx Input modals to allow dynamic input modals - requires `-allowjs` + ### [25.5.5] - Mar 17, 2025 - Update font look on MacOS to make it less heavy - Added support for `-nocache` argument for internal development @@ -423,6 +427,7 @@ ### 21.11.0 - Nov 29, 2021 - Initial release +[25.6.0]: https://github.com/cmason3/jinjafx_server/compare/25.5.5...25.6.0 [25.5.5]: https://github.com/cmason3/jinjafx_server/compare/25.5.4...25.5.5 [25.5.4]: https://github.com/cmason3/jinjafx_server/compare/25.5.3...25.5.4 [25.5.3]: https://github.com/cmason3/jinjafx_server/compare/25.5.2...25.5.3 diff --git a/README.md b/README.md index 167c322..7e45621 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Once JinjaFx Server has been started with the `-s` argument then point your web jinjafx_server -s [-l
] [-p ] [-r | -s3 | -github /[:]] [-rl ] [-tl