Commit graph

2840 commits

Author SHA1 Message Date
Anish Sarkar
b5921bf139 feat(markdown): enhance code block rendering for local web files and improve inline code styling 2026-04-23 20:47:00 +05:30
Anish Sarkar
a1d3356bf5 feat(editor): add reserveToolbarSpace option to enhance toolbar visibility management 2026-04-23 20:13:29 +05:30
Anish Sarkar
0381632bc2 refactor(editor): replace Loader2 with Spinner component and enhance save button visibility 2026-04-23 20:03:18 +05:30
Anish Sarkar
06b509213c feat(editor): add mode toggle functionality and improve editor state management 2026-04-23 19:52:55 +05:30
Anish Sarkar
9317b3f9fc refactor(editor): remove auto-save functionality and simplify SourceCodeEditor props 2026-04-23 19:25:59 +05:30
Anish Sarkar
fe9ffa1413 refactor(editor): improve SourceCodeEditor styling and enhance scrollbar behavior 2026-04-23 18:39:35 +05:30
Anish Sarkar
3f203f8c49 feat(editor): implement auto-save functionality and manual save command in SourceCodeEditor 2026-04-23 18:29:32 +05:30
Anish Sarkar
d397fec54f feat(editor): add SourceCodeEditor component for enhanced code editing experience 2026-04-23 18:21:50 +05:30
Anish Sarkar
bbc1c76c0d feat(editor): integrate Monaco Editor for local file editing and enhance language inference 2026-04-23 18:00:51 +05:30
Anish Sarkar
864f6f798a feat(filesystem): enhance local file handling in editor and IPC integration 2026-04-23 17:23:38 +05:30
Trevin Chow
a2ddf47650 refactor(anon-chat): route upload through anonymousChatApiService
Fixes #1245. Deduplicate the anonymous-chat file upload request, which
was inlined verbatim in DocumentsSidebar.tsx and free-composer.tsx
while anonymousChatApiService.uploadDocument already existed.

Key change: service now returns a discriminated result instead of
throwing on 409. Callers need to distinguish 409 (quota exceeded, ->
gate to login) from other non-OK responses (real errors, -> throw).

  export type AnonUploadResult =
    | { ok: true; data: { filename: string; size_bytes: number } }
    | { ok: false; reason: "quota_exceeded" };

Both call sites now do:

  const result = await anonymousChatApiService.uploadDocument(file);
  if (!result.ok) {
    if (result.reason === "quota_exceeded") gate("upload more documents");
    return;
  }
  const data = result.data;

Dropped the BACKEND_URL import in both files (no longer used). Verified
zero remaining /api/v1/public/anon-chat/upload references in
surfsense_web/.
2026-04-23 03:26:42 -07:00
Anish Sarkar
4899588cd7 feat(web): connect new chat UI to agent filesystem APIs 2026-04-23 15:46:39 +05:30
CREDO23
1712f454f8 fix: add spinner loading state to MCP test connection button 2026-04-23 09:45:25 +02:00
CREDO23
2eb0ff9e5e feat: add reauthentication endpoints for Linear and JIRA connectors 2026-04-23 08:57:56 +02:00
CREDO23
9bb117ffa7 feat: skip edit view for live connectors, disconnect directly from accounts list 2026-04-23 08:51:31 +02:00
CREDO23
80a349ea11 feat: add disconnect functionality for connectors with confirmation prompt 2026-04-23 08:50:49 +02:00
CREDO23
e3172dc282 fix: reactive 401 recovery for live MCP connectors and unified reauth endpoints 2026-04-23 08:27:11 +02:00
CREDO23
16f47578d7 Enhance MCP tool trust functionality to support OAuth-backed connectors and improve error handling in the UI. Refactor API calls to use baseApiService for consistency. 2026-04-23 08:03:32 +02:00
Rohan Verma
7245ab4046
Merge pull request #1294 from CREDO23/feature/mcp-migration
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] Live connector tools via MCP OAuth and native APIs
2026-04-22 21:00:28 -07:00
CREDO23
b6c506abef fix: treat all Gmail/Calendar as live connectors, hide indexing UI 2026-04-22 22:51:28 +02:00
CREDO23
4915675f45 Merge upstream/dev into feature/mcp-migration 2026-04-22 19:53:26 +02:00
Anish Sarkar
336bd57c4d refactor: enhance button loading states and styling in editor and sidebar components 2026-04-22 23:06:49 +05:30
Anish Sarkar
6ac5256431 feat: implement background processing for binary attachments in Obsidian plugin
- Added a new Celery task for indexing non-markdown attachments.
- Enhanced the Obsidian plugin schema to support binary attachments.
- Updated routes to enqueue binary attachments for background processing.
- Improved metadata handling for binary attachments during indexing.
- Added tests for binary attachment processing and validation.
2026-04-22 23:00:34 +05:30
Anish Sarkar
144e513068 feat: implement resume page limit functionality 2026-04-22 18:46:17 +05:30
Anish Sarkar
1d324f169f docs: enhance Obsidian connector installation instructions and add BRAT installation method 2026-04-22 17:34:27 +05:30
CREDO23
a4bc621c2a uniform connector UX across all connector types 2026-04-22 11:22:04 +02:00
CREDO23
dfa40b8801 fix MCP OAuth for all 5 services, add MCP connector edit view 2026-04-22 10:50:43 +02:00
DESKTOP-RTLN3BA\$punk
80d3f624d4 chore: linting 2026-04-22 01:05:31 -07:00
CREDO23
c277b6c121 skip indexing config dialog for non-indexable connectors 2026-04-22 09:01:35 +02:00
CREDO23
ea3508cb25 use native connector types for MCP OAuth, restore original UI 2026-04-22 08:57:28 +02:00
DESKTOP-RTLN3BA\$punk
bd2d6c07ff fix: summarization middleware usage 2026-04-21 22:13:41 -07:00
Rohan Verma
5353d4587f
Merge pull request #1287 from AnishSarkar22/fix/docker-host-gateway
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 internal backend URL configuration, internal host gateway & Ollama docs
2026-04-21 20:55:45 -07:00
Anish Sarkar
3eb4d55ef5 chore: ran linting 2026-04-22 06:40:39 +05:30
Anish Sarkar
4a75603d4f feat: implement sync notifications for Obsidian plugin
- Added functionality to create and update notifications during the Obsidian sync process.
- Improved handling of sync completion and failure notifications.
- Updated connector naming convention in various locations for consistency.
2026-04-22 06:38:51 +05:30
Anish Sarkar
ae264290d0 feat: update Obsidian connector UI and improve user instructions 2026-04-22 06:07:38 +05:30
Anish Sarkar
9ecccc5403 feat: implement dynamic API proxying to FastAPI backend
- Added a new route handler for dynamic API requests, allowing proxying to the FastAPI backend.
- Removed the previous rewrite configuration in next.config.ts for cleaner integration.
- Updated .env.example to clarify backend URL usage.
2026-04-22 05:44:03 +05:30
CREDO23
e676ebfabe remove live connectors from AUTO_INDEX_DEFAULTS 2026-04-21 21:52:54 +02:00
CREDO23
8b8c9b1f5d add Slack and Airtable MCP OAuth support 2026-04-21 21:38:24 +02:00
CREDO23
c414cc257f add frontend tiles for Linear, Jira, ClickUp MCP connectors 2026-04-21 21:20:54 +02:00
Anish Sarkar
22f8cb2cd3 feat: enhance obsidian connector doc and add notes for migration from legacy obsidian connector 2026-04-22 00:24:26 +05:30
Anish Sarkar
99623a85d5 refactor: remove legacy Obsidian connector support 2026-04-22 00:10:24 +05:30
CREDO23
c70f0ccf49 revert Notion auth URLs to classic OAuth endpoints 2026-04-21 20:34:08 +02:00
Rohan Verma
41ff15638c
Merge pull request #1281 from mvanhorn/osc/1248-handle-add-tag-functional
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
fix(hitl-edit-panel): move duplicate-tag check into functional setTags (#1248)
2026-04-21 11:22:09 -07:00
Anish Sarkar
16ea8e2401 Merge remote-tracking branch 'upstream/dev' into feat/obsidian-plugin 2026-04-21 23:35:22 +05:30
Anish Sarkar
7c23f31dc0 feat: add Ollama setup guide to documentation 2026-04-21 23:25:43 +05:30
Anish Sarkar
2657c9e871 feat: add internal backend URL configuration 2026-04-21 21:03:38 +05:30
DESKTOP-RTLN3BA\$punk
2b6c39ad6a chore: another bump
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-21 02:32:50 -07:00
DESKTOP-RTLN3BA\$punk
5ce7d52aa6 chore: bumped version 2026-04-21 02:14:42 -07:00
Matt Van Horn
7f0a5cd06a
fix(hitl-edit-panel): move duplicate-tag check into functional setTags
Fixes #1248

handleAddTag had tags in its useCallback dependency array only so the
closure-level duplicate check could read it, which forced the callback
to re-create on every tag mutation and compared new additions against
a potentially-stale closure value.

Collapse the duplicate check into the functional setTags updater so
the check always runs against the latest state, and drop tags from
the dependency array - the callback is stable for the component's
lifetime and downstream memoization won't get invalidated on every
keystroke.
2026-04-21 01:43:20 -07:00
DESKTOP-RTLN3BA\$punk
3f30b12bd4 feat: bumped version to v0.0.17 2026-04-21 01:38:52 -07:00