Commit Graph

32 Commits

Author SHA1 Message Date
virmaior
c94a678467
fix unicast urls for v2s / disable editing of camera config (#558)
* Update config.js

correct RSTP links for V2

* Update config.cgi

fix urls for v2 RTSP in config.cgi

* Update cam.cgi

prevent editing of cam config (not hack config) in www
2023-07-12 13:13:30 -07:00
Garulf
df3a8945bd
Adhere header to http/1.1 specification (#542)
This function is imported and ran inside jpeg.cgi and causes errors with scrypted
2023-07-11 19:20:57 -07:00
Squirrelf
f729f684a9
Now compliant with HTTP/1.1 RFC7230, so that it can be externally retrieved with nodejs and axios (#538)
Makes this page compliant with HTTP/1.1 RFC2616 and RFC7230

"HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all protocol elements except the entity-body"

This only had LF, and when used with nodejs and axios that page would fail to be retrieved and throw a HPE_INVALID_HEADER_TOKEN error. (other pages likely need that fix, but retrieving the image was most important and most useful, I personally use it with Scrypted, which then uses this as the camera snapshot in Apple Home app)

Added -n to echo to make it clearer for myself, which removes the otherwise automatically added LF
2023-06-28 19:40:23 -07:00
virmaior
8d7060c4b1
ability to restrict which parts of the webserver are accessible (#372)
* add ability to restrict www access / css changes

-can now use WEB_SERVER_OPTIONS to decide what parts of the web system are accessible. Set it to  `WEB_SERVER_OPTIONS="cam config car jpeg"` to access everything. Remove things you don't want accessible.
-make the top part of the pages cleaner - now the image in config/cam defaults to smaller but is clickable to see it bigger. 
- separate feed.js from config.js and cam.js
-add warning about RTSP fimrware to diagnostics

* add info on WEB_SERVER_OPTIONS

* Update multicam.html

track and display refresh speed.
2023-06-28 19:36:53 -07:00
virmaior
851578ee02
cam config www bricking fixed (#330)
* fix bricking, improve cam.cgi interface

* Delete cam2.cgi

* Delete cam3.cgi

* fix for url encoding of POST parameters
2022-10-13 00:33:25 -07:00
virmaior
e74a9f8d13
updates to web (#321)
* add basic support cam configuration file

* multiple cams at 1 frame/sec

can switch which is big.

* Update cam.cgi
2022-10-01 20:55:07 -07:00
virmaior
5b90d98ce5
fixes for recent errors (#277) 2022-08-26 23:17:38 -07:00
virmaior
da3ffcd467
updates to www (#264)
* updated shared.cgi to read T20 firmware ver

* improvements and fixes

1. now composes urls for RTSP
2. css improvements
3. added diagnostics (got to test first hand with a corrupt file system SD card!)
4. fixed reboot not rebooting ...
5. remove debug code from jpeg.cgi
2022-08-20 19:07:35 -07:00
Joshua Wang
3a39f5c89a
fix: change rmtp typo to rtmp (#239) 2022-08-13 17:20:09 -07:00
virmaior
5ff8ad6ce6
updated shared.cgi to read T20 firmware ver (#232) 2022-08-11 14:08:51 -07:00
virmaior
91e76ec944
fixes to www (#231)
fixed display of camera version, fixed issue jpeg.cgi, added diagnostics page, minor css improvements, made shared.cgi for common code between diagnostics and config
2022-08-09 18:26:14 -07:00
virmaior
82101dcc6a
fix bad anchor (#206)
* updates to config.cgi and jpeg.cgi

* Update config.cgi

* config.cgi: type checks, blank line keep, css

* renamed to config.css (other css not used)

* fix bad link
2022-07-25 15:17:42 -07:00
virmaior
38b0ad69d7
web fixes and improvements (#205)
* updates to config.cgi and jpeg.cgi

* Update config.cgi

* config.cgi: type checks, blank line keep, css
2022-07-23 23:39:09 -07:00
Alfonso Gamboa
b59823b61e enhance car web control 2022-07-21 22:08:34 -07:00
virmaior
16def56fc9
no longer auto reboots, allows reverting to previous edits (#198)
* updates to config.cgi and jpeg.cgi

* Update config.cgi
2022-07-21 22:06:35 -07:00
virmaior
f0d8c03792
updates to config.cgi and jpeg.cgi (#196) 2022-07-20 19:16:27 -07:00
virmaior
fe0b638fd4
Update index.html 2022-07-18 13:29:49 +09:00
virmaior
a838200241
Rename index.cgi to config.cgi 2022-07-18 13:28:04 +09:00
virmaior
7991ff7388
Update car.css 2022-07-18 13:26:37 +09:00
virmaior
17c3056f33
clean up car.html for OO-js 2022-07-18 13:26:30 +09:00
virmaior
74a07c5e4d
rewrite car.js as oo javascript 2022-07-18 13:24:36 +09:00
virmaior
710bce63a0
Merge branch 'gtxaspec:master' into master 2022-07-18 12:38:24 +09:00
Alfonso Gamboa
263fc509b2 fix shebang error in index.cgi 2022-07-17 15:24:11 -07:00
Alfonso Gamboa
315dec23fc add car support to web server 2022-07-17 15:14:08 -07:00
virmaior
c5bb6d6b0c
create jpeg.cgi for feed support 2022-07-18 01:21:23 +09:00
virmaior
1ea45de67b
add camera feed support 2022-07-18 01:20:24 +09:00
virmaior
13be01f68b
add feed support 2022-07-18 01:18:01 +09:00
virmaior
c101fcec3b
Rename SD_ROOT/wz_mini/web/cgi-bin/wz_mini_web.css to SD_ROOT/wz_mini/www/cgi-bin/wz_mini_web.css 2022-07-17 17:08:16 +09:00
virmaior
4b50c8db37
Update and rename SD_ROOT/wz_mini/web/cgi-bin/index.cgi to SD_ROOT/wz_mini/www/cgi-bin/index.cgi 2022-07-17 17:07:52 +09:00
virmaior
02c7f12c2e
Rename SD_ROOT/wz_mini/web/cgi-bin/ENABLE_WIREGUARD.md to SD_ROOT/wz_mini/www/cgi-bin/ENABLE_WIREGUARD.md 2022-07-17 17:05:29 +09:00
virmaior
44873d44a2
Rename SD_ROOT/wz_mini/web/cgi-bin/ENABLE_USB_ETH.md to SD_ROOT/wz_mini/www/cgi-bin/ENABLE_USB_ETH.md 2022-07-17 17:05:02 +09:00
virmaior
f4f390db61
Rename SD_ROOT/wz_mini/web/cgi-bin/DISABLE_FW_UPGRADE.md to SD_ROOT/wz_mini/www/cgi-bin/DISABLE_FW_UPGRADE.md 2022-07-17 17:04:14 +09:00