Commit graph

751 commits

Author SHA1 Message Date
Anish Sarkar
22b2d6e400 feat: add archived column to notifications and implement archiving functionality
- Introduced an archived boolean column in the notifications table to allow users to archive inbox items without deletion.
- Updated Notification model to include the archived field with default value.
- Added ArchiveRequest and ArchiveResponse models for handling archive/unarchive operations.
- Implemented API endpoint to archive or unarchive notifications, ensuring real-time updates with Electric SQL.
- Enhanced InboxSidebar to filter and display archived notifications appropriately.
2026-01-21 20:34:58 +05:30
Anish Sarkar
96701a9f01 feat: enhance chat comment notifications with author details
- Added author_avatar_url and author_email to comment creation and reply functions for improved metadata.
- Updated MentionNotificationHandler to include author details in notifications.
- Enhanced NotificationPopup to display author's avatar with initials fallback for mentions.
- Updated notification types to accommodate new author fields.
2026-01-20 20:05:37 +05:30
DESKTOP-RTLN3BA\$punk
e578bb9e77 chore: linting 2026-01-20 03:00:02 -08:00
DESKTOP-RTLN3BA\$punk
e163708bad feat: Refactor role permissions and access checks
- Removed the Admin role and updated the permission sets for Owner, Editor, and Viewer roles in db.py.
- Clarified access requirements for chat threads in new_chat_routes.py, ensuring ownership checks are prioritized.
- Added preset permission options for quick role creation in the CreateRoleDialog component of the team page.
2026-01-20 02:59:32 -08:00
DESKTOP-RTLN3BA\$punk
4595fd3d1f docs: updated docs 2026-01-20 02:03:05 -08:00
DESKTOP-RTLN3BA\$punk
d96ae66012 chore: linting 2026-01-20 00:32:31 -08:00
DESKTOP-RTLN3BA\$punk
a41b75463f chore: enhance system prompt 2026-01-19 18:14:21 -08:00
DESKTOP-RTLN3BA\$punk
9625a24475 feat: support multiple transport types for MCP server connections, including stdio and HTTP 2026-01-19 17:44:19 -08:00
CREDO23
4d004cc1b2 fix: mention notifications and scroll-to-comment from notifications 2026-01-19 19:56:21 +02:00
CREDO23
2839501503 feat: add Electric SQL replication for chat_comment_mentions 2026-01-19 17:28:44 +02:00
CREDO23
6b9695e848 chore: resolve migration file conflicts 2026-01-19 17:10:11 +02:00
CREDO23
ae4297a02f feat: add MentionNotificationHandler and create notifications on mention 2026-01-19 17:06:51 +02:00
CREDO23
7f5f4a6893 feat: add Electric SQL replication for chat_comments 2026-01-19 16:39:08 +02:00
CREDO23
47fbc83d48 Merge branch 'dev' into sur-90-feat-comments-in-chats 2026-01-19 14:49:10 +02:00
CREDO23
8ad6c268df chore: cleanup unused files and update cache keys 2026-01-19 14:38:05 +02:00
CREDO23
ba57c39556 feat(backend): add has_comments field to thread API 2026-01-19 14:36:29 +02:00
Rohan Verma
26ef83fbaa
Merge pull request #707 from AnishSarkar22/fix/mentions
feat: Revamped search in document mentions
2026-01-18 22:15:28 -08:00
Rohan Verma
87a174a1fd
Merge pull request #706 from AnishSarkar22/fix/drive-index
feat: enhance Google Drive indexing
2026-01-18 22:15:03 -08:00
Anish Sarkar
8654c98afe chore: update redundant comments 2026-01-18 20:13:51 +05:30
Manoj Aggarwal
f78c2a685e add error handling to mcp_tool python files 2026-01-17 09:18:46 -08:00
Anish Sarkar
293de6876a feat: implement fuzzy search in mention document 2026-01-17 20:46:47 +05:30
Anish Sarkar
b001b65067 feat: add pg_trgm indexes and lightweight document title search
- Introduced pg_trgm extension and GIN trigram indexes for efficient document title searches, enhancing performance for mention picker functionality.
- Implemented a new API endpoint for lightweight document title searches, returning only essential fields.
- Updated frontend components to utilize the new title search feature with throttling for improved user experience.
- Added necessary schemas and types for the new search functionality.
2026-01-17 20:45:10 +05:30
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
08366b14bb some reverts 2026-01-16 11:26:28 -08:00
Manoj Aggarwal
c97a3c1ab6 some reverts 2026-01-16 11:25:47 -08:00
Manoj Aggarwal
aa90da602b nit 2026-01-16 11:21:01 -08:00
Manoj Aggarwal
16f79aa88b fix migrations 2026-01-16 11:00:20 -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
f37bf90138 feat: add comments permissions to existing roles 2026-01-16 15:32:06 +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