Commit Graph

16 Commits

Author SHA1 Message Date
48995d2869 fix: resolve pipeline warnings
- Fix ESLint unused variable warnings in auto-init-db.js
- Downgrade cross-env to v7.0.3 (compatible with Node 18)
- Fix npm audit high severity vulnerability

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 16:43:09 +01:00
614abeb196 test: add comprehensive unit and integration tests
Backend Tests Added:
- Unit tests for helpers.js (tokens, validation, pagination)
- Unit tests for middleware (auth, errorHandler, validate)
- Integration tests for auth endpoints
- Integration tests for game endpoints
- Integration tests for admin endpoints
- Integration tests for employee endpoints
- Integration tests for draw endpoints
- Integration tests for newsletter/contact endpoints

Also added:
- cross-env for Windows compatibility
- Test scripts update

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 11:23:43 +01:00
33668e5a64 fix: resolve all ESLint warnings and update dependencies
- Remove unused variables and imports across codebase
- Use empty catch blocks where error object not needed
- Remove unused fs, path imports from apply-grand-prize-migration.js
- Remove unused OAuth2Client from oauth.controller.js
- Update dependencies to latest patch versions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 10:49:45 +01:00
f0baef0c22 fix: update dependencies to address security vulnerabilities
- body-parser: 2.2.0 -> 2.2.1 (fixes DoS vulnerability)
- glob: updated to fix command injection via -c/--cmd
- js-yaml: 3.14.1 -> 3.14.2 (fixes prototype pollution)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 10:21:16 +01:00
c92d2c32e9 fix: simplify Jenkins triggers to use only pollSCM + add setup docs 2025-11-18 16:08:28 +01:00
25c7a0b304 dev 2025-11-17 23:47:54 +01:00
4312633bdb Mise à jour de index.js 2025-11-03 19:21:24 +01:00
15bd1f0610 Fix Jenkinsfile: force recreate + health check 2025-11-01 17:25:01 +01:00
720b307d7e Initial commit du frontend The Tip Top 2025-10-30 11:11:05 +00:00
c1793f6383 flatten backend folder 2025-10-28 00:31:47 +01:00
8404d365f8 sauvegarde avant pull 2025-10-25 23:21:31 +00:00
c59b58c812 push 2025-10-25 03:32:37 +02:00
277eba5421 push 2025-10-25 03:29:40 +02:00
e8615afe99 push
All checks were successful
the-tip-top-backend/pipeline/head This commit looks good
2025-10-24 15:00:38 +02:00
fc67cf6415 push
All checks were successful
the-tip-top-backend/pipeline/head This commit looks good
2025-10-24 14:14:46 +02:00
root
fb3d2cfd3f Initial commit - backend depuis VPS 2025-10-22 20:40:47 +00:00