Commit Graph

37 Commits (cd18f64792e9029ecc6bb294683d955591532820)

Author SHA1 Message Date
Moe eba59ebcee log Shinobi version on start and show in Superuser panel
+ light cleanup
2019-07-29 10:51:08 -07:00
Moe f2918cb09b rename `.mon` and `.mon_conf`
- now labelled `.activeMonitors` and `.rawMonitorConfigurations`
2019-07-07 20:39:41 -07:00
Moe 10acea1286 add missing rules for startup.js (cloud timelapse count) 2019-07-07 20:02:49 -07:00
Moe 9ff60ded36 fix orphan check max setting and add #56 2019-06-07 16:55:25 -07:00
Moe 9b8d637401 Change method to getting initial addStorage size 2019-06-07 13:11:09 -07:00
Moe 5dc18248e3 fix missing variable storageType 2019-05-16 08:09:49 -07:00
Austin Lakeman 44aa8c5ac5 Fix addStorage variables for video & timelapse checks - startup.js 2019-05-15 14:43:27 +00:00
Moe a87c2e6acc Compound Update
- Calculate Max Storage Amount for Videos and Timelapse Frames separately
- Split Max Storage Amount by percentage for Videos and Timelapse Frames
- Fix order of operations for on start monitor load and orphan check
- move some extender definitions to extenders.js
- Slim Power Video Viewer event bars
- Add hours to date range selector for Timelapse Jpeg
2019-05-05 13:30:07 -07:00
Moe cfa26f2f4e fix sizeLimit on start (again) 2019-04-29 15:59:15 -07:00
Moe f5d416bf54 fix on Max Storage Amount set on start 2019-04-27 10:15:55 -07:00
Moe a1f33195ee clear "over max" timelapse frames 2019-04-26 11:10:53 -07:00
Moe f8103fad1f fix on start sizeLimit value 2019-04-20 12:06:23 -07:00
Moe dfd6d2e08c Fix Max Storage Amount loader 2019-04-20 07:58:56 -07:00
Moe c0f381af8f change addStorage startup value from bytes to kb 2019-04-19 18:00:05 -07:00
Moe fc870627ac Simplify and fix storage calculcation on start 2019-04-19 17:50:01 -07:00
Moe ec8824985f Packging, addStorage Max Amounts, Fix s3uploader and minor fixes
- Add ability to pacakge with `pkg`
- Add Max Storage Amount for each `addStorage` storage array per user
- Fix `uploaders/s3based.js` variable names
- Update Timelapse.jpeg video builder
- Allow rendering a separate page upon login for Sub-Accounts
2019-04-18 17:54:07 -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 55aedbabb9 Add dropInEvents module
- This allows you to drop a file into `/dev/shm/streams/dropInEvents/[GROUP KEY]/[MONITOR ID]` to trigger an event.
- This is useful for cameras that can do FTP upload on Motion detected with their internal detector.
- `dropInEventsDir` can be configured in conf.json
2019-02-22 22:59:06 -08:00
Moe bbb6ef108a minor cleanup 2019-01-28 12:25:53 -08:00
Moe 107893d058 Hourly check for possible stale sizePurge lock 2019-01-22 21:43:10 -08:00
Moe 23f1d115de Add Update functions to terminal commander
+ minor cleanup and bug fixes
2019-01-14 12:05:35 -08:00
Moe a3646a6209 Update Installers and Terminal Commander
- add zip to ubuntu and centos installers.
- add script to create terminal commander on shinobi start or manually by terminal
- update terminal commander to use dynamic value for shinobi path
2019-01-13 13:42:11 -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 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 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 00c6a2c025 light updates
- adjust static-ffmpeg check
- make inital monitor load synchronous
2018-10-10 16:10:59 -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 d6fb93c619 light cleanup and more humanizing 2018-10-08 00:23:39 -07:00
Moe 5fcdd860e0 humanize some variable names
+ some minor adjustments
2018-10-07 11:45:38 -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 d5cabef179 light function cleanup 2018-09-29 13:09:47 -07:00
Moe 91f5451c6e Re-add !24
+ move s.processReady
2018-09-28 20:06:32 -07:00
Moe 1740e3461d break s.init into individual functions 2018-09-28 18:38:14 -07:00