Commit Graph

113 Commits (e565b474a0af21a8230de3914b2650dc81593f33)

Author SHA1 Message Date
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
Moe 373752c914 Allow retrieving Cloud saved links from API and dashboard 2018-09-11 21:38:26 -07:00
Moe 185173e40e add filtering events by time and action to modify indifference on filter event
- you can now set indifference based on time with the filter engine.
+ comment out onvif-nvt for now
2018-09-10 21:58:21 -07:00
teklabania 33a9152b17 Adding ram and cpu stats commands for freebsd 2018-09-09 20:49:10 +00:00
Moe fac6956f75 fix jpeg capture rate
+ make diskPurgedEmitter and diskUsedEmitter in one emitter with separate emit keys.
2018-09-02 10:00:18 -07:00
David Martin 5f431dfa66 Fixed confidence value not being propagated in Web hooks URL 2018-08-31 17:15:16 +02:00
Moe 384a89eb6a Replace Queue System for Disk Purge to Emitter System
- This should fix any lockups of the purging function as the queue is now handled by the emitter.
2018-08-29 10:29:51 -07:00
Moe 0eaa16b19b Default Audio Codec = No for Traditional Recording with JPEG based inputs
+ minor comment and whitespace fixes/changes
2018-08-27 10:12:35 -07:00
Moe 262207d12a remove 10 second checker and use -progress
+ method found in kevin's ffmpeg-streamer demonstration application.
2018-08-23 14:04:39 -07:00
Moe 514413975c check monitor process life status every 10 seconds 2018-08-23 13:10:28 -07:00
Moe 653ac052af H.265 Stream Type over HTTP
+ many bug fixes and tweaks for client side stream creator function
+ allow coProcessor only in specific situations
2018-08-21 23:33:26 -07:00
Moe 9166d7e8a9 H.265 Stream Type Added
- Now play H.265 video in almost any browser with the help of libde265.js!
+ minor bug fixes
+ preparation for slickslider page (timed switcher)
2018-08-20 23:07:08 -07:00
Moe 7f05c62c08 fix stream_fps condition+ 2018-08-20 15:08:34 -07:00
Moe e8fa79239c fix stream_fps condition 2018-08-20 15:00:18 -07:00
Moe ace8c7e916 fix condition for detector output
+ automated whitespace removal with atom
2018-08-20 14:52:17 -07:00
Moe eb0796ca1a use request() for webhook on event 2018-08-12 17:44:12 -07:00
Moe b7c628fe2d fix factorAuth screen selection
- bug would cause factorAuth login to always login to dashboard
2018-08-12 14:22:26 -07:00
Moe 19a14c237c check for available group 2018-08-12 11:07:29 -07:00