Open php-coder opened 8 years ago
Because of using external service, integration tests fail when they're running offline.
Now I have a better idea -- don't use it at all :) We need only 2 tiny images with country flags and that's all. We can even embed these images in the page sources and don't load 2 external files (css/image).
It turned out that loading of the https://cdn.rawgit.com/usrz/bootstrap-languages/3ac2a3d2b27ac43a471cd99e79d378a03b2c6b5f/languages.png leads to a redirect to https://raw.githubusercontent.com/usrz/bootstrap-languages/3ac2a3d2b27ac43a471cd99e79d378a03b2c6b5f/languages.png
Don't forget to update CSP rules that were added in 4d0922ea3aec8be915271167871038f1d273ca6b
rawgit.com is End Of Life and should be replaced.
rawgit.com is End Of Life and should be replaced.
We can temporary move to jsdelivr: https://www.jsdelivr.com/rawgit
We can temporary move to jsdelivr: https://www.jsdelivr.com/rawgit
Done in 4cfa56e19f5d49d9294d462b41aad79a738564b6 commit.
Perhaps, we can take flags from https://www.gosquared.com/resources/flag-icons/
Right now we're using
usrz/bootstrap-languages
from http://rawgit.com but we need to have it as a WebJar (especially as classic webjar, see https://github.com/webjars/webjars/issues/1185).Tech debt for e5670188e22863d8f4d8b9c5e24e078cb3a5acdd (#216)