Commit Graph

392 Commits (103c543a0ed6a1a796696aceb3f6c0804a1dfd85)

Author SHA1 Message Date
Jordan Geoghegan 5a3bf96845 Improve Linux CPU usage monitoring. Add support for Busybox based distros. Tested on Ubuntu, CentOS and Alpine Linux.
Required as part of ongoing work to officially support Alpine Linux
2020-01-21 08:09:04 +00:00
Moe 5f0ed0a486 fix zombie process with SIGTERM event 2020-01-20 12:39:17 -08:00
Moe b7f234a086 snapCmd path fix 2020-01-20 12:38:44 -08:00
Moe 426ce3a663 make use_wallclock_as_timestamps only apply to h264 input by default 2020-01-18 11:48:54 -08:00
Moe e6144ef1c1 make HTTP Event Trigger and DropIn Trigger act for pass off to object detector 2020-01-17 23:20:16 -08:00
Moe 4a69a1aa8e adjust response headers
- make Access-Control-Allow-Origin : *
- add no-caching headers to streams over http
2020-01-15 13:47:59 -08:00
Moe 53758ff1fb Merge branch 'patch-1' into 'dev'
Add OpenBSD support for CPU and RAM stat collection in libs/health.js. While...

See merge request Shinobi-Systems/Shinobi!141
2020-01-11 05:38:03 +00:00
Jordan Geoghegan 84b96e83e0 Add OpenBSD support for CPU and RAM stat collection in libs/health.js. While here, optimize FreeBSD stat collection. 2020-01-11 02:55:53 +00:00
Moe 74f0565b81 add ffmpeg process kill on cameraThread exit 2020-01-03 23:31:19 -08:00
Moe 2bb2f83af5 add force kill on pid for zombie cameraThread processes 2020-01-03 23:27:16 -08:00
Moe c287a9953c Fix dropInEvents deletion pointer
+ add Dashcam notice in Help window
+ remove system log whenever a monitor process thread starts (original ones still exist)
2020-01-03 17:10:36 -08:00
Moe 5ee4cb7175 fix FTP Drop In Event file cleanup 2019-12-24 23:00:34 -08:00
Moe 17be6cf15a Update FTP Drop In Events to recurse directories created 2019-12-24 22:39:40 -08:00
Moe 81fe768e0c remove old executor for icon grabber 2019-12-23 12:33:04 -08:00
Moe 4959ade2c2 wallclock fix for strangely long, single frame videos 2019-12-23 12:23:41 -08:00
Moe 651ddbea1c Merge branch 'dev' of https://gitlab.com/Shinobi-Systems/Shinobi into dev 2019-12-23 08:23:29 +06:00
Moe ebf3189c31 snapshot run from camera thread instead of main daemon 2019-12-22 08:19:09 +06:00
Moe 06b65f2cf5 move isAtleastOneMatrixInRegion to events.js 2019-12-17 17:05:22 +06:00
Moe ae24fc5651 Retry Connection counter resets after 1 minute of success
+ light cleanup
+ Retry Connection now default is 10
2019-12-12 18:07:01 +06:00
Moe fe67fbbc37 Merge branch 'multi-thread-alpha' into 'dev'
Multi Threading

See merge request Shinobi-Systems/Shinobi!135
2019-12-12 05:42:08 +00:00
Moe 3320f7b958 comment out logger used for debug 2019-12-11 15:39:40 +06:00
Moe 26df5e3470 Fix monitor black on Save 2019-12-11 15:37:53 +06:00
Moe 712c2a0419 light cleanup, still broken
still blacks on monitor restart with pipe 3 enabeld
2019-12-11 13:23:01 +06:00
Moe 0637e32d38 add more logging to thread handling
+minor cleanup
2019-12-08 21:49:27 +06:00
Moe 3531e006f1 Update ffmpeg.js 2019-12-08 14:01:33 +06:00
Moe 891294281d Monitor black on start fix 2019-12-08 14:00:56 +06:00
Moe 332f6185ff show threaded process logs in UI log stream 2019-12-08 11:53:17 +06:00
Moe 59d0635680 no reference on launchMonitorProcess
+deglobalize cameraDestroy
2019-12-07 10:24:10 +06:00
Moe 5c5fbcaf4a fix broken stream on restart 2019-12-07 10:20:05 +06:00
Moe 2e03111043 Fix Steam Handler Memory Leak
+ minor function name cleanup, remove some globals
2019-12-07 10:09:09 +06:00
Moe 4a98480aef differentiate pam pipe and regular pipe 2019-12-06 09:45:24 +06:00
Moe feb6c12eb3 Update singleCamera.js 2019-12-05 20:12:29 +06:00
Moe 55f82969be reorder functions 2019-12-05 18:41:36 +06:00
Moe 577190c657 disable loggers in added threads, need better solution 2019-12-05 18:38:52 +06:00
Moe eca9fca2e4 fix missing mainDirectory var 2019-12-05 18:31:19 +06:00
Moe f18a4ed4fc put snapshot/icon creation in separate thread 2019-12-05 18:23:46 +06:00
Moe da53108ba9 Multi Threaded Camera Spawn (Alpha) 2019-12-05 13:25:13 +06:00
Moe 6d826ca527 update video file upload method - fix endTime parsing 2019-11-23 16:53:54 -08:00
Moe 19ca1d00b9 update monitor queue action to allow 3 at a time 2019-11-14 12:46:49 -08:00
Moe 1a55810579 fix "Cannot read property 'use_detector_filters'of undefined" 2019-11-13 17:57:11 -08:00
Moe e6a18ee7c8 set start time for uploaded video based on uploaded file name 2019-11-04 08:47:20 -08:00
Moe 147f3c0051 Add Uploading Video to Monitor Recordings by POST 2019-11-03 07:59:18 -08:00
Moe ed76347b25 Add Webhook and Command to No Motion Detector 2019-10-31 22:02:14 -07:00
Moe a4a652a9f9 fix rerun notrig on event if detector disabled 2019-10-31 21:39:59 -07:00
Moe 115752820d Update No Motion Detector; Add Discord Notification 2019-10-31 17:26:52 -07:00
Moe 5ff2419fac add async methods to webServerPaths
+ zipVideos with server is being removed. the client side method requires no extra storage space on the server.
2019-10-28 13:31:10 -07:00
Moe 068f5481e8 fix web stream paths 2019-10-28 13:25:31 -07:00
Moe 0c4fdd0811 fix ffmpeg crashing on record 2019-10-27 14:52:04 -07:00
Moe 065ac18d17 Add Subscription Check 2019-10-26 13:29:34 -07:00
Moe d7d0aeb6a8 fix webm recording bug 2019-10-25 10:32:31 -07:00