Files
sure/app/models
MkDev11 eeff4edbea Add warning for TwelveData plan-restricted tickers (#803)
* Add warning for TwelveData plan-restricted tickers

Fixes #800

- Add Security::PlanRestrictionTracker concern using Rails cache
- Detect plan upgrade errors during Security::Price::Importer sync
- Display amber warning on /settings/hosting with affected tickers
- Include unit tests for the new functionality

* Scope plan restriction cache by provider

Addresses review feedback:
- Cache key now includes provider name to support multiple data providers
- Methods now require provider parameter for proper scoping
- Added tests for provider-scoped restrictions
- Added documentation explaining instance-level API key architecture

* Fix RuboCop array bracket spacing

* Fix empty array bracket spacing

* Move plan upgrade detection to Provider::TwelveData

* Fix provider scoping tests to use direct cache writes

---------

Co-authored-by: mkdev11 <jaysmth689+github@users.noreply.github.com>
2026-01-27 15:45:50 +01:00
..
2025-03-28 13:08:22 -04:00
2025-12-07 18:11:34 +01:00
2025-11-24 17:54:18 +01:00
2026-01-09 19:38:04 +01:00
2026-01-22 20:37:07 +01:00
2026-01-22 20:37:07 +01:00
2026-01-23 22:05:28 +01:00
2024-02-02 09:05:04 -06:00
2024-10-18 11:26:58 -05:00
2026-01-22 20:37:07 +01:00
2024-10-18 11:26:58 -05:00
2026-01-23 22:05:28 +01:00
2026-01-23 22:05:28 +01:00
2025-05-23 18:58:22 -04:00
2024-08-23 09:33:42 -04:00
2025-11-01 09:12:42 +01:00
2026-01-22 20:37:07 +01:00
2026-01-22 20:37:07 +01:00
2026-01-23 22:05:28 +01:00
2026-01-23 22:05:28 +01:00
2026-01-08 15:20:14 +01:00
2026-01-23 22:05:28 +01:00
2026-01-23 22:05:28 +01:00
2025-11-25 20:21:29 +01:00
2024-05-23 08:09:33 -04:00
2025-03-28 13:08:22 -04:00