Stablev1.5.6
BUG FIXES
- Fixed the sign menu crashing with "SetText (string expected, got nil)" when the selected language has no translation, missing texts now fall back to English.
- Fixed links outside zad.config.WhitelistLink still being saved on signs, the whitelist is now checked by the server and can't be bypassed anymore.
- Fixed images from hosts sending a lowercase or detailed Content-Type header not loading.
- Fixed signs saved with only an Imgur ID no longer showing their image.
FEATURES
- Added a hint in the sign menu listing the allowed image hosts, replacing the Imgur ID picture.
- Added ImgBB, Postimages and GitHub raw to the default image host whitelist.
AFFECTED FILES
- lua/autorun/zad_load.lua
- lua/entities/zad_adsign/cl_init.lua
- lua/zad_config.lua
- lua/zad_languages/zad_language_en.lua
- lua/zadkit/cl/zad_fonts.lua
- lua/zadkit/cl/zad_imageloader.lua
- lua/zadkit/cl/zad_sign_vgui.lua
- lua/zadkit/sh/zad_utility.lua
- lua/zadkit/sv/zad_sign_sv.lua