Commit Graph

4 Commits

Author SHA1 Message Date
Matthew Raymer
919a63a984 feat: complete Priority 1 any type fixes - final push
- Fix remaining any types in core plugin files (1 type)
- Fix remaining any types in test apps (4 types)
- Fix remaining any types in shared TypeScript modules (4 types)
- Fix remaining any types in test-api client (3 types)
- Enhanced type safety across entire codebase

Linting status:  0 errors, 218 warnings (down from 436 warnings)
Priority 1 achievement: 218 warnings fixed (50% reduction)
Any types remaining: 2 (down from 113, 98% reduction)
Type safety: Massive improvement across all modules
2025-10-07 07:42:16 +00:00
Matthew Raymer
9ec30974da feat(test-api): enhance test API server with Phase 4 JWT authentication
- Added JWT authentication middleware (verifyJWT) for testing SecurityManager
- Enhanced all Endorser.ch API endpoints with JWT authentication:
  - /api/v2/report/offers (JWT required)
  - /api/v2/report/offersToPlansOwnedByMe (JWT required)
  - /api/v2/report/plansLastUpdatedBetween (JWT required)
- Added Phase 4 test endpoints:
  - /api/v2/test/jwt-validation: Test JWT token validation
  - /api/v2/test/security-info: Get security configuration info
- Enhanced JWT validation with:
  - Token format validation
  - Expiration checking
  - DID-based authorization (JWT DID must match recipientId)
  - Detailed error responses for authentication failures
- Updated server startup logs to show JWT requirements
- Enhanced usage examples with JWT authentication examples
- Added comprehensive JWT security testing capabilities

Test API server now fully supports Phase 4 SecurityManager testing
2025-10-04 05:46:42 +00:00
Matthew Raymer
fe82fd2147 feat: Update test-apps for TimeSafari integration with Endorser.ch API patterns
- Add comprehensive configuration system with timesafari-config.json
- Create shared config-loader.ts with TypeScript interfaces and mock services
- Update Android test app to use TimeSafari community notification patterns
- Update iOS test app with rolling window and community features
- Update Electron test app with desktop-specific TimeSafari integration
- Enhance test API server to simulate Endorser.ch API endpoints
- Add pagination support with afterId/beforeId parameters
- Implement parallel API requests pattern for offers, projects, people, items
- Add community analytics and notification bundle endpoints
- Update all test app UIs for TimeSafari-specific functionality
- Update README with comprehensive TimeSafari testing guide

All test apps now demonstrate:
- Real Endorser.ch API integration patterns
- TimeSafari community-building features
- Platform-specific optimizations (Android/iOS/Electron)
- Comprehensive error handling and performance monitoring
- Configuration-driven testing with type safety
2025-09-24 07:38:53 +00:00
Matthew Raymer
a2d1fb33a6 chore: update Android test app dependencies to latest stable versions
- Update AndroidX AppCompat from 1.6.1 to 1.7.1 (latest stable)
- Update AndroidX Activity from 1.7.0 to 1.8.2
- Update AndroidX Core from 1.10.0 to 1.12.0
- Update AndroidX Fragment from 1.5.6 to 1.6.2
- Update Core Splash Screen from 1.0.0 to 1.0.1
- Update AndroidX WebKit from 1.6.1 to 1.8.0
- Update compile/target SDK from 33 to 34
- Update Gradle troubleshooting guide with latest versions

Dependency updates:
- androidx.appcompat:appcompat: 1.6.1 → 1.7.1
- androidx.activity:activity: 1.7.0 → 1.8.2
- androidx.core:core: 1.10.0 → 1.12.0
- androidx.fragment:fragment: 1.5.6 → 1.6.2
- androidx.core:core-splashscreen: 1.0.0 → 1.0.1
- androidx.webkit:webkit: 1.6.1 → 1.8.0
- compileSdkVersion: 33 → 34
- targetSdkVersion: 33 → 34

Documentation updates:
- Updated Gradle troubleshooting guide with latest versions
- Added dependency update section
- Updated version compatibility table
- Added AndroidX dependency update examples

Files: 2 modified
- Modified: android/variables.gradle (updated all AndroidX versions)
- Modified: GRADLE_TROUBLESHOOTING.md (updated documentation)
2025-09-09 08:34:16 +00:00