Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
af534d1
Test hybrid keystroke capture with batching.
LoriPickering Jun 28, 2025
d5a2216
Fix getKeystrokeData not handled.
LoriPickering Jun 28, 2025
2219252
Clean up common.js elete unused code and comments.
LoriPickering Jun 28, 2025
855f72d
Add wasm for keystorke timing accuracy.
LoriPickering Jun 28, 2025
9c337ec
Debug messages to fake pages.
LoriPickering Jun 28, 2025
b9b1d9d
fix typo in wasm-keystrokeCapture.js to wasm-keystroke.js
LoriPickering Jun 28, 2025
0abda35
.gitignore
LoriPickering Jun 28, 2025
90fd232
Force add WASM pkg files
LoriPickering Jun 28, 2025
8ae7b6f
Fix CSV formatting in WASM
LoriPickering Jun 28, 2025
a8c7f8b
Fix e.code === 'Commna' and change &str to Sting in wasm function sig…
LoriPickering Jun 28, 2025
f339fe9
Fix e.key --> e.code to prevent orphaned releases caused by Shift key…
LoriPickering Jun 28, 2025
db4d375
Remove multiple instantiations of wasmKeystrokeManager because it may…
LoriPickering Jun 28, 2025
bcc58ea
Testing wasm memory management issues to fix out of order PP RR.
LoriPickering Jun 29, 2025
c2d775d
move timestamp capture first.
LoriPickering Jun 29, 2025
94d905a
Fix timestamp issue that Claude fixed but broke.
LoriPickering Jun 29, 2025
a3e6c68
Fix no const before variable declaration
LoriPickering Jun 29, 2025
bce5015
Add MTurk survey code generation and validation
Jul 3, 2025
66ba936
Merge branch 'dev-keystroke-timing-28June2025' into mturk-survey-code…
Jul 3, 2025
424ea44
.netlify functions
Jul 3, 2025
0dd9c9e
Seamlessly in both local development/production
Jul 3, 2025
654ee4a
Refactored the page with UI/UX best practices
Jul 3, 2025
cd75c18
Fixed 409 Duplicate File Upload Error!
Jul 3, 2025
d801bba
Updated for CORS configuration
Jul 3, 2025
e4193a1
Resolved the CORS errors
Jul 3, 2025
6ea9c2d
Fix production CORS errors and function deployment
Jul 3, 2025
3761cfd
Create sequence-dashboard.html
Jul 4, 2025
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
29 changes: 27 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
# Node modules
node_modules/
package-lock.json
.netlify

# Build outputs
dist/
build/

# Rust/WASM build artifacts
wasm-keystroke-capture/target/
wasm-keystroke-capture/Cargo.lock

# OS files
.DS_Store
Thumbs.db

# IDE files
.vscode/
.idea/

# Environment variables
.env
.env.local

# Logs
*.log
npm-debug.log*

# Local Netlify folder
.netlify
86 changes: 86 additions & 0 deletions .netlify/functions-serve/data-handler/___netlify-telemetry.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .netlify/functions-serve/data-handler/data-handler.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./netlify/functions/data-handler.js')
15,243 changes: 15,243 additions & 0 deletions .netlify/functions-serve/data-handler/netlify/functions/data-handler.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions .netlify/state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"geolocation": {
"data": {
"city": "San Jose",
"country": {
"code": "US",
"name": "United States"
},
"subdivision": {
"code": "CA",
"name": "California"
},
"timezone": "America/Los_Angeles",
"latitude": 37.3028,
"longitude": -121.9982,
"postalCode": "95129"
},
"timestamp": 1751494508237
}
}
18 changes: 17 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,27 @@
[build]
command = "# no build command"
functions = "netlify/functions"
publish = "km_headless_testbed/"
publish = "."

[functions]
node_bundler = "esbuild"

# Add explicit CORS headers for all function responses
[[headers]]
for = "/.netlify/functions/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET, POST, OPTIONS, PUT, DELETE"
Access-Control-Allow-Headers = "Content-Type, Authorization, X-Requested-With, Accept, Origin, Access-Control-Request-Method, Access-Control-Request-Headers"
Access-Control-Max-Age = "86400"
Access-Control-Allow-Credentials = "false"

# Configure Netlify Dev to serve everything on port 8888
[dev]
port = 8888
targetPort = 8888
autoLaunch = false

## Uncomment to use this redirect for Single Page Applications like create-react-app.
## Not needed for static site generators.
#[[redirects]]
Expand Down
Loading