feat: add sidecar service for Sessionize sync

- Introduced a new Node HTTP service (sidecar) to sync event agendas from Sessionize into Convivo.
- Implemented two import paths: API sync and Excel import for session and speaker data.
- Added necessary database migrations for sessionize integration, including new columns and audit tables.
- Created functions for handling speaker and session imports, ensuring proper error handling and logging.
- Established row-level security and grants for new functions to restrict access to service-role only.
This commit is contained in:
Lago committed 2026-08-24 20:47:29 +02:00
1 parent 8054d0ace2
commit f7aea663d8
31 files changed
+2729 -390

No files matched your search

+1 -1
View File
@@ -160,7 +160,7 @@ export function Scanner({ onResult, label = 'Scan a lanyard QR' }: { onResult: (
<div className="row" style={{ gap: 8 }}>
<input
className="input mono"
placeholder="…or type the code (e.g. CVV-ANA-4821)"
placeholder="…or type the code (e.g. CVV-XXX-NNNN)"
value={manual}
onChange={(e) => setManual(e.target.value)}
/>
+5 -10
View File
@@ -83,9 +83,6 @@ export function Login() {
<div className="h1">Welcome back 👋</div>
<div className="muted small">Scan the QR code on your lanyard to log in.</div>
<Scanner onResult={handleScan} label="Point your camera at your lanyard QR" />
<div className="muted small" style={{ textAlign: 'center', opacity: 0.6 }}>
Demo: type <b>CVV-ANA-4821</b> (Ana) or <b>CVV-BRU-1177</b> (Bruno, staff)
</div>
</section>
);
}
@@ -151,13 +148,11 @@ export function Login() {
<button className="btn ghost small" style={{ alignSelf: 'flex-start' }} onClick={() => setStep('scan')}>
← Different lanyard
</button>
<div className="muted small" style={{ textAlign: 'center', opacity: 0.6 }}>
{isStaff ? (
'Staff: QR + your admin password'
) : (
<>Demo: <b>ana.silva@nubank.com</b> · <b>bruno.costa@acme.com</b></>
)}
</div>
{isStaff && (
<div className="muted small" style={{ textAlign: 'center', opacity: 0.6 }}>
Staff: QR + your admin password
</div>
)}
</section>
);
}