ecarjat
c1e5c5f006
charset and collate are only allowed for mysql
2021-04-25 13:39:59 +00:00
Moe
92d14c1072
FIx ER_TOO_LONG_KEY: LoginTokens table
2021-04-22 09:42:26 -07:00
Moe
8609ce959e
Fix Google App ID designation, add Name to LoginTokens
...
+ Show Last Login for LoginTokens in Settings window
2021-04-04 10:35:09 -07:00
Moe
2cb3d8c9a2
Add Alternate Logins section in Settings, Minor Cleanup
...
+ Login Token API Endpoints for : get single, get all, delete by loginId
+ framework.sql update
+ update auto table creation for existing installations
+ fail message specific to alternateLogin can be passed to UI
+ add type column to LoginTokens table, default is "google" because its the only one (first of many to come)
2021-04-03 21:46:58 -07:00
Moe
74f9f28070
add LoginTokens table creation (for existing installs being updated)
2021-04-03 09:48:00 -07:00
Moe Alam
f18b184dca
Sub-Account Manager : saving, editing, and create new working
2021-02-07 12:03:17 -08:00
Moe Alam
44d4b56b04
fix stringToSqlTime declaration
2020-11-20 18:57:54 -08:00
Moe Alam
9f3d74bbfa
cleanup sql.js
2020-11-18 11:26:38 -08:00
Moe Alam
7ce737395c
fix video limit+
2020-09-22 08:58:58 -07:00
Moe Alam
830a2291f3
fix video limit
2020-09-22 08:54:57 -07:00
Moe
b193827192
fix row deletion
2020-08-18 08:42:43 -07:00
Moe
4be1659873
update some delete queries
2020-08-07 15:12:45 -07:00
Moe
17779c0255
postgres needs groupBy on counts
...
- why? some will never know. I sure don't.
2020-07-30 18:42:09 -07:00
Moe
3ecbb6da01
Update sql.js
2020-07-30 18:34:53 -07:00
Moe
751b59e957
add groupBy
2020-07-30 18:25:57 -07:00
Moe
5f88de0690
Update sql.js
2020-07-30 18:17:41 -07:00
Moe
4352e043dd
Update sql.js
2020-07-30 18:01:55 -07:00
Moe
51a051a0fc
add log for missing where parameter
...
+ fix incorrect "action" label for monitorOrder queries
2020-07-30 17:58:45 -07:00
Moe
ebb25eb187
fix missing where query
2020-07-30 13:52:29 -07:00
Moe
795703cfaf
sqlQuery Conversion : The Last Samurai... err... Function
2020-07-27 18:12:57 -07:00
Moe
c2cab29515
knexQuery logic fixes
2020-07-12 14:34:04 -07:00
Moe
875bedbc6d
Fix knexQuery error : empty condition
2020-07-11 18:06:07 -07:00
Moe
a07ae2add3
existing preQueries now only for MySQL databases
2020-07-11 14:33:45 -07:00
Moe
5a8f3d5afd
add generic SELECT function
2020-07-11 14:10:36 -07:00
Moe
6dfdfe2aa0
sqlQuery Conversion : Add grouped where conditions
2020-07-09 22:48:54 -07:00
Moe
0f73187cb3
sqlQuery Conversion : add limit and orderBy
2020-07-09 07:58:02 -07:00
Moe
5db94d1e98
sqlQuery Conversion : auth.js
2020-07-08 23:11:43 -07:00
Moe
e1cc2d3fec
sqlQuery Conversion : rename response to dbQuery
2020-07-08 22:51:45 -07:00
Moe
b7db2ecfe9
sqlQuery Conversion : add update, insert, delete to s.knexQuery
...
+ change option tableName to table
2020-07-08 22:38:32 -07:00
Moe
ce7b86d3a1
sqlQuery Conversion : create knexQuery, can only select for now
2020-07-08 21:34:06 -07:00
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