diff --git a/luciexpress/htdocs/plugins/core/pages/overview.html b/luciexpress/htdocs/plugins/core/pages/overview.html
index b4e6ca5fe..f6a5e0aa2 100644
--- a/luciexpress/htdocs/plugins/core/pages/overview.html
+++ b/luciexpress/htdocs/plugins/core/pages/overview.html
@@ -85,12 +85,12 @@
|
-
+
|
|
- U{{$index}}
+ {{sip.name.value}}:
{{sip.user.value}}
|
diff --git a/luciexpress/htdocs/plugins/internet/pages/internet.firewall.js b/luciexpress/htdocs/plugins/internet/pages/internet.firewall.js
index a9268ed36..302d1eb7b 100644
--- a/luciexpress/htdocs/plugins/internet/pages/internet.firewall.js
+++ b/luciexpress/htdocs/plugins/internet/pages/internet.firewall.js
@@ -13,15 +13,15 @@ $juci.module("internet")
if($scope.firewallSwitchState) {
$uci.firewall["@zone"].map(function(zone){
if(zone.name.value == "wan"){
- zone.input.value = "ACCEPT";
- zone.forward.value = "ACCEPT";
+ zone.input.value = "REJECT";
+ zone.forward.value = "REJECT";
}
});
} else {
$uci.firewall["@zone"].map(function(zone){
if(zone.name.value == "wan"){
- zone.input.value = "REJECT";
- zone.forward.value = "REJECT";
+ zone.input.value = "ACCEPT";
+ zone.forward.value = "ACCEPT";
}
});
}
diff --git a/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html b/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html
index f2c6032ee..f50a9d4e0 100644
--- a/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html
+++ b/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html
@@ -8,7 +8,7 @@
-
+
@@ -17,6 +17,7 @@
Day |
Time |
Number |
+ Status |
|
|
@@ -26,6 +27,7 @@
{{ item.days.value.join(",") }} |
{{ item.time.value }} |
{{ allSipAccountsMap[item.sip_service_provider.value].name.value }} |
+ {{ ((settings.status.value)?"Enabled":"Disabled") | translate}} |
|
|
diff --git a/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.js b/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.js
index 3c3224148..08a21c73b 100644
--- a/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.js
+++ b/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.js
@@ -25,8 +25,14 @@ $juci.module("phone")
$scope.allSipAccountsMap = {};
$uci.sync(["voice_client"]).done(function(){
- // TODO add config for phone
- $scope.settings = $uci.voice_client.RINGING_STATUS;
+ if(!$uci.voice_client.RINGING_STATUS){
+ $uci.voice_client.create({".type": "ringing_status", ".name": "RINGING_STATUS"}).done(function(section){
+ $scope.settings = $uci.voice_client.RINGING_STATUS;
+ $scope.$apply();
+ });
+ } else {
+ $scope.settings = $uci.voice_client.RINGING_STATUS;
+ }
$scope.schedules = $uci.voice_client["@ringing_schedule"];
$scope.allSipAccountsMap = {};
$scope.allSipAccounts = $uci.voice_client["@sip_service_provider"].map(function(x){
diff --git a/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html b/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html
index ae6de8336..968409faf 100644
--- a/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html
+++ b/luciexpress/htdocs/plugins/wifi/pages/wifi.wps.html
@@ -63,7 +63,7 @@
-
+
diff --git a/luciexpress/src/rpcd/luci2.c b/luciexpress/src/rpcd/luci2.c
index 502d95dd3..0f7bf04c2 100644
--- a/luciexpress/src/rpcd/luci2.c
+++ b/luciexpress/src/rpcd/luci2.c
@@ -292,7 +292,7 @@ rpc_luci2_system_log(struct ubus_context *ctx, struct ubus_object *obj,
if (!(log = popen("logread", "r")))
goto fail;
- }
+ }
blob_buf_init(&buf, 0);