Commit graph

1310 commits

Author SHA1 Message Date
Rohan Verma
2cf9fa7a39
Merge pull request #539 from MODSetter/dev
fix: add dos2unix to Dockerfile to handle line endings for entrypoint…
2025-12-07 02:01:54 -08:00
DESKTOP-RTLN3BA\$punk
3c5efee252 fix: add dos2unix to Dockerfile to handle line endings for entrypoint script 2025-12-07 02:01:09 -08:00
Rohan Verma
80dc2178ce
Merge pull request #538 from MODSetter/dev
fix: backend container fails with missing entrypoint when built locally
2025-12-06 21:32:47 -08:00
DESKTOP-RTLN3BA\$punk
bdffb17505 fix: backend container fails with missing entrypoint when built locally 2025-12-06 21:31:32 -08:00
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
Rohan Verma
1ef725fdb8
Merge pull request #528 from unitagain/feat/bookstack-connector
feat: add BookStack connector for wiki documentation indexing
2025-12-06 17:49:49 -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
71d7856565 fix: update migration id from 39 to 44 after syncing with upstream 2025-12-06 09:16:24 +08:00
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
Rohan Verma
d29bd6c12f
Merge pull request #530 from MODSetter/dev
fix: implement real-time streaming for responses
2025-12-05 00:20:32 -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
0457e9f735 feat: add alembic migration for BOOKSTACK_CONNECTOR enum 2025-12-05 15:38:38 +08:00
Rohan Verma
264532b3cf
Merge pull request #526 from waychan23/main
fix: copying api key to the clipboard fails in http context
2025-12-04 23:28:22 -08:00
Differ
22926ce23b style: format frontend files with biome 2025-12-05 10:05:10 +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
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
Rohan Verma
9bbea0ba0e
Merge pull request #523 from MODSetter/dev
security: fix CVE-2025-66478
2025-12-03 17:54:34 -08:00
DESKTOP-RTLN3BA\$punk
f76a94d9a9 security: fix CVE-2025-66478 2025-12-03 17:54:03 -08:00
Rohan Verma
5c113cb24b
Merge pull request #522 from waychan23/main
fix: retrieve wrong field for content in saving extension document.
2025-12-03 16:45:10 -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
Rohan Verma
de810ecb87
Merge pull request #521 from waychan23/main
fix: saving document from browser extension fails
2025-12-03 14:08:17 -08: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
Rohan Verma
b32ed6c1f8
Merge pull request #516 from MODSetter/dev
refactor: centralize authentication handling
2025-12-02 01:27:53 -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
Rohan Verma
6cc9e38e1d
Merge pull request #515 from MODSetter/dev
refactor: enhance onboarding experience
2025-12-02 00:08:58 -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
Rohan Verma
a0bdcf366f
Merge pull request #514 from MODSetter/dev
fix: update API endpoint for fetching editor content
2025-11-30 15:16:36 -08:00
DESKTOP-RTLN3BA\$punk
642bfd0efe Merge commit '77155488ea' into dev 2025-11-30 15:15:50 -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
Rohan Verma
77155488ea
Merge pull request #513 from MODSetter/dev
feat: added blocknode editor
2025-11-30 15:13:13 -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
Rohan Verma
eefecfa4b9
Merge pull request #500 from AnishSarkar22/feature/blocknote-editor
[Feature] Add BlockNote editor
2025-11-30 13:57:16 -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
Anish Sarkar
e33b42f9a5 refactor: removed auto-save functionality in editor page 2025-11-30 02:37:13 +05:30