Anish Sarkar
bf4e60d224
feat(menu, dev-tools): enhance menu with view options and enable dev tools in development mode
2026-05-26 03:55:16 +05:30
Anish Sarkar
98697f1dd6
feat(auto-updater, menu): implement update state management and enhance menu options for updates
2026-05-26 03:11:06 +05:30
Anish Sarkar
6cf0f07366
refactor(auto-updater): remove native install dialog and streamline update notification handling
2026-05-26 02:38:23 +05:30
Anish Sarkar
c0fefa4db1
feat(auto-updater, ui): implement update notification and installation prompt in desktop application
2026-05-25 23:24:26 +05:30
Anish Sarkar
74fff64779
feat(menu): add Privacy Policy and Terms of Service options to the application menu
2026-05-25 22:26:14 +05:30
Anish Sarkar
26fe4d7493
feat(auto-updater, menu): enhance update management and add menu options for updates and policies
2026-05-25 21:44:31 +05:30
Anish Sarkar
96da8498e6
Merge remote-tracking branch 'upstream/dev' into fix/electron-nextjs
2026-05-25 18:01:06 +05:30
Anish Sarkar
fe797e65d6
refactor(deep-links, quick-ask, window): replace localhost references with dynamic server origin retrieval
2026-05-25 17:55:03 +05:30
Anish Sarkar
a2847664c8
feat(server): enhance server management with process forking and implement server origin retrieval
2026-05-25 17:52:10 +05:30
Anish Sarkar
7be4231ad4
feat(app): update product name to 'SurfSense' and implement server shutdown on app quit
2026-05-25 17:45:27 +05:30
CREDO23
fa75d7c54c
fix(desktop): ship multi-size icons so linux launchers can find them
...
electron-builder was given a single 2048x2048 icon.png and dumped it into
hicolor/2048x2048/apps/, a bucket no Linux desktop environment indexes —
launchers and taskbar fell back to a generic placeholder. Pre-render the
standard sizes (16, 32, 48, 64, 128, 256, 512, 1024) and point linux.icon
at the directory so each PNG lands in the matching hicolor/NxN/apps/ slot.
Tray icon was unaffected (loaded at runtime via Electron's Tray API from
bundled resources, no theme lookup).
2026-05-22 20:04:21 +02:00
CREDO23
d5284b3076
fix(desktop): bind bundled Next.js on localhost to keep window origin stable
...
Setting HOSTNAME=0.0.0.0 made Next.js standalone canonicalize request.url to
http://0.0.0.0:PORT . The connector OAuth callback's NextResponse.redirect built
its Location from that URL, so navigating it flipped window.location.origin from
http://localhost:PORT to http://0.0.0.0:PORT . The backend CORS allowlist matches
localhost/127.0.0.1 only, blocking every subsequent API call until app restart —
producing the "no internet" / app-down state after connecting any connector.
2026-05-22 19:37:19 +02:00
CREDO23
b9403b1720
feat(desktop): emit PostHog events for OAuth redirect intercept and miss
...
Adds two diagnostic events to surface OAuth-redirect failures we can't
reproduce on Linux:
- desktop_oauth_redirect_intercepted fires from inside onBeforeRequest
with the original host, path, and target port — confirms the rewrite
actually ran.
- desktop_oauth_redirect_missed fires from a read-only onCompleted
listener when a /dashboard/*/connectors/callback URL lands off-localhost,
meaning the rewrite filter didn't catch it. This is the smoking-gun
event for "connector OAuth dies on mac/win" reports.
Read-only; no behavior change.
2026-05-22 18:40:06 +02:00
CREDO23
1b6c238c68
refactor(desktop): harden OAuth redirect rewrite for host variants and self-hosters
...
The interceptor previously matched a strict `${HOSTED_FRONTEND_URL}/*`
prefix and did a naive String.replace, which broke whenever the backend
NEXT_FRONTEND_URL differed at all (apex vs www, http vs https, or a
self-hosted domain). Now:
- Match by host: apex + www. sibling, both http and https.
- Rewrite via URL parsing so only protocol/host change; query strings
containing the host as a value are left intact.
- Read HOSTED_FRONTEND_URL through getHostedFrontendUrl() which honors
a SURFSENSE_HOSTED_FRONTEND_URL_OVERRIDE env var, letting self-hosters
point their builds at their own frontend without rebuilding.
Default behavior is identical when override is unset and backend host
matches the baked-in value.
2026-05-22 18:39:47 +02:00
CREDO23
fe98c17b1d
fix(desktop): declare surfsense:// scheme in macOS Info.plist
...
Linux registered the scheme via desktop-file MIME, but mac.extendInfo
never declared CFBundleURLTypes, leaving install-time LaunchServices
unaware of the protocol. The runtime app.setAsDefaultProtocolClient
call still runs as a fallback.
2026-05-22 18:39:27 +02:00
CREDO23
6ee7c04d02
fix(desktop): recover deep-link URL from argv on win/linux cold start
...
setupDeepLinks() only listened for second-instance and open-url events.
On Windows/Linux a fresh launch via `surfsense://` delivers the URL in
argv of the first instance, where it was silently dropped. Scan argv on
setup so the existing handlePendingDeepLink() pass picks it up.
2026-05-22 18:39:22 +02:00
DESKTOP-RTLN3BA\$punk
2e589091d8
feat: bumped version to 0.0.25
2026-05-21 14:44:33 -07:00
DESKTOP-RTLN3BA\$punk
ed22da7b95
feat: bumped version to 0.0.24
2026-05-20 03:01:37 -07:00
Anish Sarkar
07688263d8
feat: add new icon assets for macOS and update tray icon handling
2026-05-19 20:04:37 +05:30
Anish Sarkar
cd4e5ae7f2
feat: implement macOS-specific title bar adjustments and enhance RightPanel with toggle functionality
2026-05-19 18:57:06 +05:30
Anish Sarkar
6eb900cb0f
chore: update packageManager version to pnpm@10.26.0 in both desktop and web projects
2026-05-12 23:59:58 +05:30
DESKTOP-RTLN3BA\$punk
499c6be099
feat: bumped version to 0.0.23
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
2026-05-05 19:21:43 -07:00
DESKTOP-RTLN3BA\$punk
0b4bd50bce
feat: bumped version to 0.0.22
2026-05-04 21:08:08 -07:00
DESKTOP-RTLN3BA\$punk
4bbf2dac95
feat: version bump
2026-05-04 03:16:15 -07:00
DESKTOP-RTLN3BA\$punk
30d06affdc
chore: bumped version to 0.0.20
2026-05-02 23:40:44 -07:00
DESKTOP-RTLN3BA\$punk
3a73912a86
feat(desktop): enable hardened runtime and entitlements for mac signing
...
Made-with: Cursor
2026-04-30 15:39:30 -07:00
Rohan Verma
61f4d05cd1
Merge pull request #1318 from AnishSarkar22/fix/linux-build
...
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
feat(electron-builder): add RPM target to the build configuration
2026-04-28 04:41:41 -07:00
Anish Sarkar
c9eb0be457
feat(electron-builder): add RPM target to the build configuration
2026-04-28 14:55:38 +05:30
CREDO23
2d962f6dd2
Merge upstream/dev
2026-04-27 22:44:40 +02:00
Anish Sarkar
b85b7cbae0
feat(filesystem): introduce support for local openable text file extensions and enhance folder expansion persistence in the UI
2026-04-28 01:12:15 +05:30
CREDO23
d4caae6de9
Move desktop screen capture into modules/screen-capture and align preload build paths and imports.
2026-04-27 20:39:03 +02:00
CREDO23
9cd4daa6b3
Add a single-session desktop window picker and route screenshot assist, region crop, and fullscreen capture through the cached frame.
2026-04-27 20:35:47 +02:00
Anish Sarkar
f330d1431c
feat(filesystem): implement filesystem tree watch functionality using chokidar for real-time updates on local folder changes
2026-04-27 23:08:32 +05:30
CREDO23
9f5b6205e1
Align macOS accessibility and screen capture usage strings with Screenshot Assist and chat.
2026-04-27 18:50:01 +02:00
CREDO23
df952ffa28
Add Screenshot Assist to stored shortcuts, default to Shift+Space, and migrate legacy autocomplete.
2026-04-27 18:49:36 +02:00
CREDO23
1c7362d9c6
Handle full-screen capture IPC and reregister Screenshot Assist when its shortcut changes.
2026-04-27 18:49:33 +02:00
CREDO23
f489fee2e8
Register General Assist and Screenshot Assist as two independent global shortcuts.
2026-04-27 18:49:30 +02:00
CREDO23
24a5a06f21
Make General Assist only focus the main window, without region capture.
2026-04-27 18:49:27 +02:00
CREDO23
7145a15149
Add Screenshot Assist shortcut flow: show window, pick region, send data URL to chat.
2026-04-27 18:49:24 +02:00
CREDO23
d212422bf5
Add full-screen display capture alongside the region picker for desktop chat.
2026-04-27 18:49:20 +02:00
CREDO23
62b9e328b4
Add desktop IPC, preload, and window types for chat screen capture and full-screen capture.
2026-04-27 18:49:15 +02:00
Anish Sarkar
27e16231c1
feat(filesystem): enhance agent filesystem API with searchSpaceId support for improved context handling
2026-04-27 21:00:40 +05:30
Anish Sarkar
6aa172a730
feat(filesystem): increase max local roots to 10, optimize path normalization, and implement caching for filesystem settings
2026-04-27 20:07:02 +05:30
Anish Sarkar
95511f0915
feat(sidebar): implement canonicalize roots, authoritative mount handling & preserved incremental UX for local folder mode
2026-04-27 19:58:12 +05:30
CREDO23
ba25c68c0d
Restore default desktop shortcuts and Linux pack scripts
2026-04-24 20:43:04 +02:00
CREDO23
a7d3e4ff18
Extend desktop package scripts and local dependency compose
2026-04-24 19:15:02 +02:00
CREDO23
b0810b4d47
Wire General Assist and screen capture through Electron IPC
2026-04-24 19:14:37 +02:00
CREDO23
7097f542fb
Add native screen region capture modules and preload build
2026-04-24 19:13:14 +02:00
CREDO23
6c178a0271
Remove desktop autocomplete native window modules
2026-04-24 18:49:51 +02:00
Anish Sarkar
30b55a9baa
feat(filesystem): refactor local filesystem handling to use mounts instead of root paths, enhancing mount management and path normalization
2026-04-24 05:59:21 +05:30