I am new to XWiki so excuse me for stupid questions I have just installed Standard Flavor XWiki 10.11.7 on local network and have chosen Sandstone color theme… What I noticed is that XWiki tries to include some resources from the Internet ex.: https://fonts.googleapis.com/css?family=Roboto:400,500
How can I change that? I would like to have those resources locally…
I have tried grep’ing webapp’s and XWiki permanent folders for “fonts.googleapis.com” but it looks that everything is not so simple…
Hi @mirkt
There is already an issue reported at Loading...
The thing is that Paper (mentioned in the issues) or Sandstone (mentioned by you) are themes that we have from Bootswatch (these are open source Bootstrap theme created by an external community that we don’t control). We are using Bootswatch themes in order to provide more options for users until they create their own theme.
The conclusion for me is that we need to fix the issue since I agree that we shouldn’t force being online to use XWiki by default. Maybe we could have some themes that don’t need to be online while others would need to be online?
5 own themes - for these the user doesn’t need to be online.
the default Iceberg theme has no issue being on a secure / isolated instance.
16 Bootswatch themes - for some of these theme, the user should be online to have that particular font, but the CSS also provides fallback on system fonts.
I don’t consider this as a blocker / critical. We could remove the XS themes because of the ‘font issues’, but this will limit the selection / experimentation the users will have with the initial themes. Beginner users might not know they can install additional themes.
Since we don’t control them, the only solution would be to remove them. It’s a matter of what we lose versus what we gain.
Then I don’t see any issue. Maybe we should just document somewhere that they require to be online (maybe it’s already mentioned on e.x.o, didn’t check).
I think it’s critical/blocker that we provide some themes that don’t require to be online to work but as you mentioned it’s already the case!
I don’t see why we would remove the bootswatch themes. They’re interesting to have IMO.
These themes use some fonts from the Google Fonts webservice. This mean that if you are behind a proxy that filters some requests, or if you are browsing XWiki on an intranet without having an Internet connection, you will not have the same fonts, but a default one instead.