Commit graph

16 commits

Author SHA1 Message Date
ba654296e9 Fix API proxy path - maintain /api/ prefix for backend calls 2025-11-14 10:40:46 -06:00
a2595246cc Implement dedicated backend subdomain files.mad-lawsuit.org
- Changed backend port from 809 to 901 (9xx range for backends)
- Updated docker-compose.yml to expose backend on port 901
- Created new Caddyfile with files.mad-lawsuit.org subdomain
- Simplified mad-lawsuit.org to only proxy to frontend (port 806)
- Updated frontend API proxy to use https://files.mad-lawsuit.org
- Updated backend CORS to allow both mad-lawsuit.org and files.mad-lawsuit.org
- This fixes PDF download reliability issues by providing direct backend access
2025-11-14 10:34:30 -06:00
eb7983f0ba Fix: Use specific container name to avoid DNS conflict with other backend containers 2025-11-07 16:44:07 -06:00
4abdf9c367 Fix PDF download: Handle binary file responses in API proxy 2025-10-28 08:16:14 -06:00
d5037b35a9 Fix TypeScript error: params must be Promise in Next.js 15 2025-10-28 08:08:57 -06:00
cecfcfb620 Add Next.js API route proxy to handle client-side API requests to backend 2025-10-28 08:01:22 -06:00
cefc600230 Restore manual email notification feature
- Add /api/notifications/send/:docketEntryId endpoint for manual email sending
- Add green 'Send notification' button (mail icon) to each docket entry in admin dashboard
- Implement BCC email functionality for manual notifications
- Add loading states and user feedback for notification sending
- Allow admins to manually trigger email notifications after uploading documents
- Recovered from git reflog commit 1e24aa18
2025-09-10 18:57:48 -06:00
3c03aff295 Fix TypeScript error: Remove unused useState import from PDFViewer component
- Removed unused useState import that was causing build failures
- Fixed Docker deployment issue where pnpm build was failing with exit code 1
- All TypeScript checks now pass successfully
2025-06-25 21:36:56 -05:00
52820b508f Update versions 2025-06-25 18:02:47 -05:00
7bc32acafb Fix mobile and date 2025-06-25 17:52:58 -05:00
ca1bafbb16 Fix email link
Add DeafGain
2025-06-25 16:53:44 -05:00
8027ef0ac9 Fix: Add missing required fields to document upload
- Added title, summary, and notes fields to FormData for upload
- Uses filename (without .pdf) as document title
- Resolves 'title is required' validation error
- Completes PDF upload functionality fix
2025-06-25 15:50:00 -05:00
0331ecaa84 Fix admin login API endpoint: Use Next.js proxy instead of direct backend call
- Changed from process.env API_URL to /api/auth/login
- Fixes network error by using Next.js API rewrites
- Login now properly routes through frontend proxy to backend
2025-06-25 15:14:27 -05:00
1cbf36dc00 Fix frontend health check: Install curl in Alpine container
- Added apk add curl to frontend Dockerfile
- Fixes unhealthy container status by enabling health check to work
- Health check now properly tests http://localhost:806
2025-06-25 15:08:04 -05:00
329f88d374 Fix frontend port configuration: Update Dockerfile to use port 806
- Changed EXPOSE from 3000 to 806
- Added PORT=806 environment variable
- Updated health check to use port 806
- Fixes admin login network error by aligning with docker-compose.yml 806:806 mapping
2025-06-25 15:02:36 -05:00
0508602479 Initial commit: Elizabeth Kragh v. MAD Court Docket Website 2025-06-25 14:15:19 -05:00