Commit graph

357 commits

Author SHA1 Message Date
Rohan Verma
e1e14c7ab6
Merge pull request #534 from ankitpasayat/fix/retriever-typo
fix(backend): rename retriver directory to retriever
2025-12-06 17:54:18 -08:00
Ankit Pasayat
b30f53bf0b fix(backend): rename retriver directory to retriever
Fixes typo in directory name and updates all import paths:
- Renamed surfsense_backend/app/retriver/ to surfsense_backend/app/retriever/
- Updated imports in db.py
- Updated imports in connector_service.py
2025-12-06 22:21:30 +05:30
Differ
e238fab638 Merge remote-tracking branch 'upstream/main' into feat/bookstack-connector 2025-12-06 09:15:02 +08:00
Rohan Verma
601489bec2
Merge pull request #525 from CREDO23/refactor/jira-connector-migrate-tot-rest-v3
[Refactor] Jira Connector | Migrate to atlassian rest api v3
2025-12-05 12:14:46 -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
500bc60d02 fix: add input validation, retry limit, code formatting, and exclude i18n from secret detection 2025-12-05 09:58:49 +08:00
CREDO23
803f792a9d clean up 2025-12-04 12:55:19 +02:00
CREDO23
521cea3ef0 update query parmas for get issues by date range method 2025-12-04 12:53:18 +02:00
Differ
6b1b8d0f2e feat: add BookStack connector for wiki documentation indexing 2025-12-04 14:08:44 +08:00
WayChan
3c423436cc fix: retrieve wrong field for content in saving extension document. 2025-12-04 00:31:50 +00:00
CREDO23
107f013ff9 jira-connector: update get_issues_by_date_range method 2025-12-04 01:21:46 +02:00
CREDO23
abf017eabb jira-connector: update get_issues_by_date_range method 2025-12-04 00:48:54 +02:00
CREDO23
4df6b09db9 jira-connector: update get all issues method 2025-12-04 00:42:10 +02:00
CREDO23
875924e5fd jira-connector: update make_api_request to accespt POST with payload 2025-12-04 00:38:13 +02:00
WayChan
081080233a fix: saving document from browser extension fails due to missing and mismatch fields of backend data models 2025-12-03 15:32:32 +00: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
f92112a79a fix: code cleanup 2025-11-30 11:37:50 +05:30
Anish Sarkar
5e53207edc refactor: update alembic migration revision ID and added some defaults for blocknote in file_processors.py file 2025-11-30 04:57:07 +05:30
Anish Sarkar
4e6b4cc57d fixed: cleaned up code and added import in init 2025-11-30 04:25:27 +05:30
Anish Sarkar
e419702ebd fix: run ruff formatter to fix code quality 2025-11-30 04:15:38 +05:30
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
DESKTOP-RTLN3BA\$punk
07234d7849 ruff format 2025-11-29 00:16:41 -08:00
DESKTOP-RTLN3BA\$punk
72236f65f7 refactor: remove UserSearchSpacePreference model and related relationships
- Deleted UserSearchSpacePreference class and its relationships from SearchSpace and User models.
- Cleaned up unused code to streamline database interactions.
2025-11-29 00:12:30 -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
d1c9c533b5 fix: crawled url search 2025-11-26 14:53:44 -08:00
DESKTOP-RTLN3BA\$punk
0b1ca97acf refactor(webcrawler): update scraping logic to use v2 API and improve error handling 2025-11-26 14:30:08 -08:00
DESKTOP-RTLN3BA\$punk
ab6ea7e0ab feat(UI): reorganized connectors 2025-11-26 13:44:38 -08:00
DESKTOP-RTLN3BA\$punk
8f30cfd69a chore(lint): ruff checks 2025-11-26 13:22:31 -08:00
Anish Sarkar
289b4de52d refactor: comment out unused blocknote converter imports in editor_routes.py 2025-11-23 16:47:09 +05:30
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
ebea98cfc8 Linting fixed 2025-11-22 19:49:28 -08:00
samkul-swe
5afb421d6f Fix issues 2025-11-22 19:40:13 -08:00
samkul-swe
121e2f0c0e Renaming resources 2025-11-22 19:19:00 -08:00
samkul-swe
6d19e0fad8 Fixing search logic 2025-11-22 13:33:16 -08:00
samkul-swe
1480f85431 Fixed indexing issue 2025-11-22 12:16:30 -08:00
samkul-swe
8333697598 Removed the CRAWLED_URL document processors 2025-11-21 23:27:21 -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
DESKTOP-RTLN3BA\$punk
6648409237 feat: Added Search Space System Instructions
- Added `citations_enabled` and `qna_custom_instructions` fields to the SearchSpace model for better QnA configuration.
- Updated the creation and update schemas to handle new fields with appropriate defaults.
- Refactored QnA handling in the agent to utilize the new SearchSpace fields for improved response customization.
- Adjusted UI components to include settings for managing QnA configurations.
- Enhanced onboarding process to incorporate prompt setup as an optional step.
2025-11-19 15:04:46 -08:00
DESKTOP-RTLN3BA\$punk
d4345f75e5 feat: added global llm configurations 2025-11-14 21:53:46 -08:00
DESKTOP-RTLN3BA\$punk
38dffaffa3 feat(llm): expand LLM provider options and improve model selection UI
- Added new LLM providers including Google, Azure OpenAI, Bedrock, and others to the backend.
- Updated the model selection UI to dynamically display available models based on the selected provider.
- Enhanced the provider change handling to reset the model selection when the provider is changed.
- Improved the overall user experience by providing contextual information for model selection.
2025-11-13 02:41:30 -08:00
DESKTOP-RTLN3BA\$punk
3ccb0bc7bb refactor(ux): Enhance podcast and chat panel features
- Updated the welcome dialog in podcast generation to reflect the correct podcast title.
- Improved the Dashboard layout by adding an indicator for active chats on the researcher page.
- Enhanced the breadcrumb component to fetch and display chat details dynamically.
- Adjusted the chat panel width for better visibility.
- Introduced animations and improved user interactions in the chat panel and podcast player components.
- Updated the ConfigModal to provide clearer instructions for user input.
2025-11-11 18:07:32 -08:00
Rohan Verma
0835a192a2
Merge pull request #430 from CREDO23/feat/chat-pannel
[Feature] Add the chat panel
2025-11-11 17:04:39 -08:00
thierryverse
2902fd6d28 inject user instruction in the podcast generation task 2025-11-11 20:08:32 +02:00
thierryverse
9c959baadd clean up comments 2025-11-11 19:17:41 +02:00