Martin Schröder
33a2f3edc7
minor cleanup. Coverage 94.57
2016-12-19 11:57:57 +01:00
Martin Schröder
4f17f2ed69
make sure that if a newly added section is added it does not end up in the deleted list
2016-12-19 11:45:07 +01:00
Martin Schröder
cc159da963
fix up support for reverting changes, update unit test and update changes dialog.
2016-12-19 11:40:36 +01:00
Martin Schröder
8818468a99
add test for error paths and make sure we always use scope RPC variable instead of caching local. Coverage at 93.7%
2016-12-17 21:26:56 +01:00
Martin Schröder
27bfe8d4ae
fix several issues and raise coverage to 91%
2016-12-17 02:05:25 +01:00
Martin Schröder
d4de6449d2
working add/delete and more tests. Coverage 84.58%.
2016-12-17 00:49:51 +01:00
Martin Schröder
c7d3573c29
minor cleanup and add unit tests for add/delete
2016-12-16 16:39:39 +01:00
Martin Schröder
18fddcc967
fix several more issues in the uci code. Coverage at 76.24%.
2016-12-16 15:56:16 +01:00
Martin Schröder
affdcc9785
add more unit tests to uci (coverage at 71%)
2016-12-15 12:44:13 +01:00
Martin Schröder
ba7c7a2b5b
continue adding unit tests for uci
2016-12-15 03:05:07 +01:00
Martin Schröder
a7234b93bf
add unit test for uci.js
2016-12-13 14:16:20 +01:00
Martin Schröder
284ef14400
juci-network-netifd: add possibility to optionally ping clients before returning them by supplying "ping":true parameter to /juci/network.clients
2016-10-15 11:45:26 +02:00
Martin Schröder
4d1ba5e561
cleanup and update bootstrap.sh and ubuntu-bootstrap.sh
2016-10-12 13:24:30 +02:00
Martin Schröder
312b33684d
replace $events with $rpc.$on_event in a few more places
2016-10-11 16:42:59 +02:00
Martin Schröder
1f04353359
remove juci-event plugin that was polling events and add proper async events using $rpc.$on_event(wildcard, function)
...
- events can be triggered using orangerpcd-client broadcast <name> {..data..} shell command
- when you subscribe to an event you can specify a wildcard (my* will match anything starting with my like myevent)
- event listeners are cleared on each page load so it is ok to add events inside any controller
2016-10-11 15:27:45 +02:00
Martin Schröder
d5d3d2b853
openwrt wireless: fix ssid validation so we can have 32 chars ssid
2016-10-10 13:03:03 +02:00
Martin Schröder
78fdf26095
disallow 255 completely
2016-10-10 12:36:28 +02:00
Martin Schröder
91a564a38a
add 255.255.255.255 to list of invalid ip addresses
2016-10-10 12:34:19 +02:00
Martin Schröder
9b092065af
fix validation of IP addresses. (ref 326)
2016-10-10 12:32:20 +02:00
Martin Schröder
5cfccc38ed
juci-mod-system: fix ntp settings page npt servers list so that we can add new entries if list is empty and filter out duplicate ntp servers before writing them to the database
2016-10-10 11:42:43 +02:00
Martin Schröder
f91a1c60ac
minor sysupgrade fixup
2016-10-06 09:14:02 +02:00
Martin Schröder
66f4e708a6
add static route validation on host field so that we do not allow duplicates
2016-10-05 00:32:19 +02:00
Martin Schröder
1b5acad479
juci-network-netifd: fix layout
2016-10-05 00:24:17 +02:00
Martin Schröder
a1265f5839
juci-network-netifd: static route metric can not be negative.
2016-10-05 00:19:34 +02:00
Martin Schröder
ad1a581190
juci-system: add an extra check for configuration backup when user loads it to catch a case where he tries to load an invalid file.
...
- default to telling user to provide correct password when we detect that gzip archive is not valid
2016-10-05 00:14:50 +02:00
Martin Schröder
ce205dfc78
add ip address validation on the log ip address for event log
2016-10-05 00:06:27 +02:00
Martin Schröder
3697ef6b29
juci-dnsmasq-dhcp: add unique constraint to duid and hostid on dhcp static host entries
2016-10-04 23:43:15 +02:00
Martin Schröder
102dcc217a
juci-dnsmasq-dhcp: add duplicate entry validator to the dhcp hosts section and improve layout by adding hr lines between entries
2016-10-04 23:39:43 +02:00
Martin Schröder
10e5e70d25
OWRT-687: readd juci lua cgi plugin because removing it would break the config backup function
2016-10-04 22:55:25 +02:00
Martin Schröder
1199258f34
rtgraphs: use juci-bwc instead of luci-bwc
2016-10-04 21:44:32 +02:00
Martin Schröder
bdfc1c7de1
openwrt-wireless: fix crash on status page when interface is in unusable state
2016-10-04 21:44:12 +02:00
Martin Schröder
23be3b622a
local server: use /websocket/ path always
2016-10-04 21:43:50 +02:00
Martin Schröder
845105ae6f
juci-openwrt-wireless: comment out redundant code
2016-09-14 00:05:19 +02:00
Martin Schröder
0b49c782a6
fix uci default values logic
2016-09-14 00:04:57 +02:00
Martin Schröder
150f3f2365
juci-local-server: fix lost connection
2016-09-14 00:03:00 +02:00
Martin Schröder
8942017d20
juci-system: try using nvram if it is available when getting device serial number.
2016-09-13 13:19:50 +02:00
Martin Schröder
5e3df8f844
fix uci validation errors not being sent to top level!
2016-09-12 21:39:19 +02:00
Martin Schröder
20dd19c869
juci-openwrt-wireless: update backend script to work safely with iwinfo
2016-09-11 14:01:17 +02:00
Martin Schröder
5e49e42ef7
juci: update uci rpc to work more like a real database (ie update/set changes will be commited automatically now on the backend)
2016-09-11 14:00:48 +02:00
Martin Schröder
89c48fdf36
update node modules
2016-09-08 09:42:18 +02:00
Martin Schröder
eeed2a0a1d
update juci-login redirection to redirect to /
2016-09-08 09:42:07 +02:00
Martin Schröder
442dcd6aaf
quickfix (authenticate call removed)
2016-09-08 02:56:32 +02:00
Martin Schröder
9f3ccac9a5
update local server and update node modules with ws module that sends origin to http server (necessary!)
2016-09-05 11:24:51 +02:00
Martin Schröder
15a6865246
remove lua from makefile
2016-09-04 14:27:33 +02:00
Martin Schröder
0cf9618212
remove juci lua core from this repo (obsolete)
2016-09-04 14:26:31 +02:00
Martin Schröder
fcfb1fcd85
openwrt-wireless: use initial value for reduce()
2016-09-03 00:57:54 +02:00
Martin Schröder
1219842f11
Merge branch 'v2.16.08'
...
Conflicts:
README.md
2016-09-02 22:59:35 +02:00
Martin Schröder
19f29e3222
fix restart
2016-09-02 22:58:17 +02:00
Martin Schröder
8ef516c4f3
sysupgrade: fix keep/not-keep config flag
2016-09-01 23:53:32 +02:00
Martin Schröder
b3f45c3a72
update readme
2016-08-31 00:50:02 +02:00