-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add favicons #1960
Add favicons #1960
Conversation
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Codecov Report
@@ Coverage Diff @@
## master #1960 +/- ##
=========================================
Coverage 67.53% 67.53%
Complexity 249 249
=========================================
Files 22 22
Lines 690 690
=========================================
Hits 466 466
Misses 224 224 Continue to review full report at Codecov.
|
They're supposed to be generated by the server for quite some times now. Thus why they're not here anymore. |
I checked every app on my private instance and I see favicons only for the apps which explicitly ship their own. Could the auto generation be related to the theming app? I had to disable this app because it is not working well when using a s3 bucket as primary storage. |
It requires imagick with svg support being enabled on the instance, maybe that is not the case here then: https://github.com/nextcloud/server/blob/cb057829f72c70e819f456edfadbb29d72dba832/apps/theming/lib/Controller/IconController.php#L126 |
I have imagick enabled and definitely don't have the contacts favicon 🤔 |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/contacts/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
@juliushaertl @skjnldsv FYI, the theming app is responsible for automatic favicon generation. I enabled it on my Nextcloud server and all the favicons are getting generated automatically now. The HTML source code reveals the following url for the generated favicon: EDIT: typo |
Fixes #1947
All SVGs were created and converted to PNGs with Inkscape. The ICO version was converted using ImageMagick. For dimensions and styling I adhered to the favicons of nextcloud/mail.
All PNGs and SVGs were optimized using nextcloud/server/build/image-optimization.sh.