Commit graph

1075 commits

Author SHA1 Message Date
Anish Sarkar
e0be1b9133 chore: ran backend and frontend linting 2026-01-17 16:30:07 +05:30
Anish Sarkar
f538d59ca3 feat: enhance Google Drive file metadata handling
- Updated Google Drive API calls to include md5Checksum in file metadata retrieval for improved content tracking.
- Added logic to check for rename-only updates based on md5Checksum, optimizing document processing by preventing unnecessary ETL operations for unchanged content.
- Enhanced existing document update logic to handle renaming and metadata updates more effectively, particularly for Google Drive files.
2026-01-17 16:24:53 +05:30
Anish Sarkar
49efc50767 feat: enhance document processing with content hash deduplication
- Added support for content hash fallback in document migration to prevent duplicate entries from different sources.
- Improved existing document update logic to handle renaming and metadata updates more effectively, particularly for Google Drive files.
- Updated functions to check for existing documents with enhanced logging for better traceability of duplicate content detection.
2026-01-17 15:39:36 +05:30
Anish Sarkar
6550c378b2 feat: enhance Google Drive document handling and UI integration
- Implemented support for both new file_id-based and legacy filename-based hash schemes in document processing.
- Added functions to generate unique identifier hashes and find existing documents with migration support.
- Improved existing document update logic to handle content changes and metadata updates, particularly for Google Drive files.
- Enhanced UI components to display appropriate file icons based on file types in the Google Drive connector.
- Updated document processing functions to accommodate the new connector structure and ensure seamless integration.
2026-01-17 14:57:31 +05:30
Anish Sarkar
7af3d1bc1a feat: improve Google Drive connector handling and UI feedback
- Added logic to refresh connector and notification attributes after indexing to ensure up-to-date information.
- Enhanced periodic sync configuration to disable the option when no folders or files are selected for Google Drive, providing user feedback through a message.
- Updated the connector edit view to reflect the new disabled state for periodic sync based on selected items.
- Implemented validation in the connector dialog to prevent enabling periodic sync without selected items, improving user experience.
2026-01-17 12:59:18 +05:30
Anish Sarkar
a3112a24fe feat: enhance Google Drive indexing with new options
- Updated the Google Drive indexing functionality to include indexing options such as max files per folder, incremental sync, and inclusion of subfolders.
- Modified the API to accept a new 'indexing_options' parameter in the request body.
- Enhanced the UI to allow users to configure these options when selecting folders and files for indexing.
- Updated related components and tasks to support the new indexing options, ensuring a more flexible and efficient indexing process.
2026-01-17 12:33:57 +05:30
Manoj Aggarwal
11b160cee9 resolve conflicts 2026-01-16 15:39:57 -08:00
Manoj Aggarwal
4c07c0fe4f change the flow of mcp connectors 2026-01-16 14:39:44 -08:00
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
Manoj Aggarwal
aa90da602b nit 2026-01-16 11:21:01 -08:00
CREDO23
13135ec51b fix: eagerly load message relationship in get_user_mentions 2026-01-16 20:17:11 +02:00
CREDO23
985f50b683 fix: use delimited format for mention highlighting 2026-01-16 20:10:09 +02:00
CREDO23
80e19a52cb refactor: remove read tracking from mentions (prep for notification center) 2026-01-16 19:15:10 +02:00
CREDO23
47de91e07b feat: add display name and avatar to member picker, filter self-mentions 2026-01-16 15:53:33 +02:00
CREDO23
6b5468bd7d feat: integrate comments UI into chat messages 2026-01-16 15:09:51 +02:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
CREDO23
4792fb71e2 Add mention routes (list, mark as read, mark all as read) 2026-01-15 18:51:27 +02:00
CREDO23
7504411dcf Add mention service methods (get mentions, mark as read) 2026-01-15 18:49:12 +02:00
CREDO23
c82a94cf02 Add mention processing and rendering in chat comments service 2026-01-15 18:30:21 +02:00
CREDO23
c793e2d621 Rename comments files to chat_comments and add mention parser utility 2026-01-15 18:02:07 +02:00
CREDO23
7d43f1fb8f Add comments routes and register in app 2026-01-15 17:39:30 +02:00
CREDO23
41e0462ecc Add delete_comment method to comments service 2026-01-15 17:35:32 +02:00
CREDO23
9c965d524a Add update_comment method to comments service 2026-01-15 17:32:37 +02:00
CREDO23
c1402683cc Add create_reply method to comments service 2026-01-15 17:30:39 +02:00
CREDO23
5d9294b701 Add create_comment method to comments service 2026-01-15 17:27:42 +02:00
CREDO23
d24759f691 Add comments service with get_comments_for_message method 2026-01-15 17:09:59 +02:00
CREDO23
43939d554c Add Pydantic schemas for comments 2026-01-15 16:48:30 +02:00
CREDO23
c14776faad Add comment permissions to DEFAULT_ROLE_PERMISSIONS 2026-01-15 16:42:09 +02:00
CREDO23
b7a167dffe Add comment permissions to Permission enum 2026-01-15 16:39:24 +02:00
CREDO23
ee68fb86d2 Add ChatCommentMention model to db.py 2026-01-15 16:37:46 +02:00
CREDO23
b06b3baaea Add ChatComment model to db.py 2026-01-15 16:34:03 +02:00
Anish Sarkar
28aa4814bd refactor: improve chat UI and greeting logic
- Simplified chat document processing display by removing the book emoji for a cleaner look.
- Enhanced the greeting function to prioritize user display names over email for a more personalized experience.
- Adjusted the ChatShareButton component by removing unused imports and unnecessary elements for better clarity and performance.
- Updated the title in the Electric SQL documentation for conciseness.
2026-01-15 18:29:30 +05:30
Anish Sarkar
ab63b23f0a Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 15:52:47 +05:30
DESKTOP-RTLN3BA\$punk
7ae68455b3 chore: linting 2026-01-15 00:05:53 -08:00
DESKTOP-RTLN3BA\$punk
bab89274e0 feat: implement LlamaCloud parsing with retry logic for transient errors 2026-01-14 23:53:17 -08:00
Manoj Aggarwal
c78ea98a68 Add front end logic for MCP connectors 2026-01-14 14:01:23 -08:00
Anish Sarkar
2e0f742000 Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 03:07:20 +05:30
Rohan Verma
f3f52170a0
Merge pull request #697 from CREDO23/implement-surfsense-docs-mentions
[Feat] Capture Google profile data, add user profile settings & document mentions picker improvements
2026-01-14 13:19:10 -08:00
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
d89bcf13c3 add author_id to NewChatMessage model 2026-01-14 17:56:45 +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
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