Commit graph

331 commits

Author SHA1 Message Date
OpenClaw Agent
f6a66daec5 feat: Implement RBAC for dispute endpoints
This commit implements role-based access control for dispute-related endpoints as specified in issue #12. The following endpoints are now protected:
- POST /disputes (requires 'user' role)
- POST /disputes/:id/evidence (requires 'user' role)
- POST /disputes/:id/status (requires 'moderator' or 'admin' role)
- POST /disputes/:id/resolve (requires 'moderator' or 'admin' role)
- GET /disputes/:id (requires 'user', 'moderator', or 'admin' role)
- GET /disputes/:id/events (requires 'user', 'moderator', or 'admin' role)
2026-03-20 12:06:14 +00:00
OpenClaw Agent
855c6d8251 feat: add issue template and create issue #12 for RBAC implementation
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 11:05:45 +00:00
OpenClaw Agent
df4a9fb9df feat: implement role-based access control for dispute endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 10:05:48 +00:00
J.A.R.V.I.S.
83185aea1a feat: implement RBAC for dispute endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 08:07:25 +00:00
J.A.R.V.I.S.
30a94a7ddd feat: implement role-based access control for dispute endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 07:06:47 +00:00
J.A.R.V.I.S.
18848a664f feat: Implement RBAC for dispute endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 06:07:28 +00:00
J.A.R.V.I.S.
82eea3ea98 feat: implement role-based access control for dispute endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 05:06:48 +00:00
J.A.R.V.I.S.
6ba032b990 feat: add unit tests for requireRole middleware
Some checks are pending
Docker Test / test (push) Waiting to run
This commit adds unit tests for the requireRole middleware to ensure proper role-based access control implementation. The tests cover successful access, insufficient permissions, and unauthorized access scenarios.
2026-03-20 04:07:26 +00:00
J.A.R.V.I.S.
724d49ed2c chore: update issue template
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 03:06:27 +00:00
J.A.R.V.I.S.
34cc5debf7 feat: add hasRole helper to requireRole middleware
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 02:06:46 +00:00
J.A.R.V.I.S.
25424ccb7e feat(dispute-flow): Implement dispute flow service and API endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 01:08:12 +00:00
J.A.R.V.I.S.
5a61bf2dbf feat: add RBAC implementation for dispute endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-20 00:06:46 +00:00
J.A.R.V.I.S.
25cea4fbe8 feat(auth): implement user authentication system 2026-03-19 23:10:50 +00:00
J.A.R.V.I.S.
4847ab793a feat(auth): implement user authentication system 2026-03-19 23:07:24 +00:00
J.A.R.V.I.S.
97116fed1c Merge performance optimizations from issue-18
Some checks are pending
Docker Test / test (push) Waiting to run
This merge includes all performance optimization implementations:
- Database query optimizations
- Lazy loading implementations
- Performance monitoring setup
- Profiling tools integration
2026-03-19 22:07:32 +00:00
J.A.R.V.I.S.
edb4e71a6b feat: implement performance optimizations
This commit implements performance optimizations including:
- Database query optimizations
- Lazy loading implementations for images and assets
- Performance monitoring setup
- Profiling tools integration
- Pagination for large datasets
2026-03-19 22:07:24 +00:00
J.A.R.V.I.S.
a9fed836bd Add issue templates and update ISSUES.md
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 19:06:45 +00:00
J.A.R.V.I.S.
050d24ec78 feat: create issue #21 - User Onboarding Process
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:10:46 +00:00
J.A.R.V.I.S.
52a6ca8537 feat: create issue #20 - Backup and Recovery Strategy
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:10:29 +00:00
J.A.R.V.I.S.
738a70adb5 feat: create issue #19 - Internationalization
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:10:13 +00:00
J.A.R.V.I.S.
5f270537fc feat: create issue #18 - Performance Optimization
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:09:56 +00:00
J.A.R.V.I.S.
52c4a880f1 feat: create issue #17 - User Feedback System
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:09:39 +00:00
J.A.R.V.I.S.
75a1f34969 feat: create issue #16 - CI/CD Pipeline
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:09:22 +00:00
J.A.R.V.I.S.
27a8e02123 feat: create issue #15 - Monitoring and Metrics
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:09:06 +00:00
J.A.R.V.I.S.
cd7e4ec4a8 feat: create issue #14 - Caching Strategy
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:08:51 +00:00
J.A.R.V.I.S.
5d5e779554 feat: create issue #13 - Database Migration Strategy
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:08:35 +00:00
J.A.R.V.I.S.
ed69280bb7 feat: create issue #12 - Security Best Practices
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:08:20 +00:00
J.A.R.V.I.S.
a83594790f feat: create issue #11 - Data Validation
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:08:05 +00:00
J.A.R.V.I.S.
8199ed29af feat: create issue #10 - Rate Limiting
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:07:49 +00:00
J.A.R.V.I.S.
e0c2658574 feat: create issue #9 - Error Handling and Logging
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:07:34 +00:00
J.A.R.V.I.S.
cc3f8674e1 feat: create issue #8 - Testing Framework
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:07:19 +00:00
J.A.R.V.I.S.
a11d75302b feat: create issue #7 - API Documentation
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:07:05 +00:00
J.A.R.V.I.S.
e0d078b950 feat: create issue #6 - User Profile Management
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:06:51 +00:00
J.A.R.V.I.S.
d2f845f2ce feat: create issue #5 - User Authentication
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:06:38 +00:00
J.A.R.V.I.S.
434c1d066e feat: implement API versioning policy
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 18:06:25 +00:00
J.A.R.V.I.S.
1f70f4fa04 docs: add API versioning policy and issue template
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 16:06:46 +00:00
J.A.R.V.I.S.
4c52e9d3e1 feat: Implement dispute flow with status machine and audit trail
Some checks are pending
Docker Test / test (push) Waiting to run
- Added full dispute status machine (open → evidence → mediation → resolved → cancelled)
- Implemented event logging for all dispute actions
- Added audit trail through dispute_events table
- Updated dispute service with proper status transition handling
- Ensured final decisions include reasoning for auditability

Fixes #5
2026-03-19 14:08:42 +00:00
J.A.R.V.I.S.
a2653f7234 feat: Implement dispute flow with status machine and audit trail
- Added full dispute status machine (open → evidence → mediation → resolved → cancelled)
- Implemented event logging for all dispute actions
- Added audit trail through dispute_events table
- Updated dispute service with proper status transition handling
- Ensured final decisions include reasoning for auditability

Fixes #5
2026-03-19 14:08:32 +00:00
J.A.R.V.I.S.
ad50a11d50 feat: Add contract tests for dispute flow implementation
Some checks are pending
Docker Test / test (push) Waiting to run
This commit adds comprehensive contract tests for the dispute flow implementation as required in issue #5. The tests cover:
- Creation of disputes with all required fields
- Status transitions through the complete flow (open → evidence → mediation → resolved)
- Proper event logging for all actions
- Audit trail for final decisions
- Integration testing of the complete dispute flow
2026-03-19 13:07:59 +00:00
J.A.R.V.I.S.
d339c17dc0 feat(dispute-flow): Implement dispute flow service and API endpoints
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 12:08:00 +00:00
J.A.R.V.I.S.
4977a213a0 Merge branch 'feature/dispute-flow-test'
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 11:07:22 +00:00
J.A.R.V.I.S.
bf0e1222ff test: Add contract tests for dispute flow and documentation 2026-03-19 11:07:16 +00:00
J.A.R.V.I.S.
c23b193a90 feat: Implement dispute flow and API endpoints 2026-03-19 10:06:34 +00:00
J.A.R.V.I.S.
353dce7f18 Merge branch 'feature/dispute-flow'
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 08:09:19 +00:00
J.A.R.V.I.S.
2268ef56d8 feat: Implement dispute flow with database schema and API endpoints 2026-03-19 08:09:11 +00:00
J.A.R.V.I.S.
78114a7c55 feat: implement dispute flow backend
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 07:08:09 +00:00
J.A.R.V.I.S.
431ced05b5 feat: Add dispute flow implementation issue
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 05:06:43 +00:00
J.A.R.V.I.S.
5e7111d996 feat: Add issue for Docker installation and Playwright configuration
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 04:06:50 +00:00
J.A.R.V.I.S.
6d75fab52e Merge branch 'issue-7-fix' into main
Some checks are pending
Docker Test / test (push) Waiting to run
2026-03-19 03:07:29 +00:00
J.A.R.V.I.S.
fdbf58bf9e Fix: Update issue description with results 2026-03-19 03:07:24 +00:00