Commit Graph

144 Commits

Author SHA1 Message Date
20c63b379a Merge pull request 'feat: update appointment request to set status to 'completed' when ending a meeting' (#67) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/67
2025-12-05 12:35:16 +00:00
ee8239aa1f feat: update appointment request to set status to 'completed' when ending a meeting 2025-12-05 12:34:48 +00:00
f8987f54af Merge pull request 'feat: remove initial migrations for meetings and users models' (#66) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/66
2025-12-05 11:36:22 +00:00
2d05dad9b4 feat: remove initial migrations for meetings and users models 2025-12-05 11:34:58 +00:00
889f98d28b Merge pull request 'feature/meetings' (#65) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/65
2025-12-05 10:46:17 +00:00
6311a737eb feat: update timezone handling in api_root to use current timezone dynamically 2025-12-05 10:43:20 +00:00
eb54d1784c feat: enhance appointment scheduling with user timezone support and email reminders 2025-12-05 10:34:19 +00:00
4f8c8bb909 Merge pull request 'feat: remove initial migrations for meetings and users models' (#64) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/64
2025-12-04 12:37:08 +00:00
6fe52b4998 feat: remove initial migrations for meetings and users models 2025-12-04 12:35:50 +00:00
86507c9b92 Merge pull request 'feat: add max_length to jitsi_meet_url field and include debug prints for field lengths in AppointmentRequest' (#63) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/63
2025-12-04 12:31:18 +00:00
912b7ed2a2 feat: add max_length to jitsi_meet_url field and include debug prints for field lengths in AppointmentRequest 2025-12-04 12:30:32 +00:00
59f0446925 Merge pull request 'feat: add debug prints for field lengths in AppointmentRequest before saving' (#62) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/62
2025-12-04 12:26:07 +00:00
cd5fd63399 feat: add debug prints for field lengths in AppointmentRequest before saving 2025-12-04 12:25:35 +00:00
a59b2499f0 Merge pull request 'feature/meetings' (#61) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/61
2025-12-04 12:10:57 +00:00
596188144b feat: add max_length to jitsi_meeting_password field in AppointmentRequest model 2025-12-04 12:10:27 +00:00
1480049f3c feat: refactor AppointmentRequest model to use standard fields instead of encrypted fields 2025-12-04 12:09:46 +00:00
565592dfb4 Merge pull request 'feat: update AppointmentRequest model fields and adjust migration files' (#60) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/60
2025-12-04 12:02:18 +00:00
2dc08aeded feat: update AppointmentRequest model fields and adjust migration files 2025-12-04 12:01:34 +00:00
a4f3714115 Merge pull request 'feat: remove obsolete migration files for meetings and users' (#59) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/59
2025-12-04 11:35:22 +00:00
ddab7313ee feat: remove obsolete migration files for meetings and users 2025-12-04 11:34:49 +00:00
7694221400 Merge pull request 'feat: increase max_length for EncryptedEmailField to 2000' (#58) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/58
2025-12-04 11:22:14 +00:00
a2243046e9 feat: increase max_length for EncryptedEmailField to 2000 2025-12-04 11:21:33 +00:00
5401ab61d2 Merge pull request 'feat: increase max_length for fields in AppointmentRequest model' (#57) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/57
2025-12-04 11:08:27 +00:00
b434858faf feat: increase max_length for fields in AppointmentRequest model 2025-12-04 11:07:54 +00:00
2e72a69214 Merge pull request 'feat: add start and end meeting endpoints for scheduled appointments' (#56) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/56
2025-12-04 10:57:56 +00:00
82af34c2e4 feat: add start and end meeting endpoints for scheduled appointments 2025-12-04 10:57:19 +00:00
e78a8da89b Merge pull request 'feat: increase max_length for encrypted fields in AppointmentRequest model' (#55) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/55
2025-12-04 10:50:12 +00:00
31a1f56fc9 feat: increase max_length for encrypted fields in AppointmentRequest model 2025-12-04 10:49:27 +00:00
034a1ccccc Merge pull request 'feat: refactor AppointmentRequest methods and update serializers to include selected_slots field' (#54) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/54
2025-12-03 20:11:08 +00:00
875a284893 feat: refactor AppointmentRequest methods and update serializers to include selected_slots field 2025-12-03 20:10:15 +00:00
518e13f84c Merge pull request 'feat: add selected_slots field to AppointmentRequest model and update serializers' (#53) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/53
2025-12-03 15:46:25 +00:00
53aac43289 feat: add selected_slots field to AppointmentRequest model and update serializers 2025-12-03 15:44:56 +00:00
f8a0aac54b Merge pull request 'Refactor code structure for improved readability and maintainability' (#52) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/52
2025-12-02 19:34:59 +00:00
99f9dac965 Refactor code structure for improved readability and maintainability 2025-12-02 19:32:51 +00:00
c963fe045c Merge pull request 'feat: refactor contact message handling and update appointment request model' (#51) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/51
2025-12-01 18:42:19 +00:00
d5c3f12dbb feat: refactor contact message handling and update appointment request model 2025-12-01 18:40:56 +00:00
11ac82d6f9 Merge pull request 'feat: add contact form functionality with admin management' (#50) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/50
2025-11-28 15:53:16 +00:00
cd5ad1d753 feat: add contact form functionality with admin management
Add a complete contact form system with the following changes:
- Create ContactMessage model to store form submissions with tracking fields (is_read, is_responded)
- Implement ContactMessage admin interface with custom actions, filters, and bulk operations
- Add contact endpoint documentation to API root view
- Update email configuration to use admin@attunehearttherapy.com as sender address

This enables users to submit contact inquiries and allows administrators to track and manage these messages efficiently through the Django admin panel.
2025-11-28 15:52:06 +00:00
38c67b4a27 Merge pull request 'refactor(meetings): standardize null handling for Jitsi fields and enhance emails' (#49) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/49
2025-11-28 12:52:09 +00:00
23c185c93d refactor(meetings): standardize null handling for Jitsi fields and enhance emails
- Set explicit default=None for jitsi_room_id field to ensure consistent null handling
- Update rejection logic to use None instead of empty strings for Jitsi fields, maintaining database consistency with nullable field definitions
- Add login instructions to appointment confirmation email directing users to join 15 minutes early
- Remove outdated "self-guided resources" option from rejection email
- Add styling for new login-info section in scheduled appointment template

This ensures proper null value handling in the database and improves user communication for appointment workflows.
2025-11-28 12:50:33 +00:00
10d2e7ff13 Merge pull request 'security: remove localhost origins from CORS allowed list' (#48) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/48
2025-11-28 10:51:28 +00:00
027d216fcb security: remove localhost origins from CORS allowed list
Remove local development URLs (localhost:3000 and 127.0.0.1:3000) from
CORS_ALLOWED_ORIGINS configuration. This restricts CORS to only allow
requests from the production domain (attunehearttherapy.com), improving
security by preventing unauthorized cross-origin requests from
development environments.
2025-11-28 10:50:43 +00:00
b555c56847 Merge pull request 'fix(email): hardcode admin dashboard URL and open in new tab' (#47) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/47
2025-11-27 21:10:48 +00:00
b43ead53c6 fix(email): hardcode admin dashboard URL and open in new tab
- Replace dynamic admin_dashboard_url construction with hardcoded production URL (https://attunehearttherapy.com/admin/dashboard)
- Add target="_blank" to admin notification email button to open dashboard in new tab
- Improves user experience by preventing email client navigation disruption
2025-11-27 21:09:52 +00:00
9834777f94 Merge pull request 'feature/meetings' (#46) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/46
2025-11-27 19:55:12 +00:00
bc001074b1 style: add blank lines for improved code readability
Add extra blank lines in booking_system and meetings views to improve
code structure and visual separation between logical sections. This
enhances code readability without affecting functionality.

Changes:
- booking_system/views.py: added blank line after availability_system section
- meetings/views.py: added blank line after get_queryset method
2025-11-27 19:54:03 +00:00
774ac584b4 refactor: convert user appointment endpoints from POST to GET
Changes:
- Refactored UserAppointmentsView and UserAppointmentStatsView to use GET instead of POST
- Removed email parameter
2025-11-27 19:51:55 +00:00
88cb7986cc Merge pull request 'feature/meetings' (#45) from feature/meetings into main
Reviewed-on: https://gitea.blackbusinesslabs.com/ATTUNE-HEART-THERAPY/alternative-backend-service/pulls/45
2025-11-27 18:45:33 +00:00
98b9274e03 docs: update API documentation with example data and user appointments endpoint
- Replace generic placeholder data with specific examples in API root documentation
- Update example email from 'user@example.com' to 'saanii929@gmail'
- Update example names from 'John Doe' to 'Saani Iddi'
- Update example phone number to '+233552732025'
- Add POST method support to user_appointments endpoint
- Add request_fields and example_request to user_appointments documentation

Note: Consider using generic placeholder data instead of real personal information in API documentation examples.
2025-11-27 18:43:51 +00:00
20b7455eb7 refactor(emails): update support email to admin address
- Change support email from hello@attunehearttherapy.com to admin@attunehearttherapy.com across all email templates
- Remove support contact section from admin notification template
- Standardize email addresses by hardcoding admin email in templates
- Remove unused CSS comment from base email template

This ensures consistent support contact information across the application and directs user inquiries to the appropriate admin channel.
2025-11-27 18:30:23 +00:00