Commit Graph

130 Commits (b2b3e574d8bb5105b2c1e7f598127be2afef8412)

Author SHA1 Message Date
Moe a1f33195ee clear "over max" timelapse frames 2019-04-26 11:10:53 -07:00
Moe 447315cfef Updates and Fixes
- add videoDropInServer (FTP), currently only logs timelapse frames to database
- cleanup timelapse appearance
- allow replacing renderPaths.home with embeddable page for basic landing after login
- light ejs touchups
2019-04-05 22:27:22 -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 6a0f3d8599 move plugin functions from socketio.js into plugins.js 2019-03-24 23:45:03 -07:00
Moe 5c2f70cd74 Fix definitions for Uploaders 2019-03-21 14:54:11 -07:00
Moe 758fc700b1 Rewrite Settings and Montior Edit forms in JSON instead of HTML
- rewrite of forms in JSON allow auto-generating the necessary fields on almost any template with a lot more ease
- remove ejs files for uploaders and make fields generate by JSON as well
+ activate separated css files
2019-03-15 00:32:18 -07:00
Moe 1be41d7f3b Add SMTP server to dropInEvents module 2019-02-26 18:34:04 -08:00
Moe 9a71cd9c95 Use cws(uws) for Socket.IO engine 2019-02-24 18:47:39 -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 107893d058 Hourly check for possible stale sizePurge lock 2019-01-22 21:43:10 -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 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 f57250e25e Add "codeTester" module (Not Complete)
- Merge test functions into main app and invoke based on 1 of 2 Methods.
- Method 1 : Add `"testMode":true` to conf.json to start Shinobi in Test Mode.
- Method 2 : run `node camera.js test` in the Shinobi folder.
- CTRL+C to exit process and cleanup test files.
+ Code cleanup and bug fixes (found while testing the codeTester module)
+ Update "Entire System Export"
+ Additional Extenders
+ Make Input Map default "0" instead of "0:0"
+ Remove extra Whitespace from LICENSE and update the "Modification of this Software Product.".
2018-12-16 16:54:06 -08:00
Moe c6c4f5d502 Automatic Loading for custom js modules 2018-12-12 15:02:24 -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 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 623e916d24 Bug fixes for childNodes 2018-10-17 21:42:32 -07:00
Moe 57defcc20f light cleanup 2018-10-15 19:40:12 -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 f4e24005e8 RESTful APIs for Admin functions
- Create Sub-Account
- Update Sub-Account
- Delete Sub-Account
2018-10-05 19:52:02 -07:00
Moe febca865fa RESTful API methods Superuser 2018-10-05 14:19:29 -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 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 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 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 dc554481d4 silence query logs for `Files` table fix 2018-09-28 09:16:06 -07:00
Moe 040b9368eb Fix cron `Files` table bug 2018-09-28 09:13:03 -07:00
Moe af8fc608e7 Modularize camera.js 2018-09-27 22:37:08 -07:00
Moe c713e61341 Merge branch 'dev' into 'dev'
Fixed confidence value not being propagated in Web hooks URL

See merge request Shinobi-Systems/Shinobi!22
2018-09-25 23:03:29 +00:00
Moe 8ab159e94a Merge branch 'freebsd-cpu-ram-stats' into 'dev'
Adding ram and cpu stats commands for freebsd

See merge request Shinobi-Systems/Shinobi!24
2018-09-25 23:01:56 +00:00
Moe b7a3317aac Password Hashing with SHA256 and SHA512
- "passwordType" can be added to conf.json to use a hash other than md5.
- Options for passwordType : md5, sha256, sha512. md5 is default.
- Superuser will still be allowed to use MD5 passwords regardless of the "passwordType" selected in conf.json.
- To add salt to your SHA512 accompany the "passwordType":"sha512" with "passwordSalt":"". Fill it with your favorite salty secret.
2018-09-24 17:12:19 -07:00
Moe 1c56eb313a Send Screenshot on Event to Discord and Email without JPEG API enabled 2018-09-23 22:37:24 -07:00
Moe 8c1ee0a9c6 Brute Force Protection for Login 2018-09-23 21:10:20 -07:00
Moe e3890391bd Provide .mp4 on Event for Discord and Email Alerts instead of .ts+
- cleanup functions and fix pathing
2018-09-22 20:53:48 -07:00
Moe b75258bfc2 Provide .mp4 on Event for Discord and Email Alerts instead of .ts 2018-09-22 20:12:46 -07:00
Moe 2c5b5b8c80 Remove coProcessor
- CPU encoded data can now be created from CUDA decoded stream. Thanks Bogey!
+ prepare webpage streaming
2018-09-22 11:31:54 -07:00
Moe 95790d479b Update WebDAV Autosave for "Cloud Videos"
- WebDAV saving has been updated to work with the new "Cloud Videos" listing method.
- WebDAV folder structure will now be created automatically
+ remove some whtie spaces from settings.ejs
2018-09-16 00:51:20 -07:00
Moe 9bde8ba386 fix Skip Ping condition+ 2018-09-12 16:15:48 -07:00
Moe 4c081e2755 fix Skip Ping condition 2018-09-12 16:01:42 -07:00