[PR #6882] Implement Fallback Icon service #22058

Open
opened 2026-04-30 08:23:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6882
Author: @Shocker
Created: 2/27/2026
Status: 🔄 Open

Base: mainHead: icon-service-fallback


📝 Commits (6)

  • 7287a12 Implement Fallback Icon service
  • 75bdd9e resolve conflicts
  • db18b7d Merge branch 'main' into icon-service-fallback
  • 870afdb fix clippy errors
  • 095b3d1 fix fmt
  • 8d3e4ba Merge branch 'main' into icon-service-fallback

📊 Changes

2 files changed (+38 additions, -1 deletions)

View changed files

📝 src/api/icons.rs (+7 -1)
📝 src/config.rs (+31 -0)

📄 Description

Following the discussion from here https://github.com/dani-garcia/vaultwarden/pull/6881 add a separate config to allow fallback to external icon services icon URL (bitwarden, duckduckgo, google) when using the internal icon service in case all the default icon links fail to be downloaded (possibly due to anti-bot/anti-crawler techniques)

P.S.: For this pull request to work, https://github.com/dani-garcia/vaultwarden/pull/6880 MUST be accepted/merged. After that this PR will require a small code change to accomodate for those new changes resolved


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/6882 **Author:** [@Shocker](https://github.com/Shocker) **Created:** 2/27/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `icon-service-fallback` --- ### 📝 Commits (6) - [`7287a12`](https://github.com/dani-garcia/vaultwarden/commit/7287a121fbe8b02c435e6fc3190aa9069b836318) Implement Fallback Icon service - [`75bdd9e`](https://github.com/dani-garcia/vaultwarden/commit/75bdd9e86285aa9e803f768f98cc9b6b0f763313) resolve conflicts - [`db18b7d`](https://github.com/dani-garcia/vaultwarden/commit/db18b7db0cc8208734498fce637501f8e495331f) Merge branch 'main' into icon-service-fallback - [`870afdb`](https://github.com/dani-garcia/vaultwarden/commit/870afdbcf2c07cb921c33d0bfd5c14455ee6d97b) fix clippy errors - [`095b3d1`](https://github.com/dani-garcia/vaultwarden/commit/095b3d1a4eb0186215c7061933526bdfb4427ff4) fix fmt - [`8d3e4ba`](https://github.com/dani-garcia/vaultwarden/commit/8d3e4ba67c4a0c761ea5254ec0e7c5f9f654f357) Merge branch 'main' into icon-service-fallback ### 📊 Changes **2 files changed** (+38 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/api/icons.rs` (+7 -1) 📝 `src/config.rs` (+31 -0) </details> ### 📄 Description Following the discussion from here https://github.com/dani-garcia/vaultwarden/pull/6881 add a separate config to allow fallback to external icon services icon URL (bitwarden, duckduckgo, google) when using the internal icon service in case all the default icon links fail to be downloaded (possibly due to anti-bot/anti-crawler techniques) ~~P.S.: For this pull request to work, https://github.com/dani-garcia/vaultwarden/pull/6880 MUST be accepted/merged. After that this PR will require a small code change to accomodate for those new changes~~ resolved --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-30 08:23:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#22058