20190506_jeffrey - silenceuncrio/diary GitHub Wiki

0910

review

0950

回到 M300 branch feature/lighttpd

1630

好消息

之前 cgi 使用的 jweb api 可以繼續使用

commit 325fdca7cf8746aa2f49af9196eef1bdb5bf5bfa
Author: jeffrey <[email protected]>
Date:   Mon May 6 16:18:54 2019 +0800

    now our fast cgi can work with original jweb api

 proscend/.gitignore                                |   1 +
 .../home/factory/icos/lighttpd/lighttpd.conf       |   4 +-
 proscend/prosrc/fcgi/Makefile                      |  25 +-
 proscend/prosrc/fcgi/iweb.c                        |  43 +++
 proscend/prosrc/fcgi/jweb.c                        | 364 +++++++++++++++++++++
 proscend/prosrc/fcgi/jweb.h                        |  84 +++++
 proscend/prosrc/fcgi/tiny.fcgi                     | Bin 4368 -> 0 bytes
 7 files changed, 514 insertions(+), 7 deletions(-)

不過有些地方需要修改

commit f6e9d93e0e0ae266a760c69537a6f43163db9c99
Refs: [feature/lighttpd]
Author: jeffrey <[email protected]>
Date:   Mon May 6 16:25:19 2019 +0800

    - at FCGI_Accept() while loop, use FCGI_Finish() to replace exit()
    - do not use cgiSetType() and cgiHeader() offered from libcgi, or nothing output

 proscend/prosrc/fcgi/jweb.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

1655

M330 需要幫 CTCU 作客製化

1800

commit 30531812e936cf05489508562733a4fb709fae35
Refs: [release/v0.02], {origin/release/v0.02}
Author: jeffrey <[email protected]>
Date:   Mon May 6 17:58:43 2019 +0800

    customize the web ui for customer CTCU with BRAND_ID 12

 proscend/prosrc/www/Makefile                       |   2 +
 .../prosrc/www/brand_ctcu/app/images/signal-0.png  | Bin 0 -> 10849 bytes
 .../prosrc/www/brand_ctcu/app/images/signal-1.png  | Bin 0 -> 7738 bytes
 .../prosrc/www/brand_ctcu/app/images/signal-2.png  | Bin 0 -> 7601 bytes
 .../prosrc/www/brand_ctcu/app/images/signal-3.png  | Bin 0 -> 7354 bytes
 .../prosrc/www/brand_ctcu/app/images/signal-4.png  | Bin 0 -> 6548 bytes
 proscend/prosrc/www/brand_ctcu/brand/body_bg.png   | Bin 0 -> 127328 bytes
 proscend/prosrc/www/brand_ctcu/brand/bottom.html   |   2 +
 proscend/prosrc/www/brand_ctcu/brand/custom.css    |  74 +++++++++++++++++++++
 proscend/prosrc/www/brand_ctcu/brand/top.png       | Bin 0 -> 18134 bytes
 .../prosrc/www/brand_ctcu/src/brand/top.html.src   |  53 +++++++++++++++
 11 files changed, 131 insertions(+)