Implement a setting to retrieve high res logos (#725)

* Implement a setting to retrieve high res logos

* Update _brand_fetch_settings.html.erb

* Add fallback for stock tickers also to use Brandfetch

* Update security.rb

* Update toggle logic for high-res logos setting

Signed-off-by: Juan José Mata <jjmata@jjmata.com>

* Update security.rb

* Update security.rb

---------

Signed-off-by: Juan José Mata <jjmata@jjmata.com>
Co-authored-by: Juan José Mata <jjmata@jjmata.com>
This commit is contained in:
soky srm
2026-01-21 17:16:51 +01:00
committed by GitHub
parent ae61df4978
commit abab66675c
14 changed files with 84 additions and 17 deletions

View File

@@ -9,6 +9,7 @@ class Family::AutoMerchantDetectorTest < ActiveSupport::TestCase
@llm_provider = mock
Provider::Registry.stubs(:get_provider).with(:openai).returns(@llm_provider)
Setting.stubs(:brand_fetch_client_id).returns("123")
Setting.stubs(:brand_fetch_logo_size).returns(40)
end
test "auto detects transaction merchants" do