Commit graph

2167 commits

Author SHA1 Message Date
Rohan Verma
3705b38bd7
Merge pull request #546 from Utkarsh-Patel-13/main
Added arm build for docker package
2025-12-10 22:24:36 -08:00
Utkarsh-Patel-13
6d2797ea75 Added arm build for docker package 2025-12-10 21:40:04 -08:00
Rohan Verma
5b4678a169
Merge pull request #545 from MODSetter/dev
feat: removed document hooks and shifted them to jotai
2025-12-10 14:48:38 -08:00
DESKTOP-RTLN3BA\$punk
ede9dd010b fix: recurse 2025-12-10 14:46:26 -08:00
DESKTOP-RTLN3BA\$punk
e6775625ff chore: linting 2025-12-10 14:41:32 -08:00
Rohan Verma
194292a641
Merge pull request #529 from CREDO23/feat/add-jotai-tanstack
[Feat] Documents | Add Jotai & Tanstack
2025-12-10 14:38:00 -08:00
Rohan Verma
74a06b28ea
Merge pull request #544 from subbareddyalamur/main
Add boto3 dependency for AWS Bedrock LLM Provider to pyproject.toml
2025-12-09 21:19:52 -08:00
subbareddyalamur
24c6683471
Add boto3 dependency to pyproject.toml
This is required to add AWS Bedrock as LLM Provider
2025-12-10 10:15:52 +05:30
Rohan Verma
ec7608941f
Merge pull request #542 from MODSetter/dev
fix(bug): onboarding on no global llm configs
2025-12-09 02:27:46 -08:00
DESKTOP-RTLN3BA\$punk
6e4cc2e4d7 fix(bug): opboarding onno global llm configs 2025-12-09 02:27:02 -08:00
Rohan Verma
f242071a3c
Merge pull request #541 from MODSetter/dev
feat: added initial local docker images of surfsense
2025-12-09 01:54:11 -08:00
DESKTOP-RTLN3BA\$punk
4f5c1cf070 chore: linting 2025-12-09 01:50:08 -08:00
DESKTOP-RTLN3BA\$punk
a27cd2b966 fix(ux): : update onboarding and form components for improved user experience and clarity 2025-12-09 01:49:27 -08:00
DESKTOP-RTLN3BA\$punk
50edeadcaa chore: update links in documentation and metadata to use the correct domain 2025-12-09 01:27:13 -08:00
DESKTOP-RTLN3BA\$punk
b8478f2ec0 chore: improved configuration management and logging 2025-12-09 00:53:55 -08:00
DESKTOP-RTLN3BA\$punk
6b07fcb131 chore: update Dockerfile 2025-12-08 23:19:50 -08:00
DESKTOP-RTLN3BA\$punk
216a9188a9 fix(try): reduce image size 2025-12-08 23:13:42 -08:00
DESKTOP-RTLN3BA\$punk
50409e5fc4 fix: update Dockerfile to install pip for Python 3.12 using ensurepip 2025-12-08 21:50:20 -08:00
DESKTOP-RTLN3BA\$punk
0b4efbbe9f refactor: update Dockerfile to install Python 3.12 2025-12-08 21:44:27 -08:00
DESKTOP-RTLN3BA\$punk
32dd3732e3 fix: exclude only backend lib folders in dockerignore 2025-12-08 21:07:05 -08:00
DESKTOP-RTLN3BA\$punk
5b0d2f82e6 try: docker all in one image 2025-12-08 20:45:20 -08:00
CREDO23
6566ae209f revert: restore alembic migrations to match upstream/dev
- Reverted alembic migration files to upstream/dev version
- Added new migration 44_add_bookstack_connector_enums.py from upstream
- Removed local modifications to migrations 1, 40, and 43
2025-12-08 11:02:01 +00:00
CREDO23
1d49378363 fix: improve scroll behavior and add missing import in SourceDetailSheet
- Added useLayoutEffect import
- Fixed scroll to highlighted chunk behavior
- Added open dependency to useEffect for proper re-triggering
2025-12-08 11:02:01 +00:00
CREDO23
55502579e1 fix: minor type adjustments and cleanup
- Added missing Document type export
- Fixed typeCounts usage in DocumentsTable
- Minor formatting adjustments in DocumentsDataTable
2025-12-08 11:02:01 +00:00
CREDO23
ede7020b61 refactor: replace imperative deleteDocument with mutation atom
- Replaced deleteDocument from useDocuments with deleteDocumentMutationAtom
- Removed unused useDocuments hook completely
- Updated DocumentsTable to use mutation atom for single and bulk deletes
- Maintains backward compatibility with existing delete functionality
2025-12-08 11:02:01 +00:00
CREDO23
8140a5fb6e fix: handle error states from useQuery in DocumentsTable 2025-12-08 11:02:01 +00:00
CREDO23
b8d629da71 fix: update DocumentsFilters type definitions and complete migration cleanup
- Updated type definitions in DocumentsFilters to use DocumentTypeEnum
- Fixed type consistency across activeTypes and onToggleType props
- Final cleanup of DocumentsTable migration to React Query
2025-12-08 11:02:01 +00:00
CREDO23
e7982ead4e feat: replace getDocumentTypeCounts with useQuery implementation (10min stale time) 2025-12-08 11:02:01 +00:00
CREDO23
42e10bbe55 feat: add useQuery implementation for document fetching in DocumentsDataTable with 3-minute stale time 2025-12-08 11:02:01 +00:00
CREDO23
bccbd65333 refactor: migrate document types fetch to jotai + tanstack query
- Replace useDocumentTypes hook with documentTypeCountsAtom in ChatInputGroup
- Replace useDocumentTypes hook with documentTypeCountsAtom in researcher page
- Delete obsolete use-document-types.ts hook
- Transform atom response to maintain backward compatibility
2025-12-08 11:02:01 +00:00
CREDO23
e5d1598270 refactor: remove unused use-document-by-chunk hook
- Delete use-document-by-chunk.ts file
- Remove export from hooks index
- Hook has been replaced with useQuery implementation in SourceDetailSheet
2025-12-08 11:02:01 +00:00
CREDO23
5ad9e718d1 refactor: migrate YouTube tab to use jotai + tanstack query mutation
- Replace imperative authenticatedFetch with createDocumentMutationAtom
- Use mutation's isPending state instead of local isSubmitting state
- Maintain backward compatibility with existing UI behavior
- Keep all validation, error handling, and toast notifications
- Remove dependency on auth-utils for API calls
2025-12-08 11:02:01 +00:00
CREDO23
034e42e15e refactor: update SourceDetailSheet to use useQuery with centralized cache keys
- Replace useDocumentByChunk hook with useQuery implementation
- Use descriptive variable names (isDocumentByChunkFetching, documentByChunkFetchingError)
- Integrate with centralized cache key management
- Update all loading and error state references
- Add 5-minute stale time for document queries
2025-12-08 11:02:01 +00:00
CREDO23
7f80c9c408 feat: migrate document upload to use jotai + tanstack query mutation atom
- Replace imperative fetch API with uploadDocumentMutationAtom in DocumentUploadTab
- Maintain backward compatibility with existing UI behavior
- Remove unused document query atoms from document-query.atoms.ts
- Use mutation state (isPending) for loading state management
- Preserve progress animation and error handling
2025-12-08 11:02:01 +00:00
CREDO23
ecb48ddb03 refactor: replace useDocumentByChunk with useQuery implementation in SourceDetailSheet
- Remove useDocumentByChunk hook dependency
- Use useQuery with centralized cache keys and descriptive variable names
- Replace all document, loading, and error references with new implementation
- Remove manual fetch/clear effects as useQuery handles lifecycle automatically
2025-12-08 11:02:01 +00:00
CREDO23
9bff7a619f refactor: use descriptive variable names for useQuery destructuring in SourceDetailSheet 2025-12-08 11:02:01 +00:00
CREDO23
013bb1547d feat: add useQuery implementation with centralized cache key management in SourceDetailSheet 2025-12-08 11:02:01 +00:00
CREDO23
f92b1ab4d5 chore: add .pnpm-store to .gitignore 2025-12-08 11:02:01 +00:00
Thierry CH.
074c71aec3 Improve request validation in searchDocuments
Refactor error handling for searchDocuments method.
2025-12-08 11:02:01 +00:00
Thierry CH.
8bf7957827 Improve request validation for uploadDocument
Refactor error handling for document upload requests.
2025-12-08 11:02:01 +00:00
Thierry CH.
3ce1ec8225 Clean up comments in createDocument method
Removed unnecessary comments in createDocument function.
2025-12-08 11:02:01 +00:00
Thierry CH.
ccea51084c Refactor request validation in getDocument method 2025-12-08 11:02:01 +00:00
Thierry CH.
9cd3756c2f Refactor request validation in getDocuments method 2025-12-08 11:02:01 +00:00
CREDO23
6c43e8aa09 fix (migration1): add 'if not exixst' guard 2025-12-08 11:02:01 +00:00
CREDO23
509ef211fa fix (migration 43): Add an 'if not exists' guard 2025-12-08 11:02:00 +00:00
CREDO23
1d8cfbb143 fix (migration 40): Add an 'if not exists' guard 2025-12-08 11:02:00 +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