- 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.
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>
- 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>
- 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>
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>
- Updated the restoration message format to use response_messages instead of request_message
- Added proper message structure with both file and text messages in a single response
- Updated integration tests to match the new format
- Set empty request_message as required
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Implemented the ability to restore previous versions of metrics and dashboards through the chat interface. Key changes include:
- Created restore_chat_handler.rs to handle the restoration logic
- Added a new REST endpoint at PUT /chats/{id}/restore
- Updated module exports for the new functionality
- Added comprehensive integration tests
- Updated PRDs with implementation details
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>