Commit graph

4691 commits

Author SHA1 Message Date
Anish Sarkar
742548847a refactor: optimize navigation items in LayoutDataProvider, enhance button layout in InboxSidebar with tooltip support, full width in PageUsageDisplay 2026-04-06 12:14:17 +05:30
Rohan Verma
ee043df942
Merge pull request #1135 from tmchow/fix/1053-passive-event-listeners
Some checks failed
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
perf: add passive option to scroll and touch event listeners
2026-04-05 13:34:03 -07:00
Rohan Verma
d95bce1bf1
Merge pull request #1123 from SohamBhattacharjee2003/fix-timeout-leak
fix: resolve setTimeout memory leak on unmounted component
2026-04-05 13:29:02 -07:00
Rohan Verma
1e0cf21d4a
Merge pull request #1122 from okxint/fix/memoize-format-relative-time
fix: memoize formatRelativeTime in thread list
2026-04-05 13:27:46 -07:00
Rohan Verma
4231efc076
Merge pull request #1121 from sukarxn/feature/memoize-context-provider-values
perf: optimize ui components with react hooks memoization
2026-04-05 13:26:20 -07:00
Rohan Verma
3d2e25cdf3
Merge pull request #1120 from ArvinFarrelP/fix-mobile-navbar-remount
fix(navbar): remove key prop causing unnecessary remount in mobile navbar
2026-04-05 13:25:42 -07:00
Rohan Verma
74bf3df880
Merge pull request #1130 from CREDO23/feat/vision-autocomplete
[Feat] Vision-based autocomplete with KB grounding
2026-04-05 13:24:55 -07:00
Rohan Verma
13e302676e
Merge pull request #1124 from AnishSarkar22/feat/page-limit-connectors
feat: implement page limit estimation and enforcement & some fixes
2026-04-05 13:24:24 -07:00
Anish Sarkar
7fa1810d50 refactor: simplify CommentComposer button layout and update placeholder text in CommentItem 2026-04-05 23:14:54 +05:30
Anish Sarkar
c9e5fe9cdb refactor: update icon usage in CommentActions and enhance Tooltip component for mobile responsiveness 2026-04-05 23:02:17 +05:30
Anish Sarkar
1f162f52c3 feat: add tooltip functionality to DocumentNode for title overflow handling and refactor ChatShareButton by removing unnecessary Tooltip wrapper 2026-04-05 22:50:36 +05:30
Anish Sarkar
c6e94188eb refactor: remove destructive text classes from DocumentNode and enhance CreateSearchSpaceDialog with select-none and select-text classes 2026-04-05 18:23:32 +05:30
Anish Sarkar
f8913adaa3 test: add unit tests for content extraction from cloud connectors and ETL pipeline functionality 2026-04-05 17:46:04 +05:30
Anish Sarkar
87af012a60 refactor: streamline file processing by integrating ETL pipeline for all file types and removing redundant functions 2026-04-05 17:45:18 +05:30
Anish Sarkar
8224360afa refactor: unify file parsing logic across Dropbox, Google Drive, and OneDrive using the ETL pipeline 2026-04-05 17:30:29 +05:30
Anish Sarkar
1248363ca9 refactor: consolidate document processing logic and remove unused files and ETL strategies 2026-04-05 17:29:24 +05:30
Anish Sarkar
f40de6b695 feat: add parsers for Docling, LlamaCloud, and Unstructured to ETL pipeline 2026-04-05 17:27:24 +05:30
Anish Sarkar
2824410be2 feat: add plaintext parser to ETL pipeline for reading text files 2026-04-05 17:26:42 +05:30
Anish Sarkar
35582c9389 feat: add direct_convert module to ETL pipeline for file conversion 2026-04-05 17:26:29 +05:30
Anish Sarkar
02fc6f1d16 feat: add audio transcription functionality to ETL pipeline 2026-04-05 17:26:03 +05:30
Anish Sarkar
5d22349dc1 feat: implement ETL pipeline with file classification and extraction services 2026-04-05 17:25:25 +05:30
Trevin Chow
6b5b45d08d perf: add passive option to scroll and touch event listeners
Browsers wait for scroll/touch listeners to finish to check if
preventDefault() is called, which delays scrolling. Since these
handlers (navbar scroll detection, click-outside detection, and
onboarding tour position updates) never call preventDefault(),
marking them as passive lets the browser scroll without waiting.

Fixes #1053
2026-04-04 22:03:06 -07:00
CREDO23
a180bf5576 fix merge conflicts 2026-04-04 09:39:20 +02:00
CREDO23
d7315e7f27 Merge upstream/dev into feat/vision-autocomplete 2026-04-04 09:15:13 +02:00
CREDO23
18103417bb fix: harden autocomplete endpoint security and error handling 2026-04-04 08:57:09 +02:00
CREDO23
46e8134b23 catch non-vision model errors with actionable user message 2026-04-04 08:40:55 +02:00
Anish Sarkar
82d4d3e272 chore: ran linting 2026-04-04 03:37:33 +05:30
Anish Sarkar
e814540727 refactor: move PKCE pair generatio for airtable
- Removed the `generate_pkce_pair` function from `airtable_add_connector_route.py` and relocated it to `oauth_security.py` for better organization.
- Updated imports in `airtable_add_connector_route.py` to reflect the new location of the PKCE generation function.
2026-04-04 03:36:54 +05:30
Anish Sarkar
8e6b1c77ea feat: implement PKCE support in native Google OAuth flows
- Added `generate_code_verifier` function to create a PKCE code verifier for enhanced security.
- Updated Google Calendar, Drive, and Gmail connector routes to utilize the PKCE code verifier during OAuth authorization.
- Modified state management to include the code verifier for secure state generation and validation.
2026-04-04 03:35:34 +05:30
Anish Sarkar
09008c8f1a refactor: remove redundant authenticatedFetch calls in editor panel components 2026-04-04 03:26:22 +05:30
Anish Sarkar
a2b3541046 chore: ran linting 2026-04-04 03:11:56 +05:30
Anish Sarkar
0d2acc665d Merge remote-tracking branch 'upstream/dev' into feat/page-limit-connectors 2026-04-04 03:08:27 +05:30
Anish Sarkar
ce40da80ea feat: implement page limit estimation and enforcement in file based connector indexers
- Added a static method `estimate_pages_from_metadata` to `PageLimitService` for estimating page counts based on file metadata.
- Integrated page limit checks in Google Drive, Dropbox, and OneDrive indexers to prevent exceeding user quotas during file indexing.
- Updated relevant indexing methods to utilize the new page estimation logic and enforce limits accordingly.
- Enhanced tests for page limit functionality, ensuring accurate estimation and enforcement across different file types.
2026-04-04 02:51:28 +05:30
SohamBhattacharjee2003
0cd997f673 fix: resolve setTimeout memory leak on unmounted component 2026-04-04 01:28:45 +05:30
CREDO23
960b8fc012 add app context and KB grounding to autocomplete suggestions 2026-04-03 21:34:01 +02:00
CREDO23
080acf5e0a remove dead code: allPermissionsGranted, simulateCopy, pendingSuggestionText, updateSuggestionText 2026-04-03 20:16:23 +02:00
CREDO23
c5aa869adb switch to on-demand permission requests and improve suggestion UX 2026-04-03 19:57:48 +02:00
sukarxn
af5977691b perf: optimize ui components with react hooks memoization
- toggle-group.tsx: Wrap contextValue in useMemo to prevent unnecessary re-renders
- animated-tabs.tsx: Hoist constants and memoize handlers with useCallback/useMemo
- LocaleContext.tsx: Wrap setLocale in useCallback and contextValue in useMemo
- plate-editor.tsx: Memoize SaveShortcutPlugin and contextProviderValue, use useRef for stable references
2026-04-03 23:23:54 +05:30
CREDO23
aeb3f13f91 replace text-based autocomplete with vision-based endpoint 2026-04-03 18:17:50 +02:00
CREDO23
ced7f7562a wire global shortcut and screenshot into autocomplete trigger 2026-04-03 18:09:54 +02:00
CREDO23
339ff7fdf4 add screenshot capture module using desktopCapturer 2026-04-03 17:47:33 +02:00
CREDO23
482238e5d4 add vision LLM role for screenshot analysis 2026-04-03 17:40:27 +02:00
Rohan Verma
92d75ad622
Merge pull request #1118 from SohamBhattacharjee2003/fix/logo-lcp-priority
Some checks failed
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
fix: logo lcp priority
2026-04-03 08:16:38 -07:00
Rohan Verma
f35f5cef09
Merge pull request #1117 from sukarxn/feature/replace-raw-img-tags-with-next/image
fix: optimize image components with next/image
2026-04-03 08:15:59 -07:00
Rohan Verma
90228d5e0b
Merge pull request #1115 from SohamBhattacharjee2003/fix/memoize-json-stringify
fix: memoize json stringify
2026-04-03 08:14:24 -07:00
Rohan Verma
183169a37a
Merge pull request #1113 from SohamBhattacharjee2003/perf/optimize-threads-query
perf: normalize query keys and add placeholderData to optimize…
2026-04-03 08:12:16 -07:00
Rohan Verma
0ad72e21a5
Merge pull request #1112 from SohamBhattacharjee2003/fix/fetch-abort-controller
fix: add AbortController to properly cancel fetch requests on …
2026-04-03 08:11:42 -07:00
ArvinFarrelP
bb84bb25a3
perf(images): add sizes prop to improve Next.js image loading 2026-04-03 22:11:21 +07:00
Rohan Verma
3dba11d532
Merge pull request #1110 from mvanhorn/fix/upload-progress-interval-cleanup
fix: clear upload progress interval on unmount
2026-04-03 08:08:38 -07:00
Rohan Verma
71badbed31
Merge pull request #1109 from mvanhorn/fix/onboarding-timer-cleanup
fix: clean up onboarding tour timer leaks
2026-04-03 08:07:11 -07:00