Commit Graph

410 Commits (959749b133ea138ea4fb65f8192d270af6fa3993)

Author SHA1 Message Date
Moe 21b2de65fd fix missing detector_motion_count array 2020-03-29 10:47:21 -07:00
Moe ec1041c389 Add tree-kill fix for snap zombies
- fix found by dieseldude in the community chat
2020-03-28 16:26:01 -07:00
Moe eacb68b978 pass on nulled response from startup check 2020-03-08 22:34:36 -07:00
Moe 00c400ed3b add extension for when websocket data is sent 2020-03-07 12:03:33 -08:00
Moe 443b5565fe add "events" to Traditional Recording insertCompletedVideo request
- this will allow these kinds of recordings to provide a notification to the Mobile App upon completion
2020-03-05 11:12:54 -08:00
Moe 6bd18faf1d replace motion counter with holding list of events in memory
+ allow adding "events" to s.insertCompletedVideo
2020-03-03 07:14:32 -08:00
Moe c72f2fe167 Add error.stack check to backblaze error handler 2020-02-25 09:01:38 -08:00
Moe 6282860b64 add windows taskkill in snapshot.js 2020-02-24 20:34:09 -08:00
Moe 3684ff2cb2 add windows taskkill in singleCamera.js 2020-02-24 20:25:20 -08:00
Moe ed4eab625a add some windows specific kill and delete commands
+ add Shinobi Mobile mention
2020-02-23 10:09:54 -08:00
Moe 651421200e FTP Server no longer use fs.watch - make use ftp upload event
+ update ftp-srv
2020-02-18 20:54:48 -08:00
Moe b281a34476 fix lingering "singleCamera.js" bug 2020-02-13 12:29:45 -08:00
Moe 1971955034 Merge branch 'events.js' into 'dev'
add '{{REASON}}' substitution string for webhook

See merge request Shinobi-Systems/Shinobi!145
2020-02-07 20:04:33 +00:00
Moe 475365f090 Merge branch 'patch-12' into 'dev'
Use cleaner math for calculating OpenBSD RAM usage

See merge request Shinobi-Systems/Shinobi!160
2020-02-07 20:01:15 +00:00
JordanGeoghegan f5f89e6d74 Fix longstanding issue with incorrect file size calculation 2020-01-31 18:30:24 -08:00
Moe 2f44953188 Fix zombie process created by cameraThread/snapshot.js 2020-01-26 23:14:44 -08:00
Jordan Geoghegan 093b0a70f7 Use cleaner math for calculating OpenBSD RAM usage 2020-01-26 02:56:01 +00:00
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
JeliBeanMachine 8520a4480d add '{{REASON}}' substitution string for webhook 2020-01-15 15:04:01 +00: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