201905_jeffrey - silenceuncrio/diary GitHub Wiki

2018-05

- - - - 02 03 -
- 06 07 08 09 10 -
- 13 14 15 16 17 -
- 20 21 22 23 24 -
- 27 28 29 30 31 -
  • 2

    • [M300]solve issue 0000506: M30TG, save the new password compelete via setup wizard but it can't activy
    • [M330]add 'WAN/LAN2 Port Function' field at 'System > Ethernet Ports' web page
    • [M330]fix issue - 0000461: user can't apply anything in "Time and Date"
  • 3

    • [M300]feature/lighttpd
      • now tiny.fcgi can use the same libcgi library as previous webcgi
    • [M300]solve issue 0000510: [Wizard] change password , but login new password fail
    • [M300]solve issue 0000512: [Login] Login wrong password, it will hang up
    • [M300]solve issue 0000513: [Wizard] changr time zone, but reboot finished, time zone is still old
    • [M300]solve issue 0000511: [Wizard] change LAN IP and range, it will hang up
  • 6

    • M300 feature/lighttpd
      • 之前 cgi 使用的 jweb api 可以繼續使用
      • 不過有些地方需要修改
        • at FCGI_Accept() while loop, use FCGI_Finish() to replace exit()
        • do not use cgiSetType() and cgiHeader() offered from libcgi, or nothing output
    • [M330]customize the web ui for customer CTCU with BRAND_ID 12
  • 7

    • M300 feature/lighttpd
      • porting status.cgi
        • cgi - /cgi-bin/status.cgi?act=status
        • fcgi - /fcgi-bin/iweb.fcgi?app=status?act=status
      • use lighttpd url rewrites to rewrite cgi-related request to fcgi-related request, for ex.
        • before rewrite: REQUEST_URI="/cgi-bin/status.cgi?act=status"
        • after rewrite: REQUEST_URI="/fcgi-bin/iweb.fcgi?app=status&act=status"
      • porting sntp.cgi
        • cgi - /cgi-bin/status.cgi?act=status
        • fcgi - /fcgi-bin/iweb.fcgi?app=status?act=status
  • 8

    • M300 feature/lighttpd
      • porting /api/ahoAmI
        • cgi - /api/whoAmI?uuid=xxx
        • fcgi = /fcgi-bin/iweb.fcgi?app=api&act=whoAmI
      • use cgi_init_values() to get cookie into jweb.in.session;
      • then whoAmI() can according to this value to responce as previous iweb
  • 9

    • M300 feature/lighttpd
      • implement the basic access control for app=sntp:
        • act=help
          • ATTVAL_SYSTEM_LEVEL1(guest)
        • act=config
          • ATTVAL_SYSTEM_LEVEL2(normal user)
      • let /api/whoAmI?uuid=0.xxxx and /api/login apply the same rule of "URL rewrite"
  • 10

    • M300 feature/lighttpd
      • issue - 500 - Internal Server Error
  • 13

    • [M300 - https unstable] give up on fastcgi soluvtion with lighttpd; use cgi solution
      • 500 - Internal Server Error
      • no time to find out the problem
    • [M300 - https unstable] use url rewirte to rewrite '/api/whoAmI?uuid=0.xxxx' to '/cgi-bin/api.cgi?act=whoAmI'
      • implement '/cgi-bin/api.cgi?act=whoAmI'
        • always reply "{ "name": "guest", "level": 0 }"
      • add jweb.out.json.whoAmI()
    • [M300 - https unstable] according to the session for authorization
  • 14

    • [M300 - https unstable]
      • offer jweb.access.filter for multi-user with different level
        • TBD: find user in session information and get the user level
      • sntp.cgi use jweb.access.filter() for testing
      • implement /cgi-bin/api.cgi?act=login
        • TBD: create session
        • TBD: set cookie
    • [M330 - schedule reboot]
      • porting from M300
  • 15

    • [M330 - schedule reboot]
      • testing
      • online manual
  • 16

    • M360 - web ui
      • do not search neighbor PCIs again after 'Save for bootup locked'
      • remove 'Locked PCIs' tab
      • change wording 'Saved Locked PCIs' to 'Saved Locked PCI'
      • change hint
      • add a hint for 'LTE Net Mode' at 'LTE > Dual APN' page
  • 17

  • 20

    • M300 - feature/lighttpd
      • use jweb.access.filter in status.cgi
      • implement jweb.api.logout()
      • finish 'System > COM Ports'
      • finish 'System > Logging'
      • finish 'System > Alarm'
    • M360 - UI
      • change wording 'PCIs' to 'PCI', also the online manul
      • chnage hint at 'LTE > Dual APN'
  • 21

    • M300 - feature/lighttpd
      • finish 'System > Ethernet'
      • finish 'System > Modbus'
      • finish 'System > Client List'
      • finish 'WAN > Priority'
      • finish 'WAN > Ethernet'
      • finish 'LTE > LTE Config'
      • finish 'LTE > GPS'
      • finish 'LTE > Dual SIM'
  • 22

    • M300 - feature/lighttpd
      • finish 'LTE > Usage Display'
      • finish 'LTE > SMS'
      • finish 'LTE > Serving Cell'
      • finish 'LTE > Lock PCIs'
      • finish 'LTE > Lock Bands'
      • finish 'LTE > Search Operators'
      • finish 'LAN > IPv4'
      • finish 'LAN > VLAN'
      • finish 'LAN > Subnet'
      • finish 'IP Routing > Static Route'
      • finish 'IP Routing > RIP'
      • finish 'IP Routing > OSPF'
      • finish 'IP Routing > BGP'
    • M330 - UI
      • customize the web ui for customer HYTEC with BRAND_ID 53
    • M360 - UI
      • at 'LTE > Lock PCI', if user press 'Lock' without select any neighbors, return fail
      • at 'LTE > Lock PCI', if user press 'Save for bootup locked' without selecting any neighbors, return fail
      • no more the check symbol at WAN status to indicate the link status
  • 23

    • M300 - feature/lighttpd
      • do not specify a PATH for CGI scripts
      • do not use jweb.access.filter at 'Status' page
      • use the full path of FilesJSON.sh or cgi with lighttpd will fail
      • finish 'VPN > Open VPN'
      • finish 'VPN > IPSec'
      • finish 'VPN > GRE'
      • finish 'VPN > PPTP Server'
      • finish 'VPN > L2TP'
      • finish 'Firewall > Port Forwarding'
      • finish 'Firewall > DMZ'
    • M360 - UI
      • if user apply without selecting any bands, return fail
      • use lte0_proto_state and lte1_proto_state to decide the button for 'Connect Action'
  • 24

    • M300 - feature/lighttpd
      • finish 'Firewall > IP Filter'
      • finish 'Firewall > IP Filter'
      • finish 'Firewall > MAC Filter'
      • finish 'Firewall > URL Filter'
      • finish 'Firewall > NAT'
      • finish 'Firewall > IPS'
      • finish 'Service > SNMP'
      • finish 'Service > TR069'
      • finish 'Service > Dynamic DNS'
      • finish 'Service > VRRP'
      • finish 'Service > MQTT'
      • finish 'Service > UPnP'
      • finish 'Service > SMTP'
      • finish 'Service > IP Alias'
      • finish 'Service > QoS'
  • 27

    • M330 - UI
      • let 'Service > QoS' support interface 'WAN ETHERNET'
      • change 'WPS Button' for multi SSID design
      • re-design the 'WiFi > WiFi Config' for multi-SSID
      • do not use the '-A' option when interface is not APN1 or APN2
  • 28

    • M330 - UI
      • re-design the 'WiFi > MAC Filter' for multi-SSID
      • re-design the 'WiFi > Client List' for multi-SSID
      • fine tune the progress bar of firmware upgrade
      • use full layout when route is 'reboot' or 'wizard'
    • M360 - UI
      • fine tune the progress bar of firmware upgrade
  • 29

    • M300 - feature/lighttpd
      • finish 'Management > Identification' and 'Management > Administration'
      • finish 'Management > Contacts / On Duty'
      • finish 'Management > SSH'
    • M330 - UI
      • reduce the number of the SSID from 4 to 2
      • fix the problem about 'wifi_apsta.cgi': loss to parse Mod_wifi_conf.port[i].basic.enable
  • 30

    • M330 - UI
      • check PROSRC_LTE_BRIDGE_ROUTER=y then display BRIDGE+ROUTER
      • check PROSRC_LTE_ROUTER_ROUTER =y then display ROUTER+ROUTER
  • 31

    • M300 - feature/lighttpd
      • Management > Firmware