Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
da9db52
Add FIPS risk lookup dev tool with sample buttons
Copilot Mar 27, 2026
e48dba6
Update main README with dev-tools documentation
Copilot Mar 27, 2026
05e8209
Fix string concatenation to use template literals consistently
Copilot Mar 27, 2026
f755aea
Add Gravity Forms integration with quiz data hashing and category map…
Copilot Mar 27, 2026
dfb8ea6
Improve field extraction to support both custom names and Gravity For…
Copilot Mar 27, 2026
ecfaf09
Address code review feedback: add constants, caching, and security do…
Copilot Mar 27, 2026
297451e
Merge branch 'main' of https://github.com/OpenNews/emergencymode.news…
tiffehr Mar 27, 2026
13d044c
Replace dev-tools attempt with a Notebook version for testing FIPS to…
tiffehr Mar 27, 2026
d368f60
Add pre-commit hooks for Jupyter Notebook output - prevent noise in c…
tiffehr Mar 27, 2026
4ad8281
Add scripts for notebook output management and update linting process
tiffehr Mar 27, 2026
83f0f67
Strip output from existing Notebooks; tune up FIPS<>Risk lookup testi…
tiffehr Mar 27, 2026
56d2c63
Update scripts/strip-notebook-outputs.sh
tiffehr Mar 27, 2026
6659e21
Update scripts/check-notebooks-clean.sh
tiffehr Mar 27, 2026
6a7f8d5
Update scripts/check-notebooks-clean.sh
tiffehr Mar 27, 2026
540f1ca
Cleanup and update READMEs to explain devcontainer for notebook execu…
tiffehr Mar 27, 2026
22b4d45
Merge branch 'copilot/add-basic-fips-input-form' of https://github.co…
tiffehr Mar 27, 2026
9e7583e
Add jq dependency check to notebook cleaning script
tiffehr Mar 27, 2026
8ed71ef
Add cleanup for temporary files in strip-notebook-outputs.sh
tiffehr Mar 27, 2026
6c2ab2f
Add new packages and update dependencies in uv.lock
tiffehr Mar 27, 2026
d77705d
Merge pull request #5 from OpenNews/copilot/add-basic-fips-input-form
tiffehr Mar 27, 2026
1db876a
Merge branch 'main' of https://github.com/OpenNews/emergencymode.news…
tiffehr Mar 27, 2026
9641c9e
Merge branch 'staging' of https://github.com/OpenNews/emergencymode.n…
tiffehr Mar 27, 2026
0ededb8
Reduce EMFN_Gravity_Forms_Handler; some logic moved client-side for e…
tiffehr Mar 27, 2026
977b88a
Update pre-commit hooks to ensure filenames are passed and scripts al…
tiffehr Mar 27, 2026
0c8a79d
Refactor Gravity Forms integration: move hashing logic to client-side…
tiffehr Mar 27, 2026
21a04b9
Split custom functionality into two plugins: risk assessment (client-…
tiffehr Apr 3, 2026
867ad5a
rename plugin to `emfn-action-pack-plugin`; lotta optimizations
tiffehr Apr 3, 2026
b470d10
Update .gitignore to cover Override dev-tools plugin residue and zip …
tiffehr Apr 4, 2026
9c34473
refactor Gravity Forms integration for improved form handling and sub…
tiffehr Apr 4, 2026
d984337
Cleanup `sessionStorage` and hashing logic
tiffehr Apr 4, 2026
39200bb
Fix comment formatting in main plugin class header
tiffehr Apr 4, 2026
7c3a4a0
Update .gitignore and notebooks to reflect plugin name change to `emf…
tiffehr Apr 4, 2026
c28bb05
Update README.md
tiffehr Apr 4, 2026
8eafba5
Merge pull request #6 from OpenNews/copilot/bind-gform-pre-submission…
tiffehr Apr 4, 2026
97bacad
reversible Action Pack payload encoding and decoding
tiffehr Apr 6, 2026
0c7f8ed
Refactor Gravity Forms styles and improve risk rendering logic; updat…
tiffehr Apr 6, 2026
a9d7075
Add remote.autoForwardPortsFallback setting to VSCode configuration
tiffehr Apr 7, 2026
ab007e9
generated a notebook to verify round-trip Action Pack category encodi…
tiffehr Apr 7, 2026
9759fbe
update Sheets-generated csv to include manualRank
tiffehr Apr 7, 2026
a13ac41
Update README and TypeScript definitions for Action Pack plugin
tiffehr Apr 7, 2026
c44414c
Refactor Action Pack plugin to streamline category handling
tiffehr Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ xmlrpc.php
license.txt
readme.html

# dev tools short-term integrations
plugins/emfn-action-pack-plugin/assets/js/emergencymode.newspackstaging.com/
plugins/emfn-rich-search-plugin/assets/js/emergencymode.newspackstaging.com/
plugins/*.zip

# Environment / config
.env
wp-config.php
Expand All @@ -31,7 +36,8 @@ build/
vendor/

# ZIP of plugin
emfn-behavior-plugin.zip
emfn-action-pack-plugin.zip
emfn-rich-search-plugin.zip

# IDE / editor
.idea/
Expand Down
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: local
hooks:
- id: strip-notebook-outputs
name: Strip notebook outputs
entry: scripts/strip-notebook-outputs.sh
language: system
pass_filenames: true
always_run: false
files: ^notebooks/.*\.ipynb$
- id: check-notebooks-clean
name: Check notebooks are clean
entry: scripts/check-notebooks-clean.sh
language: system
pass_filenames: true
always_run: false
files: ^notebooks/.*\.ipynb$
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",

// PHP: point validator to the installed CLI executable
"php.validate.executablePath": "/usr/bin/php"
"php.validate.executablePath": "/usr/bin/php",
"remote.autoForwardPortsFallback": 0
}
262 changes: 189 additions & 73 deletions README.md

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "esnext",
"moduleDetection": "force",
"checkJs": false,
"lib": ["DOM", "ES2022"]
},
"include": [
"plugins/**/*.js",
"plugins/**/*.d.ts"
],
"exclude": [
"node_modules",
".venv",
"tmp"
]
}
Loading