diff --git a/DEVELOPER_HANDOFF.md b/DEVELOPER_HANDOFF.md new file mode 100644 index 0000000..d6b1b3f --- /dev/null +++ b/DEVELOPER_HANDOFF.md @@ -0,0 +1,199 @@ +# PoliticTalk Jitsi Developer Handoff + +This folder is the source of truth for the white-labeled PoliticTalk Jitsi setup served from: + +```text +https://politictalk.parallelglobe.io +``` + +The PoliticTalk VPS still runs the real Jitsi services. Local changes are made in this repo, committed, pushed, pulled on the VPS, then copied into the live Jitsi install with the deploy script. + +## Main Files + +```text +config/politictalk.parallelglobe.io-config.js + Jitsi meeting policy: toolbar, audio-only behavior, prejoin, E2EE, branding URLs. + +web/plugin.head.html + Injected CSS and JavaScript for most visible UI customizations. + This controls branding, mobile toolbar fixes, direct-access messaging, + participant tile styling, role colors, hidden Jitsi controls, and layout patches. + +web/title.html + Browser title, favicon, and page metadata template. + +web/manifest.json + Web manifest used by the deployed Jitsi web app. + +assets/public/politictalk/ + Public images and branding JSON, including logos, favicon, and background assets. + +interface_config/politictalk-overrides.js + Overrides appended to Jitsi's interface_config.js. + +prosody-plugins/mod_politictalk_roles.lua + Server-side room policy: JWT role mapping, moderator/member handling, + host lifecycle, AV moderation, room inactive callback, and occupancy callback. + +nginx/politictalk.parallelglobe.io.conf + Nginx vhost and public asset routes for the PoliticTalk domain. + +scripts/deploy-vps.sh + Copies tracked files into the live Jitsi system paths and creates backups. +``` + +## Normal Change Flow + +Work locally from the Jitsi folder: + +```bash +cd /Users/amardeep/work/pg/jitsi +git status --short +``` + +Edit the relevant files. Most UI changes go in: + +```text +web/plugin.head.html +``` + +Before committing, run quick checks: + +```bash +git diff --check +awk '/^