Commit Graph

420 Commits

Author SHA1 Message Date
Nate Kelley 389df8dff5
Make a more composible check for checkPermission 2025-09-20 15:30:46 -06:00
Nate Kelley 3cdd0bfa57
reset permission stuff 2025-09-20 14:30:17 -06:00
Nate Kelley 3bff20c8e0
must be org member 2025-09-20 14:05:48 -06:00
Nate Kelley 9efdf2c67b
pass through asset check 2025-09-20 13:22:52 -06:00
Nate Kelley 3b2bc471ab
permission helper 2025-09-20 11:05:10 -06:00
Nate Kelley b8d5624304
create a versioned report 2025-09-20 10:37:50 -06:00
Nate Kelley fce52b5b2b
Update report to start supporting a version number 2025-09-20 09:03:54 -06:00
Wells Bunker 31d5f939e5
Adding /dashboards/[id] v2 endpoint to frontend 2025-09-19 16:48:05 -06:00
Wells Bunker 731f2d4e64
adding v2 list chats endpoint 2025-09-19 15:22:11 -06:00
wellsbunk5 0aaa53c685
Merge pull request #1009 from buster-so/wells-bus-1841-migrate-get-dashboard-endpoint-to-v2
cleanup duplicate code to shared-helpers for metric_files
2025-09-19 12:37:06 -06:00
Wells Bunker 943f9f4038
fix typo 2025-09-19 12:34:22 -06:00
Wells Bunker c1d770e6a3
cleanup duplicate code to shared-helpers 2025-09-19 12:28:38 -06:00
wellsbunk5 ba93511536
Merge pull request #1007 from buster-so/wells-bus-1841-migrate-get-dashboard-endpoint-to-v2
Migrate dashboards/[id] GET endpoint over to v2
2025-09-19 11:52:08 -06:00
Wells Bunker 4293093669
Migrate dashboards/[id] GET endpoint over to v2 2025-09-19 11:42:52 -06:00
dal 84314ebc13
fixes for imports 2025-09-19 10:31:46 -06:00
dal 2df6b234ac
Merge remote-tracking branch 'origin/staging' into dallin-bus-1816-dataset-sample-endpoint-not-working
# Conflicts:
#	packages/access-controls/src/datasets/permissions.ts
2025-09-19 10:16:14 -06:00
dal d6d18f3fca
Update dataset sample handling and add new API routes
- Added new API routes for fetching dataset samples by ID, including validation and error handling.
- Implemented `getDatasetSampleHandler` to manage dataset access and sample query execution.
- Introduced `executeSampleQuery` utility for executing read-only SQL queries with retry logic.
- Created new schemas for dataset sample request and response types.
- Updated existing dataset access control logic to ensure proper permissions are enforced.
- Added tests for the new dataset sample functionality to ensure reliability.
2025-09-19 10:06:03 -06:00
Wells Bunker 27e4537ee3
update imports 2025-09-19 08:55:46 -06:00
Wells Bunker 1149d5751b
Merge branch 'staging' of https://github.com/buster-so/buster into wells-bus-1825-create-api-endpoint-for-v2-metric_fileid 2025-09-19 08:33:32 -06:00
dal 6a28d28b63
pin trigger to 4.0.2 2025-09-18 15:48:22 -06:00
Nate Kelley 48aaccc9d4
update package versions 2025-09-18 15:38:42 -06:00
Wells Bunker 64ca1c7433
styling changes 2025-09-18 15:07:24 -06:00
Wells Bunker 4a8988bb07
Adding /metric_file/[id] GET endpoint in v2 2025-09-18 14:46:49 -06:00
Nate Kelley 688fb36270
fix broken unit tests 2025-09-18 14:15:24 -06:00
Nate Kelley 33073e6729
Move to scoped database imports 2025-09-18 12:36:37 -06:00
Nate Kelley 9d60c74732
Added additional enum fixes 2025-09-17 17:22:26 -06:00
Nate Kelley 4c8875b7c6
Merge branch 'staging' into big-nate-bus-1815-pulled-in-reports-treated-as-dashboards 2025-09-17 16:37:45 -06:00
Wells Bunker fd4ff6216f
AssetTypeEnum rework 2025-09-17 14:37:14 -06:00
Nate Kelley ac8e2e4f2c
Update most recent message handler 2025-09-17 13:54:10 -06:00
Wells Bunker 866963bcb7
fix /reports/[id] to return the correct permission 2025-09-16 16:05:09 -06:00
dal 25efb0242a
Merge branch 'staging' into dallin-bus-1797-dashboard-metrics-data-not-inheriting-correctly 2025-09-16 15:12:33 -06:00
dal d0659723f2
Enhance access control by adding report permission checks and updating cascading permission logic. Refactor metric access functions to include workspace sharing information for chats, dashboards, and collections. 2025-09-16 14:32:36 -06:00
Wells Bunker a16246bd0c
fix slack message max length being reached and set max box rows for input 2025-09-16 13:04:38 -06:00
Wells Bunker e57fce8e6c
fix unit test 2025-09-16 12:11:52 -06:00
Wells Bunker 754af01ed1
add new chats to asset_permissions table 2025-09-16 12:02:10 -06:00
dal ee62786ad1
changes based on greptile suggestions 2025-09-15 15:53:14 -06:00
dal e57b74015f
Merge remote-tracking branch 'origin/staging' into dallin-bus-1714-run-sql-endpoint-needs-to-use-same-functionality-as-the-get 2025-09-15 15:07:49 -06:00
dal 2761b3f0fc
Integrate SQL functionality by adding SQL routes and updating dependencies. Refactor access control imports to use centralized access-controls package. Update pnpm-lock and package.json for new dependencies including node-sql-parser and yaml. 2025-09-15 15:07:43 -06:00
dal eb657d558e
CLAUDE.md and README.md updates... 2025-09-15 15:06:41 -06:00
Wells Bunker c91441c965
linting 2025-09-15 14:09:52 -06:00
Wells Bunker 5e88b37988
Adding search backend 2025-09-15 14:01:55 -06:00
Nate Kelley c103a5c154
update server package versions 2025-09-15 13:40:11 -06:00
dal 5c66438313
merge staging in 2025-09-12 12:37:54 -06:00
dal 4aba04d623
merge staging in 2025-09-12 12:37:48 -06:00
dal 9afc338eaa
Update shortcut handling to default shareWithWorkspace to false and improve code readability with consistent formatting. 2025-09-12 11:42:38 -06:00
dal 2b46a49841
shortcuts final touches 2025-09-12 11:25:43 -06:00
dal 7d4dc4db63
fix build errors 2025-09-12 11:12:17 -06:00
dal e865dc79c4
Enhance chat functionality by adding user last used shortcuts tracking and updating request handling to include metadata. Refactor shortcut listing to prioritize last used shortcuts in the response. 2025-09-12 11:09:15 -06:00
dal cddd790761
added security check on the post and put endponts. 2025-09-12 10:32:39 -06:00
dal d77830dc13
move to follow conventions for api routes 2025-09-12 10:08:21 -06:00
dal c914e33acf
Refactor shortcut service and handler files to improve code readability by removing unnecessary blank lines and reordering import statements for consistency. 2025-09-12 08:28:14 -06:00
dal 3c63c56d37
merge with staging 2025-09-12 08:26:35 -06:00
dal e53bdd2ebf
few fixes for tests 2025-09-12 00:59:54 -06:00
dal 911f859d85
a few changes and clean up 2025-09-12 00:42:11 -06:00
dal 3af0fee1b0
query limit fixes 2025-09-11 22:19:55 -06:00
dal ee6f19149e
Get test midnight condition 2025-09-11 20:02:56 -06:00
wellsbunk5 9f31ab4ff3
Merge pull request #869 from buster-so/wells-bus-1707-user-personalization-endpoints
Personalization
2025-09-11 17:44:03 -06:00
Wells Bunker db252c9e7a
Adding personalization into the agent, adding PATCH api for user to add personalization 2025-09-11 17:35:01 -06:00
Nate Kelley fe20fb195f
Merge branch 'staging' into nate/many-updates 2025-09-11 12:46:04 -06:00
Wells Bunker 633b66d132
Adding simplified user/[id] v2 endpoint 2025-09-11 12:18:49 -06:00
Nate Kelley 4d7ddb3592
update the shared permissions 2025-09-11 11:51:55 -06:00
wellsbunk5 9c967b657d
Merge pull request #859 from buster-so/fixSuggestedPromptTypes
Fix suggested prompt types
2025-09-11 10:53:11 -06:00
Wells Bunker 8d00239952
fix unit test 2025-09-11 10:49:50 -06:00
Wells Bunker 40de754f86
turbo lint 2025-09-11 10:18:49 -06:00
Wells Bunker 4dc7ec62bf
fix type sharing in server-shared 2025-09-11 10:04:17 -06:00
Nate Kelley 9c1a2f9c37
Require auth for github endpoints 2025-09-11 09:57:16 -06:00
dal 37efbaee23
Refactor DuckDB integration to lazy-load the module and update package dependencies. Adjust Docker workflow to skip optional dependencies during installation. 2025-09-11 09:40:43 -06:00
Nate Kelley 9c1b86b171
Remove duplicate middleware 2025-09-11 09:39:54 -06:00
Wells Bunker c2a3ca0875
Merge branch 'staging' of https://github.com/buster-so/buster into addingMessageTypes 2025-09-11 08:27:08 -06:00
Wells Bunker 6069c24061
Add 10 second timeout generating new prompts before returning old ones 2025-09-10 22:55:35 -06:00
Wells Bunker 60f0a1e0e0
Adding in database column, api input, and logic to skip analyst mode router if it is provided in a message 2025-09-10 22:00:15 -06:00
dal 31fb2e54ae
add braintrust logger for server 2025-09-10 12:09:44 -06:00
Wells Bunker 301a671d6b
fix tests 2025-09-10 11:20:36 -06:00
Wells Bunker d9a5023595
pr changes 2025-09-10 11:01:26 -06:00
Wells Bunker 8f4daaa3e6
Adding api, ai task, and database adjustments for user suggested prompts 2025-09-09 18:09:41 -06:00
dal 7b8a0dc335
moved 2025-09-09 12:00:55 -06:00
dal d9dd9acd5c
test fixes 2025-09-09 10:00:49 -06:00
dal 6111f2c90f
type and test logic cleanups 2025-09-09 09:40:19 -06:00
dal 27854e121f
Merge remote-tracking branch 'origin/staging' into dallin-bus-1694-applying-an-analystmd-to-analyst-agent 2025-09-09 00:32:59 -06:00
dal ef41516325
Implement unified deployment for models and docs
- Added new deployment functionality to handle both models and documentation in a single request.
- Introduced new schemas for unified deployment requests and responses using Zod.
- Updated deployment handlers to process and validate models and docs together.
- Enhanced logging to provide detailed information about deleted models and docs during deployment.
- Refactored existing code to integrate the new deployment structure, ensuring backward compatibility with previous functionalities.
2025-09-09 00:32:48 -06:00
Nate Kelley 9f17e2a140
Add healthcheck page 2025-09-08 16:11:13 -06:00
dal d17c21b2b7
Add docs API endpoints and database schema
- Introduced new API routes for managing documents, including listing, creating, updating, and deleting documents.
- Implemented database queries for document operations.
- Added validation schemas for request and response types using Zod.
- Updated the database schema to include a 'docs' table with necessary constraints.
- Integrated the new docs functionality into the server and shared packages.
2025-09-08 15:48:17 -06:00
Nate Kelley cb8d1101f2
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-05 09:43:12 -06:00
dal 17b06b97e7
Update GitHub Actions and CLI configuration
- Added .actrc to .gitignore to prevent local configuration from being tracked.
- Updated cli-release.yml to specify paths for apps and packages, enhancing workflow triggers.
- Improved permissions in cli-release.yml for better access control.
- Enhanced update-brew-tap.yml with detailed summary creation for deployment results.
- Introduced README.md for GitHub Actions, providing usage instructions and supported platforms.
- Added deploy and dry-run actions for better deployment management.
- Updated error handling in CLI commands for clearer messaging and improved user experience.
- Bumped CLI version to 0.3.0 in package.json to reflect recent changes.
2025-09-04 11:21:47 -06:00
dal 2b2c867dab
typescript commands 2025-09-04 08:47:56 -06:00
dal 24d1bbda45
merge 2025-09-03 12:07:44 -06:00
Nate Kelley bc075d4a69
Update package.json 2025-09-03 10:58:45 -06:00
Nate Kelley ae19b51ecc
simplify the server build 2025-09-03 10:40:13 -06:00
Nate Kelley 97e00e7b6b
make more catalog versions 2025-09-03 10:33:17 -06:00
Nate Kelley e85e2ef2a2
fix slack broken test 2025-09-03 10:27:13 -06:00
Nate Kelley 811cfb4626
Merge branch 'staging' into big-nate-bus-1608-make-a-tanstack-start-demo 2025-09-03 09:33:23 -06:00
dal 2113e40d0e
idle timeout and status messags 2025-09-02 15:29:55 -06:00
Nate Kelley effffa392f
bun updates 2025-09-02 15:17:37 -06:00
dal 81d5c2d2df
sse and type fixes 2025-09-02 15:02:12 -06:00
Nate Kelley 33c7ab60fc
upgrade bun version 2025-09-02 15:01:37 -06:00
dal ea0ab9f290
resolve comments 2025-09-02 13:10:22 -06:00
dal 679f55b16d
add in public facing chat endpoint 2025-09-02 12:27:51 -06:00
Nate Kelley 172de1151c
resolve merge conflicts 2025-08-29 09:58:25 -06:00
Nate Kelley b41d1af522
Update minor package versions 2025-08-29 09:46:44 -06:00
dal fd52da943a
chats and shortcuts 2025-08-28 14:58:55 -06:00