Commit Graph

879 Commits

Author SHA1 Message Date
dal fcfb86fa88
sending back filtered files for responses now 2025-04-09 11:41:33 -06:00
dal 494a838260
filtering assets in res messages 2025-04-09 11:32:47 -06:00
dal 6fe50c78de
fixes on issues 2025-04-09 11:04:40 -06:00
dal 6ebb364101
add everything back 2025-04-09 09:22:39 -06:00
dal 861f3d71bd
cost optimizations 2025-04-09 09:09:38 -06:00
dal ebc4815aad
merging bus-1065 2025-04-08 16:53:08 -06:00
dal e782a7cf9a
import assets into chat 2025-04-08 16:52:59 -06:00
dal 85a2b2a8aa
added in the associations well 2025-04-08 16:15:25 -06:00
dal cab1751172
all snake_case 2025-04-08 15:52:44 -06:00
dal 44042cd676
load in assets and mark context 2025-04-08 15:46:37 -06:00
dal d7023b2f87
added the version number to the chat object 2025-04-08 15:42:18 -06:00
dal 09c41be967
formatting and other small things around importing an asset into a chat 2025-04-08 14:30:21 -06:00
dal 7e588d23b3
global and prds 2025-04-08 13:34:05 -06:00
dal 1e020bb94c
update globals 2025-04-08 13:32:40 -06:00
dal 19a4eebcfe
new docs for test movement 2025-04-08 13:32:09 -06:00
dal 4c5d6ca97d
update column settings on sql change 2025-04-08 13:25:19 -06:00
dal b5d8cdc662
prd and metric file change 2025-04-08 10:48:24 -06:00
dal 43e1843d7b
updates 2025-04-08 10:31:11 -06:00
dal 4b07369b9b
project prd improvement 2025-04-08 10:31:10 -06:00
dal 5c99a94a4c
migration and such with some test improvements 2025-04-08 10:07:11 -06:00
dal a9424bae23
show legend headline 2025-04-08 09:20:20 -06:00
dal d2cfe5642b
legend headline bug 2025-04-07 21:29:11 -06:00
dal f5678c4a4d
ok password finally working 2025-04-07 21:18:20 -06:00
dal d346bca850
Enhance API documentation and implement password protection for public assets
- Updated CLAUDE.md with architecture overview, row limit implementation notes, and troubleshooting guide.
- Added additional documentation resources and common test commands.
- Enhanced database test infrastructure guide with quick reference and common patterns.
- Implemented password protection for public dashboards and metrics, including checks for access expiration and required passwords.
- Updated relevant handlers and routes to support password parameters.
- Refactored bulk update metrics handler to remove batch size from request structure.
- Added tests for password protection and access control for metrics and dashboards.
2025-04-07 17:44:41 -06:00
dal dc701e9ea5
testing and claude updates 2025-04-07 16:50:16 -06:00
dal 994975672b
Merge api_permission_field_fix branch and resolve conflicts
Combined test modules from both branches to maintain all test cases including:
- sharing tests from HEAD branch
- permission field tests from api_permission_field_fix branch
- update metric tests from HEAD branch

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:49:24 -06:00
dal eedb717393
api_permission_field_fix 2025-04-07 16:47:00 -06:00
dal a754c45282
Resolve merge conflicts and integrate metrics test module 2025-04-07 16:43:49 -06:00
dal 3b2602adc2
api_metric_status_fix 2025-04-07 16:43:00 -06:00
dal 04d1f0e849
Merge api_public_sharing_fix branch and resolve conflicts 2025-04-07 16:37:49 -06:00
dal 9ae9c2d5cc
api_public_sharing_fix 2025-04-07 16:36:53 -06:00
dal bdd9dd90e2
Use ctor for proper database pool initialization 2025-04-07 16:32:54 -06:00
dal 8c8cca7b62
Implement single database pool initialization 2025-04-07 16:31:24 -06:00
dal 686e336921
Fix async initialization function 2025-04-07 16:28:59 -06:00
dal 9bb0410d03
Fix database pool initialization within async runtime 2025-04-07 16:28:37 -06:00
dal 1a6d712a3f
Add proper database pool initialization 2025-04-07 16:28:17 -06:00
dal bac973e791
Fix test setup for database connectivity 2025-04-07 16:27:51 -06:00
dal 88e8af539e
migration for password that I thought was done? 2025-04-07 16:26:07 -06:00
dal 72c376df7e
Update remaining tests to use simplified setup 2025-04-07 16:19:25 -06:00
dal 6ce9f18e41
Simplify test setup with direct pool initialization 2025-04-07 16:18:58 -06:00
dal cc914fca23
Mark tasks as completed in PRD
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:18:37 -06:00
dal 32b142b0ce
Implement public sharing parameter fix with UpdateField enum
- Add UpdateField enum for unambiguous sharing parameter updates
- Replace Option<Option<T>> pattern with the more explicit enum
- Update metrics, dashboards, and collections sharing handlers
- Add validation for expiry dates and empty passwords
- Add comprehensive tests for public sharing updates

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:18:13 -06:00
dal d10e58fe71
Update integration tests to use proper test infrastructure 2025-04-07 16:18:11 -06:00
dal a4bfa7c39d
Fix AuthenticatedUser struct in integration tests 2025-04-07 16:16:13 -06:00
dal a44e4b127d
Fix import for AuthenticatedUser in tests 2025-04-07 16:15:38 -06:00
dal e6a198fa43
Fix metric status field propagation in update handler
- Modified update_metric_handler to properly include verification status
- Created reusable MetricFileChangeset struct to simplify updates
- Added unit test for verification field in request
- Implemented comprehensive integration tests for status updates
- Test multiple scenarios: authorized update, unauthorized, null values

Fixes BUS-1069

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:14:55 -06:00
dal 1684dad78c
update to claude command 2025-04-07 16:07:36 -06:00
dal 412efa008f
merging api_http_status_fix 2025-04-07 16:06:15 -06:00
dal 16a0dd4081
fixing http status on the asset get endpoitns 2025-04-07 16:06:08 -06:00
dal 5205f35e3a
prds 2025-04-07 16:05:24 -06:00
dal ab44aceb76
feat(metrics): implement bulk metric status update endpoint
Add bulk update functionality for metric verification status, allowing multiple
metrics to be updated in a single API call with efficient batch processing. This
implementation includes:

- New handler for processing bulk updates with concurrent execution
- Batch processing with customizable batch size (default 50)
- Comprehensive error handling with client-friendly error codes
- REST endpoint with request validation and rate limiting
- Unit and integration tests for success and error cases
- Performance testing with different batch sizes

Addresses ticket BUS-1070.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-07 16:03:38 -06:00
dal 1e4783d3f7
prds 2025-04-07 15:37:33 -06:00
dal 84b797cbf7
reformatted prds 2025-04-07 15:13:25 -06:00
dal ec916767c4
api_test_infrastructure 2025-04-07 15:11:03 -06:00
dal 17e672ef16
prds for bug fixes and doc updates 2025-04-07 14:51:54 -06:00
dal bedc6b3e51
ok updated messages to files to have a version number attached 2025-04-07 13:22:10 -06:00
dal 41f60ec874
sentry setup 2025-04-05 11:17:21 -06:00
dal 141736f5a6
remove unused deps 2025-04-04 16:50:44 -06:00
dal 67932cfe39
removed sentry and set it up better 2025-04-04 16:43:58 -06:00
dal 2649fb7656
last few utils to clean up 2025-04-04 16:25:20 -06:00
dal 028eded9c5
cleaned up a few more utils 2025-04-04 16:22:58 -06:00
dal 3beec0878c
fix the string error 2025-04-04 16:19:34 -06:00
dal 28d3e3ee14
fix the user org id 2025-04-04 16:15:31 -06:00
dal b2bc117694
renamed ws threads to chats 2025-04-04 16:02:22 -06:00
dal 9c514e0f7a
got rid of deprecated files 2025-04-04 16:00:23 -06:00
dal 319984034a
update sharing with public_expiry_date 2025-04-04 14:16:14 -06:00
dal c22ea17d6a
added a bunch of tests 2025-04-04 14:09:54 -06:00
dal 50d5e02e02
lots of changes for permissioning and sharing assets 2025-04-04 14:01:40 -06:00
dal 597803ab73
modifications finalizations 2025-04-04 13:07:13 -06:00
dal 773dc9edee
things are working good 2025-04-04 12:40:58 -06:00
dal 5b039a1f29
chat context working 2025-04-04 11:20:36 -06:00
dal 4b87ad8224
dashboards available 2025-04-04 11:00:09 -06:00
dal c351866c9f
on emore tweak to yml schema 2025-04-04 10:43:50 -06:00
dal 0119538040
modify the dashboard ymnl 2025-04-04 10:34:18 -06:00
dal b51cbc54e1
concurrent metric validation 2025-04-04 10:25:24 -06:00
dal 38f1c9c54c
modify files going good 2025-04-04 09:44:10 -06:00
dal fddc909f0f
modifications are happening, just need to fix the response object 2025-04-04 09:12:48 -06:00
dal ce11968d54
column label format update on sql change 2025-04-03 15:29:25 -06:00
dal f70338ba1f
remove weird check that was happening 2025-04-03 14:31:30 -06:00
dal 901501e882
ok cleaned up the data metadata and removed old ws we no longer use 2025-04-03 13:06:23 -06:00
dal 071574fd0e
fixes so far 2025-04-03 12:24:06 -06:00
dal f363caa7a7
middle of working on data metadata stuff 2025-04-03 11:42:30 -06:00
dal 33eab20edb
return records no matter what 2025-04-02 16:43:50 -06:00
dal 90a11bc175
data metadat impl 2025-04-02 16:43:50 -06:00
dal 9a3b659212
refactor metric metadata 2025-04-02 16:43:49 -06:00
dal 8e7885c2ce
update docs 2025-04-02 14:49:00 -06:00
dal 021dbd2fa1
automatic integratino test set up 2025-04-02 14:46:28 -06:00
dal 7e982c3653
delete testkit 2025-04-02 14:28:29 -06:00
dal 2abf522c78
update testing 2025-04-02 14:27:20 -06:00
dal 86bf38719e
testing clean up 2025-04-02 12:33:50 -06:00
dal 57a40c37a7
delete tests 2025-04-02 12:31:50 -06:00
dal 568705d1be
remove old src that was moved to /server and some testing helpers and such 2025-04-02 12:29:58 -06:00
dal 17a4afc7ae
moved server into own space of workspace 2025-04-02 11:31:43 -06:00
dal e9ac50fa4a
Enhance dashboard update functionality to support YAML content and versioning. Added file_content and update_version fields to UpdateDashboardRequest. Implemented YAML validation and metric association updates during dashboard record updates. 2025-04-02 10:46:10 -06:00
dal 92adcc6307
ok checking permission on delete message 2025-04-02 09:31:59 -06:00
dal fd61fc3910
duplciate is unnested 2025-04-02 09:25:38 -06:00
dal b0699bf5be
dashboard config 2025-04-02 09:07:57 -06:00
dal 95f43217cc
duplicate chat functionaligy 2025-04-02 08:21:21 -06:00
dal 8ccfb0d302
new prd, migration, etc. 2025-04-01 21:41:01 -06:00
dal 8186e29c5f
permission on get chat and metric now includes indexmap to preserve mapping orders 2025-04-01 16:18:53 -06:00