Commit Graph

5570 Commits

Author SHA1 Message Date
dal e97ec9c002
Enhance S3 integration functionality
- Added bucketName to S3 integration responses and handlers to support bucket-specific operations.
- Updated tests to reflect the inclusion of bucketName in integration creation and retrieval processes.
- Improved error handling for fetching bucket names from the vault during S3 integration retrieval.

These changes improve the S3 integration management by allowing for more granular control and visibility of storage buckets.
2025-08-25 12:48:19 -06:00
dal f4b8199f21
Merge pull request #765 from buster-so/add-s3-integration-capability
Storage Bucket Integration
2025-08-25 09:58:05 -06:00
dal 48de08f603
Merge remote-tracking branch 'origin/staging' into add-s3-integration-capability 2025-08-25 09:53:18 -06:00
dal 8a26630836
storage integration 2025-08-25 09:52:37 -06:00
dal abbbd6eac7
make update message entries await 2025-08-25 09:26:27 -06:00
dal e2cf8449e6
s3 tests 2025-08-25 08:48:10 -06:00
dal 41ca3c3724
Refactor S3 integration handlers and storage provider logic
- Simplified S3 integration handler functions by consolidating imports and improving code readability.
- Updated error handling in the S3 integration process to enhance clarity and maintainability.
- Refactored storage provider functions to utilize a more modular approach, separating concerns for better organization.
- Introduced utility functions for common operations, improving code reuse and reducing duplication.

These changes enhance the overall structure and maintainability of the S3 integration management features.
2025-08-25 08:06:07 -06:00
dal 5f51dfc459
Implement S3 integration management features
- Added routes for creating, retrieving, and deleting S3 integrations in the API.
- Introduced handlers for S3 integration operations, including validation of user permissions and storage credentials.
- Updated database schema to support S3 integrations, including a new table and associated queries.
- Integrated storage provider logic to handle S3, R2, and GCS configurations.
- Enhanced error handling and response structures for integration operations.

This commit lays the groundwork for managing storage integrations within the application, allowing users to connect and manage their S3 storage solutions.
2025-08-25 08:05:19 -06:00
dal 6c8e2ba03c
remove slack integration feature flag 2025-08-25 01:11:10 -06:00
dal f469b2a152
Update PostgreSQL adapter SSL configuration to allow self-signed certificates
- Modified the SSL configuration in both the PostgreSQL adapter and its tests to use { rejectUnauthorized: false } instead of a boolean true value.
- Ensured consistency in handling SSL settings across the adapter and its tests.
2025-08-25 00:26:29 -06:00
dal da7af5f384
remove main hono server deploy job 2025-08-25 00:18:22 -06:00
dal 570624a112
posgres ssl fix 2025-08-25 00:15:09 -06:00
dal 2e24d830f0
Refactor database credential handling across adapters
- Updated all database adapter tests and implementations to replace the 'database' field with 'default_database' for consistency.
- Ensured backward compatibility in the Redshift adapter by allowing both 'database' and 'default_database' fields.
- Enhanced SQLServer and MySQL adapters to reflect the new credential structure, improving clarity and maintainability.
2025-08-24 23:35:46 -06:00
dal 210fa646b1
ci cd fixes 2025-08-24 22:35:49 -06:00
dal a03776ed0a
fix docker buiild and deploy in ci 2025-08-24 22:29:12 -06:00
dal c1ad9cd710
ci cd fixes and clean up 2025-08-24 22:14:06 -06:00
dal 9bdfe81cd5
final tweak 2025-08-24 22:09:45 -06:00
dal 7b9afdbb2f
Enhance tool result conversion by validating toolCallId
- Added checks to ensure toolCallId exists and is a valid string before processing tool results.
- Preserves the original part if toolCallId is missing or invalid, improving robustness in message conversion.
2025-08-24 21:51:13 -06:00
dal 980a786d21
fix build errors 2025-08-24 21:42:38 -06:00
dal 455888cdcd
ai sdk v4 to v5 conversion 2025-08-24 21:31:16 -06:00
dal c5d5e28cc5
Merge branch 'main' into staging 2025-08-22 21:44:27 -06:00
dal 39caebef28
Merge pull request #757 from buster-so/update-message-entries-pass-through-cache
Add lru-cache dependency and refactor updateMessageEntries function
2025-08-22 20:48:39 -06:00
dal ce8d9a3064
Refactor updateMessageEntries for cache-first streaming approach
- Updated logic to prioritize cache as the source of truth during streaming, with asynchronous database updates for persistence.
- Improved error handling for background database updates, ensuring cache validity even if DB update fails.
- Cleaned up mergeResponseMessages and mergeReasoningMessages functions by removing redundant code.
2025-08-22 20:43:44 -06:00
dal 0d44a230d7
Update packages/database/src/queries/messages/helpers/merge-entries.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-22 17:37:43 -06:00
dal 948a07ec72
Update packages/database/src/queries/messages/helpers/merge-entries.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-22 17:37:34 -06:00
dal 77cd39b151
Update packages/database/src/queries/messages/update-message-entries.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-22 17:37:10 -06:00
dal b14054a033
Add lru-cache dependency and refactor updateMessageEntries function
- Introduced lru-cache version 11.1.0 in package.json and pnpm-lock.yaml.
- Refactored updateMessageEntries to utilize TypeScript-based merge logic with write-through caching.
- Improved error handling for fetching existing message entries and updated database logic to merge new entries with existing ones.
2025-08-22 17:34:40 -06:00
dal affe7b710b
update message entries query fix 2025-08-22 17:03:41 -06:00
dal dcf1687b50
Refactor sequential thinking tool to remove raw LLM message entries
- Removed the creation and handling of raw LLM message entries in both start and finish functions.
- Updated message entry updates to only include reasoning messages, simplifying the logic and improving clarity.
2025-08-22 16:50:55 -06:00
dal 50c9575d6f
Merge pull request #756 from buster-so/analyst-workflow-output
Enhance Analyst Workflow with Tool Integration and Output Structuring
2025-08-22 16:33:18 -06:00
dal d01259e728
Enhance Analyst Workflow with Tool Integration and Output Structuring
- Added imports for various dashboard, metrics, and report tools to the analyst workflow.
- Updated the `runAnalystWorkflow` function to return a comprehensive output, including tool call results, charts created, and summary statistics.
- Implemented logic to extract tool calls and segment messages by user requests, improving the overall workflow output structure.
2025-08-22 16:28:05 -06:00
dal 1cff29d936
update messages 2025-08-22 16:22:11 -06:00
dal 9031d3d2a6
Merge pull request #755 from buster-so/add-static-dataframe-caching
Add-static-dataframe-caching
2025-08-22 13:00:34 -06:00
dal 649767b17e
Merge remote-tracking branch 'origin/staging' into add-static-dataframe-caching 2025-08-22 12:48:21 -06:00
dal 416dfa8714
fix query requests.. 2025-08-22 12:47:07 -06:00
dal fe5819efe1
Update AWS SDK dependencies and enhance metric data handling
- Upgraded '@aws-sdk/client-s3' to version 3.873.0 across multiple packages.
- Introduced caching mechanisms for metric data retrieval in the getMetricDataHandler function.
- Updated API endpoints to support report_file_id for cache lookups and data retrieval.
- Enhanced error handling and logging for cache operations.
- Refactored related components to accommodate new caching logic and parameters.
2025-08-22 12:45:05 -06:00
dal 7b35398e05
delpoy on staging and main 2025-08-22 12:42:32 -06:00
dal 87d3efc3c5
Merge pull request #754 from buster-so/Jacob-report-prompt-v5
Improved Prompts
2025-08-22 12:01:08 -06:00
jacob-buster f539ca2566 Improved Prompts 2025-08-22 11:59:12 -06:00
dal ec4a04b814
Merge pull request #752 from buster-so/share-report-functionality
Add report sharing endpoints and integrate with existing routes
2025-08-22 11:51:44 -06:00
dal db775397d9
Enhance report sharing functionality with response type integration
- Updated DELETE, GET, and POST handlers to return structured response types (ShareDeleteResponse, ShareGetResponse, SharePostResponse) for better consistency and clarity.
- Refactored permission checks and report existence validation to streamline logic.
- Improved optimistic UI updates in the frontend for sharing reports, ensuring a smoother user experience.
- Added response schemas for sharing operations to the shared reports module.
2025-08-22 11:46:30 -06:00
dal 07c212b80c
Merge pull request #753 from buster-so/add-access-controls-to-reports
Refactor report retrieval to include permission checks and enhance filtering options
2025-08-22 11:21:21 -06:00
dal 82e81ec964
Merge remote-tracking branch 'origin/staging' into add-access-controls-to-reports 2025-08-22 11:15:47 -06:00
dal 250c02db3b
Merge remote-tracking branch 'origin/staging' into share-report-functionality 2025-08-22 11:15:38 -06:00
dal c1e1c1edac
Refactor report sharing endpoints for improved structure and clarity
- Exported handler functions for DELETE, GET, POST, and PUT endpoints to enhance modularity.
- Removed redundant authentication middleware from individual endpoint files, consolidating it in the index route.
- Cleaned up code formatting for better readability.
- Deleted outdated test file for report sharing endpoints.
2025-08-22 11:15:35 -06:00
dal f3cf5f46c4
Refactor report retrieval to include permission checks and enhance filtering options
- Updated GET reports endpoint to use `getReportsWithPermissions` for improved access control.
- Added support for filtering reports based on `shared_with_me` and `only_my_reports` flags.
- Introduced `getReportsWithPermissions` function to handle complex permission logic in the database layer.
- Enhanced report metadata retrieval to ensure proper access validation before fetching report details.
2025-08-22 11:14:50 -06:00
dal 4558f22f7e
refactor: remove duplicate report functionality from ReportThreeDotMenu
- Removed the duplicate report item from the dropdown menu.
- Cleaned up related code and comments for clarity.
2025-08-22 11:07:52 -06:00
dal 17ee5d2197
hide verification in UI 2025-08-22 10:53:28 -06:00
dal eedf5f42f8
Add report sharing endpoints and integrate with existing routes
- Implemented DELETE, GET, POST, and PUT endpoints for report sharing functionality.
- Added logic to handle sharing permissions, including validation of user access and email checks.
- Updated the sharing index route to include new endpoints.
- Created comprehensive tests for sharing functionalities to ensure proper behavior.
- Enhanced the frontend with hooks for sharing reports, unsharing reports, and updating sharing settings.
2025-08-22 10:49:05 -06:00
dal 550b86255a
Merge pull request #751 from buster-so/add-report-to-collection-functionality
Add-report-to-collection-functionality
2025-08-22 10:47:36 -06:00