Commit graph

459 commits

Author SHA1 Message Date
Thierry CH.
9cd3756c2f Refactor request validation in getDocuments method 2025-12-08 11:02:01 +00:00
thierryverse
ed07699ffc add documents queries & mutations atoms 2025-12-08 11:02:00 +00:00
thierryverse
5a887e9243 add documents api service 2025-12-08 11:02:00 +00:00
thierryverse
6378d27bcb add delete document request / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
dd652e36fc add update document request / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
0fa969925a add get document request / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
557e736a53 add get document by chunks request / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
6f3b34f38c add getdocuments types counts request / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
e7693bd19f add seach documents request / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
e237caf91a add upload document request / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
02ea730ab8 createdocuments reques / response zod schema 2025-12-08 11:02:00 +00:00
thierryverse
fc915fec13 getdocuments reques / response zod schema 2025-12-08 11:02:00 +00:00
Differ
e238fab638 Merge remote-tracking branch 'upstream/main' into feat/bookstack-connector 2025-12-06 09:15:02 +08:00
DESKTOP-RTLN3BA\$punk
481ec5533b chore: biome checks 2025-12-05 00:17:31 -08:00
DESKTOP-RTLN3BA\$punk
c97887a63d fix: implement real-time streaming for responses
- Added streaming service support to the Q&A agent for real-time token streaming.
- Updated `answer_question` method to stream responses token-by-token to the frontend.
- Modified `handle_qna_workflow` to handle both custom and values streaming modes.
- Enhanced state management to include streaming service for improved user experience.
2025-12-05 00:14:36 -08:00
Differ
22926ce23b style: format frontend files with biome 2025-12-05 10:05:10 +08:00
waychan23
5a4a786034 fix: copying api key to the clipboard fails when the page is accessed via insecure connection(http without tls). Fixed by adding a fallback method for copy text to clipboard. 2025-12-04 18:18:52 +08:00
Differ
6b1b8d0f2e feat: add BookStack connector for wiki documentation indexing 2025-12-04 14:08:44 +08:00
DESKTOP-RTLN3BA\$punk
f76a94d9a9 security: fix CVE-2025-66478 2025-12-03 17:54:03 -08:00
DESKTOP-RTLN3BA\$punk
b2a97b39ce refactor: centralize authentication handling
- Replaced direct localStorage token access with a centralized `getBearerToken` function across various components and hooks to improve code maintainability and security.
- Updated API calls to use `authenticatedFetch` for consistent authentication handling.
- Enhanced user experience by ensuring proper redirection to login when authentication fails.
- Cleaned up unused imports and improved overall code structure for better readability.
2025-12-02 01:24:09 -08:00
DESKTOP-RTLN3BA\$punk
9c858a520d refactor: enhance onboarding experience
- Replaced the completion step component with a more streamlined onboarding page that includes action cards for managing teams, adding sources, and starting chats.
- Updated the search space form to make the description field optional and improved validation messages.
- Adjusted the onboarding logic to support auto-configuration of LLM roles and improved loading states.
- Removed unused imports and components to clean up the codebase.
2025-12-02 00:05:28 -08:00
DESKTOP-RTLN3BA\$punk
5587b1270e fix: update API endpoint for fetching editor content
- Changed the API URL in the DashboardBreadcrumb component to include search space ID for fetching editor content, ensuring correct context is used when accessing documents.
2025-11-30 15:15:27 -08:00
DESKTOP-RTLN3BA\$punk
ea94c778c9 refactor: streamline document actions
- Simplified the RowActions component by removing unused imports and replacing the dropdown menu with tooltip buttons for editing, viewing metadata, and deleting documents.
- Updated the JsonMetadataViewer component to support controlled mode for better integration with the RowActions component.
- Adjusted CSS variables for destructive actions in globals.css for improved visual consistency.
2025-11-30 15:06:48 -08:00
DESKTOP-RTLN3BA\$punk
d0c7be7eca feat: update document editor routes to include search space context
- Modified API endpoints to include search space ID in the URL for fetching and saving documents.
- Added permission checks for reading and updating documents based on search space.
2025-11-30 14:27:27 -08:00
Anish Sarkar
b98c312fb1 Merge remote-tracking branch 'upstream/main' into feature/blocknote-editor 2025-11-30 04:10:49 +05:30
Anish Sarkar
f8e4926969 feat: Implement document saving with reindexing
- Updated the document saving endpoint to trigger reindexing after saving.
- Introduced a new Celery task for reindexing documents.
- Refactored the editor page to reflect the changes in the API endpoint and method.
2025-11-30 04:08:12 +05:30
Anish Sarkar
91bc344b56 feat: Added celery tasks to populate blocknote_document for existing documents 2025-11-30 03:49:43 +05:30
Anish Sarkar
e33b42f9a5 refactor: removed auto-save functionality in editor page 2025-11-30 02:37:13 +05:30
DESKTOP-RTLN3BA\$punk
73937f830e chore: updated pricing section 2025-11-28 23:43:03 -08:00
DESKTOP-RTLN3BA\$punk
111323b3b3 feat: UX improvement
- Added "Add Sources" button in ChatInputGroup for easier document management.
- Introduced a "Manage Team" card in CompletionStep to facilitate team collaboration.
- Updated UI elements for better visual feedback and interaction.
- Removed unused role examples in LLMRoleManager for cleaner code.
2025-11-28 23:39:07 -08:00
DESKTOP-RTLN3BA\$punk
7e94413814 chore: biome fixes 2025-11-27 23:01:14 -08:00
DESKTOP-RTLN3BA\$punk
e9d32c3516 feat: Implement Role-Based Access Control (RBAC) for search space resources.
-Introduce granular permissions for documents, chats, podcasts, and logs.
- Update routes to enforce permission checks for creating, reading, updating, and deleting resources. - Refactor user and search space interactions to align with RBAC model, removing ownership checks in favor of permission validation.
2025-11-27 22:45:04 -08:00
DESKTOP-RTLN3BA\$punk
3f2b0a5d0c fix: biome 2025-11-26 13:50:23 -08:00
DESKTOP-RTLN3BA\$punk
ab6ea7e0ab feat(UI): reorganized connectors 2025-11-26 13:44:38 -08:00
Anish Sarkar
3fac196c35 code quality issues fixed 2025-11-23 16:39:23 +05:30
Anish Sarkar
abbaa848f3 changed UI for the blocknote editor with dark/light mode 2025-11-23 16:24:11 +05:30
Anish Sarkar
e68286f22e introduced blocknote editor 2025-11-23 15:23:31 +05:30
samkul-swe
5afb421d6f Fix issues 2025-11-22 19:40:13 -08:00
samkul-swe
ad75f8114e Cleaning up files 2025-11-22 19:28:13 -08:00
samkul-swe
121e2f0c0e Renaming resources 2025-11-22 19:19:00 -08:00
samkul-swe
896e410e2a Webcrawler connector draft 2025-11-21 23:27:21 -08:00
DESKTOP-RTLN3BA\$punk
70f3381d7e feat: Implement community prompts feature
- Added a new endpoint to fetch community-curated prompts in `search_spaces_routes.py`.
- Enhanced `SetupPromptStep` and `PromptConfigManager` components to display and utilize community prompts.
- Introduced UI elements for selecting and applying prompts, including categories and expandable views.
- Improved state management for selected prompts and custom instructions.
2025-11-21 16:28:00 -08:00
thierryverse
dff4b7ad6b fix auth/register endpoint bug 2025-11-20 08:20:47 +02:00
thierryverse
0ea974316b update generate podcast mutation 2025-11-20 08:17:57 +02:00
thierryverse
ff73272da5 replace imperative fetch with tanstak 2025-11-20 08:17:57 +02:00
thierryverse
373bd668f7 add update chat mutation atom 2025-11-20 08:17:57 +02:00
thierryverse
684589fc19 replace imperative fetch with tanstack query 2025-11-20 08:17:57 +02:00
thierryverse
910130873a Add create chat mutation 2025-11-20 08:17:57 +02:00
thierryverse
1cf36c6e6c Add create chat mutation 2025-11-20 08:17:57 +02:00
thierryverse
666b797772 replace imperativ fetch with tanstack query 2025-11-20 08:17:57 +02:00