Commit Graph

4210 Commits

Author SHA1 Message Date
dal 51da02efbb
update package.json pass if no unit tests 2025-07-17 23:03:54 -06: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
dal 9f8b964381
Merge pull request #532 from buster-so/devin/1752763318-fix-unit-tests-across-packages
Fix unit tests across packages - move tests alongside source files and ensure proper mocking
2025-07-17 15:44:16 -07:00
dal 54fcd12979
Merge pull request #537 from buster-so/devin/BUS-1435-1752781371
feat(slack): implement scope validation and re-installation flow for BUS-1435
2025-07-17 15:40:04 -07: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
dal 6dd27e04f5
Merge pull request #535 from buster-so/devin/BUS-1434-1752774026
Implement version-based deduplication in file selection for BUS-1434
2025-07-17 15:31:06 -07:00
Nate Kelley d2cd4fb173
create default them component 2025-07-17 16:24:46 -06:00
Nate Kelley e803d76f52
finalize default theme base 2025-07-17 15:59:37 -06:00
Nate Kelley aa8da2ae11
update to custom theme base 2025-07-17 15:52:09 -06:00
Nate Kelley 490967a1bc
add additional context to menus 2025-07-17 15:38:47 -06: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
Nate Kelley 74aebb4291
color picker drag update for bug 2025-07-17 15:10:51 -06:00
Nate Kelley ba8c4640bf
Update NewThemePopup.tsx 2025-07-17 14:54:44 -06:00
Nate Kelley b27dc430d9
create basic color spickers 2025-07-17 14:44:20 -06: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 f77844fdab
Merge pull request #536 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
default color palette in workspace settings - api routes
2025-07-17 13:20:18 -06:00
Nate Kelley 5dd7b20f25
fix broken linting 2025-07-17 13:18:32 -06: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 0d5a881b89
Update packages/database/.cursor/schema.mdc
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-17 13:10:19 -06:00
Nate Kelley 1ae52ec603
update package readme for database 2025-07-17 13:06:42 -06:00
Nate Kelley 16045ced49
Added readme and other stuff for cursor 2025-07-17 12:56:42 -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
Devin AI b80f15e3ef Fix formatting and remove stray characters
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 17:51:37 +00:00
Nate Kelley e55632e074
initial commits for update org 2025-07-17 11:41:31 -06:00
Devin AI 867e364b9a Implement version-based deduplication in file selection
- Add deduplicateFilesByVersion helper function with informative logging
- Modify selectFilesForResponse to handle version-based deduplication
- Balance priority logic (dashboards over standalone created metrics) with deduplication
- Default missing version numbers to 1
- Add comprehensive tests for deduplication scenarios
- Preserve existing priority logic when no deduplication is needed

Fixes BUS-1434

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 17:40:40 +00:00
dal 8f39fe768d
Merge pull request #534 from buster-so/jacob-prompt-changes-v3
Assumption Prompt / Variable use changes
2025-07-17 10:32:33 -07:00
Jacob Anderson d8ef44fa28 changes to the assumption prompts to make it catch more things, changes to the main agent so it does not use variables 2025-07-17 11:29:25 -06:00
Nate Kelley b1e7f7cfc1
Fix test db util type 2025-07-17 10:53:01 -06:00
Nate Kelley be6b510685
Merge branch 'staging' into big-nate/bus-1424-default-color-palette-in-workspace-settings 2025-07-17 10:51:17 -06:00
Nate Kelley c9467b713b
Merge pull request #533 from buster-so/hot-fix/avatar-url-in-share
Hot fix - avatar url in share menu and assets
2025-07-17 10:50:57 -06:00
Nate Kelley f725ef9386
add avatar urls to the share 2025-07-17 10:50:49 -06:00
Nate Kelley 3bf3a324aa
equality check example 2025-07-17 10:25:53 -06:00
dal 3d6c7549bd
Merge pull request #529 from buster-so/devin/BUS-1415-1752766195
Filter out stale asset import chats from GET /chats and /logs endpoints
2025-07-17 09:24:33 -07:00
Devin AI 0176de6faf Fix unit tests across packages - move tests alongside source files and ensure proper mocking
- Fixed unit test failures in database, rerank, data-source, stored-values, and test-utils packages
- Moved unit tests from tests/ folders to be alongside source files (e.g., slack.ts -> slack.test.ts)
- Ensured all unit tests use mocks instead of real dependencies
- Added DATABASE_URL environment variable to test:unit scripts where needed
- Fixed mock implementations and test assertions
- All 52 unit tests now pass successfully

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:22:02 +00:00
Devin AI ea083784bc Fix Diesel subquery compilation errors - use exists() and raw SQL for message filtering
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:21:13 +00:00
dal 562f046f78
Merge pull request #531 from buster-so/dallin/bus-1272-share-a-chat-functionality
Implement chat access checks for metrics and dashboards
2025-07-17 09:18:48 -07:00
dal d31ac1f367
Merge pull request #530 from buster-so/devin/BUS-1413-1737133153
feat: implement markdown to Slack mrkdwn converter for BUS-1413
2025-07-17 09:15:01 -07:00
Devin AI 96d0d219ee Fix remaining unit test issues in AI and data-source packages
- Fixed AI package unit tests that were previously failing
- Updated database package.json with environment variables for tests
- Fixed snowflake adapter test issues in data-source package

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:14:57 +00:00
Devin AI 135dd40410 Remove old test files after moving to source directories
- Removed empty test files from packages/rerank/tests/ and packages/stored-values/tests/
- All unit tests are now co-located with their source files

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:14:13 +00:00
Devin AI 281ef4a1a7 Add remaining unit test files alongside source files in test-utils package
- Added unit tests for database helper functions
- Added unit tests for mock helpers and environment helpers
- All test files now follow the convention of being alongside their source files

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 16:13:57 +00:00