Commit Graph
96 Commits
Author SHA1 Message Date
frommeandClaude Opus 5 e52f7dcff8 feat: post application forms to MyEP with label-keyed extra values
Forms built in the backend form editor use generated element identifiers
(text-1, multicheckbox-2, ...) that carry no meaning and cannot be renamed
without breaking the other finishers configured on the form. ApplicationApiFinisher
therefore sends two halves: a small mapped core (firstName, lastName, email, ...)
that a developer configures per form and MyEP can rely on, plus every remaining
submitted value keyed by the element label for a human to read.

Each submission also carries where it came from: the form identifier and its
editor-given name, plus the uid and canonical URL of the page it was submitted
from - the same definition is embedded on several pages, so the page is what
distinguishes them. The URL is generated through the site router in the visitor's
language, like AddReferrerFinisher does it.

Labels come from the form definition rather than TranslationService, so the keys
do not shift with the site language. Values are normalized for JSON: dates to
Y-m-d, uploads to the file name, multi-value elements to a list, empty values
dropped, unsupported objects skipped with a log warning.

Like BpnApiFinisher the request failure is only logged, so a MyEP outage never
costs the application mail.

The endpoint (POST applications) does not exist in MyEP yet; the contract handed
over to that team lives in .ddev/plans/MYEP-APPLICATION-ENDPOINT.md. Until it is
built the finisher is registered but attached to no form.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-09-22 13:42:07 +02:00
fromme 9b3550ec40 feat: migrate to native lazy loading of images 2026-09-12 12:08:09 +02:00
Björn Fromme 9933a0d3f7 feat: webhook form finisher for generic post requests
addresses #869cupm97
2026-06-16 11:18:07 +02:00
Björn Fromme ea0f5c6b3d feat: integrate with new bpn-connect api for calendars 2026-06-10 14:42:49 +02:00
Björn Fromme 85ad9711f1 fix: drop errors in form submissions to myep api silently 2026-06-02 14:42:55 +02:00
Björn Fromme 8be7609a14 feat: my&p staging url toggle 2026-02-18 11:12:29 +01:00
Björn Fromme 96e7e8005b feat: migrate to new myep app for bookings 2026-01-05 16:59:56 +01:00
Björn Fromme 7a2cba4e8f feat: adopt myep api client to form finisher 2025-12-17 09:43:34 +01:00
Björn Fromme 8f846c4401 feat: various a11y fixes 2025-05-14 16:08:11 +02:00
Björn Fromme 5de929aa55 fix: generate correct referring urls and code cleanup 2024-10-24 10:58:03 +02:00
Björn Fromme a70110df45 fix: generate correct referring urls 2024-10-24 10:39:55 +02:00
Björn Fromme 7f24f1d65f feat: replace cookie to store tracking code with native php session 2024-08-23 09:18:05 +02:00
Björn Fromme 98c4aa7c4f fix: be more easy on ep_trk cookie and resellers 2024-08-22 16:58:37 +02:00
Björn Fromme ab2895dcc7 feat: referrer finisher adds current page url to sent form 2024-01-11 17:43:19 +01:00
Björn Fromme 072230219c feat: add json data for local business rating to all pages
This commit leaves room for improvements since most of the values are
hardcoded and json data is injected in a data processor.
2023-11-22 12:31:47 +01:00
Björn Fromme 89e45d573c Feat: Display ratings in footer 2023-09-06 17:38:08 +02:00
Björn Fromme 13816447b8 Fix: Ensure proper argument type 2023-04-03 11:46:54 +02:00
Björn Fromme cd69bacbd0 Fix invalid urls in webcam lazyloading 2023-01-26 11:38:07 +01:00
Björn Fromme 647ed4b6c9 Respect navhide property of pages in controller generated submenu 2022-08-22 16:21:41 +02:00
Björn Fromme 77e776246d Respect eneable fields in custom page repository when appropriate 2022-08-22 10:04:54 +02:00
Björn Fromme 5de2c07042 WIP Upgrade tailwindcss and dependencies 2022-08-13 10:02:02 +02:00
Björn Fromme 0ea29e5808 Implement and apply icon viewhelper 2022-06-01 14:57:46 +02:00
Björn Fromme c0c9799daf Remove superflous plugin, adjust viewhelper to use exsiting plugin 2022-03-21 10:02:34 +01:00
Björn Fromme 1084e1e642 Fix container viewhelper not adding rte-content attribute 2022-03-14 09:54:10 +01:00
Björn Fromme 50c5ee596c Improve container padding handling regarding defaults 2022-03-09 17:03:19 +01:00
Björn Fromme 3298885ef0 Avoid null-pointer exception 2022-03-08 17:47:50 +01:00
Björn Fromme 8b81ecdfb6 Remove default padding top 2022-03-08 17:29:23 +01:00
Björn Fromme 38f7d44b8b Fix topnav background color, remove obsolete viewhelper 2022-03-08 15:43:48 +01:00
Björn Fromme 90a22e0e1b Remove html compression middleware 2022-03-07 16:31:18 +01:00
Björn Fromme 259e3863ec Inline font styles, remove obsolete icon font 2022-02-13 17:36:29 +01:00
Björn Fromme 3cdd02ed21 WIP Implement viewhelper for image lazyloading 2021-12-26 21:09:22 +01:00
Björn Fromme 3d8e22c2fc Implement html compression 2021-12-26 17:34:59 +01:00
Björn Fromme a5d15d8d32 WIP Migrate event subsite styles 2021-10-27 15:09:16 +02:00
Björn Fromme 4e5cf832da Streamline namespaces 2021-10-27 10:44:37 +02:00
Björn Fromme ba667684c1 Streamline fetching of filter options 2021-10-27 10:44:08 +02:00
Björn Fromme c5f0fc179b Implement viewhelpers for stimulus attributes 2021-10-26 17:30:18 +02:00
Björn Fromme 4923944175 Further improve mobile search 2021-10-26 11:26:09 +02:00
Björn Fromme 9a2f09b9d2 Adopt changes in product teaser processor 2021-10-15 13:26:29 +02:00
Björn Fromme 62f0f88769 Revoke daytrip teaser fix 2021-10-14 13:03:01 +02:00
Björn Fromme e7b6e02b22 Adopt daytrip teaser fix 2021-10-14 12:25:33 +02:00
Björn Fromme f319a0450c Add backend preview renderer for booking link teaser 2021-09-30 17:27:38 +02:00
Björn Fromme 0262738c91 Add preview renderers for custom content elements 2021-09-27 18:26:56 +02:00
Björn Fromme b25b675227 Merge branch 'master' into feature/stimulus 2021-09-14 18:34:00 +02:00
Björn Fromme 79a3accb1d Remove obsolete plugins 2021-09-14 18:32:58 +02:00
Björn Fromme 65f63b8bcb Merge branch 'develop' into feature/stimulus 2021-09-10 12:10:11 +02:00
Björn Fromme 303b1b5392 Remove obsolete plugin 2021-09-10 11:09:05 +02:00
Björn Fromme 18b35e50e4 Merge branch 'develop' into feature/stimulus 2021-09-10 10:41:38 +02:00
Björn Fromme 27c070aed1 Implement fluidemail 2021-09-10 10:38:49 +02:00
Björn Fromme 481f1d132b Ensure proper type of argument 2021-09-10 10:00:18 +02:00
Björn Fromme 893ac4f613 Ensure proper type of argument 2021-09-08 10:26:13 +02:00