Commit Graph

285 Commits

Author SHA1 Message Date
Ryderjj89
cd845fc116 Button spacing and formatting for rsvp form 2025-06-04 18:29:58 -04:00
Ryderjj89
c3030bafce Adding info to RSVP form and back to events list button 2025-06-04 18:19:35 -04:00
Ryderjj89
c5d6fc3310 Adding info to RSVP form and back to events list button 2025-06-04 18:18:59 -04:00
Ryderjj89
1ce3f9f8ef Changing card actions to grid 2025-06-04 18:07:10 -04:00
Ryderjj89
999d828a29 Flex spacing changes on the event cards for smaller screens 2025-06-04 18:02:26 -04:00
Ryderjj89
5b7ebafe84 Padding and spacing fixes 2025-06-04 17:54:42 -04:00
Ryderjj89
0c7e12482e Updated docker compose for new volume mounting for the database 2025-06-04 17:41:53 -04:00
Ryderjj89
afc09aed77 Rearranged how the sqlite database is stored for better volume mounting 2025-06-04 17:39:15 -04:00
Ryderjj89
eee0422579 Fixing snackbar issue 2025-06-04 17:26:34 -04:00
Ryderjj89
c019b7bc08 Fixing snackbar issue 2025-06-04 17:20:59 -04:00
Ryderjj89
fd260c9c88 Updating frontend to have a copy link to RSVP and improvements to the needed items list when submitting an RSVP 2025-06-04 17:16:52 -04:00
Ryderjj89
62ea29611d Updated conclusion email message to remove anything extra 2025-06-03 17:12:44 -04:00
Ryderjj89
3a5c7aaf99 Merge branch 'dev' of https://github.com/Ryderjj89/rsvp-manager into dev 2025-06-02 19:25:34 -04:00
Ryderjj89
a6709f02c5 Updated send event conclusion to make sure it's set to true by default 2025-06-02 19:25:18 -04:00
Joshua Ryder
f1bc53c907 Update README.md
Updated email notification info
2025-05-26 18:55:17 -04:00
Joshua Ryder
eac93f120c Update README.md
Added in new features and updates
2025-05-26 18:53:09 -04:00
Ryderjj89
5cf181cabd Fix ICS calendar description formatting issues
- Removed markdown formatting (**Note:**) as it doesn't work in ICS files
- Fixed double-escaping issue by removing backslash escaping from description
- Reordered escape sequence to prevent double escaping of newlines
- RSVP cutoff note now displays properly without unwanted backslashes
- Calendar descriptions now show clean, readable text with proper line breaks
2025-05-26 18:31:32 -04:00
Ryderjj89
a9025f8778 Add RSVP cutoff note to ICS calendar files
- Updated generateICSContent function to accept optional rsvp_cutoff_date parameter
- Added formatted RSVP cutoff note to calendar event descriptions with bold 'Note:' text
- Backend now passes rsvp_cutoff_date to ICS generation when creating calendar files
- Calendar events now include helpful reminder about RSVP deadlines for attendees
- Note displays formatted cutoff date with full weekday, date, time and timezone info
2025-05-26 18:24:59 -04:00
Ryderjj89
2ee244a354 Improve ICS calendar generation and email button styling
- Changed default event duration from 2 hours to 4 hours
- Fixed location field escaping issue that was adding unwanted backslashes
- Updated 'Add to Calendar' button styling to remove green background
- Button now uses blue border and text instead of solid green background
- Location field in ICS files now displays properly without escape characters
2025-05-26 18:19:52 -04:00
Ryderjj89
d7ed4d1e85 Add ICS calendar file generation and 'Add to Calendar' button
- Added generateICSContent() function to create RFC-compliant ICS calendar files
- Added /api/events/:slug/calendar.ics endpoint to serve downloadable calendar files
- Updated RSVP confirmation emails to include styled 'Add to Calendar!' button
- ICS files include event title, description, location, date/time, and unique identifiers
- Calendar files are automatically named with event slug for easy identification
- Button links directly to ICS download endpoint for seamless calendar integration
- Supports all major calendar applications (Outlook, Google Calendar, Apple Calendar, etc.)
2025-05-26 18:10:53 -04:00
Ryderjj89
65d02964dc Fix email field not saving in EventAdmin RSVP edit form
- Changed submission data field from 'email_address' to 'attendee_email'
- Backend expects 'attendee_email' but frontend was sending 'email_address'
- This fixes the issue where email updates wouldn't save to the database
- Email field now properly updates when edited through the admin interface
2025-05-26 17:45:16 -04:00
Ryderjj89
a2f9c58f3f Restore complete EventAdmin.tsx file with email field and snackbar functionality
- Fixed missing hundreds of lines that were accidentally truncated
- Restored complete component with all dialogs, tables, and functionality
- Email field now properly populates in RSVP edit form from attendee_email
- Added snackbar notifications for email sending and link copying actions
- All admin functionality including item management, event updates, and RSVP editing is now complete
2025-05-26 17:37:48 -04:00
Ryderjj89
b6c548f25a Fix email field in EventAdmin RSVP edit form and add snackbar feedback
- Added email_address field to EditFormData interface
- Updated handleEditRsvp to populate email field from rsvp.attendee_email
- Modified handleEditSubmit to include email_address in submission data
- Added snackbar state variables for user feedback notifications
- Enhanced handleSendEmail and handleCopyLink with success/error snackbar messages
- Added handleSnackbarClose function for snackbar management
- Improved user experience with immediate visual feedback for admin actions
- Fixed issue where email field would show [object Object] instead of actual email text
2025-05-26 17:29:44 -04:00
Ryderjj89
7e4baa3388 Add email column and action buttons to EventAdmin RSVP table
- Added email column to display attendee_email in the RSVP management table
- Added email icon button to resend confirmation emails to attendees
- Added clipboard icon button to copy RSVP edit links to clipboard
- Updated RSVP interface to include attendee_email and edit_id fields
- Added backend endpoint /api/rsvps/resend-email/:editId for resending emails
- Email and copy buttons are disabled when email/edit_id are not available
- Improved admin functionality for managing RSVPs and communicating with attendees
2025-05-26 17:15:52 -04:00
Ryderjj89
ed7b7648a1 Fix email field not populating in RSVP edit form
- Changed email_address mapping from rsvpResponse.data.email_address to rsvpResponse.data.attendee_email
- Database stores email as 'attendee_email' but frontend uses 'email_address'
- This fixes the issue where email field would be blank after changing email address
2025-05-26 16:51:27 -04:00
Ryderjj89
c13957073d Add email field to RSVP edit form with automatic confirmation
- Added email_address field to RSVPEditForm interface and form
- Email field is required and positioned after name field
- Added helper text explaining new confirmation will be sent if email changes
- Updated form validation to include email as required field
- Backend now detects email changes and sends new confirmation emails
- Email field follows same editing rules as other fields (disabled when event closed)
- Updated backend to use email_address parameter instead of attendee_email for consistency
2025-05-26 16:45:37 -04:00
Ryderjj89
f96a4d161f Make email address required on RSVP form
- Removed email notification toggle - email is now always required
- Moved email field to be required right after name field
- Added helper text explaining users will receive confirmation with edit link
- Simplified form validation and submission logic
- Email confirmations are now sent automatically for all RSVPs
2025-05-26 16:35:53 -04:00
Ryderjj89
d0395abc3a Fix event_conclusion_message being stored as [object Object] in database
- Removed duplicate FormData.append() call for event_conclusion_message
- The field was being appended twice: once in the forEach loop and once explicitly
- This caused the backend to receive malformed data resulting in [object Object]
- Now the field is only appended once through the normal form processing loop
2025-05-26 16:20:56 -04:00
Ryderjj89
7c09fd9d40 Fix event_conclusion_message displaying [object Object] in edit form
- Changed String() conversion to direct assignment in EventAdmin.tsx
- Now properly displays actual text content instead of [object Object]
- Handles null/undefined values by defaulting to empty string
2025-05-26 16:16:26 -04:00
Ryderjj89
edd3903ffb Updated event conclusion message handling to ensure it is saved as null if not filled out, consistent with description field. 2025-05-26 15:53:51 -04:00
Ryderjj89
cd9e43ee5a Updated event conclusion message handling to ensure consistency with description box in EventForm and EventAdmin components. 2025-05-26 15:43:32 -04:00
Ryderjj89
66384d8495 Fixing event conclusion message 2025-05-26 15:21:16 -04:00
Ryderjj89
7f709660b0 Add logging to backend event GET route 2025-05-26 14:44:14 -04:00
Ryderjj89
8f8f19bcfe Ensure event_conclusion_message is string in EventAdmin 2025-05-26 14:26:17 -04:00
Ryderjj89
dd77fe978d Fix thank_you_message prop in EventForm TextField 2025-05-26 14:19:42 -04:00
Ryderjj89
60c414e4ee Fix event conclusion email data submission in EventForm 2025-05-26 14:15:51 -04:00
Ryderjj89
a6ef28beea Add logging to EventAdmin update submit handler 2025-05-26 14:08:20 -04:00
Ryderjj89
58c0eebbba Update Event interface in EventAdmin with email conclusion fields 2025-05-26 13:58:10 -04:00
Ryderjj89
aa106f5196 Update Event interface in EventAdmin with email conclusion fields 2025-05-26 13:50:09 -04:00
Ryderjj89
95ee023e4d Fix frontend build error in EventAdmin related to setUpdateForm 2025-05-26 13:36:08 -04:00
Ryderjj89
c731e41d68 Fix frontend build error in EventAdmin 2025-05-26 13:33:26 -04:00
Ryderjj89
5f08039fd9 Fix TypeScript error in EventAdmin by adding UpdateFormData interface 2025-05-26 13:23:12 -04:00
Ryderjj89
ec747a9761 Update EventAdmin form with title and email conclusion settings, adjust wallpaper preview 2025-05-26 13:20:02 -04:00
Ryderjj89
76e6699b67 Fix TypeScript error accessing node-cron ScheduledTask options 2025-05-26 13:06:58 -04:00
Ryderjj89
1a4f88419a Add TZ environment variable to Docker Compose files 2025-05-26 13:03:27 -04:00
Ryderjj89
eb7f77167c Update event conclusion email schedule and add logging 2025-05-26 13:01:21 -04:00
Ryderjj89
1c6be17961 Move Needed Items to Basic Event Details section in EventForm 2025-05-26 12:51:43 -04:00
Ryderjj89
47f6918b02 Implement backend functionality for event conclusion emails 2025-05-26 12:46:25 -04:00
Ryderjj89
ec8a4398e3 Implement separate toggles for email notifications and event conclusion email 2025-05-26 12:39:23 -04:00
Ryderjj89
f686d3ae2b Refactor EventForm into sections and add thank you message field 2025-05-26 12:21:56 -04:00