Commit graph

902 commits

Author SHA1 Message Date
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
eb1f39b365 fix: run automatic alembic migrations for docker-compose 2026-01-15 19:58:26 +05:30
CREDO23
266a5be38b Add chat_comment_mentions table migration 2026-01-15 16:26:49 +02:00
CREDO23
d48b3680d3 Add chat_comments table migration 2026-01-15 16:24:29 +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
b9dc785a1c chore: ran frontend and backend linting 2026-01-15 15:55:27 +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
69e9b6a027 chore: update uv lock 2026-01-15 00:08:52 -08:00
DESKTOP-RTLN3BA\$punk
7ae68455b3 chore: linting 2026-01-15 00:05:53 -08:00
Anish Sarkar
35392c8e62 fix: made migartion idempotent and fixed docker-compose 2026-01-15 13:26:23 +05:30
DESKTOP-RTLN3BA\$punk
bab89274e0 feat: implement LlamaCloud parsing with retry logic for transient errors 2026-01-14 23:53:17 -08:00
Anish Sarkar
32b8bb33f9 feat: add notifications table and configure Electric SQL replication
- Created a new notifications table with necessary fields and indexes.
- Set up Electric SQL replication for notifications, search_source_connectors, and documents tables.
- Implemented idempotent checks for user and publication creation in the migration script.
2026-01-15 11:22:12 +05:30
Anish Sarkar
f7f11877ce Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 11:05:45 +05:30
DESKTOP-RTLN3BA\$punk
bff37789c8 fix: migrations 2026-01-14 15:19:00 -08:00
Anish Sarkar
94e65129cd chore: ran backend linting 2026-01-15 04:26:34 +05:30
Manoj Aggarwal
c78ea98a68 Add front end logic for MCP connectors 2026-01-14 14:01:23 -08:00
Anish Sarkar
31a5581af1 feat: add notifications table and Electric SQL replication setup
- Introduced a new notifications table with relevant fields and indexes.
- Configured Electric SQL replication for the notifications, search_source_connectors, and documents tables.
- Centralized Electric SQL user credentials in the migration script for better management.
- Ensured idempotency in the migration process for creating users and publications.
2026-01-15 03:28:10 +05:30
Anish Sarkar
2e0f742000 Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-15 03:07:20 +05:30
Anish Sarkar
e28be9d78c feat: centralize Electric SQL user credentials in configuration
- Added centralized configuration for Electric SQL user credentials in env.py.
- Updated migration script to utilize these credentials for creating and granting permissions to the Electric SQL user.
2026-01-15 03:03:34 +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
Rohan Verma
4fb9017eac
Merge pull request #693 from manojag115/feat/mcp-connector-backend
Add backend code for adding MCPs as a connector
2026-01-14 13:18:12 -08:00
Anish Sarkar
7a9a14aa66 feat: fixed migration for electric-sql 2026-01-14 23:23:45 +05:30
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