# Jen Home Contact Fields and Exports WordPress/Houzez customization for **staging.jenhome.net**. Author: **Josh Stevens Sr** · Website: [hostLabs](https://hostlabs.pro/) The installed plugin directory remains `jenhome-contact-exports`; the Gitea repository is named `jenhomeforms`. ## Behavior Contact forms collect First Name, optional Middle Name, Last Name and the visitor's answer to “How did you hear about us?”. The existing friend-name question is identified separately from a property address. Original forms, CRM persistence, notifications and existing security checks remain in place. Inquiries CSV columns, in order: 1. Submission Date 2. First Name 3. Middle Name 4. Last Name 5. Referral Source 6. Referrer Name 7. Email 8. Mobile Submission dates use America/New_York with an explicit UTC offset. Leads exports omit Source Link and retain their other existing fields. CRM views still show inquiry/property details even though the shorter Inquiries CSV omits them. Historical records are not backfilled or split; relationships use IDs, never email matching. The plugin creates a prefixed `jenhome_contact_fields` extension table for middle names and exact submission provenance. Native Houzez tables and vendor files are not modified. Keep this table when rolling back or deactivating the plugin. ## Releases and WordPress updates The owner-created repository is public. WordPress needs no repository credential. The `Update URI` points to this repository, while the plugin website remains hostLabs. An active staging installation checks the latest published stable `vMAJOR.MINOR.PATCH` Gitea release through WordPress's update system. Every release must include: - `jenhome-contact-exports-VERSION.zip` - `jenhome-contact-exports-VERSION.zip.sha256` Only the four runtime files belong in the ZIP, under `jenhome-contact-exports/`. The build script produces that layout. The updater checks the checksum, exact file list, ZIP version and same-host HTTPS download redirects. Drafts, prereleases, incomplete releases and unverified packages are ignored or rejected. A failed check leaves the installed plugin in place. Metadata is cached for one hour; opening WordPress Dashboard → Updates clears this plugin's metadata cache. WordPress can install through **Update now** or its native **Enable auto-updates** setting. Automatic updates run on WordPress's cron schedule, not on every Git push. The plugin must remain active for its updater to run. ## Publishing Gitea Actions must have an online Docker-capable runner labeled `ubuntu-latest`. The workflow uses the official PHP 8.4 container and the job's ephemeral repository token. It never needs the WordPress SSH key or a permanent Gitea token. The repository runner is `jenhomeforms-local`, running act_runner 0.6.1 in a local Docker container named `jenhomeforms-runner`. It handles this repository only, one job at a time, with a 30-minute job timeout. Jobs have no home-directory bind mounts, Docker socket, or privileged mode. Runner configuration and registration live outside this repository in `~/.local/share/jenhomeforms-runner/`. The runner container restarts with Docker. Builds wait while the computer is asleep or offline; already-published WordPress releases remain available. Pause it with `docker stop jenhomeforms-runner` and resume with `docker start jenhomeforms-runner`. Treat its protected `data/.runner` file as a credential; never commit or share it. Remove its registration through this repository's Settings → Actions → Runners if retiring the computer. 1. Edit code and `CHANGELOG.md`; update both the plugin header Version and `Jenhome_Contact_Exports::VERSION`. 2. Commit and push to `main`. The workflow lints PHP, runs the standalone updater and CSV tests, and builds the ZIP. 3. After checks and staging validation pass, create and push a matching tag: `git tag v1.2.3` then `git push origin v1.2.3`. 4. The tag workflow repeats checks, builds the package, uploads both assets to a draft, and publishes the release only after uploads succeed. Published versions are not overwritten. If a publishing job stops with a partial draft, review that draft and its assets before retrying, or publish a new version. Do not use Gitea's automatically generated source archive as the WordPress ZIP. Local checks (PHP 8.1+ with ZIP support, Python 3): ```sh php tests/unit.php python3 scripts/build-release.py v1.2.2 ``` ## Scope and rollback The plugin runs only when both the home URL and WordPress directory identify `staging.jenhome.net`. Installing it on production does not enable its behavior or updater. A production rollout requires a separately reviewed scope change. Back up the current plugin directory before the first updater installation. Deactivate this plugin to return to native behavior, or reinstall the previous verified plugin ZIP. Preserve the extension table and all contact records. The repository contains no credentials, contact records, database dumps or vendor source. Server integration tests use separate private synthetic fixtures with email/webhook suppression and transaction rollback.