Commit graph

4990 commits

Author SHA1 Message Date
Anish Sarkar
f06e00d77c Merge remote-tracking branch 'upstream/dev' into fix/docker-host-gateway 2026-04-21 11:24:34 +05:30
Anish Sarkar
8a8086176b refactor: removed BACKEND_PROXY_TARGET and unified FASTAPI_BACKEND_INTERNAL_URL for both next.js rewrite and docker network issues 2026-04-21 11:17:24 +05:30
Anish Sarkar
1abbc6021f feat: add internal backend URL configuration and enhance server URL handling in SurfSense settings 2026-04-21 11:08:36 +05:30
Anish Sarkar
1f524660e1 fix: update server URL in README and settings for SurfSense plugin 2026-04-21 10:53:55 +05:30
Anish Sarkar
20ce687b6d feat: update README for SurfSense plugin 2026-04-21 10:19:26 +05:30
Anish Sarkar
b3f0b2e13a feat: update SurfSense plugin to version 0.1.0 with improved description, minimum app version, and license details; enhance queue management with debouncing and refactor status modal for clarity 2026-04-21 09:59:23 +05:30
Rohan Verma
1919150523
Merge pull request #1276 from MODSetter/dev_mod
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
feat: add startup for desktop app
2026-04-20 21:27:14 -07:00
Rohan Verma
f2bb6dbd55
Merge pull request #1275 from Tacite243/fix/move-modelSelector-reset-effects-into-the-openTab-event-handlers-1252
refactor: move model selector reset logic to event handlers
2026-04-20 21:01:42 -07:00
Rohan Verma
df8a12217c
Merge pull request #1273 from Tacite243/perf/lazy-load-document-content-1242
perf: lazy-load DocumentTabContent to reduce initial dashboard bundle…
2026-04-20 21:00:59 -07:00
Rohan Verma
517c40f060
Merge pull request #1272 from mvanhorn/osc/1247-functional-setIsDark
fix(theme-toggle): use functional setIsDark in toggleTheme (#1247)
2026-04-20 20:59:04 -07:00
Rohan Verma
6bd4ffb98e
Merge pull request #1268 from aaron-seq/fix/move-open-reset-effects-to-onOpenChange
fix(dialogs): move open-reset effects into onOpenChange handlers
2026-04-20 20:58:27 -07:00
Rohan Verma
d744cb48bf
Merge pull request #1267 from mvanhorn/osc/1250-isexportingkb-ref
refactor(documents-sidebar): convert discarded isExportingKB state to ref
2026-04-20 20:57:07 -07:00
Anish Sarkar
9fded124fe feat: add IF NOT EXISTS clause to unique index creation for Obsidian connectors to prevent errors during upgrades 2026-04-21 04:37:45 +05:30
Anish Sarkar
54ce2666f5 feat: implement cross-device deduplication for Obsidian connectors using vault fingerprinting and enhance connector management 2026-04-21 04:21:33 +05:30
Anish Sarkar
2d90ed0fec feat: deactivate legacy Obsidian connectors and implement partial unique index for improved upsert handling 2026-04-21 03:18:44 +05:30
DESKTOP-RTLN3BA\$punk
24383a3741 feat: add auto-launch functionality for desktop app
- Implemented IPC channels for managing auto-launch settings.
- Enhanced main process to handle auto-launch behavior on startup.
- Updated UI components to allow users to configure launch options.
- Integrated analytics tracking for auto-launch events.

This commit introduces the ability for users to enable or disable the application launching at system startup, along with options for starting minimized to the tray.
2026-04-20 12:42:06 -07:00
Anish Sarkar
4d3406341d feat: add file size tracking and sync interval settings to Obsidian plugin for improved reconciliation and performance 2026-04-20 23:48:51 +05:30
Anish Sarkar
28d3c628f1 feat: enhance Obsidian plugin with folder management features, including inclusion/exclusion settings and a status modal for real-time updates 2026-04-20 23:13:49 +05:30
Anish Sarkar
2251e464c7 feat: enhance Obsidian plugin with new stats feature, improved error handling, and streamlined device management 2026-04-20 21:07:15 +05:30
Anish Sarkar
54e66e131a feat: remove plugin version references from Obsidian plugin routes, schemas, and UI components for cleaner integration 2026-04-20 19:49:58 +05:30
Anish Sarkar
87150a6d7f feat: enhance Obsidian plugin routes with for_update parameter for improved concurrency handling 2026-04-20 19:24:36 +05:30
Anish Sarkar
b5c9388c8a feat: refine Obsidian plugin routes and schemas for improved device management and API stability 2026-04-20 18:19:30 +05:30
Matt Van Horn
8cf957b301
fix(theme-toggle): use functional setIsDark in toggleTheme (#1247)
Closes #1247.

toggleTheme's previous implementation read isDark from the closure via
setIsDark(!isDark), which forced isDark into the useCallback dependency
array. As a result toggleTheme's reference changed on every click,
invalidating any downstream memoization.

Switched to the functional updater setIsDark((prev) => !prev) and
dropped isDark from the dependency list. The sibling setCrazyLightTheme
and setCrazyDarkTheme callbacks already use this pattern (they pass
concrete values to setIsDark without listing isDark in deps), so this
keeps the three theme callbacks consistent.

No observable behavior change — clicking the theme toggle still flips
isDark. The callback reference is now stable between clicks, which is
also safer under concurrent updates per React's standard guidance.
2026-04-20 01:58:20 -07:00
Anish Sarkar
60d9e7ed8c feat: introduce SurfSense plugin for Obsidian with syncing capabilities and enhanced settings management 2026-04-20 04:04:19 +05:30
Anish Sarkar
ee2fb79e75 feat: update Obsidian connector to support plugin-based syncing and improve UI components 2026-04-20 04:03:45 +05:30
Anish Sarkar
e8fc1069bc feat: implement Obsidian plugin ingestion routes and indexing service 2026-04-20 04:03:19 +05:30
Anish Sarkar
f903bcc80d feat: add GitHub workflows for linting and releasing Obsidian plugin 2026-04-20 04:02:54 +05:30
Anish Sarkar
7fbd684b44 feat: initialize Obsidian sample plugin with essential files and configurations 2026-04-19 23:48:18 +05:30
Tacite243
be2e011375 perf: lazy-load DocumentTabContent to reduce initial dashboard bundle size 2026-04-19 14:50:55 +02:00
Tacite243
8fba46893f refactor: move model selector reset logic to event handlers 2026-04-19 14:06:18 +02:00
Aaron Sequeira
2d4adcea64 fix(dialogs): move open-reset effects into onOpenChange handlers 2026-04-19 16:09:34 +05:30
Matt Van Horn
c2e52fbb48
refactor(documents-sidebar): convert discarded isExportingKB state to ref
Closes #1250
2026-04-18 23:15:31 -07:00
DESKTOP-RTLN3BA\$punk
7a389e7a25 fix: alembic migration nos 2026-04-18 16:05:18 -07:00
DESKTOP-RTLN3BA\$punk
ba87d3d9e0 Merge commit '2b2453e015' into dev_mod 2026-04-18 15:03:53 -07:00
DESKTOP-RTLN3BA\$punk
b440610e04 feat: implement analytics tracking for desktop app events
- Added event tracking for desktop app activation and quitting.
- Introduced analytics bridge in preload script to handle user identification and event capturing.
- Updated IPC channels to support analytics-related actions.
- Enhanced analytics functionality in the main process to track user interactions and application updates.
- Integrated analytics tracking for folder watching and deep link handling.
- Improved connector setup tracking in the web application.

This commit enhances the overall analytics capabilities of the application, ensuring better user behavior insights and event tracking across both desktop and web environments.
2026-04-18 14:35:14 -07:00
Anish Sarkar
2e026549be chore: update alembic migration numbers 2026-04-18 16:22:20 +05:30
Rohan Verma
2b2453e015
Merge pull request #1240 from AnishSarkar22/feat/resume-builder
Some checks failed
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
feat: resume builder
2026-04-17 13:41:32 -07:00
Rohan Verma
2270b4c68a
Merge pull request #1255 from mvanhorn/osc/1249-remove-unused-scrolled-state-v2
fix(new-chat): remove unused _hasScrolledToCited state in source-detail-panel
2026-04-17 13:34:04 -07:00
Anish Sarkar
0fa32c3a10 chore: ran linting 2026-04-17 16:45:14 +05:30
Matt Van Horn
dbd1706811
fix(new-chat): remove unused _hasScrolledToCited state in source-detail-panel
The useState was declared but its value was never read in render
(only the setter was called). Each setter call scheduled a re-render
that changed nothing visible.

The actual scroll/highlight behavior is driven by hasScrolledRef
and setActiveChunkIndex; this state was effectively dead.

Closes #1249
2026-04-17 02:00:29 -04:00
Rohan Verma
b38a297349
Merge pull request #1254 from MODSetter/dev
Some checks failed
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
chore: added missed changelogs
2026-04-16 22:24:57 -07:00
DESKTOP-RTLN3BA\$punk
425e1b8830 Merge commit 'ba2a2fd529' into dev 2026-04-16 22:21:42 -07:00
Rohan Verma
acab2358b3
Merge pull request #1253 from MODSetter/dev_mod
chore: added missed changelogs
2026-04-16 22:17:36 -07:00
DESKTOP-RTLN3BA\$punk
b613b4f9cd chore: added missed changelogs 2026-04-16 22:14:44 -07:00
Anish Sarkar
aef4c90107 refactor: update UI components for improved layout in assistant message, public chat footer, and report panel 2026-04-17 09:03:34 +05:30
DESKTOP-RTLN3BA\$punk
aacf38fd5f feat: fix anonymous chat message history
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-16 16:18:21 -07:00
Rohan Verma
c3b9d419ba
Merge pull request #1238 from xr843/ux/form-max-length
feat: add maxLength constraints to auth and settings form inputs
2026-04-16 15:51:43 -07:00
Rohan Verma
69ded37151
Merge pull request #1237 from xr843/a11y/nested-main-landmark
fix(a11y): remove nested <main> landmarks under (home) layout
2026-04-16 15:50:13 -07:00
Rohan Verma
cae137e7f8
Merge pull request #1233 from mvanhorn/osc/1092-clear-scroll-timers
fix: clear scroll-to-citation timers on panel close/unmount
2026-04-16 15:49:33 -07:00
Anish Sarkar
abf758997a feat: optimize PDF viewer performance with improved page rendering and visibility management 2026-04-16 23:44:15 +05:30