Feature/yahoo finance (#123)

* Implement Yahoo Finance

* Added tests

* Updated hosting controller to check for managed app_mode instead of env_override

* Suggestions from CodeRabbit and Fixes on tests

* Remove Css changes

* Fix yahoo finance impl and i18n

* Updated view to use healthy method

* remove usage

* Updated env example

* keep usage on class just to keep same format

* Ci test

* Remove some useless validations

* Remove logs

* Linter fixes

* Broke this in my conflict merge

* Wrong indentation level

---------

Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
João Felipe
2025-10-29 02:15:14 +04:00
committed by GitHub
parent 391011628a
commit 9fefe57de5
12 changed files with 913 additions and 13 deletions

View File

@@ -15,8 +15,9 @@ en:
closed: Closed
invite_only: Invite-only
show:
general: External Services
invites: Onboarding
general: General Settings
financial_data_providers: Financial Data Providers
invites: Invite Codes
title: Self-Hosting
danger_zone: Danger Zone
clear_cache: Clear data cache
@@ -28,7 +29,7 @@ en:
description: Enter the Client ID provided by Brand Fetch
label: Client ID
placeholder: Enter your Client ID here
title: Brand Fetch
title: Brand Fetch Settings
openai_settings:
description: Enter the access token and optionally configure a custom OpenAI-compatible provider
env_configured_message: Successfully configured through environment variables.
@@ -39,6 +40,13 @@ en:
model_label: Model (Optional)
model_placeholder: "gpt-4.1 (default)"
title: OpenAI
yahoo_finance_settings:
title: Yahoo Finance
description: Yahoo Finance provides free access to stock prices, exchange rates, and financial data without requiring an API key.
status_active: Yahoo Finance is active and working
status_inactive: Yahoo Finance connection failed
connection_failed: Unable to connect to Yahoo Finance
troubleshooting: Check your internet connection and firewall settings. Yahoo Finance may be temporarily unavailable.
twelve_data_settings:
api_calls_used: "%{used} / %{limit} API daily calls used (%{percentage})"
description: Enter the API key provided by Twelve Data

View File

@@ -16,7 +16,8 @@ nb:
invite_only: Kun invitasjon
show:
general: Generelle innstillinger
invites: Onboarding
financial_data_providers: Finansdata-leverandører
invites: Invitasjonskoder
title: Selvhosting
danger_zone: Fareområde
clear_cache: Tøm cache
@@ -31,3 +32,11 @@ nb:
clear_cache:
cache_cleared: Cachen er tømt. Dette kan ta noen øyeblikk å fullføre.
not_authorized: Du er ikke autorisert til å utføre denne handlingen
yahoo_finance_settings:
title: Yahoo Finance
description: Yahoo Finance gir gratis tilgang til aksjekurser, valutakurser og finansdata uten å kreve en API-nøkkel.
status_active: Yahoo Finance er aktiv og fungerer
status_inactive: Yahoo Finance-tilkobling feilet
connection_failed: Kunne ikke koble til Yahoo Finance
troubleshooting: Sjekk internettilkoblingen og brannmurinnstillingene. Yahoo Finance kan være midlertidig utilgjengelig.

View File

@@ -15,7 +15,8 @@ tr:
invite_only: Davet ile
show:
general: Genel Ayarlar
invites: Onboarding
financial_data_providers: Finansal Veri Sağlayıcıları
invites: Davet Kodları
title: Kendi Sunucunda Barındırma
danger_zone: Tehlikeli Bölge
clear_cache: Veri önbelleğini temizle
@@ -37,3 +38,10 @@ tr:
clear_cache:
cache_cleared: Veri önbelleği temizlendi. Bu işlemin tamamlanması birkaç dakika sürebilir.
not_authorized: Bu işlemi gerçekleştirmek için yetkiniz yok
yahoo_finance_settings:
title: Yahoo Finance
description: Yahoo Finance, API anahtarı gerektirmeden hisse senedi fiyatları, döviz kurları ve finansal verilere ücretsiz erişim sağlar.
status_active: Yahoo Finance aktif ve çalışıyor
status_inactive: Yahoo Finance bağlantısı başarısız
connection_failed: Yahoo Finance'e bağlanılamıyor
troubleshooting: İnternet bağlantınızı ve güvenlik duvarı ayarlarınızı kontrol edin. Yahoo Finance geçici olarak kullanılamayabilir.