Deleting logo Management to execute from enterprise
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Removed Features**
- Removed logo management test suite and associated page objects
- Eliminated methods for updating custom logo text and uploading logos
in management page
- **Impact**
- Logo management testing functionality has been completely removed from
the test suite
- No current capability to test logo-related operations
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced route navigation logic for pipeline editing.
- Added confirmation dialog for unsaved changes when leaving pipeline
edit view.
- **Bug Fixes**
- Prevented access to pipeline edit view without a valid pipeline ID.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
fix for #5677
## Summary by CodeRabbit
- **New Features**
- Enhanced pipeline navigation by including organization identifier when
routing to pipeline editor
- **Improvements**
- Removed hardcoded pipeline names, suggesting a move towards more
dynamic data handling
- Improved routing logic to pass organization context between components
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- #5675
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced dashboard folder selection by adding active folder context to
the selection dropdown for importing from JSON files, URLs, and JSON
strings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Adds a new endpoint for moving an alert between different folders.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added ability to move alerts between folders.
- Introduced new endpoint for moving alerts.
- Enhanced alert management with improved validation and error handling.
- **Bug Fixes**
- Improved alert retrieval to include folder context.
- **Documentation**
- Updated OpenAPI documentation to include new alert movement endpoint.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
When we move a dashboard from one folder to another, currently the rbac
relations are not updated, so the folder still points to the old folder
as `parent` in the ofga `tuple` database.
This PR fixes this issue by updating the `parent` relationship between
the dashboard and the old and new folders.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced dashboard management with improved access control integration
- Added support for setting and removing parent relations for dashboards
using OpenFGA system
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Tests**
- Added comprehensive test cases for API function creation
- Included tests for invalid payloads, text-only inputs, and special
character scenarios
- Verified successful function creation with valid payloads
- **Chores**
- Updated `.gitignore` to exclude temporary directories, configuration
files, and build artifacts
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Enhanced database migration script to improve record processing order
- Added logging for KSUID generation during migration process
- Updated import statements to support query ordering functionality
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- [x] for search job, in `total` field, will return the total records
numbers.
- [x] if not set the from and size when get result, we set default from
= 0 and size = 100
- #5658
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved error handling in SQL query parsing to prevent unexpected
crashes
- Updated internal logic for processing dashboard data sources
- **Refactor**
- Enhanced SQL utility functions to provide more robust data conversion
mechanisms
The changes focus on improving the reliability and error management of
dashboard and query-related functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Updated Logo Management Page
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added a new page object for logo management in UI testing.
- Introduced functionality to generate random logo names.
- Enhanced logo upload and management test capabilities.
- **Tests**
- Updated logo management test suite with more robust interactions.
- Improved test navigation and logo management workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
close#5645
## New Env
```
ZO_SEARCH_JOB_RETENTION
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
- **New Features**
- Added configurable search job retention setting
- Implemented job retention management for search jobs
- **Enterprise Features**
- Enhanced job deletion mechanism based on retention period
- Added ability to automatically clean up older search jobs
- **Configuration**
- New option to specify how long search jobs are kept (default: 30 days)
These updates improve system management and provide more control over
job lifecycle, particularly for enterprise users.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Database Migration**
- Transitioned database tables to use KSUIDs (K-Sortable Unique
Identifiers) as primary keys.
- Recreated `folders`, `dashboards`, and `alerts` tables with a new
identifier system.
- Updated `id` and `folder_id` fields in `alerts`, `dashboards`, and
`folders` tables from numeric to string types.
- Ensured unique identifiers are generated upon creation of new folders
and dashboards.
- Preserved existing data during the migration process.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved alert update and enablement process
- Enhanced transactional handling for alert state changes
- **Refactor**
- Updated alert management logic to provide more robust state
transitions
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#5638
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved error handling in dashboard configuration.
- Enhanced x-axis type configuration for trellis layouts.
- Refined chart configuration to handle scenarios with no series data
more gracefully.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Tests**
- Added comprehensive end-to-end tests for service account management.
- Implemented tests for retrieving, creating, updating, refreshing, and
deleting service accounts.
- Included validation for handling invalid email formats during service
account creation.
- Ensured proper validation of API responses and status codes for
service account operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#5597
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved label retrieval process to handle cases with undefined axis
keys.
- Enhanced series generation logic for bar and horizontal bar charts.
These updates ensure a more reliable experience when processing chart
configurations in the dashboard.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Tests**
- Added comprehensive test cases for dashboard and alerts folder
functionalities.
- Introduced tests for unauthorized access scenarios.
- Added error handling tests for invalid inputs and folder IDs.
- Improved test coverage for various edge cases, including responses for
empty and invalid folder IDs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced configuration handling for enterprise geographic IP
enrichment when the enterprise feature is enabled.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Security Enhancement**
- Added validation to prevent service accounts from logging in
- Implemented additional authentication checks during user login process
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Simplified the Maxmind database download and client initialization
process.
- Streamlined logic for handling file downloads and client updates.
- Removed unnecessary conditional checks, enhancing the overall flow of
operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#5617
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved search operation cancellation by adding user notifications
when a search is canceled.
- **User Experience**
- Enhanced feedback mechanisms for search and histogram query
cancellations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Data Updates**
- Enhanced country list with new entries and abbreviated names
- Refined country name representations for improved clarity and
consistency
- Updated list of countries with more standardized naming conventions
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR fixes some minor issues related to design of stream settings
page
1. reduced some spacing in add fields popup and also maintained styling
of add fields button same as whole application
2. time at the top to be splitted to start and end time for better
readability
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **UI/UX Improvements**
- Refined styling for stream field inputs and schema components
- Updated button and div styling for better visual presentation
- Added labels for start and end times to improve clarity
- Adjusted layout and spacing of components for enhanced readability
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Enhanced error handling for dashboard movement operations
- Improved error reporting when deleting dashboards from old folders
during move operations
- **New Features**
- Added more detailed error tracking for dashboard-related actions
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Currently the RBAC does not work with GET /dashboard api. With this pr,
it should work now.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced dashboard request authorization handling
- Improved request authentication logic for dashboard-related GET
requests
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added a new configuration option for minimum auto-refresh interval.
- Expanded configuration response to include minimum auto-refresh
interval setting.
- **Improvements**
- Enhanced configuration capabilities for controlling automatic refresh
frequency.
- Corrected type for result cache discard duration to ensure it is
treated as a numeric value.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced date-time selection component with new props for visibility
and functionality.
- Added a tabbed interface for schema settings and extended retention.
- Introduced new date retention management options with improved
validation and user interaction.
- Improved localization with new confirmation and date-related messages.
- **Bug Fixes**
- Refined date selection logic and validation.
- Added user confirmation for date deletion.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
for debug the #5398
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
- **Configuration**
- Added new configuration option to disable keep-alive connections
- Adjusted HTTP server connection timeout settings
- **Authentication**
- Enhanced token validation with improved traceability
- Updated authentication methods to support more detailed request
tracking
- **Performance**
- Optimized client lock management in MaxMind database downloader
- Refined request handling in RUM ingestion APIs
- **Logging**
- Improved logging for authentication and request processing
- Added trace ID support for better request tracking
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: domyway <weizhao029@gmail.com>