Commit Graph

37 Commits

Author SHA1 Message Date
dal 19eea365a4
api, cli, web, tsting env and some rust fixes 2025-04-29 10:37:37 -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 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 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 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 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 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 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 adcbca66aa
remove some deprecated tests 2025-03-25 09:32:35 -06:00
dal 6adf84b8d3
update version param on updates for dashboard and metric pushed up 2025-03-24 11:15:24 -06:00
dal 1dcf3cee05
move metric title to name across ap 2025-03-24 09:46:46 -06:00
dal dba826d874
clean up 2025-03-21 12:54:54 -06:00
dal 1513a39268
clean up 2025-03-21 10:44:53 -06:00
dal 139ef04003
refactor delete metrics 2025-03-20 15:36:12 -06:00
dal baa3796ff4
Created sharing create permissions 2025-03-19 14:22:24 -06:00
dal 2ef5ad1139
integration test fixes 2025-03-19 10:42:36 -06:00
dal 2a33977a4e
added in some tests and such for dashboard_ymls and metric_handlers 2025-03-19 00:09:43 -06:00
dal c53177d3ee
dashboard and testing stuff 2025-03-18 23:51:52 -06:00
dal c66aaf42ee
try and see if litellm is the issue 2025-03-18 22:25:27 -06:00
dal e1f60494a2
metrics endpoints and optimizations for evals 2025-03-18 21:13:47 -06:00