supermarket
supermarket copied to clipboard
Supermarket in offline environment - issues with Javascript
Reports from a user expressed that although the install into an offline environment was good (well done all). When using the GUI, errors are thrown due to requiring assets from public sources which are then not accessible in this internet-less environment. Could the system be modified to avoid this?
I am seeking further clarification from the user as to the specific error(s) and will update when they become available.
We should be able to fix things so an airgapped install doesn't try to get assets from anything but itself. Errors from the user would be helpful!
When we go to the root page it tries to load the following online resources: https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css https://fonts.googleapis.com/css?family=Montserrat:400,700
It will also try to load images from secure.gravatar.com. Maybe add a setting so we can deactivate this integration? That would be nice!
Apparantly there's also a rendering issue with Firefox (I'm using 50.1.0 for Ubuntu) when the avatars doesn't load. I've attached a screenshot. It looks better in Chrome.
When I'm signing in it tries to load: https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js However, this resource is included by the OAuth sign in page on Chef Server, not Supermarket.