Commit Graph

354 Commits

Author SHA1 Message Date
Colin 83fe4ad161
fix: make scan-unused depend on test to avoid parallel node_modules race
ci/woodpecker/push/woodpecker Pipeline failed Details
Both steps were running in parallel and competing for the same
node_modules directory, causing ENOTEMPTY errors.
2026-01-23 19:49:38 -05:00
Colin 9bc853ed58
fix: clean node_modules before npm ci to avoid ENOTEMPTY error
ci/woodpecker/push/woodpecker Pipeline failed Details
CI was failing because npm ci couldn't remove stale node_modules
directory. Explicitly removing it first ensures a clean install.
2026-01-23 19:48:10 -05:00
Colin 81dea94128
Fix line numbers display and alignment
ci/woodpecker/push/woodpecker Pipeline failed Details
- Set consistent line-height (18.2px) across linenos, code box, and hljs
- Fix linenos z-index to ensure visibility
- Remove padding from hljs to align with line numbers
- Add user-select: none to prevent selecting line numbers
2026-01-23 09:38:06 -05:00
Colin ebcb90ca18
Add sitemap.xml generation with MCP discovery endpoint
ci/woodpecker/push/woodpecker Pipeline failed Details
- New build script generates sitemap.xml at build time
- Includes homepage, about page, and /.well-known/mcp.json
- Updated robots.txt to allow crawling of about page and MCP endpoints
- Sitemap encourages search engines to index the MCP discovery path
2026-01-23 09:27:09 -05:00
Colin edc1680f1c
Add unused code/dependency scanning with knip and depcheck
ci/woodpecker/push/woodpecker Pipeline failed Details
Adds automated scanning for unused files, exports, and dependencies:
- New CI step (scan-unused) in Woodpecker pipeline
- Pre-push git hook blocks pushes if unused code detected
- npm scripts: scan:unused, scan:deps
- Config files for knip and depcheck to handle dynamic imports
2026-01-23 09:04:57 -05:00
Colin 66137a135c
Add About navigation with UTM tracking
Add an About button/link with UTM params and include a Colin Knapp linkback on the about page. Fix duplicate/edit wiring and make the template handler safe for async paste metadata rendering.
2026-01-21 14:55:45 -05:00
Colin c461cf2639
Fix HIGH severity vulnerabilities: update glob, mime, and tar dependencies
ci/woodpecker/push/woodpecker Pipeline failed Details
- Add npm overrides to force secure versions:
  - glob: ^11.1.0 (fixes CVE-2025-64756)
  - mime: ^2.0.3 (fixes CVE-2017-16138)
  - tar: ^7.5.4 (fixes CVE-2026-23745, CVE-2026-23950)
- All tests passing
- Trivy scan shows 0 HIGH/CRITICAL vulnerabilities
- Server functionality verified
2026-01-21 11:04:38 -05:00
Colin d8e76de175
Add MCP discovery endpoint and document static pages functionality
ci/woodpecker/push/woodpecker Pipeline failed Details
- Add /.well-known/mcp.json endpoint for MCP protocol discovery
- Document static pages functionality in about.md
- Document MCP endpoint availability in about.md
- MCP endpoint provides API discovery for AI assistants
2026-01-21 11:01:08 -05:00
Colin 63de9cfd84
Remove intermediate hastebin:test tag, build directly to registry path
ci/woodpecker/push/woodpecker Pipeline failed Details
2026-01-21 10:32:39 -05:00
Colin 259c2fe731
Build directly to final registry tag and update all references
ci/woodpecker/push/woodpecker Pipeline failed Details
2026-01-21 10:32:09 -05:00
Colin 90c10e1896
Install curl in CI test step for HTTP tests
ci/woodpecker/push/woodpecker Pipeline failed Details
2026-01-21 10:27:32 -05:00
Colin 95d9982973
Remove fallback error handling from image push - fail fast if credentials missing
ci/woodpecker/push/woodpecker Pipeline failed Details
2026-01-21 10:22:41 -05:00
Colin 618a2c1ff7
Security improvements and local testing scripts
ci/woodpecker/push/woodpecker Pipeline failed Details
- Fix Dockerfile to run as non-root user (node) for security
- Fix phonetic key generator to always start with consonant (test fix)
- Add local security scanning scripts (SBOM, Trivy)
- Update test script to exclude security tests from mocha
- Add npm scripts for security scans
- Update .gitignore for generated files
- Update Woodpecker CI to use modern Trivy syntax and push images
2026-01-21 10:21:55 -05:00
Leopere 69db5d56a5 Update default settings: increase maxLength to 10MB and maintain 90-day expiry 2025-07-22 20:29:00 -04:00
Leopere 65f5ace561 Fixed local compose and text entryport. 2025-03-20 15:48:39 -04:00
Leopere 52e5690ee5 Improve documentation and test structure 2025-03-03 10:36:18 -05:00
Leopere abe9cca6eb Update Dockerfile to use Node.js 22 LTS 2025-03-02 13:49:40 -05:00
Leopere 9d45d1ded4 Fix Dockerfile to use Node 18 and improve build process 2025-03-02 13:33:53 -05:00
Leopere c5c44986d8 Add build script to package.json for Docker build 2025-03-01 18:37:27 -05:00
Leopere 758b242f11 Fix Docker build issues by updating Node version and addressing npm installation errors 2025-03-01 18:36:47 -05:00
Leopere 68afb6fc6c Add comprehensive security headers support with testing framework 2025-03-01 18:33:46 -05:00
Leopere c0502bc1a4 Add security header testing scripts (both Node.js and Bash versions) 2025-03-01 18:24:46 -05:00
Leopere a88c7c6ccf Enhance CSP implementation with nonces and improve documentation 2025-03-01 17:59:07 -05:00
Leopere 6e7b63a408 Fix button alignment and visibility issues, implement CSP improvements with nonce support 2025-03-01 17:49:24 -05:00
colin 627cb5cc25 Add docker-compose.yml 2024-03-21 21:46:48 +00:00
colin 52cc4b7879 Update package.json 2024-01-20 22:55:49 +00:00
colin 69f0f4fd4d Add LICENSE.md 2024-01-19 18:38:52 +00:00
colin 3598ed2dce Update README.md 2024-01-19 18:37:42 +00:00
colin 3e31a8fe0a Update about.md 2024-01-19 18:15:36 +00:00
colin f754da9ea0 Update app.sh 2024-01-19 17:56:27 +00:00
colin d6b755b38a Delete test/redis_document_store_spec.js 2023-12-27 16:06:25 +00:00
colin 068b54762f Update app.sh 2023-12-27 16:02:58 +00:00
colin 2ed8b5fd39 TODO: fix this test. 2023-12-27 16:02:28 +00:00
colin f93ab94050 Update test/key_generators/random_spec.js 2023-12-27 16:02:01 +00:00
colin ff163c66b4 Update test/redis_document_store_spec.js 2023-12-27 15:43:43 +00:00
colin 153db1645a Update README.md 2023-12-27 15:38:53 +00:00
colin 6abc863848 Update lib/key_generators/phonetic.js 2023-12-27 15:32:21 +00:00
colin 7b5b55da5e Update README.md 2023-12-27 15:26:44 +00:00
colin c6b2d6b82d Update README.md 2023-12-27 15:23:19 +00:00
colin 677195d59b Update test/redis_document_store_spec.js 2023-12-27 15:19:19 +00:00
colin f5ecab9c99 Update app.sh 2023-12-27 15:00:35 +00:00
colin f3acfb9da4 Update README.md 2023-12-27 14:56:29 +00:00
colin 23c47e49ec refactor phonetic.js to match test requirements. 2023-12-27 14:32:21 +00:00
colin 4ae1756c35 Update app.sh 2023-12-27 13:58:17 +00:00
colin 56035ab13f Update app.sh 2023-12-27 13:55:35 +00:00
colin 910d406619 Update app.sh 2023-12-27 13:53:55 +00:00
colin 54fa4b3581 Update app.sh 2023-12-27 06:07:12 +00:00
colin 5928e6d81b Update test/key_generators/random_spec.js.disabled
temporarily disabled for now
2023-12-27 06:02:40 +00:00
Colin 0ea0247ca6 fixup 2023-12-26 23:36:21 -05:00
colin 88305a7dbd Add app.sh 2023-12-27 04:35:09 +00:00