Commit Graph

34 Commits (81ac3bd1ea16362fadee80674199bcc48cb61bb7)

Author SHA1 Message Date
Moe 05594374d4 Fix ER_DUP_KEYNAME logs 2020-07-03 13:21:04 -07:00
Moe e81736ffd5 Merge branch 'SQL_Updates' into 'dev'
Add indexes to database tables

See merge request Shinobi-Systems/Shinobi!206
2020-06-19 16:44:34 +00:00
Moe ded730197c Fix Event Counts table (missing time column) 2020-06-18 20:22:44 -07:00
Mike Hurley 07d5d360d8 Update sql.js 2020-06-18 18:42:20 +00:00
Mike Hurley 76a4ef41fd Update sql.js 2020-06-18 16:44:13 +00:00
Mike Hurley 0e69072a80 Update sql.js 2020-06-18 16:33:47 +00:00
Mike Hurley 486c724c74 Update sql.js 2020-06-18 16:17:13 +00:00
Mike Hurley afe32e6f1b fixed mismatched cases 2020-06-18 16:12:46 +00:00
Mike Hurley 80db711d4a Updated to include Indexes for Events, Logs, and Videos tables 2020-06-18 15:23:58 +00:00
Moe aa7c6f387a update syntax for Event Counts table creation 2020-06-04 13:06:13 -07:00
Moe 41d25a58ab fix missing cloud timelapse frames table insertion 2020-06-04 12:59:25 -07:00
Moe 1269bfe08a refactor /events/ rows API method 2020-05-24 08:44:44 -07:00
Moe aa390287f0 fix query by time 2020-05-24 07:46:00 -07:00
Moe a5b04de5de refactor /videos/ row request API 2020-05-24 07:41:10 -07:00
Moe 8526eea89a refactor querying tables for rows binded to monitors with start and end times
- prepare function for other API functions that use this methodology
2020-05-23 23:08:54 -07:00
Moe 0379fa70a7 Update sql.js 2020-05-23 22:33:57 -07:00
Moe 664a30ee32 add Event Counting engine 0.1 2020-05-23 22:12:42 -07:00
Moe 63ded4d92c Add async.queue to s.sqlQuery, fs.readFile and fs.stat
+ change backblaze human name accountId to keyId
2019-06-20 22:42:17 -07:00
Moe 616adf6957 minor tuning for sql.js 2019-06-05 17:32:31 -07:00
Moe 85bfd75280 improve timelapse.jpeg appearance and performance 2019-03-24 11:19:55 -07:00
Moe bcdb54d02b Modify JPEG-Based Timelapse Method and add basic GUI
+Bug fixes for UI
2019-03-23 18:25:58 -07:00
Moe a3251246f0 revert s.stringToSqlTime 2019-03-23 09:00:50 -07:00
Moe 8735d9b27b fix Timelapse table creation 2019-03-21 16:50:46 -07:00
Moe 00ab3046ff Add JPEG-based Timelapse creation
- Currently can only retrieve data about Timelapse through API, GUI coming soon
+ Definition fixes
2019-03-21 14:30:50 -07: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 91f530c461 Add some more test functions and fix "Duplicate" warning for preQueries 2018-12-16 17:24:59 -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 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 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 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 af8fc608e7 Modularize camera.js 2018-09-27 22:37:08 -07:00