Commit Graph

67 Commits (57defcc20f6a10f66657134451901ebe84e29cef)

Author SHA1 Message Date
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
Moe 5fcdd860e0 humanize some variable names
+ some minor adjustments
2018-10-07 11:45:38 -07:00
Moe 656849ae8a add some comments in webServerPath libs 2018-10-06 09:46:48 -07:00
Moe 4ed020e830 Update Superuser and Admin REST API uses 2018-10-06 09:25:25 -07:00
Moe 455a81dad5 Superuser method to get all users in database
+ comments added to Superuser API methods
2018-10-05 23:45:43 -07:00
Moe fd8c526b7f Update Superuser
- Update API to allow request on "all"
- Update superAuth
- add temporary superSessionKey to use REST API in Superuser dashboard
- fix favicon in Superuser panel
- make some UI adjustments in Superuser panel
2018-10-05 23:20:16 -07:00
Moe 688ee9d10e allow superAuth with API key (tokens) 2018-10-05 21:33:51 -07:00
Moe b80ebb6bcd move configureMonitor to admin 2018-10-05 21:16:21 -07:00
Moe f4e24005e8 RESTful APIs for Admin functions
- Create Sub-Account
- Update Sub-Account
- Delete Sub-Account
2018-10-05 19:52:02 -07:00
Moe 3d7ae2081a fix Delete Motionless bug+
- fo' real this time
2018-10-05 15:49:44 -07:00
Moe cd38c01649 minor cleanup 2018-10-05 14:19:48 -07:00
Moe febca865fa RESTful API methods Superuser 2018-10-05 14:19:29 -07:00
Moe 05f92d0316 fix Delete Motionless bug 2018-10-05 14:17:10 -07:00
Moe 6d60b4a972 light cleanup 2018-10-03 15:06:37 -07:00
Moe 75592aa5d1 rewrite superAuth function 2018-10-03 15:06:08 -07:00
Moe 11533f8f7a add some missing module requirements 2018-10-03 09:37:34 -07:00
Moe 7caf1199cc fix Hotswap recording launcher 2018-10-03 09:27:08 -07:00
Moe 9362c68f3c Add Color Threshold for Built-In Motion Detector+ 2018-10-03 09:26:37 -07:00
Moe a9886e6b47 refactor "detector-stuff" by Skidank
- split up "checkMaximumSensitivity", "checkTriggerThreshold", and "filterTheNoise" for easier reading
- merge some "$.zO.e.on change" functions
+ remove old ffmpegLocation.js
2018-10-02 21:44:39 -07:00
Moe 2cab29311f Merge branch 'detector-stuff' into 'dev'
Added max_sensitivity at the region and global levels which puts a cap on…

See merge request Shinobi-Systems/Shinobi!12
2018-10-03 03:52:42 +00:00
Moe ce81c4672a light houstkeeping
- moving some functions around and cleanup
2018-10-02 17:52:49 -07:00
Moe fa2f27dde0 Superuser GUI to change user and password
+ ability to modify Admin user emails
2018-10-02 17:52:20 -07:00
Michael Sandrof 94d21ed0a2 Added max_sensitivity at the region and global levels which puts a cap on detections that can trigger an event.
Added detection threshold that requires a minimum number of detections before triggering an event.
2018-10-01 19:37:43 -07:00
Moe d147cc2036 organize ffmpeg string builder 2018-10-01 19:21:16 -07:00
Moe 637a62ee8f put backblaze-b2 call inside path condition 2018-10-01 19:19:58 -07:00
Moe aee4fec0e9 move extenders to separate file 2018-10-01 17:21:48 -07:00
Moe 9e11f6d810 move discord and email functions into libs/notification.js
+ add more event controllers for custom functions
2018-09-30 22:44:35 -07:00