- Added print statements to display current and new config values
- Improved visibility into config update process
- No functional changes, only added logging for debugging
- Pass authentication credentials to background threads for NPM updates
- Improve regex patterns for accurate location block matching
- Add support for creating new location blocks for streams
- Return success status from NPM config update operations
- Update test script to handle errors and apply changes automatically
When updating, adding, or deleting accounts, multiple cache entries need to be invalidated to ensure data consistency. This includes clearing both memoized and regular cache entries for user accounts and the home page, which displays account statistics. The changes ensure that cached data is properly refreshed across all relevant views.
Rename the `proxy_send_test_notification` function to `send_test_notification_proxy` for better naming consistency.
The corresponding template is updated to use `url_for` for the fetch request, making the URL generation more robust and maintainable.
The OCR feature can now be enabled or disabled using a new `OCR_ENABLED` configuration flag.
This allows for more flexible deployments where the OCR feature is not required, reducing the application's resource footprint and dependency overhead.
The backend now conditionally initializes the OCR engine and its associated route. The frontend UI for OCR uploads is also rendered conditionally based on this setting.