Commit graph

2199 commits

Author SHA1 Message Date
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
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
Anish Sarkar
5712336feb fix: fixed UI while indexing 2026-01-14 18:53:58 +05:30
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
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
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
Anish Sarkar
4fd380af42 fix: the env.example for docker 2026-01-14 02:01:41 +05:30
Anish Sarkar
536f3ecffc chore: Update .env.example and docker-compose.yml for Electric SQL configuration 2026-01-14 02:00:35 +05:30
Anish Sarkar
64c032d9f0 fix: some UI changes for notification popup 2026-01-14 00:42:40 +05:30
Anish Sarkar
34230bdb84 refactor: Enhance connector form submission and tooltip styling
- Updated the handleSubmitConnectForm function to accept an additional parameter for indexing start notification, improving the connector form submission process.
- Adjusted tooltip styling across various components for consistency and improved visual clarity.
- Simplified conditional rendering in ActiveConnectorsTab and ConnectorAccountsListView to enhance UI responsiveness during indexing operations.
2026-01-13 21:58:11 +05:30
Anish Sarkar
0e0aec13f3 refactor: Update indexing status display in connector components
- Replaced the previous "Syncing..." text with a more concise "Syncing" in various components to enhance clarity.
- Adjusted the UI to maintain consistent styling and improve user experience during indexing operations.
- Simplified conditional rendering for indexing status across ConnectorCard, ActiveConnectorsTab, and ConnectorAccountsListView components.
2026-01-13 21:17:17 +05:30
Anish Sarkar
f250fa177a feat: Implement real-time indexing state management for connectors
- Introduced a new custom hook, useIndexingConnectors, to track indexing states of connectors without polling.
- Updated ConnectorIndicator and related components to utilize the new indexing state management, enhancing user experience with immediate feedback during indexing.
- Removed deprecated log summary references and replaced them with real-time updates from Electric SQL.
- Adjusted UI components to reflect changes in indexing status, improving clarity and responsiveness.
2026-01-13 20:53:30 +05:30
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
Rohan Verma
f3f661f33e
Merge pull request #691 from MODSetter/dev
feat: ux updates
2026-01-13 02:16:25 -08:00
DESKTOP-RTLN3BA\$punk
8646fecc8b feat: add document upload functionality and update UI components for document management 2026-01-13 02:15:46 -08:00
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
6622a8c582 feat: add custom callout component to MarkdownViewer for enhanced styling 2026-01-13 01:48:43 -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
DESKTOP-RTLN3BA\$punk
fbeffd58fe refactor: simplify MobileSidebar component by removing unused props 2026-01-13 01:07:08 -08:00
Rohan Verma
c0ec7447a6
Merge pull request #690 from CREDO23/implement-surfsense-docs-mentions
Implement surfsense docs mentions & UI Enhancements
2026-01-13 00:55:37 -08:00
Rohan Verma
720b339702
Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00
DESKTOP-RTLN3BA\$punk
b4ff819efc feat: update README to include Microsoft Teams 2026-01-13 00:52:37 -08:00
DESKTOP-RTLN3BA\$punk
c22e7ce56c feat: cleanup 2026-01-13 00:24:17 -08:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00
CREDO23
c579d773a9 feat: add search filtering for SurfSense docs mentions and handle zero-width spaces in citations 2026-01-13 09:41:25 +02:00
CREDO23
982dac47ec fix: support Chinese brackets in citation regex 2026-01-13 09:21:54 +02: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
1b5f29afcc add mentionedSurfsenseDoc atoms 2026-01-13 02:52:56 +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
ce62bef322 i18n settings pages with clear titles 2026-01-13 02:35:00 +02:00