Commit Graph

876 Commits (268ce83784f7ff7ff074ce5479fcf790107bcbc0)

Author SHA1 Message Date
Moe Alam f9c80277d9 Plugin Manager : add configuration editor 2021-01-21 08:00:52 -08:00
Moe Alam 88d5bb3479 Plugin Manager : allow interacting with Installer from UI 2021-01-21 05:50:46 -08:00
Moe Alam ff452e5b2e create pluginWorkerBase to be used with plugins running as Workers 2021-01-20 19:00:45 -08:00
Moe Alam 51f5c08f35 fix undefined response for unauthorized websocket request 2021-01-20 07:23:31 -08:00
Moe Alam e352cd71cd use `find` command instead of `fs.readdir` for orphanVideoCheck+ 2021-01-19 20:52:16 -08:00
Moe Alam 971719dbe3 use `find` command instead of `fs.readdir` for orphanVideoCheck 2021-01-19 20:51:39 -08:00
Moe Alam 6d56243791 allow hotloading for certain plugins 2021-01-19 10:15:38 -08:00
Moe Alam 599ec9c8c1 remove `+frag_keyframe+empty_moov` from recorded videos 2021-01-19 09:41:11 -08:00
Moe Alam d5b82ec305 disable hotloading plugins from superuser 2021-01-19 09:07:06 -08:00
Moe Alam 69dc2191d7 allow enable and disable of plugins as workers 2021-01-19 09:04:07 -08:00
Moe Alam 59b810fac6 Merge branch 'dev' of https://gitlab.com/Shinobi-Systems/Shinobi into dev 2021-01-18 19:23:57 -08:00
Moe Alam 49ae947a97 @Zikeji fix for Digest Auth with PTZ 2021-01-18 19:23:28 -08:00
Moe Alam 49d1a1a125 rebuild query string without postData instead of search and replace 2021-01-18 08:03:14 -08:00
Moe 330201d7c4 Merge branch 'reolink-ptz' into 'allow-postData-in-ptz-request'
PTZ POST Changes (for ReoLink Support)

See merge request Shinobi-Systems/Shinobi!270
2021-01-17 17:43:25 +00:00
Moe Alam 4c380b3cb9 Fix events/utils.js filters 2021-01-17 06:38:08 -08:00
Joshua Seltzer be5b9e96ab Updates to refine the POST command processing for PTZ which allows more recent ReoLink cameras to function within Shinobi. 2021-01-16 13:49:45 -05:00
Moe Alam 863acb67b3 set snapshots default size from 200x200 to 500x500 2021-01-11 11:25:25 -08:00
Moe Alam dbfd6616d3 ffmpeg : change recording movflags to its own flag 2021-01-08 15:22:00 -08:00
asmithaxe 623d1c1b19 Add references to method signatures to fix reference errors. 2021-01-07 00:05:36 +10:00
Moe Alam 3b5358890c fix skip_ping 2021-01-05 13:37:53 -08:00
Moe Alam 1a6fbee0ab event.js : finish moving out functions to events/utils.js 2021-01-02 10:49:05 -08:00
Moe Alam e5854f7528 events.js, monitor.js : more cleanup 2021-01-02 10:30:20 -08:00
Moe Alam c5bb9ae474 events.js, s.triggerEvent + 2021-01-02 08:47:59 -08:00
Moe c48ed6d6ef events.js, s.triggerEvent : light cleanup on function declaration/execution
+ remove use of hotswap recording method, Traditional Recording is recommended.
+ add timed lock for webhook
+ begin layering wraps on fields to make reading easier (Webhook and Command)
2021-01-01 22:17:37 -08:00
Moe e351ae0095 dropInEvents.js : pass details in monitorConfig 2020-12-28 10:22:37 -08:00
Moe Alam 67e897080f events.js : minor cleanup 2020-12-23 20:07:30 -08:00
Moe Alam d42da0e873 clean up ping method 2020-12-16 11:58:01 -08:00
Moe Alam 68435630a6 Fix playing streaming video 2020-12-16 11:47:38 -08:00
Moe Alam 30caba79f6 streamMp4FileOverHttp function minor cleanup 2020-12-16 09:29:34 -08:00
Moe Alam 0514ae6b7b streamMp4FileOverHttp function minor cleanup 2020-12-16 09:28:46 -08:00
Moe Alam ffbc25c62e Fixes for PTZ and ONVIF controls 2020-12-16 09:28:16 -08:00
Moe Alam 88a60a50aa fix Stream Channel output 2020-12-16 09:01:54 -08:00
Moe Alam 9e5906a9b2 Auto PTZ : make keep on target if staying still and still seen
+ make auto-ptz moveLock based on event instead of setTimeout
2020-12-10 20:27:32 -08:00
Moe Alam 49b7a5cdca onMonitorStart event only occur if ffmpeg process remains alive 2020-12-10 15:21:20 -08:00
Moe Alam f04faf80db fix timestamp builder function 2020-12-10 07:44:22 -08:00
Moe 98d9fe8f22 Merge branch 'onvif-device-manager' into 'dev'
ONVIF Device Manager

See merge request Shinobi-Systems/Shinobi!257
2020-12-06 02:53:58 +00:00
Moe Alam 4ecf6c3127 onvifDeviceManager : add confirm windows and camera reboot button
+ move Device Manager launch from inside Monitor Settings window
2020-12-05 14:24:44 -08:00
Moe Alam 9a7e127fc7 move timeZone declaration into conf.json/config.js 2020-12-05 11:55:27 -08:00
Moe Alam 2b038dee6c onvifDeviceManager and Form Builder UI cleanup 2020-12-05 11:54:40 -08:00
Moe Alam f6aa49de6c onvifDeviceManager : clean up some POST commands+ 2020-12-04 23:22:59 -08:00
Moe Alam 06fa0ee44c onvifDeviceManager : clean up some POST commands 2020-12-04 23:11:13 -08:00
Moe Alam 364898218b onvifDeviceManager : POST saves only some, need to check parameters for failed 2020-12-04 19:19:39 -08:00
Moe Alam 852399375d onvifDeviceManager : add function to compile form fields for resepective posts 2020-12-04 18:02:24 -08:00
Moe Alam b4fac64c3c onvifDeviceManager : populate Imaging, minor cleanup 2020-12-04 09:41:49 -08:00
Moe Alam 74a699698b fix timelapse resolution, add resolution option for Traditional Recording 2020-12-04 06:53:59 -08:00
Moe Alam 65bf6e0dc7 populate fields (non-selector fields) 2020-12-03 20:38:37 -08:00
Moe Alam 7eb30b79ac Add Field Writer to ONVIF Device Manager Modal window 2020-12-02 20:15:39 -08:00
Moe Alam 3788d72e13 Add ONVIF Device Manager fields to definitions file 2020-12-02 19:59:42 -08:00
Moe Alam cde4a7dddb make probeMonitorOnStart configurable from conf.json
probeMonitorOnStart = true : do probe to check for and fix possible configuration abberations.
probeMonitorOnStart = false : no check. Just start with user configuration.
2020-12-01 11:59:42 -08:00
Moe Alam 48ce8125ab onvifDeviceManager : Now has Imaging Settings and Video Encoder Settings 2020-11-30 19:46:16 -08:00
Moe Alam dbc5526831 fix ReferenceError: streamFlags is not defined 2020-11-29 18:09:28 -08:00
Moe Alam 8bdf015ce8 onvifDeviceManager : add setVideoConfiguration 2020-11-29 18:08:27 -08:00
Moe Alam 3d8ff64bbc add setHostname 2020-11-28 19:12:31 -08:00
Moe Alam 74e75c3231 basic onvif device manager functions 2020-11-28 18:52:02 -08:00
Moe Alam e5a722d5bb Fix UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getSocket' of undefined 2020-11-25 09:19:21 -08:00
Moe Alam b7c507cb78 add missing fs to ffmpeg/builders.js 2020-11-24 09:10:56 -08:00
Moe Alam 44d4b56b04 fix stringToSqlTime declaration 2020-11-20 18:57:54 -08:00
Moe Alam f2a84dfede control/ptz.js : apply turn speed option to moveCameraPtzToMatrix 2020-11-18 14:16:29 -08:00
Moe Alam 9f3d74bbfa cleanup sql.js 2020-11-18 11:26:38 -08:00
Moe Alam f86515c530 cleanup scanners.js and notification.js 2020-11-17 14:21:52 -08:00
Moe Alam f6bb25d091 clean up ffmpeg.js and use of ffprobe 2020-11-16 18:08:24 -08:00
Moe Alam a03fa3ff7a add Cloud Videos toggle to Power Viewer 2020-11-12 16:32:28 -08:00
Moe Alam 9b0362da17 fix video filters for encoded detectorStream 2020-11-12 15:49:35 -08:00
Moe Alam ccd2261b18 cleanup Google Drive Upload code 2020-11-08 21:20:39 -08:00
Moe Alam 050b70f8d7 fix cloudDisk manager, fix probe 2020-11-07 20:31:07 -08:00
Moe Alam e7ad11e5f9 fix timelapse frame purging 2020-11-07 16:49:43 -08:00
Moe Alam 6436ee7f34 fix orphan check 2020-11-07 08:17:36 -08:00
Moe Alam 555ef51442 ONVIF Scanner single selection enable ONVIF connection on save by default
+ Enable PTZ on cameras that report PanTilt and Zoom Configurations
2020-11-05 21:34:49 -08:00
Moe Alam b25004921d Update ffmpeg.js 2020-11-03 18:08:31 -08:00
Moe Alam 04c46c9a48 set primary map to 0 instead of 0:0 2020-11-03 14:28:31 -08:00
Moe Alam 15e0319db8 fix fps for timelapse 2020-11-03 13:24:56 -08:00
Moe Alam 75257c01ea Update ffmpeg.js 2020-11-03 11:26:56 -08:00
Moe Alam 60e8ac3e1a Update ffmpeg.js 2020-11-03 11:18:33 -08:00
Moe Alam 26b19223e7 Update ffmpeg.js 2020-11-03 08:12:26 -08:00
Moe Alam 2cac696300 Update ffmpeg.js 2020-11-03 08:10:38 -08:00
Moe Alam aae94fc5fe Merge branch 'dev' of https://gitlab.com/Shinobi-Systems/Shinobi into dev 2020-11-02 21:55:00 -08:00
Moe Alam 12a9c1c7fa remove dev logging 2020-11-02 21:54:57 -08:00
Moe eb0800c857 Merge branch 'dev' into 'dev'
Resolve issue with timeout killing snap process before it can produce a snapshot.

See merge request Shinobi-Systems/Shinobi!251
2020-11-03 05:54:24 +00:00
Moe Alam 27b0dc3cdc ffmpeg.js : rewrite traditional recording, cleanup execution
+ disable resetSnapCheck
2020-11-02 21:22:03 -08:00
Moe Alam a577abc4b6 ffmpeg.js : rewrite Input Flag builder 2020-11-02 16:52:53 -08:00
Ian Rubado 7d94d0a854 Resolve issue with timeout killing snap process before it can produce a snapshot. 2020-11-02 19:38:15 -05:00
Moe Alam b182cb9002 ffmpeg.js : rewrite remaining outputs 2020-11-02 00:09:31 -08:00
Moe Alam 91008425ee ffmpeg.js : rewrite jpeg api output and clean up stream output 2020-11-01 21:27:23 -08:00
Moe Alam f7b91bb6fa ffmpeg.js : rewrite Stream output flags builder (Main-only) 2020-11-01 17:47:05 -08:00
Moe Alam fb841001af add function to check string existance in array elements 2020-11-01 17:45:25 -08:00
Moe Alam 80b364ddec Create updatedFields.js 2020-11-01 17:44:28 -08:00
Moe Alam f0f43c852a Add Monitor Configuration Migrator Tool 2020-11-01 17:44:21 -08:00
Moe Alam 56905c04f7 make MJPEG Input Types Orphan Check when process closes 2020-11-01 09:10:35 -08:00
Moe Alam e3491fb8d8 remove await for snapshot on monitor start and lower timeout for snapshot 2020-11-01 09:06:57 -08:00
Moe Alam 93fd9ed96b fix hanging ffmpeg process when encoding recorded videos 2020-11-01 08:49:52 -08:00
Moe Alam a2bc27335a ffmpeg.js : rewrite Continuous Recording output flags builder
+ add some Error checking and bypass for 453 occurence
2020-11-01 00:36:41 -07:00
Moe Alam d78b17169f clean up ONVIF Scanner Snapshot error handling 2020-10-29 22:26:47 -07:00
Moe Alam fd4d228046 re-add Update button to Superuser panel (dedicated and git-only) 2020-10-29 20:56:57 -07:00
Moe Alam c21ec0d1b9 ONVIF Scanner show Snapshot 2020-10-29 16:14:52 -07:00
Moe Alam d1e17479bb Update "Non-Standard ONVIF" to work with Amcrest, add Turn Speed field 2020-10-29 01:19:37 -07:00
Moe Alam c65175a8b2 fix syntax for codec check in initial probe on start 2020-10-27 20:56:55 -07:00
Moe Alam 12f070d237 blackhole failed ffprobe parsing 2020-10-26 10:00:32 -07:00
Moe Alam 588b183dae framework for Monitor Configuration Warnings and Automatic Repair 2020-10-25 22:07:36 -07:00
Moe Alam c009fbc1a2 Simplify map (Additional Input) checking 2020-10-25 11:44:07 -07:00
Moe Alam 9d2629825b make cron delete fileBin files and adjust live counter accordingly 2020-10-18 22:15:06 -07:00