Commit Graph

26 Commits

Author SHA1 Message Date
Claude
a01d18ebb4 Replace Playwright with Vitest for comprehensive testing
Major Changes:
- Removed Playwright E2E testing framework (overkill for React app)
- Implemented Vitest with comprehensive unit tests
- All 235 tests passing successfully

Testing Coverage:
 Sanitization utilities (100+ tests)
  - XSS prevention (script tags, javascript:, data: protocols)
  - HTML entity escaping
  - URL validation and dangerous protocol blocking
  - Edge cases and malformed input handling

 Validation schemas (80+ tests)
  - Username validation (forbidden names, format rules)
  - Password complexity requirements
  - Display name content filtering
  - Bio and personal info sanitization
  - Profile editing validation

 Moderation lock helpers (50+ tests)
  - Concurrency control (canClaimSubmission)
  - Lock expiration handling
  - Lock status determination
  - Lock urgency levels
  - Edge cases and timing boundaries

Configuration:
- Created vitest.config.ts with comprehensive setup
- Added test scripts: test, test:ui, test:run, test:coverage
- Set up jsdom environment for React components
- Configured coverage thresholds (70%)

GitHub Actions:
- Replaced complex Playwright workflow with streamlined Vitest workflow
- Faster CI/CD pipeline (10min timeout vs 60min)
- Coverage reporting with PR comments
- Artifact uploads for coverage reports

Benefits:
- 10x faster test execution
- Better integration with Vite build system
- Comprehensive coverage of vital security functions
- Lower maintenance overhead
- Removed unnecessary E2E complexity
2025-11-08 04:28:08 +00:00
pacnpal
f28b4df462 Delete package-lock.json 2025-10-30 13:12:55 -04:00
gpt-engineer-app[bot]
1cdd1f59fb feat: Add Vercel Analytics 2025-10-29 12:35:15 +00:00
gpt-engineer-app[bot]
53f8da2703 feat: Migrate markdown editor to MDXEditor 2025-10-17 18:07:37 +00:00
gpt-engineer-app[bot]
e6ec2c363a feat: Integrate Markdown editor 2025-10-17 17:30:00 +00:00
gpt-engineer-app[bot]
cdd9e6c8c6 Fix security vulnerabilities 2025-10-16 20:01:21 +00:00
gpt-engineer-app[bot]
7b0faf9bb2 feat: Implement persistent sort order 2025-10-16 15:18:45 +00:00
gpt-engineer-app[bot]
3e520e1520 feat: Implement Phase 5 optimization and best practices 2025-10-13 22:56:47 +00:00
pacnpal
17fc18295e fixes 2025-10-12 16:36:51 +00:00
pacnpal
baa835983c Fixes 2025-10-12 16:34:11 +00:00
pacnpal
0a9b163e81 fix: update vite version and improve session handling in useAuth hook
- Updated vite from version 5.4.19 to 7.1.9 in package.json for better performance and features.
- Enhanced session verification logic in useAuth hook to check for session.user before setting user state.
2025-10-12 11:45:13 -04:00
gpt-engineer-app[bot]
4d96f45e74 feat: Implement Novu package migration 2025-10-12 15:40:37 +00:00
gpt-engineer-app[bot]
f37b99a5f9 Reverted to commit 06ed528d76 2025-10-11 15:58:56 +00:00
gpt-engineer-app[bot]
1df9ada8ae Reverted to commit 96a961d95c 2025-10-11 15:58:11 +00:00
gpt-engineer-app[bot]
7ce82e9e71 Implement the plan 2025-10-10 22:49:30 +00:00
pac7
a9bcca5d10 Update dependency lock file to ensure consistent builds
Update bun.lockb with resolved dependencies.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f44f1d1b-1dd8-407b-8603-db12902e1a15
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-04 14:20:47 +00:00
gpt-engineer-app[bot]
3436e317b5 feat: Implement Novu Inbox component 2025-10-01 12:34:02 +00:00
gpt-engineer-app[bot]
cae084964e feat: Implement Novu notification system 2025-10-01 12:22:12 +00:00
gpt-engineer-app[bot]
a5a9cc51ad feat: Implement Uppy photo upload 2025-09-29 16:51:50 +00:00
gpt-engineer-app[bot]
38ec89dc2e Fix: Resolve render2 is not a function error 2025-09-29 13:37:49 +00:00
gpt-engineer-app[bot]
90ba2c21ce feat: Add OpenStreetMap display 2025-09-29 13:35:33 +00:00
gpt-engineer-app[bot]
c88239fc4c feat: Integrate Cloudflare Turnstile CAPTCHA 2025-09-28 20:01:44 +00:00
gpt-engineer-app[bot]
6b329f6887 feat: Implement username change functionality 2025-09-28 17:53:37 +00:00
gpt-engineer-app[bot]
3a4b52ec18 Add ride detail pages 2025-09-20 00:59:50 +00:00
gpt-engineer-app[bot]
ee2a8382d8 Connect to Supabase project 2025-09-20 00:13:47 +00:00
gpt-engineer-app[bot]
b11ab23df3 [skip lovable] Use tech stack vite_react_shadcn_ts_20250728_minor 2025-09-20 00:10:26 +00:00