Commit Graph

278 Commits

Author SHA1 Message Date
Simon Smith 410c84c30b
add --mysql --mariadb arguments for stateless run (#6031)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-04-18 17:07:01 +01:00
Simon Smith 102489447d
check db exists first before creating in postgres (#5968)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 19:20:15 +01:00
si458 7b67b992e2 fix postgres nedbtodb
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 13:52:16 +01:00
Simon Smith 95bbd7157f
add filter for events (#5975)
* add filter to node events
* add filter to my events
* add filter to user events
* improve sql querys

Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 13:50:38 +01:00
jrf280 eadf6fbaf0
Fix plugins installation for PostgreSQL (#5517)
* Fix plugins installation for PostgreSQL

* Fix setPluginStatus for MySQL/MariaDB/SQLite/PostgreSQL
2023-11-07 09:17:24 -08:00
jrf280 6ba4bf7202
Fix plugins installation for MySQL/MariaDB/SQLite (#5513) 2023-11-06 19:01:42 +00:00
Simon Smith 5c99db9edb
fix postgres sqlbatch (#5514)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-11-06 13:54:17 +00:00
Simon Smith 13ead1ddeb
fix mariadb parsing with mysql (#5488) 2023-10-31 12:11:17 -07:00
Simon Smith c6ebcc6e8e
fix sql batch must use same connection from pool (#5469)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-10-24 19:28:29 +01:00
Simon Smith e20a585b3a
use mysql2 package to support mysql8 (#5427)
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-10-20 17:30:57 -07:00
Simon Smith bca4f1c217
remove duplicate pendingTransfer++ 2023-09-15 14:41:41 +01:00
Simon Smith 53a96fb26b
fix-netodb-again 2023-09-15 14:38:17 +01:00
Ylian Saint-Hilaire a3dfc30607
Merge pull request #5330 from si458/fix-webdav-upload
Fix webdav upload
2023-09-09 23:02:04 -07:00
Simon Smith 23c2627b3b
fix nedb to sqlite migrate 2023-09-07 19:35:03 +01:00
Simon Smith 7ea744fdfe
use new nedb instead of old 2023-09-07 19:31:26 +01:00
Simon Smith f297857d70
fix-webdav-upload 2023-09-06 13:53:28 +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