Commit graph

27 commits

Author SHA1 Message Date
BibaBot Jarvis
437bb1d504 feat: add role-based access control middleware and auth routes
Some checks are pending
Docker Test / test (push) Waiting to run
This commit implements the role-based access control as per the project's security requirements. It includes:
- A new middleware 'requireRole' that checks user roles for protected endpoints
- Updated auth routes with role protection
- Auth controller with proper registration and login logic including JWT token generation
- Default user role assignment during registration
2026-03-15 19:06:53 +00:00
OpenClaw
1886e77e58 feat(auth): enhance security and implement rate limiting for auth endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-07 03:24:42 +00:00
OpenClaw
e4098e3e2a fix(#27): Implement uniform error handling with standardized format
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-07 00:17:34 +00:00
OpenClaw
b44e7bf46c fix(#24): Implement idempotency protection for critical write operations
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-07 00:13:31 +00:00
OpenClaw
111da78e2e auto(agent): Improved error handling with detailed messages 2026-03-06 21:36:30 +00:00
OpenClaw
4277019218 auto(agent): Improved error logging for deal participants query 2026-03-06 21:33:19 +00:00
OpenClaw
32c84925df auto(agent): improve profile route error handling and add tests 2026-03-06 19:51:01 +00:00
OpenClaw
44e52191d1 auto(agent): Add GET /profile endpoint and POST /phone test 2026-03-06 19:29:31 +00:00
OpenClaw
254f71e98f auto(agent): Add validation and tests for contacts route 2026-03-06 19:28:45 +00:00
OpenClaw
53827506a3 auto(agent): added deal existence check and duplicate review prevention in reviews.js 2026-03-06 17:52:20 +00:00
OpenClaw
4078d6ac57 auto(agent): improved input validation with Zod schemas and enhanced error details in offers.js 2026-03-06 17:48:32 +00:00
OpenClaw
e6c84d7237 auto(agent): Added PUT and DELETE routes with input validation and error handling in helpRequests.js 2026-03-06 17:47:31 +00:00
OpenClaw
51be362dc4 auto(agent): added validation middleware and improved error handling in auth.js 2026-03-06 17:45:29 +00:00
OpenClaw
4ee009a730 auto(agent): Improved error handling and input validation in addresses.js 2026-03-06 17:44:32 +00:00
OpenClaw
cd7fa3bac2 auto(agent): added try/catch and proper HTTP status codes in profile.js 2026-03-06 17:43:24 +00:00
OpenClaw
b03b264c5e auto(agent): Added try/catch blocks, improved input validation with Zod and added proper error handling in contacts route 2026-03-06 17:39:27 +00:00
OpenClaw
00661fd99e auto(agent): added try/catch block and improved error handling in reviews.js 2026-03-06 17:34:20 +00:00
OpenClaw
507f54eea0 auto(agent): added try/catch blocks and improved error handling in offers.js 2026-03-06 17:33:33 +00:00
OpenClaw
6539762c92 auto(agent): added try/catch blocks and improved error handling in helpRequests.js 2026-03-06 17:30:29 +00:00
OpenClaw
fe6c17309a auto(agent): improved error handling and validation in auth.js 2026-03-06 17:27:33 +00:00
OpenClaw
2d24125498 auto(agent): Improved error handling in addresses route 2026-03-06 17:06:28 +00:00
OpenClaw
c2dd24f1b3 auto(agent): Improved error handling and input validation in addresses route 2026-03-06 17:05:29 +00:00
OpenClaw
ed38467091 auto(agent): Added error handling to address change request and verification routes 2026-03-06 17:00:34 +00:00
openclaw
d08e6f8a17 feat: add server-side encryption for address and phone 2026-03-04 18:02:42 +00:00
openclaw
40042eb76c feat: add secured contact exchange endpoints 2026-03-04 16:59:39 +00:00
openclaw
db36e75c46 feat: implement postal address verification flow 2026-03-04 16:51:07 +00:00
openclaw
09ea388190 feat: bootstrap backend API, schema and forgejo task issues 2026-03-04 16:03:10 +00:00