Commit graph

107 commits

Author SHA1 Message Date
Ruben
ae93a3116b Add news article about Riksrevisjonen 2026-05-20 22:56:34 +02:00
Ruben
df912a4da0 Rename $pageMetadata to $metadata 2026-05-10 22:02:48 +02:00
Ruben Solvang
f6d780a222 Små endringer i tekster 2026-05-10 20:32:15 +02:00
Ruben
0b61643ec5 Rename content files to use numeric prefixes for ordering 2026-03-10 22:17:07 +01:00
Ruben
e90aed46a3 Rearrange news and brochures content sections 2026-03-10 22:10:01 +01:00
Ruben
5baccfe3b5 Add podcast episode about medical cannabis access
Add crowdfunding campaign for driving license case
2026-03-10 22:04:23 +01:00
Ruben
bbf2dde694 Update cannabis terminology in petition requirements
Correct "canna bis" to "cannabis" throughout the document
for consistency and accuracy in medical terminology
2026-03-10 18:57:51 +01:00
Ruben
3c69f613c9 Update survey results and add press release link
Add detailed survey findings and link to full press release
Include comparison with European countries and implications
Highlight key statistics and actionable insights
2026-03-06 20:52:27 +01:00
Ruben
9d02424aac Add fullscreen map view for petition signatures
Add CSS for fullscreen mode with CTA button
Implement first name only display for map markers
Add fullscreen toggle button with proper icons
Update template to support fullpage mode
Add new page with fullscreen map view
2026-02-26 22:44:05 +01:00
Ruben
a7829982d0 Add petition map to medical cannabis petition page
Add anonymous SVG icon for anonymous signers

Add Norway fylker GeoJSON for map boundaries

Add CSS styles for petition map

Add JavaScript for interactive petition map

Add .htaccess to block direct access to data files

Add petition-map plugin to process and display map data

Add documentation for the petition-map plugin

Add mock petition data generator tool
2026-02-25 23:11:35 +01:00
Ruben
852c7b5fb3 Fix typo in medical cannabis campaign text
Correct "cann bis" and "cannbis" to "cannabis" in introduction text
2026-02-24 20:33:09 +01:00
Ruben Solvang
f0564e87ee Updated content 2026-02-24 20:26:00 +01:00
Ruben Solvang
49a34d9d0a Updated content 2026-02-24 20:24:52 +01:00
Ruben
3b04a3d78c Add security hardening for shared hosting environments
Improve session cookie security with HttpOnly and SameSite attributes
Add security headers via .htaccess
Block direct access to sensitive files
Restrict allowed HTTP methods
Document cPanel-specific security configuration
Add container hardening for ServerTokens and ServerSignature
2026-02-10 23:02:57 +01:00
Ruben
23671d5ed8 Add news preview functionality to homepage
Add news preview plugin to metadata
Add news preview translation strings
Create news preview content files
Rename goals section to position 4
Move newsletter section to position 5
2026-02-07 17:16:26 +01:00
Ruben
002395946d Update newsletter confirmation instructions for clarity
Clarify that users must click "Confirm" to complete their subscription
in both English and Norwegian content and language files
2026-02-07 16:35:40 +01:00
Ruben
685e71b30e Update survey section heading for clarity
Update heading from "Spørreundersøkelse" to "Landsomfattende
spørreundersøkelse" for better clarity and accuracy
2026-02-07 16:27:17 +01:00
Ruben Solvang
6ee86d01d9 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2026-02-07 16:24:55 +01:00
Ruben Solvang
71545791af Content changes 2026-02-07 16:24:51 +01:00
Ruben
5ba92eb9cc Add feed support to news section 2026-02-07 16:03:06 +01:00
Ruben
7700b95910 Update December-January activity report
Update newsletter signup text and thank you message
Add cover image for the news article
2026-02-07 16:03:01 +01:00
Ruben
36591e7438 Add per-form Listmonk list UUIDs to newsletter plugin
Add support for specifying Listmonk list UUIDs per form instance
Update petition form to use metadata-defined UUIDs
Add success confirmation message to newsletter forms
Update documentation with new functionality
2026-02-07 15:34:43 +01:00
Ruben
15a8f97cb2 Add December-January update with media coverage, survey results, and
campaign progress

Add newsletter signup plugin to update page

Add thank you section to December-January update

Add metadata for December-January update page
2026-02-07 00:32:53 +01:00
Ruben Solvang
ee7143d1fa Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2026-02-06 20:36:03 +01:00
Ruben
99ef5f93c2 Update history page with improved formatting and links 2026-02-06 20:35:48 +01:00
Ruben Solvang
6b924b42b1 Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2026-02-02 00:26:50 +01:00
Ruben
201f5ebb6a Update resend confirmation flow with improved messaging
Improve the resend confirmation flow by:
- Consolidating multiple status messages into a single generic response
- Adding HTML support for the result message
- Moving the instruction text after the message display
- Simplifying the PHP logic by removing redundant checks
- Making the messaging more privacy-conscious by not revealing email
  existence
- Adding a link to sign again in the result message

The changes follow the project's minimal PHP philosophy while improving
user experience and security.
2026-02-02 00:26:42 +01:00
Ruben Solvang
702f2cd73e Merge branch 'latest' of forge.dmz.skyfritt.net:stopplidelsen/innhold into latest 2026-02-02 00:15:02 +01:00
Ruben
c8efa479bc Add resend confirmation functionality for petition signatures
Add link to resend confirmation page from main form
Add new resend confirmation page with form
Implement backend logic to handle resend requests
Add translations for new functionality
Update thank you page with resend confirmation link
2026-02-02 00:14:34 +01:00
Ruben Solvang
d32c6f1362 cPanel additions 2026-01-22 20:55:19 +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
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
30876a8ad5 Update metadata with newsletter signup plugin 2026-01-17 00:03:15 +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
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
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
b092683513 Add margin to consent label after checkbox 2026-01-16 21:44:29 +01:00