nextcloud/apps/theming/lib
Simon L. 7b0f83f2f0 fix(theming): preserve uploaded favicon and touch icon
PR #58224 dropped the `$iconFile === null` guard around the app-specific
icon generation in getFavicon()/getTouchIcon(), so an uploaded custom
favicon was always overwritten by the generated, context-colored icon
whenever Imagick could produce an ICO/PNG.

Restore the guard so the generation path only runs as a fallback when no
custom favicon was uploaded, while keeping the improved Imagick
capability detection from #58224.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Simon L. <szaimen@e.mail.de>
2026-06-13 22:14:21 +02:00
..
AppInfo chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Command chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Controller fix(theming): preserve uploaded favicon and touch icon 2026-06-13 22:14:21 +02:00
Jobs refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
Listener refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
Migration fix(theming): Do not throw in background color migration 2025-01-29 15:32:43 +01:00
Service feat(theming): add new default background for Nextcloud 32 2025-08-21 19:22:45 +02:00
Settings chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
SetupChecks chore: Add SPDX header 2024-05-31 10:38:47 +02:00
Themes fix(ui): Update assistant text gradient 2025-09-25 12:48:04 +00:00
Capabilities.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ConfigLexicon.php fix(theming): use IAppConfig for all ThemingDefaults 2025-11-01 17:14:02 +00:00
IconBuilder.php fix(theming): Fix favicon and touchicon ratios 2026-04-07 12:00:06 +00:00
ImageManager.php fix(theming): fix broken custom images introduced by #58224 2026-05-20 15:50:07 +00:00
ITheme.php chore: Add SPDX header 2024-05-31 10:38:47 +02:00
ResponseDefinitions.php chore: Add SPDX header 2024-05-31 10:38:47 +02:00
ThemingDefaults.php fix: generate favourite icon without imagick svg support 2026-04-06 14:52:54 -04:00
Util.php fix: generate favourite icon without imagick svg support 2026-04-06 14:52:54 -04:00