Commit graph

2545 commits

Author SHA1 Message Date
Anish Sarkar
d20bb385b5 feat: enhance date handling and indexing logic across connectors
- Added normalization for "undefined" strings to None in date parameters to prevent parsing errors.
- Improved date range validation to ensure start_date is strictly before end_date, adjusting end_date if necessary.
- Updated Google Calendar and Composio connector indexing logic to handle duplicate content more effectively, logging warnings for skipped events.
- Enhanced error handling during final commits to manage integrity errors gracefully.
- Refactored date handling in various connector indexers for consistency and reliability.
2026-01-23 23:03:29 +05:30
Anish Sarkar
08f16b43d7 feat: enhance Composio connector naming logic and improve UI focus
- Updated the Composio connector naming logic to dynamically generate user-friendly names based on existing connectors.
- Introduced new utility functions for counting connectors and retrieving base names for specific connector types.
- Enhanced the UI components to improve accessibility and focus management, ensuring a better user experience when interacting with connector dialogs.
2026-01-23 20:36:00 +05:30
Anish Sarkar
12f45e1bd3 feat: streamline Composio connector configurations and enhance UI interactions
- Refactored Composio connector configuration components to improve modularity and maintainability.
- Simplified the ComposioCalendarConfig, ComposioGmailConfig, and ComposioDriveConfig components by removing unnecessary state management and UI elements.
- Added functionality to remove selected folders and files in the Google Drive and Composio Drive configurations, enhancing user experience.
- Updated connector display names for better clarity in the UI.
- Improved the overall structure of the connector edit view for better readability and usability.
2026-01-23 20:19:04 +05:30
Anish Sarkar
1343fabeee feat: refactor composio connectors for modularity 2026-01-23 19:56:19 +05:30
Anish Sarkar
8d8f69545e feat: improve Google Calendar and Gmail connectors with enhanced error handling
- Added user-friendly re-authentication messages for expired or revoked tokens in both Google Calendar and Gmail connectors.
- Updated error handling in indexing tasks to log specific authentication errors and provide clearer feedback to users.
- Enhanced the connector UI to handle indexing failures more effectively, improving overall user experience.
2026-01-23 18:57:10 +05:30
Anish Sarkar
29382070aa feat: enhance Composio connector functionality with Google Drive delta sync support
- Added methods to retrieve the starting page token and list changes in Google Drive, enabling delta sync capabilities.
- Updated Composio service to handle file download directory configuration.
- Modified indexing tasks to support delta sync, improving efficiency by processing only changed files.
- Adjusted date handling in connector tasks to allow optional start and end dates.
- Improved error handling and logging throughout the Composio indexing process.
2026-01-23 18:37:09 +05:30
Anish Sarkar
9c5c925fca feat: update Obsidian connector UI and icon 2026-01-23 14:50:06 +05:30
Anish Sarkar
fae52345f8 Merge remote-tracking branch 'upstream/dev' into feat/composio 2026-01-23 14:35:17 +05:30
Anish Sarkar
6a41b0f608 feat: enhance Composio and Google Drive connector functionality
- Added support for extracting connected account IDs from query parameters in the Composio callback, accommodating both camelCase and snake_case formats.
- Improved logging for received query parameters in the Composio callback to enhance debugging.
- Updated Google Drive folder listing logs to remove unnecessary emoji for consistency.
- Expanded the connector dialog to include Composio Google Drive as a recognized connector type, improving user interface clarity.
2026-01-23 14:12:57 +05:30
DESKTOP-RTLN3BA\$punk
7068d13983 chore(deps): updated posthog 2026-01-23 00:09:48 -08:00
Rohan Verma
73355c798c
Merge pull request #732 from MODSetter/dev
security: CVE-2025-68664 fix
2026-01-22 22:40:18 -08:00
DESKTOP-RTLN3BA\$punk
4b19d7be8c security: CVE-2025-68664 fix 2026-01-22 22:34:49 -08:00
Rohan Verma
da165e6f53
Merge pull request #724 from manojag115/feature/obsidian
Add obsidian connector to surfsense
2026-01-22 21:43:31 -08:00
Manoj Aggarwal
114152ccc4 add missing migration 2026-01-22 20:58:18 -08:00
Manoj Aggarwal
49d51ba569 merge 2026-01-22 20:57:48 -08:00
DESKTOP-RTLN3BA\$punk
2ea9f27ed1 Merge commit '2fd09cb48c' into dev 2026-01-22 18:09:00 -08:00
Rohan Verma
744fc4c66c
Merge pull request #730 from elammertsma/dev
Fixed merge conflicts after minor layout changes in main interface
2026-01-22 18:08:16 -08:00
Rohan Verma
2fd09cb48c
Merge pull request #729 from MODSetter/dev
feat: introduced real time chats, comments and notification inbox
2026-01-22 16:50:17 -08:00
DESKTOP-RTLN3BA\$punk
8b81507739 refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
Eric Lammertsma
b91d86021c
Merge branch 'MODSetter:dev' into dev 2026-01-22 19:43:06 -05:00
Eric Lammertsma
089beb8d8c Merge upstream/dev - preserve local UI enhancements (Logs in menu, conditional search, hover edit buttons) 2026-01-22 19:41:11 -05:00
DESKTOP-RTLN3BA\$punk
eb509810f1 fix(temp-hotpatch): Disabling composio until fixed. 2026-01-22 16:35:28 -08:00
Eric Lammertsma
8dc1ae8b6c fix: use searchSpaceId from params to prevent malformed URL in Logs navigation 2026-01-22 19:29:29 -05:00
DESKTOP-RTLN3BA\$punk
ed931bb404 fix: live comment sync in shared chats
- Added a method to find existing notifications by mention ID to prevent duplicate notifications.
- Updated notify_new_mention to check for existing notifications before creating a new one, ensuring idempotency.
- Implemented error handling for race conditions during notification creation, allowing retrieval of existing notifications in case of duplicate key errors.
- Improved documentation for clarity on the use of mention_id for idempotency.
2026-01-22 16:04:08 -08:00
Anish Sarkar
8a0b8346a5 chore: ran linting 2026-01-23 05:28:18 +05:30
Anish Sarkar
42752bbeab feat: improve Composio file processing and error handling
- Enhanced the handling of file content from Composio, supporting both binary and text files with appropriate processing methods.
- Introduced robust error logging and handling for file content extraction, ensuring better visibility into issues during processing.
- Updated the indexing logic to accommodate new content processing methods, improving overall reliability and user feedback on errors.
- Added temporary file handling for binary files to facilitate text extraction using the ETL service.
2026-01-23 05:28:03 +05:30
Anish Sarkar
7ec7ed5c3b feat: enhance Composio Google Drive integration with folder and file selection
- Added a new endpoint to list folders and files in a user's Composio Google Drive, supporting hierarchical structure.
- Implemented UI components for selecting specific folders and files to index, improving user control over indexing options.
- Introduced indexing options for maximum files per folder and inclusion of subfolders, allowing for customizable indexing behavior.
- Enhanced error handling and logging for Composio Drive operations, ensuring better visibility into issues during file retrieval and indexing.
- Updated the Composio configuration component to reflect new selection capabilities and indexing options.
2026-01-23 05:17:28 +05:30
Anish Sarkar
e6a4ac7c9c fix: change animation from spring to tween for sliding 2026-01-23 04:56:15 +05:30
Rohan Verma
99b8a6c970
Merge pull request #727 from CREDO23/sur-100-feat-shared-chats-live-collaboration
[Feature] Implement live collaboration in shared threads
2026-01-22 15:21:40 -08:00
Anish Sarkar
4cbf80d73a feat: enhance Composio integration with pagination and improved error handling
- Updated the list_gmail_messages method to support pagination with page tokens, allowing for more efficient message retrieval.
- Modified the return structure to include next_page_token and result_size_estimate for better client-side handling.
- Improved error handling and logging throughout the Gmail indexing process, ensuring better visibility into failures.
- Implemented batch processing for Gmail messages, committing changes incrementally to prevent data loss.
- Ensured consistent timestamp updates for connectors, even when no documents are indexed, to maintain accurate UI states.
- Refactored the indexing logic to streamline message processing and enhance overall performance.
2026-01-23 04:44:37 +05:30
Anish Sarkar
6139b07a66 fix: remove toolkit view 2026-01-23 03:57:02 +05:30
Eric Lammertsma
1f05cf2854 Moved the Documents sidebar item to the bottom, above the page count 2026-01-22 16:24:46 -05:00
Eric Lammertsma
30469b4941 Made numerous minor layout changes to main layout and sidebar 2026-01-22 16:23:44 -05:00
Manoj Aggarwal
4b60a2b805 nit 2026-01-22 13:01:10 -08:00
CREDO23
1a2fa23916 Merge upstream/dev with live collaboration features 2026-01-22 23:00:42 +02:00
Anish Sarkar
0cd65e9339 Merge remote-tracking branch 'upstream/dev' into feat/composio 2026-01-23 02:05:52 +05:30
Manoj Aggarwal
b2eaf1ea94 missing migration 2026-01-22 12:01:35 -08:00
Manoj Aggarwal
a680759c23 explicitly remove obsidian when cloud 2026-01-22 12:01:19 -08:00
Rohan Verma
2065009bbd
Merge pull request #721 from AnishSarkar22/feat/inbox
feat: introduce inbox with some fixes
2026-01-22 11:44:38 -08:00
Manoj Aggarwal
5426c6e80d bluff 2026-01-22 11:44:12 -08:00
Manoj Aggarwal
f0760c14e9 Merge dev into feature/obsidian - resolved conflicts keeping both Obsidian and Composio connectors 2026-01-22 11:43:18 -08:00
CREDO23
03445a5e07 Fix auto-scroll by explicitly enabling it on ThreadViewport
The turnAnchor="top" setting caused autoScroll to default to false.
2026-01-22 20:54:09 +02:00
CREDO23
b1b63c6740 Simplify live message sync using Electric as source of truth 2026-01-22 20:40:49 +02:00
Manoj Aggarwal
151b93b31a update prompt 2026-01-22 10:30:34 -08:00
Manoj Aggarwal
8d44e6acd3 Add comment in docker-compose for obsidian 2026-01-22 10:04:34 -08:00
Eric Lammertsma
ee60d72d2f Moved the Documents sidebar item to the bottom, above the page count 2026-01-22 12:41:49 -05:00
Anish Sarkar
4bff1e8c10 Merge branch 'feat/inbox' into feat/composio 2026-01-22 23:02:00 +05:30
Eric Lammertsma
6c5223e262 Made numerous minor layout changes to main layout and sidebar 2026-01-22 12:26:37 -05:00
Anish Sarkar
076de2f3d7 feat: add unread count endpoint and update inbox logic
- Introduced a new API endpoint to fetch unread notification counts, providing both total and recent counts for better tracking.
- Updated the useInbox hook to manage separate states for older and recent unread counts, enhancing user experience with real-time updates.
- Implemented logic to handle marking notifications as read, ensuring accurate count adjustments for both recent and older items.
- Enhanced type definitions in the inbox types to support the new unread count functionality.
2026-01-22 22:56:02 +05:30
CREDO23
39d434b00c Centralize chat session state sync with single subscription via atom 2026-01-22 19:04:23 +02:00