Nate Kelley
1458d02857
Merge branch 'staging' into cursor/centralize-environment-variables-with-turbo-1ef2
2025-07-21 16:11:26 -06:00
dal
58eb9e8234
no frozen lockfile
2025-07-21 16:04:00 -06:00
Nate Kelley
3f8b05182d
update server to use tsx
2025-07-21 16:03:02 -06:00
Nate Kelley
4418f4991b
use a shared env validation method
2025-07-21 16:00:10 -06:00
dal
0feb690bbe
try again
2025-07-21 15:19:38 -06:00
dal
ae96e2f8b1
docker file stuff
2025-07-21 15:05:33 -06:00
dal
fdb46bba29
electric helpers
2025-07-21 01:37:41 -06:00
dal
5ca40d032b
Enhance unit tests by mocking database interactions and updating organization roles to 'querier' in security-related test files.
2025-07-21 01:37:32 -06:00
dal
6e65bec499
Enhance task triggering by adding concurrency key for sequential processing
...
- Updated `createChatHandler` to include a `concurrencyKey` when triggering the `analyst-agent-task`, ensuring tasks are processed sequentially per chat.
- Adjusted related test cases to verify the inclusion of the `concurrencyKey`.
- Integrated the `concurrencyKey` in the `slackAgentTask` to manage task queuing and notify users when tasks are queued.
2025-07-18 23:01:32 -06:00
Devin AI
9896b5cc90
Replace 'Unknown' user name fallback with email address
...
- Update Rust handlers to use user_email instead of 'Unknown' fallback
- Add user_email field to MessageWithUser and ChatWithUser structs
- Update database queries to select user email field
- Update TypeScript chat-helpers to use email fallback
- Maintain final fallback to 'Unknown'/'Unknown User' if email is null
Fixes BUS-1457
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-19 04:12:13 +00:00
dal
ba04450469
Enhance Slack event handling by adding hourglass reaction on app mentions and refactoring reaction management in slack-agent-task. Update CLAUDE.md and global.mdc with new guidelines for testing and development workflows. Adjust .gitignore for rerank package to ensure proper directory exclusion.
2025-07-18 21:40:20 -06:00
dal
97a8bb4c56
lint errors done & unit tests passing
2025-07-18 16:02:24 -06:00
Nate Kelley
8947758f6f
Fix linting errors
2025-07-18 15:54:46 -06:00
dal
a92bf8234c
build fix
2025-07-18 14:09:53 -06:00
Nate Kelley
12f30c4bad
Merge pull request #552 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
...
Big nate/bus 1424 default color palette in workspace settings
2025-07-18 13:52:20 -06:00
Nate Kelley
6c5b3a4f7a
update theme list
2025-07-18 13:52:04 -06:00
Nate Kelley
aa34a56f40
override cache for defaults
2025-07-18 13:05:50 -06:00
Nate Kelley
8988837248
stablize dictionary IDS
2025-07-18 12:48:22 -06:00
Nate Kelley
95e0c8d7b5
move currency around to dictionary
2025-07-18 12:37:03 -06:00
dal
47f03ac1d5
Merge pull request #550 from buster-so/dallin/bus-1431-auto-sharing-for-queries-from-slack-channels
...
Dallin/bus-1431-auto-sharing-for-queries-from-slack-channels
2025-07-18 11:58:08 -06:00
Nate Kelley
71b9843063
Merge pull request #544 from buster-so/devin/1752815489-hide-three-dot-menu
...
feat: add hideThreeDotMenu prop to conditionally show theme menu based on admin status
2025-07-18 11:30:22 -06:00
dal
0dd82ab1d1
Merge remote-tracking branch 'origin/staging' into dallin/bus-1431-auto-sharing-for-queries-from-slack-channels
2025-07-18 10:49:58 -06:00
dal
534db4fd03
lint and slack
2025-07-18 10:49:34 -06:00
Nate Kelley
5f61995296
Fix linting errors
2025-07-18 10:48:49 -06:00
dal
76555662eb
remove the created by check on the existing chat. we will control permissions at the get/fetch layer
2025-07-18 10:30:37 -06:00
Nate Kelley
9048b6dad0
remove default colors from setter
2025-07-18 09:47:13 -06:00
dal
4a97f2f0c5
fix: update Slack handler tests to expect absolute URLs
...
Updated test expectations in apps/server/src/api/v2/slack/handler.test.ts
to expect absolute URLs with http://localhost:3000 prefix instead of
relative URLs, matching the actual behavior when BUSTER_URL is set.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 09:16:00 -06:00
dal
3a43e21718
Merge remote-tracking branch 'origin/staging' into dallin/bus-1380-fix-unit-tests
2025-07-18 08:55:35 -06:00
Devin AI
cd3a2bd26d
fix: resolve remaining unit test failures in server package
...
- Fix Slack OAuth service test to use correct scopes for validation
- Update handler tests to use proper field names (authUrl vs auth_url)
- Fix workspace settings test to use correct organization role
- Update chat handler test with missing import and role fix
- Fix retry helpers test to use valid WorkflowContext currentStep values
All unit tests now pass successfully.
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-18 14:17:14 +00:00
Devin AI
30fc4fda18
feat: move currencies endpoint to dictionaries route
...
- Move currency endpoint from /api/v2/currency to /api/v2/dictionaries/currency
- Follow existing dictionaries pattern with separate config.ts and index.ts
- Update web API calls to use new endpoint location
- Remove old currency route registration and files
- Preserve all existing functionality and types
The new endpoint is accessible at /api/v2/dictionaries/currency and maintains
the same response format and authentication requirements.
Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 12:56:26 +00:00
dal
ba61b6a3ea
Merge remote-tracking branch 'origin/staging' into dallin/bus-1380-fix-unit-tests
2025-07-17 22:31:32 -06:00
Nate Kelley
70a5fd6ec0
Merge pull request #540 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
...
Big nate/bus 1424 default color palette in workspace settings
2025-07-17 18:53:59 -06:00
Nate Kelley
10e37f07de
update all types to work better together
2025-07-17 18:51:45 -06:00
Nate Kelley
09e4b36bf5
add dictionaries for color schemes
2025-07-17 17:16:15 -06:00
dal
b6cf6539ea
Merge branch 'origin/staging' into dallin/bus-1380-fix-unit-tests - Resolved conflicts in CLAUDE.md
2025-07-17 16:52:03 -06:00
Devin AI
e115dd28b2
fix(slack): resolve scope validation and default channel issues
...
- Add missing 'channels:join' and 'channels:manage' to required OAuth scopes
- Update scope validation to handle comma-separated scope format
- Include defaultChannel in 're_install_required' status response
- Ensures complete integration data is returned in all status cases
Fixes scope validation for existing integrations and missing default channel data in API responses.
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 22:33:00 +00:00
Devin AI
623aaf2fb1
fix(slack): include status field in integration API response
...
- Add missing status field to GET /api/v2/slack/integration response
- Ensures 're_install_required' status reaches the UI for yellow button display
- Critical fix for scope validation feature to work end-to-end
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 21:24:48 +00:00
Devin AI
55af2727a1
refactor(slack): extract shared scope validation helper function
...
- Create validateScopes helper to avoid code duplication
- Use shared function in both initiateOAuth and getIntegrationStatus
- Addresses code review feedback from greptile-apps[bot]
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 20:03:25 +00:00
Devin AI
077d6de476
feat(slack): implement scope validation and re-installation flow for BUS-1435
...
- Create centralized OAuth scopes constants file
- Add scope validation to integration status check
- Update OAuth flow to handle re-installations while preserving user settings
- Add yellow 'Re-install Required' button to UI when scopes don't match
- Implement proper error handling and rollback logic for failed re-installations
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 19:54:49 +00:00
Nate Kelley
64def9918d
Merge branch 'big-nate/bus-1424-default-color-palette-in-workspace-settings' of https://github.com/buster-so/buster into big-nate/bus-1424-default-color-palette-in-workspace-settings
2025-07-17 13:12:38 -06:00
Nate Kelley
b8de7a5c51
update rules
2025-07-17 13:12:11 -06:00
Nate Kelley
8c562c70b5
Update apps/server/src/api/v2/organization/PUT.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-17 13:11:04 -06:00
Nate Kelley
ea02041ea5
Update README.md
2025-07-17 12:48:45 -06:00
Nate Kelley
e44cda8f10
Update documentation for future background agents
2025-07-17 12:34:48 -06:00
Nate Kelley
7b24d167b9
hex values checking before insert into database
2025-07-17 12:17:34 -06:00
Nate Kelley
ee8cce71f8
Add additional error handling for endpoint
2025-07-17 12:06:57 -06:00
Nate Kelley
e55632e074
initial commits for update org
2025-07-17 11:41:31 -06:00
Nate Kelley
b1e7f7cfc1
Fix test db util type
2025-07-17 10:53:01 -06:00
dal
a3ecb5a1a5
Update apps/server/src/api/v2/slack/events.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-16 16:23:04 -07:00
dal
b9ad7552fa
Update apps/server/src/api/v2/slack/services/slack-helpers.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-16 16:16:27 -07:00
dal
da380485d9
added in the slack auto-sharing functionality
2025-07-16 16:54:09 -06:00
dal
28a5d65777
Merge remote-tracking branch 'origin/staging' into dallin/bus-1363-slack-agent-query-buster-from-slack-direct-query
2025-07-16 13:58:13 -06:00
dal
86572acfa4
slack agent react
2025-07-16 13:58:03 -06:00
dal
a20c8dad56
pass up userId
2025-07-16 13:22:43 -06:00
Nate Kelley
32a0b84eeb
better logging for auth
2025-07-16 13:09:30 -06:00
dal
e2d1d32089
correct enums on the events chat creation
2025-07-16 13:09:07 -06:00
dal
d4f216cb66
Merge remote-tracking branch 'origin/staging' into dallin/bus-1363-slack-agent-query-buster-from-slack-direct-query
2025-07-16 12:54:18 -06:00
dal
1e2e031240
slack info from user
2025-07-16 11:56:11 -06:00
Nate Kelley
f9252ce149
Update apps/server/src/api/v2/users/index.ts
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-16 11:29:31 -06:00
Nate Kelley
8fe5e9f906
working tests
2025-07-16 10:36:24 -06:00
dal
cbd8b21203
remove delted at clause on user
2025-07-16 10:27:33 -06:00
dal
2bc11900b9
Slack User auth and domain validation
2025-07-16 10:09:57 -06:00
Nate Kelley
0d01dfcb4c
array parter
2025-07-16 09:54:28 -06:00
Nate Kelley
d9ed8b1423
finalize pagination endpoint
2025-07-16 09:25:51 -06:00
Nate Kelley
b637bf356a
paginated queries
2025-07-15 23:05:12 -06:00
Nate Kelley
fdf70abfb8
update database dev
2025-07-15 22:26:13 -06:00
Nate Kelley
094fc4c251
add pagination type responses
2025-07-15 17:23:32 -06:00
Nate Kelley
fb0e79065f
udpate endpoint to accept more params
2025-07-15 16:54:18 -06:00
Nate Kelley
2e73d97ffc
create basic user to organization db
2025-07-15 16:20:40 -06:00
dal
a751d22baa
initial slack challenge verification and receive messages
2025-07-14 16:08:01 -06:00
dal
4ab3ae97a2
env vars
2025-07-14 15:12:46 -06:00
dal
72c5eaa443
slack scopes for bot + claude fixes
2025-07-14 15:01:33 -06:00
Nate Kelley
727e66a630
Fix files on lint
2025-07-14 14:30:07 -06:00
dal
bd34e72b93
bugfix on data metdata
2025-07-14 14:23:37 -06:00
dal
00ef69d1f8
change copy
2025-07-14 13:07:09 -06:00
Cursor Agent
268b989d83
Improve chat cancellation handling with detailed reasoning scenarios
...
Co-authored-by: dallin <dallin@buster.so>
2025-07-14 18:57:14 +00:00
dal
69da316f6c
Merge remote-tracking branch 'origin/staging' into dallin/bus-1380-fix-unit-tests
2025-07-14 12:37:15 -06:00
dal
5a971dd8a1
fix on access-control tests
2025-07-14 11:01:53 -06:00
Nate Kelley
5352ae8f10
currency response
2025-07-14 09:41:25 -06:00
dal
2be9784516
Add unit and integration test scripts to package.json files across multiple packages
2025-07-14 09:11:20 -06:00
Nate Kelley
963bf6b2f2
fix all of the bugs
2025-07-12 22:14:08 -06:00
Nate Kelley
5448af614a
lint fixes 👀
2025-07-12 16:32:47 -06:00
dal
6c58f330f8
slack events endpoint hotfix
2025-07-11 16:49:18 -06:00
dal
1580bbb711
Add events endpoint for Slack webhooks without authentication
2025-07-11 15:48:20 -06:00
dal
a36bba3b40
Add '@buster/ai' dependency and enhance chat cancellation logic
...
- Added '@buster/ai' as a workspace dependency in pnpm-lock.yaml and package.json.
- Updated database-migrations.yml to trigger on changes in the database package.
- Refined the cancelChatHandler function to include detailed message cleanup and trigger cancellation logic.
- Improved response handling in the chat cancellation endpoint to return a success message.
- Enhanced updateMessageFields to support marking messages as completed.
2025-07-11 09:51:51 -06:00
dal
87f3853ce8
stubbed out the cancel endpoint and added the trigger run col
2025-07-10 16:26:30 -06:00
Nate Kelley
f39a309a38
Merge pull request #476 from buster-so/nate/hot-fix-server-build
...
Update tsup.config.ts
2025-07-10 12:53:28 -06:00
Nate Kelley
2ec3692462
Update tsup.config.ts
2025-07-10 12:53:00 -06:00
Nate Kelley
252a892cae
Merge pull request #475 from buster-so/nate/hot-fix-server-build
...
Server build update
2025-07-10 12:50:47 -06:00
Nate Kelley
10e741fa93
Use up for server dev
2025-07-10 12:49:46 -06:00
Nate Kelley
e63706e173
Use type checking
2025-07-10 12:35:03 -06:00
Nate Kelley
07ebe9c9b7
finalized typechecking
2025-07-10 12:29:38 -06:00
Nate Kelley
e7ee256072
move shared to be zod v4
2025-07-10 12:16:34 -06:00
dal
315cfa7a8f
Merge pull request #472 from buster-so/dallin/bus-1346-access-paths-for-datasets-need-to-go-through-defaults-as
...
Dallin/bus 1346 access paths for datasets need to go through defaults as
2025-07-10 10:15:13 -07:00
dal
0e0b14a47f
access controls listing datasets with new default datasets access pattern through security settings.
2025-07-10 11:03:45 -06:00
Nate Kelley
7b9892129c
update imports and type checks
2025-07-10 10:52:21 -06:00
Nate Kelley
6eb2709dd9
lint updates
2025-07-10 10:23:40 -06:00
Nate Kelley
b28f6e1e35
additional types fixes
2025-07-10 10:14:16 -06:00
dal
4d7f1353ff
clean up tyeps
2025-07-10 07:52:41 -06:00
dal
532ec54798
as organization role
2025-07-10 07:46:59 -06:00