Commit graph

20 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
6dd85dd365 feat: validate version format in auto-updater and release workflow
- Added a check in the desktop release workflow to ensure version tags follow semantic versioning (semver) format.
- Enhanced the auto-updater to log a message and skip updates if the app version is not valid semver.
- Improved type definitions for event handlers in the auto-updater for better TypeScript support.
2026-04-07 20:07:15 -07:00
DESKTOP-RTLN3BA\$punk
526057022d chore: update dependencies in desktop release workflow
- Upgraded actions/checkout from v4 to v5.
- Upgraded pnpm/action-setup from v4 to v5.
- Upgraded actions/setup-node from v4 to v5 and changed node version from 20 to 22.
2026-04-07 15:25:48 -07:00
DESKTOP-RTLN3BA\$punk
b9b567fe30 chore: update desktop release workflow and configuration
- Changed shell to bash in the desktop release workflow for consistency.
- Updated the hosted frontend URL in the .env file to point to the new domain.
- Enhanced package.json with homepage and author details for better project metadata.
2026-04-07 15:13:26 -07:00
DESKTOP-RTLN3BA\$punk
9ac062ad7e ci: add workflow_dispatch to desktop release for manual testing
Some checks are pending
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-07 15:03:33 -07:00
CREDO23
8566b03c91 Add PostHog analytics to desktop main process 2026-04-07 20:18:42 +02:00
CREDO23
e85c355592 Add NEXT_PUBLIC_POSTHOG_KEY to desktop release CI and .env.example 2026-04-07 19:45:30 +02:00
CREDO23
f9ba7e52d9 feat: add Zero infra — docker-compose, env vars, Dockerfile, CI workflows
- Add zero-cache service to docker-compose.yml and docker-compose.dev.yml
- Add ZERO_* env vars to docker/.env.example
- Add NEXT_PUBLIC_ZERO_CACHE_URL to surfsense_web/.env.example
- Add NEXT_PUBLIC_ZERO_CACHE_URL placeholder ARG/ENV to Dockerfile
- Add NEXT_PUBLIC_ZERO_CACHE_URL runtime substitution to docker-entrypoint.js
- Add NEXT_PUBLIC_ZERO_CACHE_URL build arg to docker-build.yml and desktop-release.yml
2026-03-23 18:27:18 +02:00
CREDO23
2b7465cdaa chore: remove Electric SQL plumbing and infrastructure
Remove all Electric SQL client code, Docker service, env vars, CI build
args, install scripts, and documentation. Feature hooks that depend on
Electric are intentionally left in place to be rewritten with Rocicorp
Zero in subsequent commits.

Deleted:
- lib/electric/ (client.ts, context.ts, auth.ts, baseline.ts)
- ElectricProvider.tsx
- docker/scripts/init-electric-user.sh
- content/docs/how-to/electric-sql.mdx

Cleaned:
- package.json (4 @electric-sql/* deps)
- app/layout.tsx, UserDropdown.tsx, LayoutDataProvider.tsx
- docker-compose.yml, docker-compose.dev.yml
- Dockerfile, docker-entrypoint.js
- .env.example (frontend, docker, backend)
- CI workflows, install scripts, docs
2026-03-23 16:53:20 +02:00
CREDO23
e7b5b37404 ci(desktop): support both v* and beta-v* tag triggers with unified version extraction 2026-03-20 16:55:18 +02:00
CREDO23
c891cc3d9b ci(desktop): auto-extract version from tag and pass to electron-builder 2026-03-20 16:44:10 +02:00
CREDO23
70712f21db ci(desktop): add HOSTED_FRONTEND_URL from GitHub Actions variables for Electron build 2026-03-20 16:29:48 +02:00
CREDO23
9db5b5e99d ci(desktop): pass NEXT_PUBLIC env vars from GitHub Actions variables to Next.js build 2026-03-20 16:21:11 +02:00
CREDO23
a08d03041a ci(desktop): align tag trigger with upstream beta-v* convention 2026-03-20 15:42:03 +02:00
CREDO23
cbee2e254c ci(desktop): disable fail-fast so all platform builds complete independently 2026-03-20 15:31:05 +02:00
CREDO23
207ef02f5e ci(desktop): fix pnpm cache by specifying lockfile paths for monorepo 2026-03-20 15:30:20 +02:00
CREDO23
337c381f36 ci(desktop): add package & publish step with platform matrix and permissions 2026-03-20 15:19:38 +02:00
CREDO23
0f37919f3d ci(desktop): add Electron build step 2026-03-20 15:10:24 +02:00
CREDO23
4b50b3db1a ci(desktop): add dependency install and Next.js build steps 2026-03-20 14:58:25 +02:00
CREDO23
b6c1db33eb ci(desktop): add pnpm and Node.js setup steps 2026-03-20 14:04:07 +02:00
CREDO23
71e87f302b ci(desktop): add release workflow skeleton with tag trigger and matrix 2026-03-19 20:49:30 +02:00