Commit Graph

143 Commits (1078960db2aac71819943fef25b79b8231f95fe7)

Author SHA1 Message Date
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
Moe a3744787d9 Mega Update
- Add Extender functions in some places. Hopefully will add in all functions after more rewriting.
- Add Backblaze B2 uploading support
- Add support for managing cloud storage space used
- put all cloud video management functions in one library file using Extender
- separate uses of "s.s". s.s = JSON.stringify again and API calls with s.s will use "s.prettyPrint"
- move ffmpeg init functions
- rename s.beat to better reflect purpose
2018-09-30 15:44:04 -07:00
Moe afbd2f7172 humanize more code
- libs/startup.js should be easy to read now
- some comments in libs/videos.js
- make specific function for preQuery stuff
- add win64 to isWin check
- clean up startupText values
2018-09-29 16:03:55 -07:00
Moe ac516980bb separate uploadToDav and uploadToAmazonS3 from insertCompletedVideo
+ add missing "lang" to socketio and videos modules
2018-09-29 13:40:07 -07:00
Moe d5cabef179 light function cleanup 2018-09-29 13:09:47 -07:00
Moe 19a24f5f38 cleanup ffmpeg check and add ffbinary usability
- run npm install ffbinaries to use that downloader instead.
- ffmpeg-static and ffbinaries should get the same version just get them in a different way.
2018-09-29 13:09:24 -07:00
Moe 9393c8caf7 Modularize camera.js+++++++
- clean up some more functions names to be more human readable.
2018-09-29 08:00:51 -07:00
Moe 7431aee9fc Modularize camera.js+++++ 2018-09-28 21:04:50 -07:00
Moe 91f5451c6e Re-add !24
+ move s.processReady
2018-09-28 20:06:32 -07:00
Moe 3efbfae9bb move ffmpeg functions 2018-09-28 19:09:14 -07:00
Moe f4b544c52c change var name from currentDirectory to mainDirectory
- "mainDirectory" better reflects the value of the variable
2018-09-28 19:02:53 -07:00
Moe d834698b27 default custom JSON stringify function to pretty print, 3 spaces 2018-09-28 18:57:26 -07:00
Moe e226327439 add fs to webServer.js lib 2018-09-28 18:39:35 -07:00
Moe 1740e3461d break s.init into individual functions 2018-09-28 18:38:14 -07:00
Moe dd3858e94e Modularize camera.js+++ 2018-09-28 13:26:24 -07:00
Moe 2b4dcd8694 silence query logs for `Files` table fix+ 2018-09-28 09:18:49 -07:00
Moe 24ed1b8dde add https to libs/webServer.js 2018-09-28 09:13:17 -07:00
Moe af8fc608e7 Modularize camera.js 2018-09-27 22:37:08 -07:00