Commit graph

183 commits

Author SHA1 Message Date
Ruben
8f49bb17cd Add email sending logging functionality
Add petitionId parameter to email functions
Update email sending calls to include petitionId
Add error message parameter to internal email functions
Improve error handling in email sending functions
Update thank you email to use signature email from CSV
Add SMTP connection error logging to error message
Add SMTP config not found error logging
Add SMTP disabled error logging
Add signature not found error logging
2026-01-22 20:54:28 +01:00
Ruben Solvang
b79bcd9fe9 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2026-01-20 21:20:38 +01:00
Ruben
252ba5ed63 Update warning message formatting for clarity
Add emphasis to spam folder check instruction
2026-01-20 21:20:28 +01:00
Ruben Solvang
118c76fa6d cPanel PHP INI additions 2026-01-20 21:20:02 +01:00
Ruben
7151d3b933 Add cover styling for petition pages
Add responsive cover image styling with object-fit and height
constraints
Adjust cover image positioning to focus on bottom of image
Update HTML class to include cover styling context
2026-01-17 13:35:42 +01:00
Ruben
199b49ef9e Update announcement bar styling and structure
Add label element with uppercase styling
Adjust content font size for better readability
Maintain semantic HTML structure
2026-01-17 13:35:35 +01:00
Ruben
cb590ac1ab Change filenames for priority 2026-01-17 13:04:18 +01:00
Ruben
4e488ee403 Remove medical cannabis petition campaign files
Update metadata title for better context
2026-01-17 13:03:42 +01:00
Ruben
f0320cd870 Update image and grid container sizing
Fix image width to 100% for consistent sizing
Adjust grid container gutter to 0.8rem for symmetry
2026-01-17 13:03:36 +01:00
Ruben
673ff9400d Update list template structure to use semantic section element 2026-01-17 13:03:23 +01:00
Ruben
2cf9839152 Remove escape class from cover section 2026-01-17 01:05:39 +01:00
Ruben Solvang
e49aaa108f Fix merge conflicts 2026-01-17 01:04:57 +01:00
Ruben Solvang
4ad9a23b3f Innhold lagt til pfra server-siden 2026-01-17 00:29:54 +01:00
Ruben
8f88e242b7 Add newsletter signup plugin with Listmonk integration
Add newsletter signup page with small theme example
2026-01-17 00:03:41 +01:00
Ruben
e7f2832751 Add announcement bar for medical cannabis petition 2026-01-17 00:03:33 +01:00
Ruben
482e24c477 Update base.css 2026-01-17 00:03:19 +01:00
Ruben
30876a8ad5 Update metadata with newsletter signup plugin 2026-01-17 00:03:15 +01:00
Ruben
e23167d771 Add newsletter form translations for English and Norwegian
[newsletter]
Add labels, placeholders, and messages for both languages
Include success and error states for user feedback
2026-01-17 00:03:03 +01:00
Ruben
375db3c3f7 Add announcement bar styling
Implement responsive announcement bar with gradient background
and hover effects using modern CSS features like nesting
and clamp() for fluid typography
2026-01-17 00:02:58 +01:00
Ruben
8018157c7a Add unescape class to brochure CTA content
This change ensures the content is rendered without HTML escaping,
allowing proper formatting of the text and links.
2026-01-17 00:02:45 +01:00
Ruben
c50c4d481f Add base URL rewrite rules and secure petition data files
Add base URL rewrite rules for app routing
Secure petition data files with access restrictions
2026-01-16 22:02:14 +01:00
Ruben
93cfbea69a Add custom data CSV files to gitignore 2026-01-16 22:02:08 +01:00
Ruben
3965898c10 Update config.ini 2026-01-16 22:01:59 +01:00
Ruben
de2c121188 Remove English and Norwegian thank you pages for petition
The pages were deleted as they are no longer needed in the current
implementation of the petition system
2026-01-16 21:47:43 +01:00
Ruben
0ae35f6c8f Add Listmonk newsletter configuration example
This provides a template for integrating Listmonk's public API
with the newsletter functionality, including list UUIDs and
basic configuration options.
2026-01-16 21:46:39 +01:00
Ruben
4eadaea6c6 Add Listmonk newsletter configuration
Configure Listmonk integration with enabled status and list UUIDs
Add Listmonk newsletter configuration

Uses Listmonk's public subscription API with double opt-in
Includes two list UUIDs for newsletter subscriptions
Add Listmonk newsletter configuration

Add listmonk-config.php to .gitignore
2026-01-16 21:45:21 +01:00
Ruben
1f74cb3c84 Add thank you page for medical cannabis petition
Add English and Norwegian versions of the thank you page
with confirmation instructions and newsletter subscription
notification when applicable

Style the warning highlight with oklch color
2026-01-16 21:45:01 +01:00
Ruben
269bfe994c Add newsletter subscription option to petition form
Update email error message to suggest checking address
Add petition form plugin to thank you page metadata
2026-01-16 21:44:48 +01:00
Ruben
fcddc9af93 Add podman compose requirement to development workflow
Clarify PHP environment dependency and port usage
for development site access
2026-01-16 21:44:35 +01:00
Ruben
b092683513 Add margin to consent label after checkbox 2026-01-16 21:44:29 +01:00
Ruben
054c59f177 Add newsletter subscription to petition form
Add Listmonk integration for newsletter subscriptions
Add newsletter checkbox to form
Handle newsletter subscription on form submission
Add session flag for thank you page
Remove duplicate sign-now ID from form section
2026-01-16 21:43:48 +01:00
Ruben
afeeb658de Update call to action in medical cannabis campaign intro
Fix Norwegian text formatting and strengthen message
2026-01-16 19:49:48 +01:00
Ruben
e412902842 Reduce font size for yellow info box text 2026-01-16 19:49:41 +01:00
Ruben
cc27724bfe Update padding values for CTA button 2026-01-16 19:35:55 +01:00
Ruben
3a5e3004c7 Add medical cannabis petition campaign
Add cover image, introduction, call-to-action, and thank-you pages
Add petition form styling and functionality
Include bilingual support for English and Norwegian
Implement signature confirmation flow
Add metadata for campaign configuration
2026-01-16 00:37:42 +01:00
Ruben
ec7f87a574 Add English and Norwegian privacy policy documents
Add metadata for privacy policy page

Add privacy policy page with GDPR compliance details
2026-01-16 00:37:32 +01:00
Ruben
4a5d035c2e Add petition form plugin with GDPR-compliant double opt-in email
confirmation
2026-01-16 00:37:13 +01:00
Ruben
5068e814ff Add custom data directory to gitignore 2026-01-16 00:36:55 +01:00
Ruben
e21282112d Add huge class for larger table styling 2026-01-16 00:36:11 +01:00
Ruben
27a1ae0751 Add GDPR consent and privacy policy translations
Add month names in both languages
Clarify display preference wording
Update privacy policy and consent text for both English and Norwegian
Add GDPR rights information
2026-01-16 00:36:07 +01:00
Ruben
5e4bb59a78 Add escape class to hero section for styling 2026-01-16 00:36:00 +01:00
Ruben
3cce5d32d5 Add .claude to gitignore 2026-01-16 00:35:44 +01:00
Ruben
b452c73de3 Update translation keys to use dot notation
Update content rendering to use wrapped content fallback
2026-01-14 23:16:19 +01:00
Ruben
443c44d095 Add section headers to language files and update petition messages
Add GDPR-compliant expiration to confirmation links
Add IP rate limiting error message
Update region list to current Norwegian counties
Add signature deletion functionality
Add thank you email with deletion option
Improve error messages and user feedback
2026-01-14 23:16:14 +01:00
Ruben
22717168ae Update article structure and fix translation keys
Fix translation keys in FAQ template
Add article wrapper to page template
2026-01-14 23:15:58 +01:00
Ruben
6682e94798 Remove redundant article container and extra whitespace
Remove unnecessary closing article tags and extra whitespace
2026-01-14 23:15:43 +01:00
Ruben
7124812e4d Rename Dockerfile to Containerfile 2026-01-14 23:15:34 +01:00
Ruben
5f8284041c Add development environment and workflow section
Add edit instructions for AGENT.md file
2026-01-14 23:15:18 +01:00
Ruben
fd1f152e55 Update email validation to return false for invalid addresses
Fix email validation to properly handle invalid addresses by returning
false
2026-01-14 20:25:59 +01:00
Ruben
b1f19e2cdd Add inherit font to table elements 2026-01-14 20:25:51 +01:00