Commit Graph

93 Commits (a0ec9afc8799dbe9fd0fdaac2eaebebc4116e5c8)

Author SHA1 Message Date
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 eb65330fa8 pathing fixes for streams 2018-11-06 10:44:01 -08:00
Moe 3a2c95e0f3 fix failed login page redirect 2018-11-06 10:09:38 -08:00
Moe a6575bc4f7 change default super and admin prefixes 2018-11-06 08:25:00 -08:00
Moe 89a057a62a fix front end lib pathing when using custom webPaths 2018-11-05 20:27:19 -08:00
Moe e1b593298a fix var name type for config.cloudUploaders 2018-11-05 13:07:50 -08:00
Moe 29589750e9 Show basic bounding box for Built-In Motion Detector
- make pam-diff static to accomodate additions without creating a new npm repo. Thanks Kevin Godell for the amazing detection engine!
- Learn more about the original pam-diff by Kevin here : https://github.com/kevinGodell/pam-diff
2018-11-05 12:58:05 -08:00
Moe 4c0cf2b3a3 fix cron.js SQLite-deleteOld bug
+ make cron video deletes happen in bulk rather than 1 query per video
+ clear eventBaseRecording timeout to avoid fallback action after success
+make non-python yolo show object detection section, remove python-yolo
2018-11-05 12:55:58 -08:00
Moe 1727f2c5e7 add catch for video file range read on get 2018-11-03 10:40:41 -07: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 d0398670a4 Update libs/webServerPaths.js 2018-10-27 10:36:20 -07:00
Moe e67c819954 Update libs/webServerAdminPaths.js 2018-10-27 10:36:15 -07:00
Moe 513e484c07 Traditional Recording with dynamic recording timeout
- "Timeout Reset on Next Event" is now an available in the Global Detector Settings section for Traditional recording method
2018-10-27 10:36:06 -07:00
Moe b5132dd279 Cleanup for Super and Admin panel user management functions+ 2018-10-24 17:00:45 -07:00
Moe 2edb408702 Cleanup for Super and Admin panel user management functions
+ added sample JSONs for docs and test scripts
2018-10-24 16:41:02 -07:00
Moe ee881f7415 Test script additions and cleanup
- run test with "node test.js" or "npm test" inside the Shinobi directory
- minor readability cleanup
+ show Object Detection section with yolo plugin
+ prettify Video Grid css
+ make thumbnail load recursive instead of at once
2018-10-23 17:37:51 -07:00
Moe 224a06cb3e Prepare Build Testing
+ cleanup some comments functions
+ move some functions to startup.js
+ add ability to search videos with "startFrom" and "startTo" instead of "start" and "end"
2018-10-23 11:36:02 -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 0b397348f1 Update libs/cloudUploaders.js 2018-10-18 13:42:54 -07:00
Moe 5a3309a787 childNode database row save fix
+light cleanup
2018-10-18 13:41:20 -07:00
Moe 53fec70766 Bug fixes for childNodes+ 2018-10-17 21:45:15 -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 57defcc20f light cleanup 2018-10-15 19:40:12 -07:00
Moe d6e7f628f0 Add API methods to manage API keys
- Add, Delete, List are the methods added
+ light cleanup
2018-10-15 19:39:50 -07:00
Michael Sandrof 2c9282e92e Better free mem computation for linux: use available/total instead of free/total. 2018-10-12 20:30:29 -07:00
Moe d43b0cf0d9 light cleanup and fixes 2018-10-11 17:36:27 -07:00
Moe 00c6a2c025 light updates
- adjust static-ffmpeg check
- make inital monitor load synchronous
2018-10-10 16:10:59 -07:00
Moe 611b67b1df fix syntax breakage when switching dashboard languages 2018-10-10 12:51:23 -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 34e5095e16 make "availableHWAccels" configurable 2018-10-09 16:26:49 -07:00
Moe ec3e3ddd35 Check Hardware Acceleration methods on start
- show only available methods in client side
2018-10-09 16:25:16 -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 bb409b4cea light cleanup 2018-10-08 14:42:45 -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
Moe 5a968edd5e cleanup launchMonitorProcesses function 2018-10-07 17:16:57 -07:00
Moe a427805eee fix launchMonitorProcesses bug 2018-10-07 16:45:18 -07:00
Moe da83df55dd libs/monitor.js : split camera fatal error handler 2018-10-07 16:43:39 -07:00
Moe 4c863ab05c prep for SFTP upload method 2018-10-07 14:59:21 -07:00
Moe c5c3743f59 fix "Error: read ECONNRESET" when Poseidon stream is restarted 2018-10-07 11:59:01 -07:00