Commit graph

2250 commits

Author SHA1 Message Date
Anish Sarkar
8ceccc421d feat: added electric-sql docker-compose 2026-01-15 04:33:00 +05:30
Anish Sarkar
94e65129cd chore: ran backend linting 2026-01-15 04:26:34 +05:30
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
DESKTOP-RTLN3BA\$punk
92e7b3aef3 Merge commit '13289af2ad' into dev 2026-01-14 13:19:56 -08:00
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
Rohan Verma
cee1a8be68
Merge pull request #692 from CREDO23/feat/idempotent-migrations
[Improvement] Make Alembic migrations idempotent
2026-01-14 13:16:03 -08:00
CREDO23
142e72c030 show avatar for newly sent messages in shared chats 2026-01-14 21:44:13 +02:00
CREDO23
54568a62e0 fix: add referrerPolicy for Google profile images 2026-01-14 20:30:02 +02:00
Anish Sarkar
ee3a0a9ab7 fix: made electric user and password hardcoded 2026-01-14 23:39:52 +05:30
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
dcd36166fc add author fields to MessageRecord type 2026-01-14 18:38:47 +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
4d024219cb add profile settings form with display name editing 2026-01-14 16:11:13 +02:00
CREDO23
4e09642719 modularize user settings and add profile section 2026-01-14 15:57:02 +02:00
CREDO23
1dbc27b0a3 add updateUserMutationAtom with cache invalidation 2026-01-14 15:42:29 +02:00
CREDO23
0ba5de511e add updateMe method to user API service 2026-01-14 15:39:50 +02:00
CREDO23
f9a7b3875a add UpdateUserRequest and UpdateUserResponse schemas 2026-01-14 15:38:58 +02:00
CREDO23
dc9a797fca format: auto-fix whitespace 2026-01-14 15:27:42 +02:00
Anish Sarkar
5712336feb fix: fixed UI while indexing 2026-01-14 18:53:58 +05:30
CREDO23
9d3c6f0ee1 show user avatar in sidebar when available 2026-01-14 15:22:24 +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
CREDO23
c6aec95797 improve document mention picker section headers styling 2026-01-14 14:14:01 +02:00
CREDO23
af6451847b add section headers to document mention picker 2026-01-14 13:40:29 +02:00
CREDO23
2f245d2d03 clean up SURFSENSE_DOCS handling from DocumentsTableShell 2026-01-14 13:28:49 +02:00
CREDO23
4fa350cf64 hide SurfSense docs from documents table 2026-01-14 13:24:45 +02:00
CREDO23
eb1ebdccba Merge remote-tracking branch 'upstream/dev' into implement-surfsense-docs-mentions 2026-01-14 12:59:56 +02:00
Anish Sarkar
9b9fde955f Merge remote-tracking branch 'upstream/dev' into feat/replace-logs 2026-01-14 15:36:42 +05:30
Anish Sarkar
df0f488258 fix: UI while indexing 2026-01-14 15:36:16 +05:30
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
Rohan Verma
13289af2ad
Merge pull request #695 from MODSetter/dev
feat(try): docker registration fix
2026-01-13 20:50:15 -08:00
DESKTOP-RTLN3BA\$punk
6d20c54afb feat(try): docker registration fix 2026-01-13 20:47:21 -08:00
Rohan Verma
7b0b0d109c
Merge pull request #694 from MODSetter/dev
fix(hotpatch): update NewChatPage to set current thread for immediate share but…
2026-01-13 20:00:06 -08:00
DESKTOP-RTLN3BA\$punk
fd3f2660f6 fix: update NewChatPage to set current thread for immediate share button visibility 2026-01-13 19:35:07 -08:00
Anish Sarkar
18ec9543bd chore: ran frontend linting 2026-01-14 04:37:44 +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