Commit Graph

18 Commits

Author SHA1 Message Date
Alex Holliday
4e0349bd58 bump queue 2025-08-30 11:11:19 -07:00
Alex Holliday
e3fde8d564 add got 2025-08-15 16:02:52 -07:00
Alexander Holliday
38b2025286 Merge branch 'develop' into security/add-jwt-cookie-infrastructure 2025-08-11 15:08:54 -07:00
gorkem-bwl
05945a9a74 feat: add JWT cookie infrastructure
Adds the foundation for secure cookie-based authentication without changing
the authentication flow. This prepares the codebase for moving JWT tokens
from Redux state to httpOnly cookies in a follow-up PR.

Changes:
- Added cookie-parser dependency for HTTP cookie handling
- Added cookieParser() middleware to Express application
- Created cookieHelpers.js utilities for consistent cookie options
- Includes getAuthCookieOptions() for setting secure authentication cookies
- Includes getClearAuthCookieOptions() for clearing cookies on logout

Infrastructure only - no behavioral changes to authentication flow yet.

Files added/modified:
- package.json (cookie-parser dependency)
- src/app.js (cookieParser middleware)
- src/utils/cookieHelpers.js (cookie utilities)

Next steps:
- Follow-up PR will modify JWT verification to check cookies
- Enable secure cookie-based authentication
- Add logout functionality to clear httpOnly cookies

Risk level: LOW (infrastructure only, no authentication changes)
2025-08-11 17:47:09 -04:00
gorkem-bwl
2fba22d0f6 feat: add input sanitization infrastructure
Adds foundational utilities for XSS prevention without applying them yet.
This prepares the codebase for comprehensive input sanitization in a follow-up PR.

Changes:
- Added isomorphic-dompurify and jsdom dependencies
- Created sanitization utilities in src/utils/sanitization.js
- Includes recursive object sanitization functions
- Provides Express middleware for body and query sanitization

Infrastructure only - no behavioral changes yet.

Files added:
- src/utils/sanitization.js (sanitization utilities)
- package.json (new dependencies)

Next steps:
- Apply sanitization middleware in follow-up PR
- Enable XSS protection across application
2025-08-11 17:23:14 -04:00
Burak Arslan
9ad3b58fcd Added game server support 2025-08-02 02:04:06 +03:00
Alex Holliday
ec99b5e9b4 add rate limiting 2025-07-28 12:00:09 -07:00
Alex Holliday
1c47c8ce2c move to src 2025-07-25 15:33:48 -07:00
Alex Holliday
7127c28c35 bump dependency 2025-07-23 10:35:32 -07:00
Alex Holliday
1456c4f749 bump version 2025-07-10 16:06:38 -07:00
Alex Holliday
cb2016a5dc update queue version 2025-07-08 11:04:20 -07:00
Alex Holliday
c3f5d249a0 use latest library 2025-07-07 08:55:57 -07:00
Alex Holliday
f1c6beacf2 use super-simple-queue 2025-06-27 12:38:06 +08:00
Alex Holliday
9a22d4a971 initial Pulse implementation 2025-06-06 14:05:59 +08:00
Owaise Imdad
bd8554707d Moved the parsing logic to backend as suggested. 2025-04-29 12:47:24 +05:30
Alex Holliday
e7d4083964 bcrypt -> bcryptjs 2025-04-25 12:48:14 -07:00
Alex Holliday
9fd4d6c0b8 bump dependencies 2025-04-20 11:30:34 -07:00
Alex Holliday
8b7e3c650b restore repo structure 2025-04-20 11:29:53 -07:00