Commit graph

1835 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
2cb30c604d try: ip fix for cludflare
- Introduced AI File Sorting functionality to automatically organize documents into a smart folder hierarchy based on source, date, and topic.
- Updated README.md to include the new feature.
- Enhanced homepage components with new illustrations and descriptions for AI File Sorting.
- Refactored rate limiting logic to extract real client IPs more accurately.
2026-04-16 02:13:52 -07:00
DESKTOP-RTLN3BA\$punk
2f793e7a69 refactor: improve content extraction and encoding handling
- Enhanced Azure Document Intelligence parser to raise an error for empty or whitespace-only content.
- Updated LLMRouterService to log premium model strings more clearly.
- Added automatic encoding detection for file reading in document processors.
- Improved error handling for empty markdown content extraction in file processors.
- Refactored DocumentUploadTab component for better accessibility and user interaction.
2026-04-16 00:25:46 -07:00
DESKTOP-RTLN3BA\$punk
4a51ccdc2c cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07:00
DESKTOP-RTLN3BA\$punk
ff4e0f9b62 feat: no login experience and prem tokens
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-15 17:02:00 -07:00
Rohan Verma
87452bb315
Merge pull request #1232 from xr843/fix/clear-announcement-toast-stagger-timers
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(web): clear announcement stagger timers on unmount
2026-04-15 10:47:43 -07:00
Rohan Verma
5bbb7b98cc
Merge pull request #1230 from xr843/fix/memoize-zero-provider-opts
fix(web): memoize Zero provider opts to prevent reconnect churn
2026-04-15 10:46:57 -07:00
Rohan Verma
5b8fdff6b6
Merge pull request #1229 from xr843/fix/remove-react-dom-server
fix(web): drop react-dom/server from inline-mention-editor bundle
2026-04-15 10:46:19 -07:00
Tim Ren
c03a1e177a fix(web): clear announcement stagger timers on unmount
The cleanup for the announcement-toast effect only cleared the outer
1500ms timer, leaving the per-announcement stagger timers (i * 800ms)
untracked. If the root layout unmounts during the stagger window, those
timers fire after cleanup and attempt to toast against a dead tree.

Track the inner timer ids in an array and clear them alongside the outer
timer in the effect cleanup.

Fixes #1094.
2026-04-15 20:07:20 +08: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
Tim Ren
2727aebcc6 fix(web): drop react-dom/server from inline-mention-editor bundle
Replace ReactDOMServer.renderToString with a tiny createRoot + flushSync
helper so react-dom/server is no longer pulled into the client bundle on
every chat page load. react-dom is already in the bundle (React itself
uses it), so this adds zero new runtime weight.

Fixes #1189.
2026-04-15 20:01:16 +08:00
Trevin Chow
95130d894c refactor: extract shared TYPE_ICONS into dedicated module
Move the duplicated TYPE_ICONS record from citation.tsx and
citation-list.tsx into a new type-icons.ts module so the mapping lives
in one place and both components import from the same source.

Resolves #1190
2026-04-14 23:22:29 -07:00
DESKTOP-RTLN3BA\$punk
656e061f84 feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux
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
- Introduced a `ProcessingMode` enum to differentiate between basic and premium processing modes.
- Updated `EtlRequest` to include a `processing_mode` field, defaulting to basic.
- Enhanced ETL pipeline services to utilize the selected processing mode for Azure Document Intelligence and LlamaCloud parsing.
- Modified various routes and services to handle processing mode, affecting document upload and indexing tasks.
- Improved error handling and logging to include processing mode details.
- Added tests to validate processing mode functionality and its impact on ETL operations.
2026-04-14 21:26:00 -07:00
Rohan Verma
b659f41bab
Merge pull request #1225 from oscarzhou511/feat/obsidian-connector-visibility
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: improve Obsidian connector visibility and desktop sync flow
2026-04-14 13:10:57 -07:00
Anish Sarkar
a74ed014cc refactor: update UI components for better accessibility and styling consistency 2026-04-14 21:50:34 +05:30
Anish Sarkar
2021f6c4b7 refactor: simplify AI sort button implementation and improve styling 2026-04-14 21:39:11 +05:30
Anish Sarkar
292fcb1a2c feat: enhance model selector UI abd added github models icon 2026-04-14 20:35:16 +05:30
Anish Sarkar
8fd7664f8f Merge remote-tracking branch 'upstream/dev' into feat/token-calculation 2026-04-14 15:49:39 +05:30
Anish Sarkar
833799457b feat: integrate new LLM configuration handling and enhance model display in message info dropdown 2026-04-14 15:35:04 +05:30
Anish Sarkar
f21bdc0668 feat: enhance LLM response handling and token usage tracking in chat services and UI components 2026-04-14 15:29:02 +05:30
Oscar Zhou
204dac2c3a feat: improve Obsidian connector visibility and desktop sync flow 2026-04-14 19:07:14 +09:30
Anish Sarkar
5510c1de03 feat: integrate token usage context and enhance message info display in chat UI 2026-04-14 14:47:59 +05:30
Rohan Verma
91c2c06108
Merge pull request #1222 from oscarzhou511/perf/issue-1089-image-sizes
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
perf: optimize next/image sizes with dynamic maxWidth (#1089)
2026-04-14 01:51:50 -07:00
Rohan Verma
888e1d9cec
Merge pull request #1221 from oscarzhou511/refactor/issue-1194-move-utils
refactor: move pure utility functions out of UI components (#1194)
2026-04-14 01:51:16 -07:00
DESKTOP-RTLN3BA\$punk
4bee367d4a feat: added ai file sorting 2026-04-14 01:43:30 -07:00
Oscar Zhou
0bdc08162e perf: optimize next/image sizes with dynamic maxWidth (#1089) 2026-04-14 17:58:45 +09:30
Anish Sarkar
55099a20ac feat: enhance token usage tracking in chat messages with UI integration and dropdown display 2026-04-14 13:40:46 +05:30
Oscar Zhou
d37417cbe9 refactor: move pure utility functions out of UI components (#1194) 2026-04-14 17:39:11 +09:30
DESKTOP-RTLN3BA\$punk
fa0b47dfca feat: add FAQ section to pricing component with dynamic question handling and styling improvements 2026-04-13 22:53:44 -07:00
DESKTOP-RTLN3BA\$punk
5d3142332b Merge commit 'e1e4bb4706' into dev_mod 2026-04-13 20:35:04 -07:00
DESKTOP-RTLN3BA\$punk
b5301fa438 feat: enhance sandbox functionality with threading support and file download capabilities 2026-04-13 16:41:46 -07:00
DESKTOP-RTLN3BA\$punk
38b9e8dcc5 feat: reworked model selector 2026-04-13 16:10:29 -07:00
Anish Sarkar
136901276a Merge remote-tracking branch 'upstream/dev' into fix/sensitive-actions 2026-04-14 04:10:00 +05:30
Anish Sarkar
26695b949e refactor: enhance ThreadContent layout and improve navigation handling in LayoutDataProvider 2026-04-14 03:57:37 +05:30
Anish Sarkar
43744713f7 refactor: simplify Composer component logic and improve message submission handling 2026-04-14 02:38:49 +05:30
Anish Sarkar
3d1a504395 refactor: streamline Composer component by removing unused state and simplifying popover handling 2026-04-14 01:50:37 +05:30
Anish Sarkar
2b40592f0b feat: add Agent Model Manager component for managing LLM configurations and enhance UI in related components 2026-04-14 01:30:30 +05:30
Anish Sarkar
f22d7434ce refactor: enhance layout and styling in settings components for improved UI consistency 2026-04-14 01:10:35 +05:30
Anish Sarkar
ae3d254a2c refactor: enhance inline mention editor and prompt picker UI with improved trigger handling and loading states 2026-04-14 00:10:57 +05:30
Anish Sarkar
ec27807644 refactor: improve document processing error handling and UI state management 2026-04-13 22:22:50 +05:30
Anish Sarkar
635cdde0eb refactor: enhance roles manager component with expanded role details and improved permissions display 2026-04-13 21:45:53 +05:30
Anish Sarkar
25644e1c0b refactor: replace Eye icon with ScanEye in multiple components and enhance model not found messages 2026-04-13 21:36:07 +05:30
Anish Sarkar
b6e2510e55 refactor: remove export functionality from DocumentsFilters and streamline DocumentsSidebar export handling 2026-04-13 21:25:17 +05:30
Anish Sarkar
fce465a40f refactor: simplify layout structure in user settings components 2026-04-13 21:06:16 +05:30
Anish Sarkar
71f4f77f26 refactor: unify interrupt handling in various tools
Refactored the context types for create, delete, and update functionalities across multiple tools including Confluence, Dropbox, Gmail, Google Calendar, Jira, Linear, Notion, and OneDrive to utilize a consistent type definition. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:25:49 +05:30
Anish Sarkar
041af34820 refactor: unify interrupt handling in OneDrive tools
Refactored the create and delete file functionalities in OneDrive tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:23:03 +05:30
Anish Sarkar
5169d3d56c refactor: unify interrupt handling in Linear and Notion tools
Refactored the create, update, and delete functionalities in Linear and Notion tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:22:47 +05:30
Anish Sarkar
e6065b6793 refactor: unify interrupt handling in Gmail and Google Calendar tools
Refactored the create, send, update, and delete functionalities in Gmail and Google Calendar tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:22:26 +05:30
Anish Sarkar
71cd04b05e refactor: unify interrupt handling in Dropbox and Google Drive tools
Refactored the create and delete file functionalities in Dropbox and Google Drive tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:21:16 +05:30
Anish Sarkar
f844c3288c refactor: unify interrupt handling in Confluence and Jira tools
Refactored the create, delete, and update functions in Confluence and Jira tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals across different tools by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:20:38 +05:30
Anish Sarkar
ea7bcebcd0 refactor: integrate HITL approval UI for interrupt results
Enhanced the NewChatPage to utilize the new GenericHitlApprovalToolUI for handling interrupt results. Updated the ToolFallback component to conditionally render the approval UI based on the result type. Additionally, introduced a new GenericHitlApprovalToolUI component to manage user approvals and parameter editing for tool actions.
2026-04-13 20:19:23 +05:30