Commit graph

1273 commits

Author SHA1 Message Date
CREDO23
83d6b735fa display user avatar in shared chat messages 2026-01-14 19:46:37 +02:00
CREDO23
a8918b9cca include author info in message response 2026-01-14 18:36:48 +02:00
CREDO23
e9d164007d save author_id when appending message 2026-01-14 18:29:19 +02:00
CREDO23
468feae592 add author fields to NewChatMessageRead schema 2026-01-14 18:27:21 +02:00
CREDO23
efcc394b0c migration: add author_id to messages 2026-01-14 18:24:28 +02:00
CREDO23
d89bcf13c3 add author_id to NewChatMessage model 2026-01-14 17:56:45 +02:00
CREDO23
924e621a6b feat: add migration 0 for initial schema setup 2026-01-14 17:04:37 +02:00
CREDO23
3ad2dbeeaf fix: fetch Google profile with names,photos fields 2026-01-14 15:05:48 +02:00
CREDO23
87e1374c72 add profile fields to UserRead and UserUpdate 2026-01-14 14:37:50 +02:00
CREDO23
acb9ba5a88 capture Google profile in oauth_callback 2026-01-14 14:37:42 +02:00
CREDO23
2e2534ccac migration: add user profile columns 2026-01-14 14:37:29 +02:00
CREDO23
596cef1952 add display_name and avatar_url to User model 2026-01-14 14:37:16 +02:00
Anish Sarkar
7023223213 chore: ran backend linting 2026-01-14 13:28:50 +05:30
Anish Sarkar
1ea0475f73 refactor: Improve indexing notification handling and return values
- Enhanced error handling in the indexing process to differentiate between actual failures and cases where no new documents are processed.
- Updated notification messages to reflect the status accurately, including a message for when no new items are synced.
- Standardized return values across various indexer tasks to return `None` on success, simplifying logging and error management.
2026-01-14 13:16:11 +05:30
Anish Sarkar
460dc0dec8 feat: Enhance notification model and UI components
- Added an `updated_at` timestamp field to the Notification model for better tracking of notification updates.
- Updated the NotificationButton component to change the unread notification badge color for improved visibility.
- Adjusted the NotificationPopup component's layout and text handling for better responsiveness and readability.
2026-01-14 04:35:59 +05:30
Anish Sarkar
9d0f5b4249 fix: Ensure notification updates are reliable during error handling
- Added session refresh for notifications to prevent stale data after rollbacks in multiple document processing tasks.
- Wrapped notification update logic in try-except blocks to handle potential failures gracefully and log errors without crashing the process.
- Improved error handling for notification updates in various document processing functions, enhancing overall robustness.
2026-01-14 04:01:20 +05:30
Manoj Aggarwal
514bf28c2f remove gemini specific method 2026-01-13 14:30:48 -08:00
Manoj Aggarwal
f00a2f1a52 fix: make MCP migrations linear after dev branch migrations 2026-01-13 14:14:42 -08:00
Manoj Aggarwal
de1658cd88 fix: resolve alembic migration conflicts by using unique revision ID for MCP migration 2026-01-13 14:10:59 -08:00
Manoj Aggarwal
0c3e25a07b fix linting issues with ruff 2026-01-13 13:57:04 -08:00
Manoj Aggarwal
063c272b98 remove is_active functionality from MCP connectors 2026-01-13 13:53:18 -08:00
Manoj Aggarwal
305a981d14 feat: add MCP connector backend support 2026-01-13 13:46:01 -08:00
Anish Sarkar
69f46ff3f4 feat: Add notifications API routes and integrate with frontend
- Introduced new notifications API routes for marking notifications as read and marking all as read, with automatic syncing via Electric SQL.
- Updated the frontend hook to utilize the new API for marking notifications as read, enhancing the user experience with real-time updates.
- Included necessary response models for API interactions.
2026-01-14 02:59:58 +05:30
Anish Sarkar
fede7413fb fix: fixed notifications table and Electric SQL replication setup. Removed redirects for upload button 2026-01-14 02:33:43 +05:30
Anish Sarkar
5bd6bd3d67 chore: ran both frontend and backend linting 2026-01-14 02:05:40 +05:30
Anish Sarkar
99bd2df463 Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-14 02:04:54 +05:30
CREDO23
443e877a59 Make migration 55 idempotent 2026-01-13 20:13:50 +02:00
CREDO23
dcc6e067bd Make migration 52 idempotent 2026-01-13 20:13:30 +02:00
CREDO23
6f15655552 Make migration 49 idempotent 2026-01-13 20:13:19 +02:00
CREDO23
e99e2134fa Make migration 34 idempotent 2026-01-13 20:13:13 +02:00
CREDO23
60a7269ce8 Make migration 24 idempotent 2026-01-13 20:13:08 +02:00
CREDO23
8ed295c053 Make migration 10 idempotent 2026-01-13 20:13:03 +02:00
CREDO23
2af555f1d7 Make migration 5 idempotent 2026-01-13 20:12:58 +02:00
CREDO23
d256fdc7a5 Make migration 1 idempotent 2026-01-13 20:12:51 +02:00
Anish Sarkar
48b67d9bc1 fix: remove the document processing UI which used polling 2026-01-13 19:31:31 +05:30
Anish Sarkar
12671ede0e feat: Enhance document processing notifications and refactor related services
- Introduced a new DocumentProcessingNotificationHandler to manage notifications for document processing stages.
- Updated existing notification methods to include detailed progress updates for various stages (queued, parsing, chunking, embedding, storing, completed, failed).
- Refactored NotificationService to support the new document processing notification type and metadata schema.
- Updated multiple document processing tasks to create and manage notifications throughout the processing lifecycle.
- Adjusted UI components to reflect changes in notification types and improve user experience during document uploads and processing.
2026-01-13 19:09:12 +05:30
Anish Sarkar
59a8ef5d64 refactor: Remove deprecated create_connector_indexed_notification method and add notification types
- Removed the deprecated create_connector_indexed_notification method from NotificationService.
- Introduced new notification types and schemas in notification.types.ts to standardize notification handling.
- Updated useNotifications hook to utilize the new notification type definitions.
2026-01-13 17:21:00 +05:30
Anish Sarkar
e38e6d90e0 feat: Add notifications table and integrate Electric SQL for real-time updates
- Introduced a new notifications table in the database schema to manage user notifications.
- Implemented Electric SQL replication setup for the notifications table, ensuring real-time synchronization.
- Updated existing database functions to support real-time updates for connectors and documents using Electric SQL.
- Refactored UI components to utilize new hooks for fetching connectors and documents, enhancing performance and user experience.
2026-01-13 16:54:06 +05:30
DESKTOP-RTLN3BA\$punk
d140f6393e feat: implement leave search space functionality for non-owners and update related UI components 2026-01-13 02:06:35 -08:00
DESKTOP-RTLN3BA\$punk
25b9118306 feat: implement search space deletion and fixed rback issues with shared chats 2026-01-13 01:45:58 -08:00
Rohan Verma
720b339702
Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00
CREDO23
5e31a228bc fix: consistent citation numbering during streaming 2026-01-13 09:09:53 +02:00
Anish Sarkar
7a92ecc1ab Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-13 11:52:46 +05:30
Anish Sarkar
b0bdbf158b feat: gogole drive custom notification system 2026-01-13 11:39:22 +05:30
Anish Sarkar
271ddffbf5 refactor: Add indexing functions with notification support
- Refactored multiple indexing functions in search_source_connectors_routes to utilize a new helper function for handling notifications.
- Removed redundant error handling and logging from individual indexing tasks, streamlining the code.
2026-01-13 11:30:45 +05:30
CREDO23
cd3677b5fa feat: add SurfSense docs mention support in chat 2026-01-13 06:14:58 +02:00
CREDO23
5ecdfae8a9 add surfsense docs context formatting in stream_new_chat 2026-01-13 02:50:56 +02:00
CREDO23
7e3e784b45 add mentioned_surfsense_doc_ids to NewChatRequest schema 2026-01-13 02:42:59 +02:00
CREDO23
738e23b51a Add SurfSense docs to documents table 2026-01-13 01:15:33 +02:00