20180425_jeffrey - silenceuncrio/diary GitHub Wiki

0900

review

1005

commit 139b80b65cab0b1ef21ab92d5ac64a0b1c024fd4
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 10:02:40 2018 +0800

    implement the DO control
    - administrator user can access DO control link

 proscend/prosrc/icos/iweb/iweb.c | 144 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 144 insertions(+)

1050

commit 36d846281b8fa3c28a5bdf9353ca20b9427c2230
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 10:49:55 2018 +0800

    add 'LTE / DNS' web page

 proscend/prosrc/icos/iweb/iweb.c                 |  5 +-
 proscend/prosrc/www/app/feature/dnsLte.html      | 90 ++++++++++++++++++++++++
 proscend/prosrc/www/app/feature/dnsLte.js        | 65 +++++++++++++++++
 proscend/prosrc/www/app/locale-en.json           | 13 ++++
 proscend/prosrc/www/app/locale-fr.json           | 13 ++++
 proscend/prosrc/www/app/locale-zh-tw.json        | 13 ++++
 proscend/prosrc/www/app/services/icos.service.js |  9 +++
 proscend/prosrc/www/src/index.html.src           |  1 +
 proscend/prosrc/www/src/menu.html.src            |  1 +
 9 files changed, 209 insertions(+), 1 deletion(-)

1120

commit 3567c99f43ebd82a61ea45d4492f1417ae028709
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 11:18:23 2018 +0800

    hide 'Apply' button while user's level is lower than 'administrator'

 proscend/prosrc/icos/iweb/iweb.c                   |  8 +++++++-
 proscend/prosrc/www/app/feature/alarm.js           | 13 +++++++------
 proscend/prosrc/www/src/app/feature/alarm.html.src |  6 +++---
 3 files changed, 17 insertions(+), 10 deletions(-)

1125

commit feecd53a4e60b5e1d74c459ec9f0a907a9527fb5
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 11:24:19 2018 +0800

    implement 'several accounts' at web ui for all brand version

 proscend/prosrc/www/brand_advice/src/brand/top.html.src   | 6 ++++--
 proscend/prosrc/www/brand_ctcu/src/brand/top.html.src     | 7 ++++---
 proscend/prosrc/www/brand_cxr/src/brand/top.html.src      | 6 ++++--
 proscend/prosrc/www/brand_digicomm/src/brand/top.html.src | 6 ++++--
 proscend/prosrc/www/brand_planet/src/brand/top.html.src   | 7 ++++---
 5 files changed, 20 insertions(+), 12 deletions(-)

1335

commit 780fdddec76a347ec72e88719e21fb3458bb68c1
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 13:34:13 2018 +0800

    rearrange the user level:
    - Read Only
      - read all setting
      - modify self's password at 'administration'
    - Administrator
      - read and apply all setting except 'administration'
      - modify self's password at 'administration'
    - Super User
      - read and apply all setting

 proscend/prosrc/icos/iweb/iweb.c                            |  6 +++---
 proscend/prosrc/www/app/feature/administration.html         | 12 ++++++++----
 proscend/prosrc/www/app/feature/bgp.html                    |  2 +-
 proscend/prosrc/www/app/feature/comPorts_summary.html       |  4 ++--
 proscend/prosrc/www/app/feature/configuration.html          |  4 ++--
 proscend/prosrc/www/app/feature/cwmp.html                   |  2 +-
 proscend/prosrc/www/app/feature/dmz.html                    |  2 +-
 proscend/prosrc/www/app/feature/dnsDhcp6c.html              |  2 +-
 proscend/prosrc/www/app/feature/dnsLte.html                 |  2 +-
 proscend/prosrc/www/app/feature/dualSim.html                |  8 ++++----
 proscend/prosrc/www/app/feature/dynamicDns.html             |  2 +-
 proscend/prosrc/www/app/feature/firmware.html               |  2 +-
 proscend/prosrc/www/app/feature/gre.html                    |  2 +-
 proscend/prosrc/www/app/feature/ip_alias.html               |  2 +-
 proscend/prosrc/www/app/feature/ipfilter_summary.html       |  8 ++++----
 proscend/prosrc/www/app/feature/ipsec_summary.html          |  6 +++---
 proscend/prosrc/www/app/feature/lanIpv4.html                |  2 +-
 proscend/prosrc/www/app/feature/lanIpv6.html                |  2 +-
 proscend/prosrc/www/app/feature/load_factory.html           |  2 +-
 proscend/prosrc/www/app/feature/logging.html                |  4 ++--
 proscend/prosrc/www/app/feature/lteConfig.html              |  2 +-
 proscend/prosrc/www/app/feature/macfilter_summary.html      |  8 ++++----
 proscend/prosrc/www/app/feature/modbus.html                 |  2 +-
 proscend/prosrc/www/app/feature/mqtt.html                   |  2 +-
 proscend/prosrc/www/app/feature/openvpn_summary.html        |  6 +++---
 proscend/prosrc/www/app/feature/ospf_2g.html                |  2 +-
 proscend/prosrc/www/app/feature/ping.html                   |  2 +-
 proscend/prosrc/www/app/feature/portForwarding_summary.html |  6 +++---
 proscend/prosrc/www/app/feature/restart.html                |  2 +-
 proscend/prosrc/www/app/feature/rip_2g.html                 |  2 +-
 proscend/prosrc/www/app/feature/route.html                  |  2 +-
 proscend/prosrc/www/app/feature/sms.html                    |  2 +-
 proscend/prosrc/www/app/feature/smtp.html                   |  2 +-
 proscend/prosrc/www/app/feature/snat.html                   |  2 +-
 proscend/prosrc/www/app/feature/snmp.html                   |  2 +-
 proscend/prosrc/www/app/feature/timeAndDate.html            |  2 +-
 proscend/prosrc/www/app/feature/traceroute.html             |  2 +-
 proscend/prosrc/www/app/feature/upnp.html                   |  2 +-
 proscend/prosrc/www/app/feature/urlfilter_summary.html      |  8 ++++----
 proscend/prosrc/www/app/feature/vlan.html                   |  2 +-
 proscend/prosrc/www/app/feature/vlanSubnet_summary.html     |  6 +++---
 proscend/prosrc/www/app/feature/vrrp.html                   |  2 +-
 proscend/prosrc/www/app/feature/wanEthernet.html            |  2 +-
 proscend/prosrc/www/app/feature/wanPriority.html            |  2 +-
 proscend/prosrc/www/app/locale-en.json                      |  5 +++--
 proscend/prosrc/www/app/locale-fr.json                      |  5 +++--
 proscend/prosrc/www/app/locale-zh-tw.json                   |  5 +++--
 proscend/prosrc/www/brand_advice/src/brand/top.html.src     |  4 ++--
 proscend/prosrc/www/brand_ctcu/src/brand/top.html.src       |  4 ++--
 proscend/prosrc/www/brand_cxr/src/brand/top.html.src        |  4 ++--
 proscend/prosrc/www/brand_digicomm/src/brand/top.html.src   |  4 ++--
 proscend/prosrc/www/brand_nobrand/src/brand/top.html.src    |  4 ++--
 proscend/prosrc/www/brand_planet/src/brand/top.html.src     |  4 ++--
 proscend/prosrc/www/src/app/feature/alarm.html.src          |  6 +++---
 proscend/prosrc/www/src/app/feature/ipsec.html.src          |  2 +-
 proscend/prosrc/www/src/app/feature/lteGps.html.src         |  2 +-
 proscend/prosrc/www/src/app/feature/switch.html.src         |  2 +-
 57 files changed, 103 insertions(+), 96 deletions(-)

1525

commit ef0799e34c3a8bc3345aa6966955b5314a904084
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 15:21:09 2018 +0800

    follow the 'multi user' spec:

    3 level user: (Super User/Administrator/Read Only)
    Super User:
        User name: system account (root/admin)
            customized by profile(compiler time) but not allow to modify
        Password: configurable.
        Permission:
            (1) Add/Del/Modify all user accounts except super user.
            (2) Read/Write Configuration
    Administrator:
        User name:  only Super User can modify.
        Password: configurable.
        Permission: Read/Write Configuration
    Read Only:
        User name:  only Super User can modify.
        Password: configurable.
        Permission: Read Configuration only (NO Apply button)

    All User log in/ Log out have to have Web UI log records

 .../prosrc/www/app/feature/administration.html     | 22 ----------------------
 proscend/prosrc/www/app/locale-en.json             |  8 ++++----
 proscend/prosrc/www/app/locale-fr.json             |  8 ++++----
 proscend/prosrc/www/app/locale-zh-tw.json          |  8 ++++----
 4 files changed, 12 insertions(+), 34 deletions(-)

1625

commit 40fd05792ac466200df3fa8fbd3cc76aaa4fc8db
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 16:21:12 2018 +0800

    loggin the user login/logout event

 proscend/prosrc/icos/iweb/iweb.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

1735

commit dad257be629f805f241f08bb29a54200c857c1e0
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 17:34:31 2018 +0800

    offer protection to prevent duplicated user name
    - new user should assigned level and password

 proscend/prosrc/www/app/feature/administration.js | 69 +++++++++++++++++++++++
 1 file changed, 69 insertions(+)

1745

commit 0b9a0fcf887860cf2da4df1180b4eb4c14116a31
Refs: [release/v1.66], {origin/release/v1.66}
Author: jeffrey <[email protected]>
Date:   Wed Apr 25 17:45:34 2018 +0800

    rearrange the user level for DO related APIs

 proscend/prosrc/icos/iweb/iweb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)