Commit Graph

1082 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 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 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 455888cdcd
ai sdk v4 to v5 conversion 2025-08-24 21:31:16 -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 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 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 cd5ea1a3a6
Merge remote-tracking branch 'origin/staging' into add-report-to-collection-functionality 2025-08-22 10:41:57 -06:00
dal cfafa773ea
move reports above collections 2025-08-22 10:41:46 -06:00
dal d308b20c3e
fix: enable report navigation and display in collections
- Fix report route to use APP_REPORTS_ID instead of APP_REPORT_ID
- Add report icon to CollectionIconRecord
- Add report case to createAssetLink function for proper navigation
2025-08-22 10:39:22 -06:00
dal ff0828d75a
Merge remote-tracking branch 'origin/staging' into add-report-to-collection-functionality 2025-08-22 10:28:36 -06:00
dal 49e072979c
fix: add ReportContent variant to VersionContent enum
- Add ReportContent(String) variant to handle report version history
- Reports store content as plain strings unlike metrics/dashboards which use YAML
- Fixes deserialization error when fetching reports with version history
2025-08-22 10:20:33 -06:00
dal 531023ca6d
add route to asset icons 2025-08-22 10:16:23 -06:00
dal 7229faea25
fix: add report type support to collection REST endpoints
- Add 'report' case to add_assets_to_collection endpoint
- Add 'report' case to remove_assets_from_collection endpoint
- Update error response mappings to include ReportFile type
2025-08-22 10:15:12 -06:00
dal 13a1d38437
Merge remote-tracking branch 'origin/staging' into add-report-to-collection-functionality 2025-08-22 10:05:24 -06:00
dal 21a2d3f2d7
Refactor report generation handling and UI updates
- Simplified the `GeneratingContent` component to display a static loading message.
- Updated `ReportPageController` to determine if a report is being generated based on the current message context.
- Adjusted report status handling in the delta creation process to maintain 'loading' status during streaming.
- Enhanced logic in the modify reports helper to ensure file status reflects loading during streaming and only updates to completed or failed when all edits are finalized.
- Modified database query to preserve input order for new messages during updates.
2025-08-22 10:05:07 -06:00
dal 41ca18ea98
feat: add report files support to collections functionality
- Create report_files.rs helper module with permission checking
- Add ReportFile asset type handling in add_assets_to_collection_handler
- Add Report variant to AssetToRemove enum for removal operations
- Include report files in collection queries and responses
- Follow existing patterns for MetricFile and DashboardFile
2025-08-22 09:59:24 -06:00
dal ad4d7a3134
Merge pull request #750 from buster-so/migrate-metric-data-endpoints-to-ts
Migrate-metric-data-endpoints-to-ts
2025-08-22 09:06:46 -06:00
dal 6e591abeee
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-22 09:01:32 -06:00
dal d1155e5978
Enhance metric query execution and metadata handling
- Introduced `executeMetricQuery` utility for standardized metric SQL query execution with retry logic.
- Updated `getMetricDataHandler` and metric tool execution functions to utilize the new query utility, improving error handling and result processing.
- Added metadata generation from query results to provide detailed insights into data structure.
- Refactored SQL validation to ensure only read-only queries are executed, enhancing data integrity.
2025-08-22 09:01:28 -06:00
dal 50e8e431b5
merge staging 2025-08-22 09:00:26 -06:00
dal 0a0596b4b1
Comment out the disabled prop in DynamicReportEditor for clarity 2025-08-22 08:59:37 -06:00
dal 05575fe65e
Implement integration tests for chat creation and enhance report menu functionality 2025-08-22 08:46:28 -06:00
dal 4277181a71
Add ReportFile enum variant and implement related database schema and handlers 2025-08-22 08:44:48 -06:00
Nate Kelley c21d84a5d2
fixed bug with metric and a callout 2025-08-21 23:07:23 -06:00
Nate Kelley eb52262bcd
Update next.config.mjs 2025-08-21 22:30:37 -06:00
Nate Kelley b2797ee759
Update MetricContent.tsx 2025-08-21 22:28:03 -06:00
Nate Kelley 25162bac0e
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-08-21 22:26:26 -06:00
Nate Kelley eadb3389cd
Update EditorContainer.tsx 2025-08-21 22:26:25 -06:00
Nate Kelley 99f8dcfbaf
Merge pull request #748 from buster-so/cursor/fix-divider-border-color-to-use-global-tailwind-f772
Fix divider border color to use global tailwind
2025-08-21 22:23:55 -06:00
Nate Kelley b29fb18a3c
scroll to bottom button 2025-08-21 22:21:46 -06:00
Nate Kelley 6818c46578
rename prop 2025-08-21 22:11:07 -06:00
Nate Kelley 55751b0468
Merge branch 'staging' into devin/1755829561-auto-scroll-report-editor 2025-08-21 22:09:52 -06:00
Nate Kelley 52aa0feb44
Merge pull request #745 from buster-so/devin/1755828769-comment-out-equation-button
Comment out equation button and three dot menu from floating toolbar
2025-08-21 22:08:36 -06:00
Nate Kelley 9a28782123
Merge pull request #744 from buster-so/devin/1755828681-add-three-keyword-to-three-column-component
feat: add 'three' keyword synonym for three column component
2025-08-21 22:08:09 -06:00
Nate Kelley ad92215018
Merge branch 'staging' into devin/1755828439-report-editor-streaming-loading 2025-08-21 22:07:04 -06:00
Nate Kelley 8cd289ea59
Add a loading indactor that is stylized 2025-08-21 22:05:44 -06:00
dal 44c8191f94
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-21 22:00:26 -06:00