Commit graph

2167 commits

Author SHA1 Message Date
Anish Sarkar
431ea44b56 feat: enhance periodic indexing configuration with detailed validation and UI options
- Updated the SearchSourceConnectorBase class to include detailed documentation on supported periodic indexing frequencies.
- Added "Every 5 minutes" option to the frequency selection in multiple connector forms (BookStack, ClickUp, Confluence, Discord, Elasticsearch, Github, Jira, Luma, Slack) to improve user experience and flexibility in scheduling.
2026-01-03 23:06:09 +05:30
Rohan Verma
d7899ea316
Merge pull request #662 from melvnl/fix/dashboard-search-spaces-responsive
fix(ui): fix dashboard search spaces layout for 1024px and below
2026-01-03 04:46:18 -08:00
Anish Sarkar
76de0b5530 fix: Add server side search and pagination for mentioned documents 2026-01-03 11:26:31 +05:30
Anish Sarkar
4f77d171d8 feat: implement auto-refresh capability for Linear and Notion connectors similar to google oauth based ones
- Enhanced LinearConnector and NotionHistoryConnector classes to support automatic token refresh, improving reliability in accessing APIs.
- Updated initialization to require session and connector ID, allowing for dynamic credential management.
- Introduced new credential schemas for Linear and Notion, encapsulating access and refresh tokens with expiration handling.
- Refactored indexers to utilize the new connector structure, ensuring seamless integration with the updated authentication flow.
- Improved error handling and logging during token refresh processes for better debugging and user feedback.
2026-01-03 04:24:00 +05:30
Anish Sarkar
1e30bc6484 docs: clarify token parameter descriptions in Linear and Notion connectors
- Updated documentation for the LinearConnector and NotionHistoryConnector classes to specify that the access token can also be an API key or integration token, enhancing clarity for users regarding token usage.
2026-01-03 03:48:46 +05:30
Anish Sarkar
ed995b0341 refactor: update token decryption handling for connectors
- Enhanced token decryption logic in Airtable, Google Drive, Linear, and Notion indexers to only attempt decryption when tokens are explicitly marked as encrypted.
- Added error handling for missing SECRET_KEY when tokens are marked as encrypted, improving robustness and clarity in error reporting.
- Updated comments to clarify the handling of plaintext tokens when encryption is not indicated.
2026-01-03 03:43:40 +05:30
Anish Sarkar
645e849d93 chore: ran both frontend and backend linting 2026-01-03 00:18:17 +05:30
Anish Sarkar
45489423d1 feat: implement token encryption and state management for OAuth connectors
- Added encryption for sensitive tokens (access token, refresh token, client secret) in Google Calendar, Google Drive, Gmail, Linear, and Notion connectors to enhance security.
- Introduced OAuthStateManager for secure state parameter generation and validation, improving the integrity of OAuth flows.
- Updated callback routes to handle state validation and error management, ensuring robust handling of authorization processes.
- Enhanced indexers to support decryption of tokens for backward compatibility, maintaining functionality with existing encrypted credentials.
- Improved validation for date parameters in connector routes to ensure proper input handling.
2026-01-02 23:46:03 +05:30
melvnl
492cfb470f ui: adjust dashboard search spaces heading text and padding responsiveness 2026-01-03 01:09:33 +07:00
Anish Sarkar
ec7599362d feat: enhance OAuth callback handling for Airtable, Linear, and Notion connectors if user deny access
- Updated callback routes to handle optional error parameters for OAuth flows, improving user experience during authorization failures.
- Implemented error logging and redirection logic to provide feedback when access is denied or errors occur.
- Added validation for required parameters to ensure proper handling of authorization codes and state parameters.
- Enhanced documentation in the callback functions to clarify the purpose of each parameter.
2026-01-02 21:44:50 +05:30
Anish Sarkar
b81af397c0 feat: add Linear OAuth integration and connector routes
- Introduced Linear OAuth support with new environment variables for client ID, client secret, and redirect URI.
- Implemented Linear connector routes for OAuth flow, including authorization and callback handling.
- Updated existing components to accommodate Linear integration, including validation changes and connector configuration.
- Enhanced the Linear indexer to utilize OAuth access tokens instead of API keys.
- Adjusted UI components to reflect the new Linear connector without requiring special configuration.
2026-01-02 21:24:28 +05:30
Anish Sarkar
c5b184d475 feat: add Notion OAuth integration and connector routes
- Introduced Notion OAuth support with new environment variables for client ID, client secret, and redirect URI.
- Implemented Notion connector routes for OAuth flow, including authorization and callback handling.
- Updated existing components to accommodate Notion integration, including validation changes and connector configuration.
- Enhanced the Notion indexer to utilize OAuth access tokens instead of integration tokens.
- Adjusted UI components to reflect the new Notion connector without requiring special configuration.
2026-01-02 20:07:14 +05:30
Anish Sarkar
2b01120c2b refactor: disable write_todos functionality across chat and UI components
- Commented out the write_todos tracking and messaging logic in the stream_new_chat.py file.
- Disabled the import and usage of WriteTodosToolUI in the new-chat page component.
- Updated related logic in the active connectors tab to remove indexing state handling for write_todos.
- These changes are part of a temporary disablement of the write_todos feature for further evaluation.
2026-01-02 18:22:38 +05:30
Anish Sarkar
d576607d67 refactor: improve connector popup UI and date formatting
- Adjusted the height of the dialog content in the connector popup for better layout.
- Enhanced the last indexed date display with a new function for contextual formatting, providing clearer time references.
- Updated various text sizes for consistency across the connector card and dialog header components.
- Minor layout adjustments in the connector dialog header and active connectors tab for improved spacing.
2026-01-02 17:17:49 +05:30
Anish Sarkar
0b7816850e Merge remote-tracking branch 'upstream/dev' into fix/connector 2026-01-02 16:51:39 +05:30
Anish Sarkar
8c946dfe80 feat: enhance document upload UI with accordion functionality 2026-01-02 16:51:37 +05:30
melvnl
c5b31bb7b5 fix(ui): fix dashboard search spaces layout for 1024px and below 2026-01-02 17:51:19 +07:00
Rohan Verma
736093848b
Merge pull request #661 from MODSetter/dev
feat: enhance login tracking and logout functionality
2026-01-02 01:11:35 -08:00
DESKTOP-RTLN3BA\$punk
70890bd97c Merge commit 'ae1c3f954e' into dev 2026-01-02 01:10:55 -08:00
DESKTOP-RTLN3BA\$punk
d20aef2957 feat: enhance login tracking and logout functionality
- Added session storage flag to track local login success, ensuring OAuth flows do not double track login events.
- Implemented tracking for logout events in both UserDropdown and AppSidebar components, resetting PostHog identity accordingly.
- Minor formatting adjustments in GoogleLoginButton and footer-new components for consistency.
2026-01-02 01:10:16 -08:00
Rohan Verma
ae1c3f954e
Merge pull request #659 from MODSetter/dev
try: oauth_errors
2026-01-02 00:26:20 -08:00
DESKTOP-RTLN3BA\$punk
458c152032 Merge commit 'a64ab8971d' into dev 2026-01-02 00:25:11 -08:00
DESKTOP-RTLN3BA\$punk
9029f5c621 feat: implement redirect-based OAuth authorization for Google login
- Added a new endpoint `/auth/google/authorize-redirect` to handle OAuth authorization via server-side redirect, addressing CSRF cookie issues in Firefox/Safari.
- Updated the `GoogleLoginButton` component to use the new redirect endpoint instead of the previous JSON-based authorization method.
- Enhanced CSRF cookie handling by explicitly setting the cookie domain and ensuring compatibility with cross-origin requests.
2026-01-02 00:25:02 -08:00
Rohan Verma
a64ab8971d
Merge pull request #658 from MODSetter/dev
update: readme
2026-01-02 00:02:10 -08:00
DESKTOP-RTLN3BA\$punk
a6b0400858 docs: update README files to correct Circleback listing 2026-01-02 00:01:46 -08:00
DESKTOP-RTLN3BA\$punk
a0579a8b34 Merge commit '756777cc83' into dev 2026-01-02 00:00:32 -08:00
DESKTOP-RTLN3BA\$punk
e60d6affee docs: update README files to include Google Drive and Circleback 2026-01-01 23:59:35 -08:00
Rohan Verma
756777cc83
Merge pull request #657 from MODSetter/dev
docs: update README files to include OAuth-based connector setup inst…
2026-01-01 23:46:23 -08:00
DESKTOP-RTLN3BA\$punk
29dca6e6d4 docs: update README files to include OAuth-based connector setup instructions for Google and Airtable 2026-01-01 23:43:03 -08:00
Rohan Verma
cba6752367
Merge pull request #654 from adithya-naik/fix/footer-dynamic-year
Added Dynamic Year Logic
2026-01-01 23:10:56 -08:00
Rohan Verma
c79c4bb2fd
Merge pull request #656 from MODSetter/dev
feat(v0.0.10): new connector and improved connector UX
2026-01-01 23:09:53 -08:00
DESKTOP-RTLN3BA\$punk
2832d57bda chore: linting 2026-01-01 22:56:37 -08:00
DESKTOP-RTLN3BA\$punk
eaa21c7150 feat: version bump to v0.0.10 2026-01-01 22:53:22 -08:00
DESKTOP-RTLN3BA\$punk
8f37170217 chore: update documentation and environment configuration
- Added GOOGLE_DRIVE_REDIRECT_URI to .env.example for Google Drive connector OAuth.
- Updated docker-installation.mdx and manual-installation.mdx to include GOOGLE_DRIVE_REDIRECT_URI in installation instructions.
2026-01-01 22:50:29 -08:00
Rohan Verma
8e9a84c194
Merge pull request #655 from AnishSarkar22/fix/connector
fix: Circleback & Google Drive connectors and UI improvements
2026-01-01 22:25:21 -08:00
Anish Sarkar
43e50e90df chore: ran linting 2026-01-02 04:10:37 +05:30
Anish Sarkar
5ebb9d7aea feat: integrate document upload dialog and enhance dashboard layout
- Added DocumentUploadDialogProvider to manage document upload dialog state across components.
- Updated DashboardClientLayout to include the DocumentUploadDialogProvider for improved user experience.
- Refactored DocumentsTableShell to utilize the new dialog for file uploads instead of navigating to a separate upload page.
- Removed the deprecated upload page and streamlined document upload handling within the dialog.
- Enhanced DocumentUploadTab with improved file type handling and user feedback during uploads.
- Updated GridPattern styling for better visual consistency.
2026-01-02 04:07:13 +05:30
Anish Sarkar
aa96e08231 feat: implement search functionality in connector popup
- Added a search input in the ConnectorDialogHeader to filter active connectors based on user input.
- Enhanced the ActiveConnectorsTab to filter displayed connectors and document types according to the search query.
- Introduced a clear search button for improved user experience when managing connectors.
2026-01-02 01:23:04 +05:30
Anish Sarkar
afe4254f74 refactor: reorganize connector tab layout and improve component logic
- Swapped the sections for "Content Sources" and "More Integrations" in the AllConnectorsTab for better clarity.
- Streamlined the mapping logic for filtered connectors and crawlers, enhancing readability and maintainability.
- Updated the AppSidebar to replace the workspace switch icon for improved visual consistency.
- Modified the submit button text in the localization file for better clarity in user actions.
2026-01-02 01:17:53 +05:30
Anish Sarkar
3227c6c043 refactor: enhance styling and layout of connector edit view
- Adjusted padding and height properties for action buttons in the connector edit view to improve UI consistency and usability.
- Ensured that button sizes are uniform across different screen sizes for a better user experience.
2026-01-01 23:24:34 +05:30
Anish Sarkar
95878368c8 chore: ran frontend linting 2026-01-01 22:24:42 +05:30
Anish Sarkar
f9a10c1e0d refactor: enhance Circleback connector configuration and simplify sidebar components
- Introduced Zod schema for type-safe validation of Circleback webhook info, improving data handling in the CirclebackConfig component.
- Updated the CirclebackConfig to utilize the new schema for fetching and setting webhook information.
- Removed unnecessary state management related to source expansion in the sidebar components, streamlining the NavMain, NavChats, and NavNotes components.
- Improved overall code clarity and maintainability by eliminating unused imports and props.
2026-01-01 22:17:03 +05:30
Anish Sarkar
5f76844992 refactor: update dashboard layout and enhance Circleback connector configuration
- Modified the DashboardLayout to replace the "Sources" section with a "Documents" entry, improving navigation clarity.
- Updated the CirclebackConfig component to include an Info icon for configuration instructions and adjusted the webhook URL input to be disabled for better user experience.
- Enhanced the useConnectorDialog hook to handle non-indexable connectors more effectively, ensuring proper state management and user feedback.
- Improved icon mapping in the app sidebar for consistency across components.
2026-01-01 22:08:20 +05:30
Anish Sarkar
3ae8fe3a7e refactor: simplify connector management and update dashboard layout
- Removed the Connectors management page and integrated its functionality into a popup for better user experience.
- Updated the DashboardLayout to reflect changes in navigation, removing references to the Connectors page.
- Streamlined the breadcrumb component by eliminating unnecessary connector-related sections.
- Enhanced the ConnectorIndicator to facilitate easier access to connector management features.
- Improved overall UI consistency and accessibility across the dashboard components.
2026-01-01 21:41:31 +05:30
Anish Sarkar
b909032e32 feat: enhance Google Drive connector functionality and UI
- Added support for selecting both folders and files in the Google Drive connector configuration.
- Updated the UI to reflect the selection of files alongside folders, improving user clarity.
- Introduced a quick indexing feature for connectors, allowing users to start indexing without date selection.
- Adjusted periodic sync settings to be disabled for Google Drive connectors, ensuring proper functionality.
- Improved styling and accessibility across various components in the connector popup.
2026-01-01 21:22:34 +05:30
Anish Sarkar
543daa0434 refactor: streamline connector management UI and enhance document handling
- Updated the ConnectorIndicator component to accurately reflect active connectors and their document counts.
- Improved the display of standalone document types in the ActiveConnectorsTab, allowing users to view all documents easily.
- Enhanced the ConnectorCard to show last indexed dates and formatted document counts for better clarity.
- Adjusted tooltip and aria-labels for accessibility and consistency across attachment upload components.
- Preserved newlines in URL input for webcrawler configuration to ensure proper backend handling.
2026-01-01 20:38:12 +05:30
Jatoth Adithya Naik
9b92915bbd
Added Dynamic Year Logic 2026-01-01 17:10:53 +05:30
Anish Sarkar
0e93d8420f fix: update connector links and streamline icon components
- Changed Linkup API link from linkup.ai to linkup.so in the connector popup.
- Removed unused IconSparkles and replaced it with Luma SVG in the connector icons.
- Updated image properties for Linear, GitHub, Google Calendar, Google Gmail, and Google Drive connectors to ensure consistent sizing.
- Replaced old SVG files for GitHub, Google Calendar, Google Drive, Google Gmail, and Linear with new versions for improved visuals.
2026-01-01 15:11:00 +05:30
DESKTOP-RTLN3BA\$punk
57e87f7526 Merge commit '433ea169a6' into dev 2025-12-31 19:34:16 -08:00
Rohan Verma
d6bf4d7ce1
Merge pull request #646 from AnishSarkar22/fix/connector
Move conenctors page to popup
2025-12-31 19:33:23 -08:00