Commit graph

2094 commits

Author SHA1 Message Date
Anish Sarkar
271ddffbf5 refactor: Add indexing functions with notification support
- Refactored multiple indexing functions in search_source_connectors_routes to utilize a new helper function for handling notifications.
- Removed redundant error handling and logging from individual indexing tasks, streamlining the code.
2026-01-13 11:30:45 +05:30
Anish Sarkar
38f907e65b feat: Implement Electric SQL replication setup for notifications table
- Added setup_electric_replication function to handle Electric SQL replication for the notifications table during app startup.
- Updated alembic migration script to remove direct SQL commands for replication, now managed in app/db.py.
- Refactored indexing functions in search_source_connectors_routes to support new start_date and end_date parameters for improved flexibility.
- Enhanced Google Gmail indexing task to utilize new date parameters, ensuring better control over indexing periods.
2026-01-13 03:16:42 +05:30
Anish Sarkar
44605749c5 refactor: Update NotificationPopup and use-notifications for improved UI and performance
- Removed Badge component from NotificationPopup and replaced it with status icons for better visual representation.
- Refactored getStatusBadge to getStatusIcon for clarity and updated icon sizes.
- Enhanced useNotifications hook to utilize a ref for initialization tracking, improving performance and preventing unnecessary re-initializations.
- Optimized notification fetching logic with improved error handling and real-time updates using Electric SQL.
- Adjusted loading state management to ensure UI responsiveness during data fetching.
2026-01-13 00:06:21 +05:30
Anish Sarkar
93d17b51f5 feat: Implement notification system with real-time updates and Electric SQL integration
- Added notifications table to the database schema with replication support for Electric SQL.
- Developed NotificationService to manage indexing notifications, including creation, updates, and status tracking.
- Introduced NotificationButton and NotificationPopup components for displaying notifications in the UI.
- Enhanced useNotifications hook for real-time notification syncing using PGlite live queries.
- Updated package dependencies for Electric SQL and improved error handling in notification processes.
2026-01-12 22:50:15 +05:30
Anish Sarkar
f441c7b0ce feat: Enhance Electric SQL integration and update notification handling
- Added initialization script for Electric SQL user in Docker setup.
- Updated Electric SQL client to support new PGlite architecture and sync functionality.
- Improved notification fetching and syncing logic in useNotifications hook.
- Refactored ElectricProvider to handle initialization state and errors more gracefully.
- Removed deprecated electric.config.ts file and adjusted package dependencies accordingly.
2026-01-12 14:53:18 +05:30
Anish Sarkar
82c6dd0221 feat: Integrate Electric SQL for real-time notifications and enhance PostgreSQL configuration
- Added Electric SQL service to docker-compose for real-time data synchronization.
- Introduced PostgreSQL configuration for logical replication and performance tuning.
- Created scripts for initializing Electric SQL user and electrifying tables.
- Implemented notification model and service in the backend.
- Developed ElectricProvider and useNotifications hook in the frontend for managing notifications.
- Updated environment variables and package dependencies for Electric SQL integration.
2026-01-12 12:47:00 +05:30
Rohan Verma
383592ce63
Merge pull request #680 from AnishSarkar22/fix/index-future-date
feat: Index future dates for calendar based connectors & bug fixes
2026-01-10 14:00:29 -08:00
Rohan Verma
504ecf52d5
Merge pull request #675 from CREDO23/sur-73-impr-implement-new-main-app-ux
[Refactor] Implement new main app UX
2026-01-10 14:00:17 -08:00
Rohan Verma
8492ea3ad1
Merge pull request #671 from CREDO23/sur-70-feature-streamline-onboarding-auto-create-default-workspace
[Feature] Streamline onboarding | Auto create default Search space
2026-01-10 13:59:54 -08:00
Rohan Verma
488927e6ae
Merge pull request #684 from manojag115/feat/microsoft-teams-connector-reraise
Add Microsoft Teams connector to surfsense
2026-01-09 18:12:47 -08:00
Manoj Aggarwal
8b735a492a lint 2026-01-09 13:53:09 -08:00
Manoj Aggarwal
62d0d8b6db ruff lint 2026-01-09 13:38:49 -08:00
Manoj Aggarwal
29dadfd138 nit 2026-01-09 13:34:36 -08:00
Manoj Aggarwal
8b650f4cf4 resolve vercel error 2026-01-09 13:33:28 -08:00
Manoj Aggarwal
4532cc3569 revert .vscode change 2026-01-09 13:20:59 -08:00
Manoj Aggarwal
36c395ba72 nit 2026-01-09 13:20:54 -08:00
Manoj Aggarwal
18035b3728 Add MS Teams connector 2026-01-09 13:20:47 -08:00
Manoj Aggarwal
fa35b71522 Add teams connector similar to slack 2026-01-09 13:20:30 -08:00
Rohan Verma
3c93c7439f
Merge pull request #683 from manojag115/revert-679-feat/ms-teams-connector
Revert "Add Microsoft Teams Connector"
2026-01-09 12:42:59 -08:00
Manoj Aggarwal
786fd63e5b
Revert "Add Microsoft Teams Connector" 2026-01-09 12:33:26 -08:00
CREDO23
8255d158a8 Merge branch 'dev' into sur-73-impr-implement-new-main-app-ux 2026-01-09 21:50:41 +02:00
CREDO23
532f0039d5 merge dev 2026-01-09 15:12:31 +02:00
CREDO23
101dd5745c merge dev 2026-01-09 15:00:15 +02:00
CREDO23
a5d47cae31 Merge remote-tracking branch 'upstream/dev' into sur-70-feature-streamline-onboarding-auto-create-default-workspace 2026-01-09 14:56:41 +02:00
Anish Sarkar
61560e5d4f chore: ran frontend linting 2026-01-09 18:22:54 +05:30
CREDO23
a099bcf5fb refactor: remove frontend auto-create search space logic
- Removed auto-creation of default search space from frontend dashboard
- Frontend now only handles auto-redirect for users with exactly 1 search space
- All default search space creation should be handled by backend on_after_register
2026-01-09 14:47:00 +02:00
Anish Sarkar
b17cb40732 feat: enhance connector dialog and accounts list view
- Added state management to track if the user came from the accounts list when entering edit mode in the connector dialog.
- Updated the back navigation logic to restore the accounts list view if applicable.
- Improved the UI of the accounts list view with a new back button and enhanced connector header layout for better user experience.
2026-01-09 17:11:47 +05:30
DESKTOP-RTLN3BA\$punk
e8dc80cd20 Merge commit 'fc8b9036a6' into dev 2026-01-09 00:51:03 -08:00
DESKTOP-RTLN3BA\$punk
4e5900ed5a chore: updated sitemap 2026-01-09 00:50:11 -08:00
DESKTOP-RTLN3BA\$punk
9e6a873400 docs: msft teams 2026-01-09 00:34:21 -08:00
Anish Sarkar
e21bc8086a Merge remote-tracking branch 'upstream/dev' into fix/index-future-date 2026-01-09 13:24:38 +05:30
Anish Sarkar
4aeb05e2e5 feat: allow future dates for Google Calendar and Luma connectors
- Updated date handling in indexing functions to permit future dates for Google Calendar and Luma connectors.
- Enhanced UI components to support future date selection, including a new button for selecting the next 30 days.
- Adjusted documentation and descriptions to clarify date range options for users.
2026-01-09 13:20:12 +05:30
DESKTOP-RTLN3BA\$punk
2e8d3fd721 feat: updated logo 2026-01-08 23:03:43 -08:00
Rohan Verma
8a2715e549
Merge pull request #679 from manojag115/feat/ms-teams-connector
Add Microsoft Teams Connector
2026-01-08 20:27:51 -08:00
Manoj Aggarwal
fed9d73796 revert .vscode change 2026-01-08 19:19:27 -08:00
Manoj Aggarwal
2b074b947c nit 2026-01-08 19:04:38 -08:00
Manoj Aggarwal
ba7e4f0ceb Add MS Teams connector 2026-01-08 17:13:19 -08:00
Rohan Verma
fc8b9036a6
Merge pull request #677 from MODSetter/dev
feat: add tracking for users viewed in search space
2026-01-08 13:38:54 -08:00
DESKTOP-RTLN3BA\$punk
609fc879be feat: add tracking for users viewed in search space
- Introduced a new event tracking function for when users view the team page in a search space.
- Updated the team management page to utilize this tracking, capturing user and owner counts.
2026-01-08 13:38:28 -08:00
Rohan Verma
1bed330261
Merge pull request #676 from MODSetter/dev
feat: updated sitemap, added more posthog events & added new changelog
2026-01-08 13:16:53 -08:00
DESKTOP-RTLN3BA\$punk
dfaa0cef21 chore: linting 2026-01-08 13:11:58 -08:00
DESKTOP-RTLN3BA\$punk
789197d41c feat: updated sitemap, added more posthog events & added new changelog
- Implemented a function to return the current hour for lastModified timestamps in the sitemap.
- Added multiple new URLs to the sitemap, including documentation and connector pages.
- Integrated tracking for search space invite events, including sent, accepted, declined, and user added events.
- Enhanced connector management with tracking for connection, deletion, and indexing events.
2026-01-08 13:10:48 -08:00
CREDO23
d689a8728a fix: query key caching for threads 2026-01-08 19:11:26 +02:00
CREDO23
16c94d1c47 chore: remove old sidebar components 2026-01-08 19:11:18 +02:00
CREDO23
ab052bf1f2 refactor: use new layout in dashboard 2026-01-08 19:11:07 +02:00
CREDO23
65a10518d5 feat: add sidebar translations 2026-01-08 19:10:53 +02:00
CREDO23
a919f8d9ee feat: add new layout system (Slack/ClickUp inspired) 2026-01-08 19:10:40 +02:00
Rohan Verma
2fd38615e8
Merge pull request #673 from MODSetter/dev
feat: multi oauth connection management & shifted connectors to their oauth alternatives
2026-01-07 21:25:25 -08:00
DESKTOP-RTLN3BA\$punk
f1328db94f feat: bumped version to 0.0.11 2026-01-07 20:59:54 -08:00
DESKTOP-RTLN3BA\$punk
93dbb5355f docs: updated readmes 2026-01-07 20:56:48 -08:00