Commit Graph

5518 Commits

Author SHA1 Message Date
Nate Kelley 22e23d6d97
Create a pipeline to update versions
chore: bump version to 0.0.2
2025-01-14 13:21:12 -07:00
Nate Kelley 58dc72b9ef
update disable logic for deploying a dataset 2025-01-14 13:04:24 -07:00
Nate Kelley 2812df14a1
create dataset endpoints 2025-01-14 12:53:54 -07:00
Nate Kelley 3104cace3c
yaml syntax highligting 2025-01-14 12:37:59 -07:00
Nate Kelley d893eee231
Use correct endpoint for dataset groups 2025-01-14 11:25:29 -07:00
Nate Kelley 2d2712e1d8
Merge branch 'dallin/bus-902-permission-list-bugfixes' into nate/cleanup-permissions-pages 2025-01-14 11:12:36 -07:00
Nate Kelley 97fcc9de04
clear query when signing out 2025-01-14 11:12:13 -07:00
Nate Kelley 6b0c516500
containerized class should be white with no border at bottom 2025-01-14 11:09:56 -07:00
dal c8b9a736ee
Enhance dataset asset listing with organization-specific filtering
- Updated the `list_assets` function to include organization ID filtering in dataset permissions queries.
- Removed redundant organization ID filters from the dataset permissions queries to streamline the logic.
- Ensured that only relevant dataset assets are returned based on the user's organization, improving data security and relevance.

These changes enhance the API's ability to serve organization-specific data, aligning with recent improvements in dataset asset APIs.
2025-01-14 10:56:31 -07:00
Nate Kelley 307e4bbaf6
update permission group in the dataset 2025-01-14 10:56:05 -07:00
Nate Kelley 8887aa10dc
added empty state text 2025-01-14 09:08:21 -07:00
dal 355fd336ec
Merge pull request #31 from buster-so/staging
Staging
2025-01-13 15:57:23 -08:00
dal 1f1df4a7bb
Refactor dataset deployment logic and enhance request structure
- Introduced a new `is_simple` flag in the `deploy_datasets` function to differentiate between full and simple dataset deployments.
- Updated the `deploy_datasets_handler` to accept the `is_simple` parameter, allowing for conditional processing of inserted datasets.
- Modified the `DeployDatasetsRequest` struct to include an optional `id` and `type_` field, enhancing the request's flexibility.
- Adjusted the handling of the `yml_file` field to be optional in the `DeployDatasetsRequest` struct.
- Updated the `process_batch` function to handle "USER-DEFINED" data types in addition to existing types.

These changes improve the dataset deployment process by allowing for more granular control and flexibility in handling different dataset types.
2025-01-11 15:17:01 -07:00
dal 4b64458938
Enhance dataset asset APIs to include organization filtering
- Added functionality to retrieve the user's organization ID in both `get_dataset_overview` and `list_assets` endpoints.
- Updated database queries to filter users and permissions based on the organization ID, ensuring that only relevant data is returned for the user's organization.
- Improved error handling for organization ID retrieval, logging errors appropriately.

These changes improve data security and relevance by ensuring that users only access assets associated with their organization.
2025-01-11 11:56:56 -07:00
dal 53a89b924d
Merge pull request #30 from buster-so/big-nate/bus-891-reorganize-and-redo-permissions-tabs
Reorganize and redo permissions tabs
2025-01-11 10:17:50 -08:00
Nate Kelley 02fe9901df
remove unused dataset code 2025-01-10 20:53:21 -07:00
Nate Kelley 4696c10217
add user permission page 2025-01-10 16:36:15 -07:00
Nate Kelley 3c0d4366e9
dataset groups page 2025-01-10 15:54:39 -07:00
Nate Kelley bc5598c355
Create permission groups 2025-01-10 15:23:01 -07:00
Nate Kelley 7d253674cb
Merge branch 'staging' into big-nate/bus-891-reorganize-and-redo-permissions-tabs 2025-01-10 14:51:07 -07:00
Nate Kelley 1671c2d8fb
optimistic updates for assigning permission groups 2025-01-10 14:50:44 -07:00
Nate Kelley ae689150b3
search through lineage users 2025-01-10 13:38:39 -07:00
dal b61662a43d
Enhance dataset overview API to include user email and name
- Added the user's email and name to the UserOverviewItem struct for improved clarity in user details.
- Updated the database query to select the user's name alongside their ID and email, ensuring comprehensive user information is retrieved.
- Refactored the mapping logic to accommodate the new name field, enhancing the dataset overview response.

These changes improve the dataset overview API by providing more detailed user information, facilitating better understanding of user access and roles.
2025-01-10 11:35:47 -07:00
Nate Kelley ab3d205f6d
add loading indicator for fetching temp data 2025-01-10 11:03:14 -07:00
Nate Kelley adc0e4e57e
Merge branch 'dallin/bus-889-align-cli-tooling-with-the-in-app-editor' into big-nate/bus-891-reorganize-and-redo-permissions-tabs 2025-01-10 10:33:59 -07:00
Nate Kelley c6de0e5bc8
Merge branch 'staging' into big-nate/bus-891-reorganize-and-redo-permissions-tabs 2025-01-10 10:33:49 -07:00
Nate Kelley 8f9b9aa8c0
Update ChartJSTheme.ts 2025-01-10 10:28:42 -07:00
Nate Kelley d96cb9ba68
querys for permissions 2025-01-10 10:05:38 -07:00
Nate Kelley ddaf4e9347
Run SQL response in a rest endpoint 2025-01-10 09:06:27 -07:00
dal fd54b4724d
Update team role handling in migration script to include 'admin' as 'manager' and default to 'member'
- Modified the role adjustment logic in the teams_to_users table to treat 'admin' roles as 'manager'.
- Set the default role to 'member' for all other cases, improving clarity in role assignments.

These changes enhance the migration process for dataset groups and permissions management.
2025-01-09 17:35:54 -07:00
dal 1182235116
try root cert 2025-01-09 17:27:39 -07:00
dal ccd6ea8ce9
Refactor Dockerfile for optional certificate handling
- Simplified certificate handling logic by allowing the COPY command to proceed without failure if cert.pem is missing.
- Updated the Dockerfile to ensure that the update-ca-certificates command is run unconditionally after copying the certificate.
- Maintained the existing build process for the bi_api application.

These changes improve the Docker image build process by making certificate handling more robust and less dependent on the environment.
2025-01-09 17:18:52 -07:00
dal ad2c3768b2
Merge pull request #25 from RakeshNara10/fix/makefile-env-variable
add DATABASE_URL export to Makefile
2025-01-09 16:00:47 -08:00
dal c8a00814b2
Merge pull request #26 from buster-so/dal/bugfix-deployment-issue
added in cert logic
2025-01-09 16:00:07 -08:00
dal 41985c6b50
added in cert logic 2025-01-09 16:58:06 -07:00
dal e83a00c108
Add data source information to GetDataset response structure 2025-01-09 16:18:11 -07:00
Nate Kelley 586c2a98ec
Add meta data page 2025-01-09 16:03:27 -07:00
Nate Kelley 660bc1814e
server side rendering for 2025-01-09 15:41:57 -07:00
Nate Kelley 00f01440e1
Merge branch 'dallin/bus-889-align-cli-tooling-with-the-in-app-editor' into big-nate/bus-891-reorganize-and-redo-permissions-tabs 2025-01-09 14:02:11 -07:00
Nate Kelley 48b9fc2d81
Loading data updates 2025-01-09 14:00:40 -07:00
dal 43abb0321e
Refactor dataset deployment logic and enforce unique constraints
- Updated the SQL migration to enforce a unique constraint on the combination of `database_name` and `data_source_id` in the datasets table, ensuring data integrity.
- Refactored the `deploy_datasets_handler` to separate datasets with and without IDs, allowing for concurrent upsert operations based on their presence.
- Enhanced the upsert logic to handle datasets more efficiently, improving performance during dataset deployment.

These changes improve the robustness and efficiency of the dataset deployment process within the API.
2025-01-09 13:05:54 -07:00
Nate Kelley 2c40b55ba2
Merge branch 'dallin/bus-889-align-cli-tooling-with-the-in-app-editor' into big-nate/bus-891-reorganize-and-redo-permissions-tabs 2025-01-09 12:06:05 -07:00
dal 761028c95c
Add SQL execution endpoint and modularize SQL handling
- Introduced a new `/sql/run` endpoint for executing SQL queries against datasets and data sources.
- Created a dedicated `sql` module and a `run_sql` handler to manage SQL execution logic.
- Implemented access checks to ensure users have the necessary permissions to execute SQL queries.
- Enhanced data retrieval and metadata processing for SQL results, improving overall API functionality.

These changes expand the API's capabilities by allowing users to run custom SQL queries, facilitating more flexible data interactions.
2025-01-09 12:05:49 -07:00
Nate Kelley 9e3a5088ed
Data grid is now in sql 2025-01-09 12:04:57 -07:00
dal 79b3df107d
Add support for YAML-based dataset deployment and enhance dataset structures 2025-01-09 11:57:56 -07:00
Nate Kelley 9b7adb0102
fetch data functions updated 2025-01-09 10:42:16 -07:00
Nate Kelley d3946c27f8
add create endpoints 2025-01-09 10:30:15 -07:00
Nate Kelley b50f215a51
Merge branch 'dallin/bus-889-align-cli-tooling-with-the-in-app-editor' into big-nate/bus-891-reorganize-and-redo-permissions-tabs 2025-01-09 10:21:59 -07:00
dal d962af3883
Enhance dataset API with new post endpoint and modular structure
- Added a new `post_dataset` module and corresponding route to handle dataset creation.
- Updated the router to include the new POST endpoint for datasets, improving API functionality.
- Maintained existing routes while ensuring modular organization of dataset-related logic.

These changes improve the API's capabilities for dataset management by providing a dedicated endpoint for dataset creation, enhancing overall usability.
2025-01-09 10:02:09 -07:00
Nate Kelley c014cc0068
Merge branch 'dallin/bus-889-align-cli-tooling-with-the-in-app-editor' into big-nate/bus-891-reorganize-and-redo-permissions-tabs 2025-01-09 09:50:06 -07:00