Anish Sarkar
f5d04cf8ba
refactor(web): support same-origin backend and zero urls
2026-06-15 11:03:45 +05:30
DESKTOP-RTLN3BA\$punk
ff4e0f9b62
feat: no login experience and prem tokens
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
2026-04-15 17:02:00 -07:00
Tim Ren
68e6acd504
fix(web): memoize Zero provider opts to prevent reconnect churn
...
Wrap the opts object and derived context in useMemo so ZeroReactProvider
receives stable references across parent re-renders. Before this change
opts was rebuilt on every render of ZeroProvider, which can cause the
Rocicorp Zero client to churn its internal state / reconnect if it
compares props by reference.
Fixes #1097 .
2026-04-15 20:07:12 +08:00
DESKTOP-RTLN3BA\$punk
a9fd45844d
feat: integrate Stripe for page purchases and reconciliation tasks
2026-03-31 18:39:45 -07:00
CREDO23
657f546908
fix: always render ZeroProvider, allow anon queries without 401
2026-03-24 16:59:42 +02:00
CREDO23
54ffdc5aad
fix: always init Zero when user exists, pass auth as optional
2026-03-24 16:39:37 +02:00
CREDO23
a74aa4da4f
add auth to Zero query endpoint and ZeroProvider
2026-03-24 16:06:20 +02:00
CREDO23
cf21eaacfc
fix: critical timestamp parsing and audit fixes
...
- Fix timestamp conversion: String(epochMs) → new Date(epochMs).toISOString()
in use-messages-sync, use-comments-sync, use-documents, use-inbox.
Without this, date comparisons (isEdited, cutoff filters) would fail.
- Fix updated_at: undefined → null in use-inbox to match InboxItem type
- Fix ZeroProvider: skip Zero connection for unauthenticated users
- Clean 30+ stale "Electric SQL" comments in backend Python code
2026-03-23 19:49:28 +02:00
CREDO23
6143a91406
feat: add ZeroProvider and wire into app layout
...
- Create components/providers/ZeroProvider.tsx with schema, queries,
userID, context, and cacheURL configuration
- Wire ZeroProvider into app/layout.tsx wrapping GlobalLoadingProvider
inside ReactQueryClientProvider (same position ElectricProvider had)
2026-03-23 18:09:59 +02:00