Compare commits

..

14 Commits

Author SHA1 Message Date
warrenchen
c8bcdb0ee6 Merge branch 'develop' of https://gitea.innovedus.com/warrenchen/innovedus_cms into develop 2026-04-02 03:02:30 +09:00
warrenchen
3e2a290e44 Add health check and harden S3 and static file settings 2026-04-02 02:51:39 +09:00
Warren Chen
019faf4459 feat(settings): Add SECRET_KEY environment variable to base settings 2026-04-02 02:51:39 +09:00
Warren Chen
ec5d55560a feat(migrations): Update newsletter and contact form templates for improved user communication 2026-04-02 02:51:39 +09:00
Warren Chen
5a4aea9a39 feat(pagination): Enhance disabled state styling for pagination links 2026-04-02 02:51:39 +09:00
Warren Chen
36f4d8bb15 feat: Refactor article and news templates for improved layout and styling 2026-04-02 02:51:39 +09:00
Warren Chen
a3f7043aea Add internationalization support and update translations
- Updated Wagtail hooks to use gettext for translatable strings in the NewsletterCampaignViewSet and related help texts.
- Added LOCALE_PATHS to settings for loading translation files.
- Updated base.html to include favicon links.
- Translated various strings in the wagtailsettings edit template to support internationalization.
- Created and populated zh_Hant translation files for Django messages.
- Added a favicon.ico file to the static directory.
2026-04-02 02:51:39 +09:00
Warren Chen
73f8442796 feat: Implement contact form submission feature with SMTP settings
- Added ContactFormSubmission model to store contact form submissions.
- Created ContactForm for handling form submissions.
- Implemented admin interface for managing contact form submissions.
- Developed views and JavaScript for handling contact form submission via AJAX.
- Added SMTP settings model for email configuration.
- Created notification email templates for contact form submissions.
- Updated frontend to include contact form modal and associated styles.
- Added tests for contact form submission and validation.
2026-04-02 02:51:39 +09:00
Warren Chen
f55c766881 Add subscription floating action button with toggle functionality
- Implemented a floating action button (FAB) for newsletter subscription in the template.
- Added JavaScript to handle the toggle state of the FAB and close it on outside clicks or Escape key press.
- Created CSS styles for the FAB, including animations and responsive design.
- Added a Django template tag to return a random default cover image for the FAB.
- Integrated a form for email input and submission within the FAB.
2026-04-02 02:51:39 +09:00
Warren Chen
485818c22a feat(footer): Add footer component with responsive design and social media links 2026-04-02 02:51:39 +09:00
Warren Chen
2719d84c5b feat(newsletter): Implement one-click unsubscribe functionality and update related settings 2026-04-02 02:51:39 +09:00
Warren Chen
eb8307cb3b feat: Implement one-click unsubscribe feature and newsletter campaign management
- Added one-click unsubscribe functionality with token generation and verification.
- Introduced a new model for tracking one-click unsubscribe audits.
- Enhanced newsletter campaign management with the ability to send campaigns immediately.
- Implemented a scheduler for dispatching due newsletter campaigns.
- Updated views and templates to support one-click unsubscribe and campaign previews.
- Added management commands for running the newsletter scheduler.
- Removed obsolete SSL certificate file.
- Updated entrypoint script to handle different application roles.
2026-04-02 02:51:39 +09:00
Warren Chen
9ffbcb0a65 fix(docker): Update Dockerfile to install ca-certificates and create unprivileged user
fix(settings): Ensure SSL_CERT_FILE is set using certifi if not already defined

chore(requirements): Add certifi to requirements for SSL certificate handling
2026-04-02 02:51:39 +09:00
Warren Chen
40dee52d16 feat(newsletter): Implement newsletter subscription and unsubscription features
- Added models for NewsletterSystemSettings and NewsletterTemplateSettings to manage configuration.
- Created forms for subscribing and unsubscribing from the newsletter.
- Developed views for handling subscription, confirmation, and unsubscription processes.
- Integrated Member Center API for managing newsletter subscriptions.
- Implemented email sending functionality with SMTP settings.
- Added templates for displaying subscription status and unsubscription confirmation.
- Enhanced CSS for newsletter forms and status messages.
- Included tests for newsletter functionality and security measures for sensitive data.
2026-04-02 02:51:39 +09:00

Diff Content Not Available