Commit Graph

386 Commits

Author SHA1 Message Date
Wells Bunker 9927808704
check for public permissions on any check 2025-09-24 13:17:08 -06:00
Wells Bunker b4fb66bc62
fix migration 2025-09-23 16:06:53 -06:00
dal 77f6b41331
Merge pull request #1085 from buster-so/dallin-bus-1898-metric-download-endpoint-should-accept-report-id
dallin bus 1898 metric download endpoint should accept report id
2025-09-23 15:27:36 -06:00
dal edd1de9f34
metric download query params for report_file_id and metric_version_number 2025-09-23 15:13:38 -06:00
wellsbunk5 55c68720bb
Merge pull request #1082 from buster-so/fixSlackUrlBuilder
Fix the url builder for slack messages to have correct route
2025-09-23 14:38:39 -06:00
Wells Bunker 2b6cdbe476
Fix the url builder for slack messages to have correct route 2025-09-23 14:29:57 -06:00
Nate Kelley 87a515a95f
add supabase app to workspace 2025-09-23 11:06:12 -06:00
Wells Bunker 9d01603aca
Searchs messages and report content now 2025-09-22 17:21:04 -06:00
Wells Bunker 1646e37540
Fix metric_file permissions not cascading from report_files 2025-09-22 13:40:46 -06:00
dal 0cc6fb04b0
merge staging 2025-09-22 09:02:46 -06:00
dal 1adad1b6e9
ssl through url 2025-09-22 09:01:09 -06:00
dal e68032ab8d
lint errors 2025-09-22 08:59:25 -06:00
dal e63fd79df5
database ssl connection fix 2025-09-22 08:32:06 -06:00
dal 408cc1853c
migration fix 2025-09-20 16:47:54 -06:00
dal 1acecff3a4
try one more time without custom ssl 2025-09-20 16:41:34 -06:00
dal cf7725fd53
add cert step 2025-09-20 16:34:28 -06:00
dal 0e2ac5c9d1
change ssl one more time 2025-09-20 16:28:31 -06:00
dal f81a524279
make test more stable and add ssl requirement on migration 2025-09-20 16:24:39 -06:00
dal 52189a6fa0
migration job fix 2025-09-20 16:10:25 -06:00
dal 0e89b502ea
fix lint build and tests 2025-09-20 15:22:28 -06:00
dal 189dedd32e
Merge remote-tracking branch 'origin/staging' into dallin-bus-1836-move-seed-script-to-ts 2025-09-20 15:15:45 -06:00
dal 9c01bcb37c
seed script and db clean up 2025-09-20 15:15:26 -06:00
Nate Kelley e5dbf41db5
Update check-collections-containing-asset.ts 2025-09-20 14:39:02 -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
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 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 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
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 f42b26ca86
remove weird imports 2025-09-18 14:29:00 -06:00
Nate Kelley 44bfc6f830
Merge branch 'staging' into big-nate-bus-1815-pulled-in-reports-treated-as-dashboards 2025-09-18 14:16:51 -06:00
Nate Kelley 33073e6729
Move to scoped database imports 2025-09-18 12:36:37 -06:00
Wells Bunker bf94ad1984
add migration for most_recent_file_type to fix to report_file 2025-09-18 09:51:40 -06:00
Wells Bunker 9ec0888e44
migration to update messages.reasoning column 2025-09-18 09:29:22 -06:00
Nate Kelley 9d60c74732
Added additional enum fixes 2025-09-17 17:22:26 -06:00
Nate Kelley 3fd6afa544
moved enums to their own files 2025-09-17 17:03:20 -06:00
Nate Kelley 15e78020e2
type safe translation record 2025-09-17 16:32:24 -06:00
Wells Bunker c285854b42
export through schema-types 2025-09-17 16:00:20 -06:00
Wells Bunker 18e7bd2902
fix build 2025-09-17 15:37:05 -06:00
Wells Bunker 3b3a4f5a5a
AMerge branch 'wells-bus-1813-cleanup-asset-type-enums' of https://github.com/buster-so/buster into wells-bus-1813-cleanup-asset-type-enums 2025-09-17 15:25:43 -06:00
Wells Bunker 3fb8d8c425
make database source of truth for assettype enum 2025-09-17 15:24:12 -06:00
Nate Kelley e45c8fc244
Reasoning extend 2025-09-17 15:15:29 -06:00
Wells Bunker be9b113671
migration for enum values 2025-09-17 14:42:28 -06:00
Wells Bunker fd4ff6216f
AssetTypeEnum rework 2025-09-17 14:37:14 -06:00
dal ee3274b34b
chat conversation not all messages 2025-09-17 12:35:58 -06:00
dal 46bafb36d4
Merge remote-tracking branch 'origin/staging' into dallin-bus-1753-overloaded-error 2025-09-16 23:20:22 -06:00
dal 4508c2df29
manual retry on the overload error 2025-09-16 23:20:06 -06:00
Wells Bunker 866963bcb7
fix /reports/[id] to return the correct permission 2025-09-16 16:05:09 -06:00
Nate Kelley 5152635ef5
Merge pull request #943 from buster-so/big-nate-bus-1803-sharing-fallbacks-not-actually-working
Big nate bus 1803 sharing fallbacks not actually working
2025-09-16 15:17:45 -06:00
Nate Kelley 8595aa655a
Update permission logic 2025-09-16 15:13:37 -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 d0c7efc441
checks and permission 2025-09-16 15:10:38 -06:00
Nate Kelley c36d0dab74
Is shared update 2025-09-16 15:10:21 -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 754af01ed1
add new chats to asset_permissions table 2025-09-16 12:02:10 -06:00
Wells Bunker 87c7ee9960
add Commit; Begin; to make sure transaction is commited 2025-09-16 09:48:14 -06:00
Wells Bunker 12a5412dbe
add one more public 2025-09-16 09:21:55 -06:00
Wells Bunker de20c9efa8
fix migrations 2025-09-16 09:17:20 -06:00
Wells Bunker 981804cb23
asset type enum fix 2025-09-16 08:44:06 -06:00
Nate Kelley cf6d6899ce
Merge pull request #902 from buster-so/dallin-bus-1742-view-only-chats-shouldnt-allow-user-to-follow-up-or-anything
Add Chat permissions logic to web to block view only
2025-09-15 18:19:30 -06:00
wellsbunk5 001973580e
Merge pull request #903 from buster-so/wells-bus-1722-add-report_files-inheritance-and-ancestor-search-for-metrics
MetricFilesToReportFiles db table
2025-09-15 17:28:11 -06:00
Wells Bunker b0ac88fbac
Adding the metric_files_to_report_files table and adding inheritance permissions to search 2025-09-15 17:23:39 -06:00
dal 5be31d3ce5
Merge remote-tracking branch 'origin/staging' into dallin-bus-1742-view-only-chats-shouldnt-allow-user-to-follow-up-or-anything 2025-09-15 16:51:04 -06:00
dal b1b21e30a4
Refactor chat permissions and enhance edit capabilities
- Introduced `useChatPermission` hook to manage chat permissions.
- Updated components to utilize the new permission logic, allowing conditional rendering of edit options.
- Adjusted `ChatInput` to display a view-only message when the user lacks edit permissions.
- Cleaned up `package.json` formatting and added missing exports in context files.
2025-09-15 16:50:58 -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 464ca48264
comment cleanup 2025-09-15 14:25:28 -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
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 c6288a540c
database optimization on report files 2025-09-12 12:18:05 -06:00
dal 2b46a49841
shortcuts final touches 2025-09-12 11:25:43 -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 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 1f2630a1cf
fixing tests 2025-09-11 23:43:52 -06:00
dal 2d63981273
Add in analyst instructions and org documentation to the message post processing. Tweaked propmts to accoutn for those. 2025-09-11 23:36:52 -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 886d2bfb11
db migration generation 2025-09-11 17:39:40 -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
dal 7a07283e30
Refactor sync job processing to use dataset-based syncing from YAML files. Removed unused sync job status tracking and related database queries. Updated tests to reflect changes in job payload structure and logging. Added new types for datasets and searchable fields. 2025-09-11 13:15:22 -06:00
Wells Bunker f61a5baafd
minor fixes 2025-09-11 12:28:14 -06:00
Wells Bunker 633b66d132
Adding simplified user/[id] v2 endpoint 2025-09-11 12:18:49 -06:00
Wells Bunker 4dc7ec62bf
fix type sharing in server-shared 2025-09-11 10:04:17 -06:00
Wells Bunker f135fccf0f
Adding the db migration files 2025-09-11 08:33:32 -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
dal 8547b82dae
Merge pull request #830 from buster-so/addSuggestedPrompts2
Adding api, ai task, and database adjustments for user suggested prompts
2025-09-11 08:18:56 -06:00
Wells Bunker 440489d8be
update migrations 2025-09-10 23:07:51 -06:00
Wells Bunker c78f7689e7
remove setting the users updatedAt when modifying suggestedPrompts 2025-09-10 23:00:43 -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