Commit Graph

40 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
gpt-engineer-app[bot]
a74b8d6e74 Fix: Implement pipeline error handling
Implement comprehensive error handling and robustness measures across the entire pipeline as per the detailed plan. This includes database-level security, client-side validation, scheduled maintenance, and fallback mechanisms for edge function failures.
2025-11-07 04:50:17 +00:00
gpt-engineer-app[bot]
6e1ff944c8 Refactor: Remove Cronitor RUM tracking 2025-11-05 15:59:05 +00:00
gpt-engineer-app[bot]
0106bdb1d5 feat: Integrate Cronitor RUM 2025-11-05 15:07:31 +00:00
gpt-engineer-app[bot]
35c7c3e957 Refactor: Complete error handling overhaul 2025-11-02 23:19:46 +00:00
gpt-engineer-app[bot]
f81037488c feat: Implement security and testing roadmap 2025-11-02 21:41:44 +00:00
gpt-engineer-app[bot]
41560d9c42 Implement complete roadmap 2025-11-02 21:22:03 +00:00
gpt-engineer-app[bot]
133141d474 Reverted to commit 0091584677 2025-11-01 15:22:30 +00:00
gpt-engineer-app[bot]
b2bf9a6e20 Implement Auth0 migration 2025-11-01 01:08:11 +00:00
gpt-engineer-app[bot]
8ac61e01e3 feat: Implement Playwright testing setup 2025-10-30 15:42:28 +00:00
gpt-engineer-app[bot]
d1b9ea9d89 Add vercel/node dependency 2025-10-29 19:49:35 +00:00
gpt-engineer-app[bot]
d00f358e5c Re-add dependencies to package.json 2025-10-29 19:49:05 +00:00
gpt-engineer-app[bot]
d14dc3a144 Fix pnpm lockfile 2025-10-29 19:37:39 +00:00
gpt-engineer-app[bot]
c85bdcb070 feat: Implement Vercel serverless OG injection 2025-10-29 19:35:14 +00: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
5637b37ebc fix: remove outdated @tailwindcss/postcss dependency from package.json 2025-10-12 12:15:51 -04:00
pacnpal
d0f4f33275 fix: update tailwindcss version and add postcss dependency in package.json 2025-10-12 12:15:24 -04:00
pacnpal
70469d96dd fix: update dependencies and improve package versions in package.json 2025-10-12 11:46:22 -04: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
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