Skip to content

Timelapse and minor fixes

Austin Lakeman requested to merge namekal/Shinobi:tl-fix into dev

Changes are for the following recently found issues: Initially, when viewing the Timelapse window and upon choosing a monitor/date for querying, this showed up in the logs, and none of the timelapse thumbnails would load, nor the main timelapse viewer:

Aug 25 17:12:04 cctv node[130254]: ReferenceError: getFrameRows is not defined
Aug 25 17:12:04 cctv node[130254]:     at /home/Shinobi/libs/timelapse.js:222:13
Aug 25 17:12:04 cctv node[130254]:     at Object.s.auth (/home/Shinobi/libs/auth.js:191:13)
Aug 25 17:12:04 cctv node[130254]:     at /home/Shinobi/libs/timelapse.js:212:11
Aug 25 17:12:04 cctv node[130254]:     at Layer.handle [as handle_request] (/home/Shinobi/node_modules/express/lib/router/layer.js:95:5)
Aug 25 17:12:04 cctv node[130254]:     at next (/home/Shinobi/node_modules/express/lib/router/route.js:137:13)
Aug 25 17:12:04 cctv node[130254]:     at Route.dispatch (/home/Shinobi/node_modules/express/lib/router/route.js:112:3)
Aug 25 17:12:04 cctv node[130254]:     at Layer.handle [as handle_request] (/home/Shinobi/node_modules/express/lib/router/layer.js:95:5)
Aug 25 17:12:04 cctv node[130254]:     at /home/Shinobi/node_modules/express/lib/router/index.js:281:22
Aug 25 17:12:04 cctv node[130254]:     at param (/home/Shinobi/node_modules/express/lib/router/index.js:354:14)
Aug 25 17:12:04 cctv node[130254]:     at param (/home/Shinobi/node_modules/express/lib/router/index.js:365:14)
Aug 25 17:12:04 cctv node[130254]:     at Function.process_params (/home/Shinobi/node_modules/express/lib/router/index.js:410:3)
Aug 25 17:12:04 cctv node[130254]:     at next (/home/Shinobi/node_modules/express/lib/router/index.js:275:10)

Regarding gridstack: Browser console reported error 404 (unsure what caused it, just something I came across) due to being referenced to an invalid file location.

Merge request reports