Commit Graph

62 Commits (1cd7e7eaf0862d3052f732b88a6b3dc021704cb4)

Author SHA1 Message Date
Moe 1051291c87 Add async.queue to s.sqlQuery, fs.readFile and fs.stat+ 2019-06-20 22:43:23 -07:00
Moe d82b32a885 Merge branch 'dev' into 'dev'
Fix ONVIF Camera Zooming

See merge request Shinobi-Systems/Shinobi!59
2019-06-07 22:45:15 +00:00
Moe 8e9c130145 Add saving Timelapse Frames from Child Node 2019-06-07 09:52:07 -07:00
Moe c8f38b0d2f minor cleanup 2019-06-04 09:39:36 -07:00
Moe a87c2e6acc Compound Update
- Calculate Max Storage Amount for Videos and Timelapse Frames separately
- Split Max Storage Amount by percentage for Videos and Timelapse Frames
- Fix order of operations for on start monitor load and orphan check
- move some extender definitions to extenders.js
- Slim Power Video Viewer event bars
- Add hours to date range selector for Timelapse Jpeg
2019-05-05 13:30:07 -07:00
Moe a1f33195ee clear "over max" timelapse frames 2019-04-26 11:10:53 -07:00
Moe 3ebfc90906 Update monitor.js 2019-04-18 17:57:51 -07:00
Moe ec8824985f Packging, addStorage Max Amounts, Fix s3uploader and minor fixes
- Add ability to pacakge with `pkg`
- Add Max Storage Amount for each `addStorage` storage array per user
- Fix `uploaders/s3based.js` variable names
- Update Timelapse.jpeg video builder
- Allow rendering a separate page upon login for Sub-Accounts
2019-04-18 17:54:07 -07:00
TechplexEngineer 448c9f00d4 Fix zooming 2019-04-16 15:43:51 +00:00
Moe 3beab3313c Fix Blank value insert for Monitor Settings 2019-04-02 22:26:37 -07:00
Moe 89a70b6438 Some Updates and Fixes
- Add Branding Engine
- Lock PM2 install to 3.0.0 (newer versions cannot catch `uncaughtException`.
- Update macOS installer
- Update OpenALPR (CPU) installer
- Add Portuguese Language
- Fix Language Selector
- Lay-In ability to create Matrix from Pam-Diff detection blob
- createEventBasedRecording called for Traditional Recording labelled 5 seconds before real time to capture event
- fix NaN for new user created in Superuser
- count space used for Timelapse Frames and Files tables (does not purge Timelapse data yet)
- Update TimelapseJpeg, lay-in MP4 builder, many fixes, additonal page
- add `impervious` to gitignore in `web/libs` for custom static files
- Fix delete button for quick video list
- Fix Super form appearance
2019-04-02 20:47:03 -07:00
Moe cd72207acf improve timelapse.jpeg appearance and performance++ 2019-03-24 23:43:23 -07:00
Moe 00ab3046ff Add JPEG-based Timelapse creation
- Currently can only retrieve data about Timelapse through API, GUI coming soon
+ Definition fixes
2019-03-21 14:30:50 -07:00
Moe 9c4b153ab4 Allow connecting multiple Detector Plugins
+ remove `frameToRam` method.
+ add extenders for onWebsocketConnect/Disconnect
2019-03-05 16:22:04 -08:00
Moe cdf2e6f8c8 remove `videoTime` logging for events, use basic search method of power video 2019-03-03 09:52:23 -08:00
Moe 9aabfea193 Update Stale Purge Lock function set
- when "No space left on device" is detected a check to see if you are over your account storage max will be done, if so then it will force an unlock and create a purge request.
2019-02-28 14:07:14 -08:00
Moe 38e67d933a Multi Trigger by Group
- In Global Detector Settings you can now find the option to trigger other cameras when a particular monitor has been triggered.
+ Remember monitor order in dashboard list
+ Allow sending frames to Plugin based detection with Primary Send Frames off.
+ minor clean up
2019-02-27 20:32:29 -08:00
Moe 97b341481e Add dropInEvents module+
+ better filename parse for file insert
+ add missing RTMP server addition in camera.js
2019-02-22 23:04:52 -08:00
Moe e129afd756 fix `onMonitorSave` event
+prettify config cron error
2019-02-22 19:24:21 -08:00
Moe 6a3daccb2f Add Automatic SFTP Uploader
- SFTP Uploader is basic uploader. This method is not capable of managing space like other cloud back up methods.
+ Minor cleanup
2019-02-19 19:29:12 -08:00
Moe bf7a5d2d83 Add "onMonitorDied" extender 2019-01-31 10:51:35 -08:00
Moe 75269f7d9f Method to merge videos from Videos List
- button will appear as "Merge and Download" next to "Zip and Download"
2019-01-28 17:41:14 -08:00
Moe f9450a58dd Humanize configuring Notification Video Length
- Notification Video Length : The length of the video that gets sent to your Notification service, like Email or Discord.
- New option appears under Recording Timeout.
2019-01-28 12:25:43 -08:00
Moe e87f031df0 fix onDetectorNoTriggerTimeoutExtensions bug 2019-01-27 08:53:12 -08:00
Moe 79e3632b88 Return of the coProcessor
- now is optional and can be enabled in the Input section.
+ add humanized log for "error while decoding", mention network performance issues
2019-01-22 20:09:20 -08:00
Moe 4857ce846e Minor Cleanup+ 2019-01-22 08:44:50 -08:00
Moe 9cd6a1d3d5 Minor Cleanup 2019-01-22 08:42:26 -08:00
Moe 1ccad1dcde Update super.ejs and minor cleanup
- add notice for group key in /super if used more than once.
2019-01-12 10:57:21 -08:00
Moe afdc0cf568 Audio Detector, Detect Object in Region, and API Methods for Scheduling System
- Audio Detector measures decibels (dB). Section can be found under Motion Detection.
- Regions can now be used with Object detection alone, find the option the Object Detection section.
- Scheduling System will allow automatically activating Monitor States based on time. GUI will be posted in the next commit.
+ Update Installers
+ Update framework.sql
+ `npm test` will run the test
+ Minor Bug Fixes
2018-12-29 11:32:12 -08:00
Moe afdedbeea8 Add some Monitor event Extenders 2018-12-12 14:56:29 -08:00
Moe a0ec9afc87 Allow Mass Config Changes by API (monitorStates) and more
- Unlike /configureMonitor/ this method, /monitorSates/, can take single veriables for a monitor edit.
+ clean /configureMonitor/'s addEdit portion and make it a separate function
+ add "raw" catch. if "raw" not found another database init will be requested
+ fix "undefined" monitor status for Disabled monitors on Shinobi start
+ fix color threshold save for region editor
+add fallback for snapBuffer failure
2018-11-10 19:59:02 -08:00
Moe 70339bd0d4 block framewrite to ram if detector is off
- applies only when using "connectionType":"ram" in plugin conf.json
2018-11-03 00:16:16 -07:00
Moe f3d60ca674 Additions and Cleanup
+ Allow global designation for Backblaze B2, Amazon S3, and WebDAV
+ allow frame transfer to plugin by "File in RAM" (experimental and currently only works with yolo and dlib)
+ API method for account save/edit
+ Add C++ based Dlib plugin (face-recognition)
+ allow choosing tiny or regular weights for yolo
- remove old python-dlib plugin because it is just bad (yucky python)
2018-11-02 16:44:53 -07:00
Moe 74e8729cdc simplify snapshot icon and remove extra logs 2018-10-31 16:21:13 -07:00
Moe c87521ec0d Fix ffmpeg "undefined" bug
+ silence freebsd error
2018-10-28 15:28:22 -07:00
Moe f605c7adc7 Thumbnails for Video List
- client-side generated thumbnails.
+ light cleanup and bug fixes on childNode engine
2018-10-19 14:15:40 -07:00
Moe 5a3309a787 childNode database row save fix
+light cleanup
2018-10-18 13:41:20 -07:00
Moe 623e916d24 Bug fixes for childNodes 2018-10-17 21:42:32 -07:00
Moe 3159102d0c add some new extenders for later 2018-10-15 19:40:26 -07:00
Moe d43b0cf0d9 light cleanup and fixes 2018-10-11 17:36:27 -07:00
Moe f2797cdb0b s.orphanedVideoCheck added
- "config.cron.deleteOrphans" has been removed. It has been replace by a one-time-run at startup with "config.insertOrphans". As the variable name suggests, instead of deleting, it will insert videos found without a database row.
- By default "config.orphanedVideoCheckMax" will only check up to 20 video. You can raise this value to any number you choose but be careful as it will check that number of videos on every start.
- this function also runs if a camera exits unexpectedly.
2018-10-09 23:56:13 -07:00
Moe 3b05d011df modify icon snapshot
- now using icon.jpg instead of s.jpg to avoid overriding other functions that need a realtime jpeg snapshot
+ remove emitter from purge on disk space
2018-10-09 17:48:15 -07:00
Moe c178984084 Add CPU usage indicator (per monitor)
+ adjust purge videos on max space operation order
+ light cleanup with var names
2018-10-09 15:40:06 -07:00
Moe 7e0cc7bbff Light performance boost
- snapshot will be created on first user entry and stored in temp directory if JPEG API is disabled
+ Fix "File Delete Error" caused by permission issue+++
2018-10-08 21:44:36 -07:00
Moe 69f7543c79 Return of sizePurgeQueue
- you can also say return of the Q (hehe)
2018-10-08 18:39:10 -07:00
Moe b1c27f8359 Fix "File Delete Error" caused by permission issue++ 2018-10-08 16:54:53 -07:00
Moe dc9dd9ecb0 Fix "File Delete Error" caused by permission issue+ 2018-10-08 15:15:31 -07:00
Moe d9912bacdf Fix "File Delete Error" caused by permission issue
- Temporary fix until approriate one is found
2018-10-08 14:43:31 -07:00
Moe d6fb93c619 light cleanup and more humanizing 2018-10-08 00:23:39 -07:00
Moe f219ff8fbc add the ability to detect viewers without websocket more stream types
- viewer count detection added for : mjpeg, poseidon over http, flv over http, h265 over http, and raw h264
- with it you can detect when a stream is opened without the websocket connection
+ move web stream paths to their own file "webServerStreamPaths.js"
2018-10-07 23:01:27 -07:00