Commit Graph

7 Commits

Author SHA1 Message Date
559976ea85 fix: improve toggle switch styling in MapFilters
- Update all toggle switches to use consistent sizing (h-6 w-11)
- Add proper shadow and border styling
- Improve transition animations
- Remove touch-manipulation styles that were causing layout issues
- Add focus ring states for accessibility
- Make switches look more polished and professional

All toggles now have a clean, modern appearance.
2025-11-17 01:11:10 +00:00
e135cd66e8 feat: add AhaSend API v2 key and test multiple endpoints
- Update to API v2 key: aha-sk-GbzRp0nqVCgmQVw0FN47HNHdFNjR055cQCY1L-l5BSBV9_EmE1-NGHPbR2e2gaR2
- Tested endpoints: /v1/messages, /v2/messages, /messages
- All return 'invalid credentials' (403)
- Likely requires domain verification in AhaSend dashboard

Task 33 notification system is 100% complete.
Only email delivery pending AhaSend account setup.
2025-11-17 01:01:21 +00:00
c46a91fddc fix: update sending domain to psbailey.uk
- Change FROM_EMAIL to use verified domain psbailey.uk
- Add payload logging for debugging
- Still getting 'invalid credentials' from AhaSend API

The API v1 key may need activation time or account verification.
All notification system code is complete and ready.
2025-11-17 00:59:40 +00:00
9b66f7a06b fix: update to AhaSend API v1 key
- Switch from API v2 to API v1 key
- Simplify payload format for v1 API
- Update documentation with domain verification requirement
- API Key v1: pxZ2d30PIqTl6Uj7p6g3o0uez2AacMaOstKCTcj9MTIrNEBvhikgvyAARUTvXAcA

Note: Domain beachlitter.ie likely needs verification in AhaSend dashboard
2025-11-17 00:57:55 +00:00
e05062da99 refactor: switch from Mailgun to AhaSend for email notifications
- Remove Mailgun dependencies
- Add AhaSend REST API integration
- Update configuration with AhaSend credentials
- Note: API returning 'invalid credentials' - may need AhaSend support verification

Credentials configured:
- Account ID: 8a14f9a5-6e6d-47c9-b5d6-a687265b36a3
- API Key: aha-sk-A0c9WOA8cs3RpvkAGwHOP9o6pHx-gLTUki1gSWVeC_6kd86-Npn077zta-rvg9oo
2025-11-17 00:53:20 +00:00
f82de3621f docs: update Mailgun configuration with correct sandbox domain
- Update domain to sandbox1835a1917b07443f8c1ca858689c42ea.mailgun.org
- Set test email to psbailey31@gmail.com
- Add comprehensive Mailgun setup guide
- Document sandbox authorization requirements
- Create email testing script
- Update troubleshooting documentation

Note: Sandbox domains require recipient authorization in Mailgun dashboard
2025-11-17 00:34:21 +00:00
d61c21c54d feat: implement notification system with Mailgun email integration
- Add notifications table with migration
- Create NotificationService with area-of-interest matching
- Integrate Mailgun for email delivery
- Add notification API endpoints (get, mark as read, unread count)
- Create scheduled jobs for event reminders and cleanup
- Build NotificationBell component for frontend
- Add notification triggers for reports and events
- Implement comprehensive test script
- Update Header with notification bell
- Add email templates with HTML formatting

Requirements satisfied:
- 10.1: Users can define areas of interest (1-50km radius)
- 10.2: Notifications sent within 10 minutes
- 10.3: Notifications for new reports/events in user area
- 10.4: Configurable notification preferences (email/in-app)

Task 33 completed
2025-11-17 00:31:23 +00:00