[Interop-dev] [gsoc] New advanced mode editor widget for NetJSON editing

Nemesis (spam-protected)
Fri Mar 10 09:57:52 CET 2017


We are getting interesting patches from potential GSoC students in OpenWISP.

This one adds a nice editor widget for the advanced mode in
django-netjsonconfig (the base configuration management module of
OpenWISP 2), in which users can edit NetJSON directly. The widget also
displays JSON and schema validation errors and prevents saving if the
JSON is invalid. Pretty neat!

We should try to maximize exposure for Freifunk too so that maybe we can
get potential students to start contributing sooner.

(the original message can be also read at
https://groups.google.com/d/msg/openwisp/ft4jgX0ynPI/zNqAUYWfAgAJ).

Federico

---------- Forwarded message ---------
From: Federico Capoano <(spam-protected)
<mailto:(spam-protected)>>
Date: Thu, Mar 9, 2017 at 7:20 PM
Subject: [openwisp] New advanced mode editor widget for NetJSON editing
To: OpenWISP <(spam-protected) <mailto:(spam-protected)>>
Cc: GASTON CHE <(spam-protected) <mailto:(spam-protected)>>


I just released django-netjsonconfig 0.5.5
<https://github.com/openwisp/django-netjsonconfig/releases/tag/0.5.5>,
which includes a new JSON editor widget for editing NetJSON
<http://netjson.org/> in the advanced mode.

This new editor brings a few important improvements to the advanced mode:

  * syntax highlighting
  * JSON validation error reporting
  * JSON schema validation error reporting

Here's a screenshot:

<https://lh3.googleusercontent.com/-pfAHajvhDsA/WMGccx3ex8I/AAAAAAAAH6M/Ko2G5N-R8FocGI3zfJzsMHw9tCMd2xj7ACLcB/s1600/Screen%2BShot%2B2017-03-09%2Bat%2B18.05.32.png>



Many thanks to Gaston Che <https://github.com/gastonche> which sent a
patch <https://github.com/openwisp/django-netjsonconfig/pull/40> to add
this feature.

If you want to help us, you could upgrade your instances
<https://github.com/openwisp/ansible-openwisp2#upgrading-openwisp2>,
test this feature and report any problem you may encounter.

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 (spam-protected)
<mailto:(spam-protected)>.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
_______________________________________________
ninux-dev mailing list
(spam-protected)
http://ml.ninux.org/mailman/listinfo/ninux-dev



More information about the Interop-dev mailing list