Yeah I can See that clearly. We need to have the clean library available as soon as possible.
On Monday, 15 May 2017 08:53:25 UTC+1, Federico Capoano wrote: > > On Mon, May 15, 2017 at 7:16 AM GASTON CHE <gast...@gmail.com > <javascript:>> wrote: > >> I have taken the past few days to go through the basic json-editor code. >> I found out they don't use any validation library, rather have implemented >> their own json validation directly into the editor. >> > > That's really ugly! > > >> So There is no AJV from there that can be used to customize the advanced >> editor. >> So my next steps will be to go through the ajv library and understand the >> options i have so as to be able to escape the warnings we are getting with >> the vpn config section. Since the validation warnings are actually being >> thrown by the ajv in the editor, and not the editor itself. However i Will >> need to understand the reason y that warning is being thrown. >> >> Ok, keep me updated. As a last resort we could disable the validation in > the VPN page only, although it would be an ugly solution. > > I hope that by working on these issues you are understanding how badly we > need a cleaner and more maintainable solution for the long term. > > Federico > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.