66 Commits

Author SHA1 Message Date
Ryderjj89
757209310f Updated description box and fixed title renaming 2025-11-25 08:07:51 -05:00
Ryderjj89
afc09aed77 Rearranged how the sqlite database is stored for better volume mounting 2025-06-04 17:39:15 -04:00
Ryderjj89
62ea29611d Updated conclusion email message to remove anything extra 2025-06-03 17:12:44 -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
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
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
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
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
76e6699b67 Fix TypeScript error accessing node-cron ScheduledTask options 2025-05-26 13:06:58 -04:00
Ryderjj89
eb7f77167c Update event conclusion email schedule and add logging 2025-05-26 13:01:21 -04:00
Ryderjj89
47f6918b02 Implement backend functionality for event conclusion emails 2025-05-26 12:46:25 -04:00
Ryderjj89
b4f133b077 Update RSVP confirmation email subject and body 2025-05-16 20:29:57 -04:00
Ryderjj89
379c846250 Implement RSVP editing via unique link 2025-05-16 20:16:23 -04:00
Ryderjj89
5c34d464c1 Add unique edit ID and email opt-in to RSVP submission 2025-05-16 20:14:00 -04:00
Ryderjj89
9c68ec3c46 Fix TypeScript error with explicit type for addr parameter 2025-05-16 18:48:57 -04:00
Ryderjj89
55b4a36a81 Remove EMAIL_RECIPIENTS environment variable and update email notification logic 2025-05-16 18:46:07 -04:00
Ryderjj89
cedd7b325f Add email notification settings to event creation form 2025-05-16 18:42:55 -04:00
Ryderjj89
efe143ca68 Add max guests per RSVP feature to event creation and RSVP forms 2025-05-16 18:27:09 -04:00
Ryderjj89
ed92822913 chore: change email label to 'Items Claimed' instead of 'Items Bringing (from needed list)' 2025-05-05 10:28:54 -04:00
Ryderjj89
d9bb1074b8 fix: capitalize 'Yes'/'No' for Attending and Bringing Guests in RSVP email 2025-05-05 10:26:08 -04:00
Ryderjj89
d3cdad21b4 chore: disable Nodemailer debug logging and fix RSVP email links to use /view/events/:slug and /admin/events/:slug 2025-05-05 10:10:17 -04:00
Ryderjj89
dc69dea804 fix: move multer to dependencies so it is installed in production 2025-05-05 10:02:39 -04:00
Ryderjj89
866bdbebc2 chore: enable Nodemailer debug and logger for detailed SMTP troubleshooting 2025-05-05 09:25:55 -04:00
Ryderjj89
708814f083 feat: support EMAIL_RECIPIENTS for RSVP notifications; send to all listed, fallback to EMAIL_USER, log if none set 2025-05-05 09:09:02 -04:00
Ryderjj89
05b7b6741b fix: make RSVP email sending optional; skip if EMAIL_USER is not set 2025-05-05 09:01:16 -04:00
Ryderjj89
246a16f110 fix: always send RSVP notification emails to admin (EMAIL_USER) instead of RSVP submitter 2025-05-05 08:56:16 -04:00
Ryderjj89
7364e12c86 fix: add @types/nodemailer and include event links in RSVP email content 2025-05-05 08:31:29 -04:00
Ryderjj89
c2b4217601 feat: send RSVP confirmation emails using environment-based SMTP config; split EMAIL_FROM into EMAIL_FROM_NAME and EMAIL_FROM_ADDRESS 2025-05-05 08:26:27 -04:00
Starstrike
f91c8d7849 fix: Remove extra parameter from RSVP creation SQL query 2025-05-01 18:22:19 -04:00
Starstrike
a33d521af3 feat: Add other items feature to RSVP form and update table headers 2025-05-01 18:19:08 -04:00
Starstrike
6b3cf70534 Fix guest names handling in RSVP updates to properly maintain array format 2025-05-01 18:00:10 -04:00
Starstrike
eaead43e12 Fix TypeScript error: Add RSVP interface to properly type the rsvp parameter in map function 2025-05-01 17:44:39 -04:00
Starstrike
244b08aeb8 Implement individual guest name fields and array storage. Updated both frontend and backend to handle guest names as an array of strings instead of a single multiline string. 2025-05-01 17:42:18 -04:00
Starstrike
5c2dd0d595 fix: RSVP update endpoint now properly updates instead of deleting 2025-05-01 17:15:38 -04:00
Starstrike
cf533a5faa Fix wallpaper upload in event update - Unified wallpaper handling with event creation, added proper file management 2025-05-01 15:31:27 -04:00
Starstrike
e0de661050 fix: Allow clearing event description in update endpoint 2025-05-01 14:54:19 -04:00
Starstrike
bca4695abc fix: Implement RSVP cut-off date functionality and fix saving issues 2025-05-01 13:56:44 -04:00
Starstrike
e1d23eeb32 Feature: Add RSVP cut-off date functionality 2025-05-01 13:44:29 -04:00
cf4161ca6e Add manage needed items functionality to EventAdmin component and backend support 2025-05-01 10:04:56 -04:00
70f1535581 Add type annotations for event parameter 2025-05-01 09:22:07 -04:00
efa37db52c Fix wallpaper path handling in event endpoints 2025-05-01 09:20:22 -04:00
d2e27c4390 Fix RSVP items handling and response format 2025-05-01 09:15:23 -04:00
d8f99d3169 Fix RSVP items handling and response format 2025-05-01 09:11:15 -04:00
1470eecb99 Fix wallpaper path handling 2025-05-01 09:04:12 -04:00
e0a161eb51 Fix database volume mount to use app directory 2025-05-01 08:47:36 -04:00
f15ad5f01e Fix database permissions and initialization issues 2025-05-01 08:45:35 -04:00