Simon Smith
7ea744fdfe
use new nedb instead of old
2023-09-07 19:31:26 +01:00
Ylian Saint-Hilaire
79faaaee1f
Fixed various server exceptions.
2022-12-10 12:02:33 -08:00
Ylian Saint-Hilaire
cc7670cc31
Improved state-less server code ( #4645 )
2022-10-24 16:58:05 -07:00
Ewout Stortenbeker
6a31e3fc02
fix syntax
2022-09-17 00:04:53 +02:00
Ewout Stortenbeker
883f9ffd6e
fast remove queries with new AceBase version
2022-09-16 22:50:12 +02:00
Ewout Stortenbeker
c745a5e31e
Fixes & improvements:
...
* use `.child` instead of string concats on paths
* remove unnecessary `limit(999999)` for queries with filters
* use `.get` instead of `.query` to get all data
* using `skip` and `limit` args of `GetAllTypeNoTypeFieldMeshFiltered`
* use `==` instead of `in` operator in `RemoveSMBIOS` and `GetSMBIOS`
* use `.count` insetad of `.get` in `getDbStats`
* use `.get` instead of `.query` in `getPlugins`, custom sort function
2022-09-16 22:38:40 +02:00
Ewout Stortenbeker
30753982ff
Fix typos
2022-09-16 22:25:00 +02:00
Ylian Saint-Hilaire
8f89665421
PostgreSQL support will now test if main table exists and if not, create all tables and indexes ( #4507 )
2022-09-06 12:48:02 -07:00
Ylian Saint-Hilaire
43abf32dba
MongoDB TextEncoder is not defined fix ( #4499 )
2022-09-05 01:40:43 -07:00
Ylian Saint-Hilaire
2eb8cbf2d6
Indicate proper error if auto-backup path is not correct ( #4483 )
2022-09-02 14:37:12 -07:00
Ylian Saint-Hilaire
26f134c95d
Completed server-side device paging support.
2022-08-31 14:16:59 -07:00
Ylian Saint-Hilaire
15c882f24e
Partial support for device paging support on the server side, allows a user to view only a subset of the devices.
2022-08-31 11:28:36 -07:00
Ylian Saint-Hilaire
0ce946bd90
Fix for MongoDB change stream exception ( #4429 )
2022-08-22 10:42:50 -07:00
Ylian Saint-Hilaire
af1e5f52ca
Removed debug code around running mongodump.exe.
2022-08-22 10:27:25 -07:00
Ylian Saint-Hilaire
57d37b7c8a
Fixed server console dbstats command when using SQLite ( #4430 )
2022-08-22 10:19:24 -07:00
Ylian Saint-Hilaire
8c9067ed4a
SQLite fixes and addition to config.json schema.
2022-08-15 16:28:06 -07:00
Ylian Saint-Hilaire
fa33595700
Improved SQLite support ( #4398 )
2022-08-15 14:11:30 -07:00
Ylian Saint-Hilaire
1680138e8d
First pass at adding SQLite3 database support ( #4398 )
2022-08-15 00:33:50 -07:00
Ylian Saint-Hilaire
0f3e1c2c3a
Fix to AceBase insertMany()
2022-08-14 14:41:24 -07:00
Ylian Saint-Hilaire
c9244a662f
Boosted the speed of InsertMany() for AceBase.
2022-08-14 14:16:52 -07:00
Ylian Saint-Hilaire
0fd8b17f5e
Added AceBase maintenance. AceBase record removal seems to be terribly slow.
2022-08-14 13:24:14 -07:00
Ylian Saint-Hilaire
670aeea10d
Added AceBase indexes.
2022-08-14 12:09:09 -07:00
Ylian Saint-Hilaire
d2ff69fb0f
Added AceBase link.
2022-08-13 18:49:33 -07:00
Ylian Saint-Hilaire
1f239481b7
Added basic AceBase support ( #4398 )
2022-08-13 18:32:17 -07:00
Ylian Saint-Hilaire
92e3d2e528
Added database records report to My Events / Reports tab.
2022-08-12 15:53:35 -07:00
Ylian Saint-Hilaire
ae0e4895c1
Fixed dbstats server console command for MongoDB and NeDB ( #4376 )
2022-08-08 11:32:35 -07:00
KJ7ICE
587bdffd17
Expire old entries for MariaDB/MySQL
2022-06-26 17:00:53 -07:00
Ylian Saint-Hilaire
e445469579
Fixes for MySQL not allowing IN() query with empty array, #4157
2022-06-24 11:12:43 -07:00
KJ7ICE
ee8b0e701e
Handle case of empty meshes list for SQL query. Fixes Ylianst#4157
2022-06-24 01:42:41 -07:00
Ylian Saint-Hilaire
82a4c472e0
Fixed DB record decrypt.
2022-05-23 16:46:56 -07:00
Ylian Saint-Hilaire
b76b6816cd
Added WebPowerSwitch/Raritan DB record encryption.
2022-05-10 12:15:52 -07:00
Ylian Saint-Hilaire
b0c2bcd715
Added DB record encryption support for SSH/RDP credentials, #3960
2022-05-10 11:57:01 -07:00
Ylian Saint-Hilaire
e6d73972a1
Fixed PostgreSQL exception, #3585
2022-02-02 11:08:03 -08:00
Ylian Saint-Hilaire
39e1255ebe
Fix for PostgreSQL DB creation using a database name, #3581
2022-02-01 16:16:54 -08:00
Ylian Saint-Hilaire
836ad768ac
Updated headers.
2022-01-23 23:21:24 -08:00
JSuenram
2ab250a10b
Small fix for using mySQL Database backend. Switch mysql.CreateConnection to mysql.CreatePool.
2022-01-21 15:14:10 +01:00
Ylian Saint-Hilaire
8acbfd2a30
PostgreSQL now skips table and index creation when DB already exists, #3487
2022-01-19 12:21:50 -08:00
Ylian Saint-Hilaire
c8ef09f94c
Fixed PostgreSQL getDbStats(), #3487
2022-01-19 12:11:28 -08:00
Ylian Saint-Hilaire
354f77eac3
Fixed PostgreSQL authfail query error, #3487
2022-01-19 11:52:51 -08:00
Ylian Saint-Hilaire
01dbc70098
Added --removesubdomain command, #3440
2022-01-11 17:30:50 -08:00
Ylian Saint-Hilaire
0e549631ac
Event log is now userid based instead of username based.
2022-01-11 13:10:36 -08:00
Ylian Saint-Hilaire
f8e9426350
Improved MongoDB indexes.
2022-01-10 12:25:31 -08:00
Ylian Saint-Hilaire
7219aa5a44
Added DB query checks.
2022-01-09 18:44:43 -08:00
Ylian Saint-Hilaire
c0bdc38ef2
Added MongoDB index to improve query targetting.
2022-01-09 17:45:51 -08:00
Ylian Saint-Hilaire
1d76a50e47
Added intelamt.uuid index in MongoDB to improve query targetting.
2022-01-09 16:09:36 -08:00
Noah Zalev
c3b9de37f9
Add MySQL AWS RDS support to mysqldump
2021-11-17 19:12:18 -05:00
Noah Zalev
c5c27820c9
Added awsrds config option
2021-11-17 17:24:43 -05:00
Ylian Saint-Hilaire
72b92284d4
Fixed server stats for SQL databases.
2021-11-08 10:31:52 -08:00
Ylian Saint-Hilaire
c741a29c10
Server stats fix on MySQL, MariaDB, PostgreSQL.
2021-11-07 18:25:08 -08:00
Ylian Saint-Hilaire
244399c329
First version with working PostgreSQL support.
2021-11-04 11:53:54 -07:00