Commit graph

1737 commits

Author SHA1 Message Date
Rohan Verma
760f5bf1dd
Merge pull request #854 from AnishSarkar22/fix/docker-dev
feat: Docker one liner script for Windows
2026-03-03 12:35:48 -08:00
Anish Sarkar
ba869d552c docs: update installation instructions in multiple language READMEs to specify Docker Desktop and provide separate commands for Windows users 2026-03-04 01:07:25 +05:30
Rohan Verma
672b4e1808
Merge pull request #838 from AnishSarkar22/fix/docker
feat: docker-compose and docker CI pipeline enhancements
2026-03-02 13:54:27 -08:00
DESKTOP-RTLN3BA\$punk
d959a6a6c8 feat: optimize document upload process and enhance memory management
- Increased maximum file upload limit from 10 to 50 to improve user experience.
- Implemented batch processing for document uploads to avoid proxy timeouts, splitting files into manageable chunks.
- Enhanced garbage collection in chat streaming functions to prevent memory leaks and improve performance.
- Added memory delta tracking in system snapshots for better monitoring of resource usage.
- Updated LLM router and service configurations to prevent unbounded internal accumulation and improve efficiency.
2026-02-28 17:22:34 -08:00
Anish Sarkar
799b3dcbfe docs: add note for Windows users to install WSL before running installation commands 2026-03-01 00:43:02 +05:30
DESKTOP-RTLN3BA\$punk
1bb9f479e1 feat: refactor document fetching and improve comment batching
- Replaced the useDocuments hook with React Query for better caching and deduplication of document requests.
- Updated the ConnectorIndicator component to fetch document type counts using a new atom for real-time updates.
- Enhanced the useComments hook to manage batch requests more effectively, reducing race conditions and improving performance.
- Set default query options in the query client to optimize stale time and refetch behavior.
2026-02-28 01:54:54 -08:00
DESKTOP-RTLN3BA\$punk
0e723a5b8b feat: perf optimizations
- improved search_knowledgebase_tool
- Added new endpoint to batch-fetch comments for multiple messages, reducing the number of API calls.
- Introduced CommentBatchRequest and CommentBatchResponse schemas for handling batch requests and responses.
- Updated chat_comments_service to validate message existence and permissions before fetching comments.
- Enhanced frontend with useBatchCommentsPreload hook to optimize comment loading for assistant messages.
2026-02-27 17:19:25 -08:00
DESKTOP-RTLN3BA\$punk
664c43ca13 feat: add performance logging middleware and enhance performance tracking across services
- Introduced RequestPerfMiddleware to log request performance metrics, including slow request thresholds.
- Updated various services and retrievers to utilize the new performance logging utility for better tracking of execution times.
- Enhanced existing methods with detailed performance logs for operations such as embedding, searching, and indexing.
- Removed deprecated logging setup in stream_new_chat and replaced it with the new performance logger.
2026-02-27 16:32:30 -08:00
DESKTOP-RTLN3BA\$punk
fa51ec42c6 chore: removed announcements from navbar and rewrote tagline 2026-02-27 15:45:48 -08:00
DESKTOP-RTLN3BA\$punk
37a0bd4533 feat: update contact information and meeting links across components
- Changed meeting link from Calendly to Cal.com for scheduling.
- Updated email contact from eric@surfsense.com to rohan@surfsense.com in multiple components.
- Revised text in the contact form to reflect the new scheduling options.
2026-02-27 15:31:31 -08:00
DESKTOP-RTLN3BA\$punk
6f4bf11a32 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-02-26 18:25:05 -08:00
DESKTOP-RTLN3BA\$punk
e9892c8fe9 feat: added configable summary calculation and various improvements
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic.
- Added enable_summary flag to several models and routes to control summary generation behavior.
2026-02-26 18:24:57 -08:00
Anish Sarkar
f419efcde1 Merge remote-tracking branch 'upstream/dev' into fix/docker 2026-02-27 05:00:23 +05:30
Anish Sarkar
4e401fdb92 feat: enhance installation script to include automatic Watchtower setup with customizable interval 2026-02-27 04:41:08 +05:30
Anish Sarkar
2468cc2a4a feat: add SidebarSeparator component and integrate into documentation layout
- Introduced SidebarSeparator component for improved sidebar organization.
- Updated layout configuration to utilize the new SidebarSeparator in the documentation layout.
2026-02-27 02:38:52 +05:30
Anish Sarkar
394a37576c refactor: update layout configuration and enhance documentation layout 2026-02-27 02:36:18 +05:30
Anish Sarkar
20ebb0703f chore: add icons to documentation metadata for improved visual representation 2026-02-27 02:15:21 +05:30
Anish Sarkar
78dcce3e06 refactor: update testing documentation for clarity and structure 2026-02-27 02:07:14 +05:30
Anish Sarkar
232622f9b3 docs: enhance Docker installation documentation with development compose file details and health check information 2026-02-26 20:17:19 +05:30
Anish Sarkar
32d092b293 feat: Add clean GHCR version tags alongside build tags; also update docker installation docs 2026-02-26 19:39:07 +05:30
Anish Sarkar
7d99dbc0d5 docs: update connector documentation to specify adding credentials to .env file instead of Docker run command 2026-02-26 19:24:55 +05:30
Anish Sarkar
2e8e85a4ef docs: enhance Docker installation and migration documentation with updated steps and options for managing updates 2026-02-26 19:11:57 +05:30
Anish Sarkar
025643ffa2 feat: enhance installation and migration scripts to automate legacy data migration process
- Updated install.sh to handle fresh installations and migrations from the legacy all-in-one container.
- Added checks for Docker and Docker Compose prerequisites.
- Implemented a wait-for-postgres function to ensure database readiness.
- Enhanced migration script to extract data and recover SECRET_KEY automatically.
- Updated documentation to reflect the new automated migration process.
2026-02-26 17:24:02 +05:30
Anish Sarkar
f051c19aca feat: add database migration script and update installation instructions for legacy all-in-one users 2026-02-26 16:15:47 +05:30
Anish Sarkar
b5874a587a chore: resolve merge conflict by removing legacy all-in-one Docker files
Keeps the deletion of Dockerfile.allinone, docker-compose.yml (root), and
scripts/docker/entrypoint-allinone.sh from fix/docker. Ports the Daytona
sandbox env vars added by upstream/dev into docker/docker-compose.yml and
docker/docker-compose.dev.yml instead.

Made-with: Cursor
2026-02-26 13:57:56 +05:30
Anish Sarkar
f311a34bf3 chore: update README and installation documentation to streamline Docker setup and clarify update instructions 2026-02-26 05:38:15 +05:30
Anish Sarkar
9ae589b6ba chore: update documentation for Electric SQL setup and enhance .env.example with connection instructions 2026-02-26 05:26:38 +05:30
Anish Sarkar
a57ab02900 feat: Implement file upload limits and page limit enforcement in backend
- Added constants for maximum files per upload, per-file size, and total upload size.
- Enhanced document upload route to validate file counts and sizes, returning appropriate HTTP errors.
- Introduced end-to-end tests for upload limits and page limit enforcement, ensuring correct behavior under various scenarios.
- Updated test helpers to support notification retrieval for page limit exceeded scenarios.
2026-02-26 01:25:34 +05:30
Anish Sarkar
93c0af475b Merge remote-tracking branch 'upstream/dev' into feat/document-test 2026-02-25 20:25:06 +05:30
Anish Sarkar
e1ac8bfc76 feat: Add testing environment variables to surfsense_backend/.env.example and update documentation 2026-02-25 19:52:25 +05:30
Anish Sarkar
2fef971fa9 chore: Update pytest duration reporting in pyproject.toml and refine testing documentation 2026-02-25 18:36:55 +05:30
Anish Sarkar
f52090391a feat: Add testing documentation and update meta.json 2026-02-25 17:54:03 +05:30
DESKTOP-RTLN3BA\$punk
d198c8b89d chore; linting 2026-02-25 01:50:28 -08:00
DESKTOP-RTLN3BA\$punk
d570cae3c6 feat: added file handling for daytona sandboxes
- Added _TimeoutAwareSandbox class to handle per-command timeouts in DaytonaSandbox.
- Updated _find_or_create function to manage sandbox states and restart stopped/archived sandboxes.
- Enhanced get_or_create_sandbox to return the new sandbox class.
- Introduced file download functionality in the frontend, allowing users to download generated files from the sandbox.
- Updated system prompt to include guidelines for sharing generated files.
2026-02-25 01:36:30 -08:00
DESKTOP-RTLN3BA\$punk
a6563f396a chore: moved to daytona due to lack of windows support in microsandbox 2026-02-25 00:38:27 -08:00
DESKTOP-RTLN3BA\$punk
2869d3a9c8 Merge commit 'd0ee8b12b6' into codesandbox_integration 2026-02-24 16:38:09 -08:00
DESKTOP-RTLN3BA\$punk
c007f0e056 feat: unut codesandbox integration 2026-02-24 16:36:11 -08:00
Rohan Verma
d0ee8b12b6
Merge pull request #834 from CREDO23/google-drive-hitl
[Feature] Add human in the loop for google drive sensitive actions (create:docs,sheets & delete)
2026-02-24 16:34:25 -08:00
Anish Sarkar
ce1f8c872f feat: add Docker configuration files and installation script for SurfSense 2026-02-24 22:45:37 +05:30
CREDO23
a57fc1e578 fix warning card to surface success message alongside kb deletion failure 2026-02-24 13:51:03 +02:00
CREDO23
2b3c5e377f fix create file card showing stale args after approval 2026-02-24 13:50:12 +02:00
CREDO23
30ab464ba7 fix reauth error handling and stale log messages 2026-02-24 13:33:47 +02:00
CREDO23
45b784cda6 update ui text for delete google drive file 2026-02-24 13:20:25 +02:00
CREDO23
e89b68520a rename trash_google_drive_file to delete_google_drive_file 2026-02-24 13:18:39 +02:00
CREDO23
6265e9a437 add delete_from_kb support to trash google drive file tool 2026-02-24 13:01:55 +02:00
CREDO23
24aa7c51a4 use return_url to redirect back after google drive reauth 2026-02-24 12:38:52 +02:00
Rohan Verma
47e6a7f29e
Merge pull request #831 from AnishSarkar22/fix/ui
feat: multiple UI enhancements
2026-02-24 00:32:11 -08:00
CREDO23
afbf448f88 pass thread_id in reauth request from trash-file card 2026-02-23 22:08:35 +02:00
CREDO23
b7e0209453 pass thread_id in reauth request from create-file card 2026-02-23 22:08:07 +02:00
CREDO23
5036809ee3 misc updates 2026-02-23 21:56:19 +02:00