Commit graph

2526 commits

Author SHA1 Message Date
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
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
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
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
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
CREDO23
4cb835f19f Integrate live message sync for shared chat collaboration 2026-01-22 18:43:32 +02:00
CREDO23
12437f840a Add new_chat_messages table to PGlite and create useMessagesElectric hook 2026-01-22 18:43:20 +02:00
CREDO23
0b8fed7304 Add thread-level Electric sync for comments, remove per-message hooks 2026-01-22 17:57:20 +02:00
CREDO23
4b57ba9d2b Add chat_comments table to PGlite schema and thread_id to types 2026-01-22 17:56:45 +02:00
CREDO23
ac7d84571d Add thread_id to chat_comments for Electric sync 2026-01-22 17:27:42 +02:00
Anish Sarkar
3a1fa25a6f refactor: streamline markAllAsRead method in notifications API service
- Simplified the return statement in the markAllAsRead method for improved readability and consistency.
2026-01-22 19:08:13 +05:30
CREDO23
3ab9cc8485 Restore API-based comments and remove unstable live sync integration 2026-01-22 15:05:00 +02:00
Anish Sarkar
00596f991d refactor: enhance inbox functionality with type guards and API service integration
- Introduced type guards for metadata in InboxSidebar to ensure safe access and improve type safety.
- Refactored the useInbox hook to utilize the new notifications API service for fetching notifications, enhancing validation and error handling.
- Added new API request/response schemas for notifications, improving structure and clarity.
- Updated logic for loading and marking notifications as read, ensuring consistent state management and user experience.
2026-01-22 18:32:25 +05:30
Anish Sarkar
c98cfac49f refactor: improve InboxSidebar and useInbox hook
- Added LayoutGrid icon to the "All connectors" option in the InboxSidebar for better visual representation.
- Simplified the return statement in getConnectorTypeDisplayName for improved readability.
- Refactored filter and drawer components in InboxSidebar for cleaner code structure.
- Removed unused totalUnreadCount state from useInbox hook and replaced it with a memoized calculation for better performance.
- Implemented optimistic updates for marking inbox items as read, enhancing user experience with immediate feedback.
2026-01-22 17:46:44 +05:30
Anish Sarkar
be7ba76417 chore: ran backend and frontend linting 2026-01-22 16:07:06 +05:30
Anish Sarkar
3d4a8f981c Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-22 16:03:37 +05:30
Anish Sarkar
a449e7e2a6 feat: enhance notifications API and inbox functionality
- Added a new endpoint to list notifications with pagination, allowing users to fetch older notifications beyond the sync window.
- Introduced response models for notifications and improved error handling for date filtering.
- Updated the useInbox hook to support API fallback for loading older notifications when Electric SQL returns no recent items.
- Implemented deduplication and sorting logic for inbox items to prevent race conditions and ensure consistent data display.
- Enhanced loading logic for inbox items, including improved pagination and handling of loading states.
2026-01-22 16:02:25 +05:30
Rohan Verma
eda79a27f0
Merge pull request #723 from elammertsma/main
Reorganized and simplified LLM config form
2026-01-21 22:59:55 -08:00
DESKTOP-RTLN3BA\$punk
12b825bff0 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-01-21 22:58:48 -08:00
DESKTOP-RTLN3BA\$punk
8c625d4237 feat: composio connector 2026-01-21 22:57:58 -08:00
Manoj Aggarwal
88a9a5bef2 format 2026-01-21 22:54:09 -08:00
Anish Sarkar
36f1d28632 feat: implement infinite scroll and pagination for inbox items
- Enhanced the inbox functionality by adding infinite scroll support in the InboxSidebar, allowing users to load more items seamlessly as they scroll.
- Updated the useInbox hook to manage pagination, including loading states and item counts, improving performance with large datasets.
- Introduced new props in InboxSidebar for loading more items, handling loading states, and indicating if more items are available.
- Refactored the LayoutDataProvider to accommodate the new inbox loading logic, ensuring a smooth user experience.
2026-01-22 11:27:45 +05:30
Manoj Aggarwal
8a83424be5 Add support for obsidian to surfsense 2026-01-21 15:21:06 -08:00