Commit Graph

26 Commits

Author SHA1 Message Date
Raymond Suelzer 664f2ee629 Some LUA Code Clean Up, API (#327)
* Refactor API

* work in progress

* lua clean up
2019-01-21 15:41:31 -06:00
Joe Ayers 6728fba06b bugfix: aredn sysinfo.json fails with mesh rf off
added json meshrf->status->on/off
fixes:  #317
2018-12-22 10:14:58 -08:00
dman776 89682289c1
modify sysinfo.json structure for node,lat,lon values (#193) 2018-09-17 13:41:29 -05:00
dman776 c2894f8df9
rework sysinfo.json to improve structure (#185)
* rework sysinfo.json to improve structure
re-organize "info" functions into their own lib

* change egrep to grep -E to eliminate shellcheck warning
2018-09-10 13:37:50 -05:00
dman776 8db653302a
bugfix: sysinfo.json not returning chanbw on hapACLite (#174) 2018-09-05 09:46:01 -05:00
Joe AE6XE 0bd057ed40 aredn: phase 1 support for Mikrotik rb952Ui-5ac2nD
Add support for the hAP lite model rb952UI-5ac2nD equivilent to
the UBNT AirRouter.  The 5Ghz interface will be configured in a
2nd phase.  This hAP lite model has double the RAM and Flash
of the AR.  the 2Ghz is MIMO (5Ghz is single antenna).
2018-09-03 23:26:56 -07:00
Eric 4997cb47d2 aredn: Node description enhancement (#156)
* aredn: Node Description Enhancements

Node Description entry on setup page is now multiline.
Fixes #91

Node Description display on status page is now a table cell,
allowing for background color addition and word-wrapping.
Fixes #90

Description background color added to CSS files with colors appropriate to each theme.
Other CSS additions for the description input field on the setup page.

Updated onboard help file about the node description field (and fixed a typo)

* move some of the character filtering "higher up the chain" in perl.

javascript still will replace any new lines with a space in case the user hit's enter in the description entry box.
tested with curl and I can't find any problems yet.

* removed some commented lines that were not needed

* actually fix the typo I saw in help.html file.
2018-08-26 13:03:26 -05:00
Eric 282f4a170b Added the Nodes locally hosted service listing to sysinfo.json (#78)
* Added the Nodes locally hosted service listing to sysinfo.json

Added the Nodes locally hosted service listing to sysinfo.json file.

* Forgot to change api_version

* Change info[] section to be services_local to keep in line with the function is called

was info[local_services] now info[services_local]
2018-07-18 16:48:31 -05:00
Eric 5ad1a14022 Added Uptime and Load Averages to the sysinfo.json file. (#61)
* Added Uptime and Load Averages to the sysinfo.json file.

All code copied from Darryl, dman776.

* Updated Api Version number to 1.2.

Updated Api Version Number to 1.2.
2018-07-13 23:44:28 -05:00
Darryl Quinn be514ffb5d bugfix: sysinfo.json not returning all services properly
Change-Id: I2b796a9ae03ef979d0776a9c2285354c60fb49f7
2017-09-14 14:22:18 +00:00
Darryl Quinn d3a93925e2 bugfix: sysinfo.json errors when tunnel interfaces are installed
Change-Id: Ib9b343b47e8147ad61e3d7a98105de467df16b0f
2016-12-30 22:47:56 -06:00
Darryl Quinn 39ebd6b45e bugfix: force sysinfo.json mac addresses to uppercase
Change-Id: Ib62e758a30b8d68064e76e4a0e61b01c37820f49
2016-12-19 18:36:56 -06:00
Darryl Quinn a1e55b3679 migrate sysinfo.json to lua
Change-Id: I9b092f496d660185e0db9318700c17e0349c7b81
2016-12-03 20:18:44 +00:00
Darryl Quinn 5eb457b11a enhancement: add services to sysinfo.json api
Change-Id: I09769ef110a6210513efc4bc23908be9ac7ddf6a
2016-09-05 19:23:54 +00:00
Darryl Quinn d45bbb9dea fixes AREDN->ticket:172
Change-Id: I0db2dbc14283c2458a55b4e75ca25ce95d867b5b
2016-06-14 14:18:52 -05:00
Darryl Quinn aa6dbe41d6 minor adjustment to interfaces and hosts (change to array) 2015-12-12 17:33:54 -06:00
Conrad Lara - KG6JEI 48cb37bd05 Merge branch 'release-3.15.1.0' into develop
Merging in latest release-3.15.1.0 changes into develop to provide a foundation with recent release fixes for the develop branch.

This should be 3.15.1.0b03 code.

Conflicts:
	files/etc/crontabs/root
	files/usr/local/bin/wscan
	files/www/cgi-bin/sysinfo.json
2015-11-15 19:28:56 -08:00
Darryl Quinn 0669217984 check for 3Ghz band channels and report freq instead 2015-08-28 20:09:33 -05:00
Darryl Quinn 14d7163666 add wifi channel number 2015-08-18 21:39:30 -05:00
Darryl Quinn 912afe3713 added channel bandwidth 2015-07-21 12:19:41 -05:00
Darryl Quinn cb09c22275 feature: changed version element name, added grid square 2015-07-16 19:21:41 -07:00
Darryl Quinn 2a63226ad3 feature: added board_id to output 2015-07-16 19:21:41 -07:00
Darryl Quinn 0cd0db2d0d feature: add sysinfo.json for programmatic lightweight management interface 2015-07-16 19:21:41 -07:00
Darryl Quinn 3c86ff9ec8 feature: changed version element name, added grid square 2015-07-13 20:32:17 -05:00
Darryl Quinn e8333f76ea feature: added board_id to output 2015-07-13 11:18:53 -05:00
Darryl Quinn 8e1da4766a feature: add sysinfo.json for programmatic lightweight management interface 2015-07-10 21:51:18 -05:00