Commit graph

141 commits

Author SHA1 Message Date
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
Ruben
82b94a1eb7 Add petition form translations for English and Norwegian
Add Norwegian region names for petition form

Add email confirmation messages for petition form

Add error handling messages for petition form

Add signature display options for petition form
2026-01-14 20:25:42 +01:00
Ruben
21216f4564 Update AGENT.md to reflect current project rules
Remove redundant documentation and reorganize content to match the
project's current structure and constraints. The updated file now aligns
with the minimalist philosophy and core constraints while maintaining
all essential information in a more concise format.
2026-01-14 20:25:25 +01:00
Ruben
ee7bb7a7a6 Add petition-specific SMTP configuration options
Add optional petition-specific SMTP configuration overrides
to the example configuration file, maintaining the existing
defaults while allowing customization for petition emails
2026-01-14 20:24:57 +01:00
Ruben
6cf9710ac1 Add Docker configuration for PHP 8.4 Apache container
Enable Apache rewrite module and custom configuration
Configure logging to container output streams
Update compose file to use build context instead of direct image
Remove redundant volume mount for apache.conf
Remove unnecessary command override
2026-01-14 20:24:41 +01:00
Ruben
7d12fe5654 Add custom SMTP config file to repository
This file is now essential for production deployment and should be
versioned
2026-01-14 20:23:49 +01:00
Ruben
c91971968e Remove trailing whitespace from CSS properties 2025-12-13 16:38:47 +01:00
Ruben
789d40da91 Rename CLAUDE.md to AGENT.md 2025-12-13 16:29:07 +01:00
Ruben
7dbac63d66 Update description of organization's mission 2025-12-13 15:36:25 +01:00
Ruben
2238aac97b Update Ruben Solvang's description for clarity 2025-12-12 22:03:33 +01:00
Ruben
82aaff0008 Update organization name in history page
Remove extra slash from organization name in history page
2025-12-12 21:59:21 +01:00
Ruben
f949439ebf Add content and translations 2025-12-12 21:55:12 +01:00
Ruben
a273a7a7a0 Add language switching and improve table styling
Add h4 styling Improve footnotes styling Add table styling with
alternating row colors Make site multilingual with language switching
Update footer to use translations Improve language handling in
navigation links
2025-12-12 21:55:12 +01:00
Ruben
cab5b17506 Add translation support for FAQ summary and answer links
Use translations for FAQ summary label and read full answer button text
while falling back to default Norwegian text if translations are not
available
2025-12-12 21:55:12 +01:00
Ruben Solvang
4280527049 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-11-28 23:25:25 +00:00
Ruben Solvang
e0a0a7524c Legg til nyhet 2025-11-28 23:22:15 +00:00
Ruben
69b8cc8836 Add patient information article about medical cannabis
Add English translation for patient information article
2025-11-11 23:45:19 +01:00
Ruben
0565e81292 Update config to enable languages plugin 2025-11-11 23:39:13 +01:00
Ruben
4ec2dc6fdc Add PnP development guidelines documentation
Document core principles, technology stack, routing, templates, content
conventions, security, code style, performance, and extensibility
patterns for the PnP framework
2025-11-11 23:38:18 +01:00
Ruben
4d8c66fdfc Update .htaccess for PHP 8.4 compatibility 2025-11-04 23:12:39 +01:00
Ruben Solvang
c2833a1f06 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest
Conflicts:
	.gitignore
2025-11-04 22:06:18 +00:00
Ruben
6034ab6b59 Add content .htaccess to gitignore 2025-11-04 23:05:34 +01:00
Ruben Solvang
44a2a7f713 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-11-04 22:03:03 +00:00
Ruben
2f5d3e6063 Update title to remove introductory phrase 2025-11-04 23:02:59 +01:00
Ruben Solvang
cb38de1429 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-11-04 22:01:58 +00:00
Ruben
a558bf3afb Update title and add social media metadata
Add Open Graph and Twitter Card metadata for better social sharing
Implement dynamic title formatting with site title suffix Add support
for social sharing images with fallback to hero image Include default
description for better SEO Ensure proper URL handling for both HTTP and
HTTPS
2025-11-04 23:01:36 +01:00
Ruben Solvang
9f046a368d Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2025-11-04 21:39:42 +00:00
Ruben Solvang
e44d0251ce Legg til ignorerte filer 2025-11-04 21:39:33 +00:00
Ruben
7e44e7e132 Add CSRF protection and rate limiting to contact form
Improve contact form styling with dedicated CSS file Move contact form
styles from base.css to separate file Add security measures to custom
directory with .htaccess Update honeypot field styling and
implementation
2025-11-04 22:33:14 +01:00
Ruben
c013c2cde3 Add contact form with spam protection
Add social media links to contact page

Move history content to dedicated page

Add SMTP configuration file

Update frontpage link styling
2025-11-04 22:19:58 +01:00
Ruben
b3cefcdc57 Add PHPMailer Lite vendor library
This commit adds the PHPMailer Lite library to the vendor directory. The
library is a lightweight version of PHPMailer designed for sending
emails with support for SMTP, Sendmail, and IMAP transports. It includes
features like HTML email composition, attachments, and embedded images.
The library is licensed under the MIT license and requires PHP version
8.0.0 or greater.
2025-11-04 22:19:44 +01:00
Ruben
b8d944cc9d Add dynamic meta description and page-specific CSS
Add meta description tag when available Include page-specific CSS when
provided
2025-11-03 23:10:09 +01:00
Ruben
09b014a756 Add hero and CTA section styles
Add responsive hero section with background image and centered text
Include CTA section with gradient background and centered content
2025-11-03 23:05:46 +01:00
Ruben
59fdc1a8ee Update frontpage.php 2025-11-03 23:05:38 +01:00
Ruben
f503e5289f Fix navigation list item structure in base template 2025-11-03 22:35:50 +01:00
Ruben Solvang
43b0abac3f Endre kontaktside 2025-11-03 20:53:02 +00:00
Ruben
45de82b8df Update PHP version to 8.4.14 and hide analytics pixel 2025-11-01 23:42:13 +01:00
Ruben
e00e8e790f Update README with content repository structure and documentation 2025-11-01 20:18:10 +01:00
Ruben Solvang
9fbfc1d466 Fjern debug.php 2025-11-01 15:10:13 +00:00
Ruben Solvang
012c68f7ab Legg til innhold 2025-11-01 14:33:06 +00:00
Ruben
102ad19f8d Update analytics tracking to use current page URL
Fix tracking to use the actual page URL instead of a hardcoded test path
2025-10-21 22:14:53 +02:00
Ruben
63dab82d1d Add GoatCounter tracking script to base template 2025-10-21 22:10:53 +02:00
Ruben
9cb7638892 Update link to use redirect URL instead of direct URL 2025-10-21 21:57:37 +02:00