iobroker.sql 2.2.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +177 -454
  3. package/admin/i18n/de/translations.json +3 -3
  4. package/admin/i18n/en/translations.json +2 -2
  5. package/admin/i18n/es/translations.json +12 -12
  6. package/admin/i18n/fr/translations.json +1 -1
  7. package/admin/i18n/it/translations.json +1 -1
  8. package/admin/i18n/nl/translations.json +1 -1
  9. package/admin/i18n/pl/translations.json +1 -1
  10. package/admin/i18n/pt/translations.json +1 -1
  11. package/admin/i18n/ru/translations.json +1 -1
  12. package/admin/jsonConfig.json +423 -321
  13. package/admin/words.js +14 -14
  14. package/build/lib/aggregate.js +1484 -0
  15. package/build/lib/aggregate.js.map +1 -0
  16. package/build/lib/connection-factory.js +7 -0
  17. package/build/lib/connection-factory.js.map +1 -0
  18. package/build/lib/mssql-client.js +67 -0
  19. package/build/lib/mssql-client.js.map +1 -0
  20. package/build/lib/mssql.js +267 -0
  21. package/build/lib/mssql.js.map +1 -0
  22. package/build/lib/mysql-client.js +55 -0
  23. package/build/lib/mysql-client.js.map +1 -0
  24. package/build/lib/mysql.js +245 -0
  25. package/build/lib/mysql.js.map +1 -0
  26. package/build/lib/postgresql-client.js +56 -0
  27. package/build/lib/postgresql-client.js.map +1 -0
  28. package/build/lib/postgresql.js +241 -0
  29. package/build/lib/postgresql.js.map +1 -0
  30. package/build/lib/sql-client-pool.js +369 -0
  31. package/build/lib/sql-client-pool.js.map +1 -0
  32. package/build/lib/sql-client.js +110 -0
  33. package/build/lib/sql-client.js.map +1 -0
  34. package/build/lib/sqlite.js +244 -0
  35. package/build/lib/sqlite.js.map +1 -0
  36. package/build/lib/sqlite3-client.js +68 -0
  37. package/build/lib/sqlite3-client.js.map +1 -0
  38. package/build/main.js +3591 -0
  39. package/build/main.js.map +1 -0
  40. package/docker-compose.yaml +57 -0
  41. package/io-package.json +67 -43
  42. package/package.json +31 -22
  43. package/admin/.gitignore +0 -0
  44. package/lib/aggregate.js +0 -968
  45. package/lib/mssql-client.js +0 -61
  46. package/lib/mssql.js +0 -270
  47. package/lib/mysql-client.js +0 -62
  48. package/lib/mysql.js +0 -257
  49. package/lib/postgresql-client.js +0 -202
  50. package/lib/postgresql.js +0 -252
  51. package/lib/sqlite.js +0 -252
  52. package/lib/tools.js +0 -99
  53. package/main.js +0 -3482
@@ -14,7 +14,7 @@
14
14
  "6 months": "6 Monate",
15
15
  "Alias Info": "Wenn Alias-ID gesetzt ist, werden die Daten als diese ID in Datendateien protokolliert",
16
16
  "Allow parallel requests": "Gleichzeitige Anfragen erlauben",
17
- "Are you sure? All data will be dropped.": "Sollen wirklich alle Daten gelöscht werden? ",
17
+ "Are you sure? All data will be dropped.": "Sollen wirklich alle Daten gelöscht werden?",
18
18
  "Automatic": "Automatisch",
19
19
  "Block time": "Blockzeit",
20
20
  "Boolean": "Boolean",
@@ -52,10 +52,10 @@
52
52
  "Start or enable adapter first": "Adapter muss zuerst aktiviert werden",
53
53
  "Storage retention": "Aufbewahrungsdauer",
54
54
  "Store as": "Speichern als",
55
- "String": "Zeichenfolge",
55
+ "String": "Text",
56
56
  "Test connection": "Verbindung testen",
57
57
  "User": "Benutzer",
58
- "Write NULL values on start/stop boundaries": "Schreibe NULL-Werte an Start-/Stop-Grenzen",
58
+ "Write NULL values on start/stop boundaries": "Schreibe NULL-Werte an Start-/Stopp-Grenzen",
59
59
  "aliasId": "Alias-ID",
60
60
  "blockTime": "Alle neuen Werte für X ms nach dem letzten protokollierten Wert ignorieren",
61
61
  "debounce": "Änderungen ignorieren, bis der Wert für X Millisekunden unverändert bleibt",
@@ -14,7 +14,7 @@
14
14
  "6 months": "6 months",
15
15
  "Alias Info": "if Alias-ID is set, the data will be logged as this ID in database",
16
16
  "Allow parallel requests": "Allow parallel requests",
17
- "Are you sure? All data will be dropped.": "All data will be dropped. Are you sure? ",
17
+ "Are you sure? All data will be dropped.": "All data will be dropped. Are you sure?",
18
18
  "Automatic": "Automatic",
19
19
  "Block time": "Blocktime",
20
20
  "Boolean": "Boolean",
@@ -29,7 +29,7 @@
29
29
  "Default settings": "Default settings",
30
30
  "Disable charting optimized logging of skipped values": "Disable charting optimized logging of skipped values",
31
31
  "Do not create database (already created)": "Do not create database (already created)",
32
- "Enable enhanced debug logs for the datapoint": "Enable enhanced debug logs for the datapoint",
32
+ "Enable enhanced debug logs for the datapoint": "Enable enhanced debug logs for the state",
33
33
  "Encrypt": "Encrypt Database connection",
34
34
  "Enter a number or leave the field empty": "Enter a number or leave the field empty to not limit the recorded values",
35
35
  "File for sqlite": "File for sqlite",
@@ -10,15 +10,15 @@
10
10
  "2 years": "2 años",
11
11
  "3 days": "3 días",
12
12
  "3 months": "3 meses",
13
- "5 days": "5 dias",
13
+ "5 days": "5 días",
14
14
  "6 months": "6 meses",
15
15
  "Alias Info": "si se establece Alias-ID, los datos se registrarán como este ID en la base de datos",
16
16
  "Allow parallel requests": "Permitir solicitudes paralelas",
17
17
  "Are you sure? All data will be dropped.": "¿Estás seguro? Todos los datos serán eliminados.",
18
- "Automatic": "Automatycznyy",
19
- "Block time": "hora de bloque",
18
+ "Automatic": "Automático",
19
+ "Block time": "Tiempo de bloqueo",
20
20
  "Boolean": "Booleano",
21
- "Counter": "Mostrador",
21
+ "Counter": "Contador",
22
22
  "Custom retention duration (days)": "Duración de la retención personalizada (días)",
23
23
  "Custom timeframe": "Marco de tiempo personalizado",
24
24
  "DB Name": "Nombre de la base de datos",
@@ -38,29 +38,29 @@
38
38
  "Input path with the file name.": "P.ej. /opt/sqlite/data.db",
39
39
  "Maximum concurrent connections": "Máximas conexiones concurrentes",
40
40
  "Maximum concurrent connections:": "Máximo de conexiones simultáneas:",
41
- "Number": "Numer",
41
+ "Number": "Número",
42
42
  "Number of days to keep the data.": "Número de días para conservar los datos.",
43
- "Ok": "De acuerdo",
43
+ "Ok": "Ok",
44
44
  "Password": "Contraseña",
45
45
  "Password confirm": "Contraseña confirmada",
46
46
  "Password confirmation is not equal with password!": "La confirmación de la contraseña no es igual a la contraseña!",
47
47
  "Port": "Puerto",
48
48
  "Reject on SSL errors": "Rechazar en errores de SSL",
49
49
  "Reset DB": "Restablecer DB",
50
- "Round real to": "En consulta números redondos a",
50
+ "Round real to": "Al consultar, redondear los números a",
51
51
  "SQL history adapter settings": "Configuración del adaptador de historial SQL",
52
52
  "Start or enable adapter first": "Comience o habilite el adaptador primero",
53
53
  "Storage retention": "Retención de almacenamiento",
54
- "Store as": "Przechowuj jako",
55
- "String": "Strunowy",
54
+ "Store as": "Guardar como",
55
+ "String": "Cadena",
56
56
  "Test connection": "Conexión de prueba",
57
57
  "User": "Usuario",
58
58
  "Write NULL values on start/stop boundaries": "Escribe valores NULL en los límites de inicio / finalización",
59
59
  "aliasId": "Alias-ID",
60
60
  "blockTime": "Ignorar todos los valores nuevos para X ms después del último valor registrado",
61
61
  "debounce": "Intervalo de rebote (ms)",
62
- "ignore values above x": "Ignorar los valores anteriores",
63
- "ignore values below x": "Ignorar valores a continuación",
62
+ "ignore values above x": "Ignorar valores superiores",
63
+ "ignore values below x": "Ignorar valores inferiores",
64
64
  "ignore values below zero": "ignorar valores por debajo de cero (<0)",
65
65
  "ignore zero or null values": "ignorar valores cero o nulos (== 0)",
66
66
  "keep forever": "mantener para siempre",
@@ -70,4 +70,4 @@
70
70
  "note": "La configuración del historial se debe realizar para cada estado individualmente en la pestaña \"Estados\" y solo si el adaptador está activo",
71
71
  "requestInterval": "Pausa entre solicitudes (ms)",
72
72
  "retention": "Retención de almacenamiento"
73
- }
73
+ }
@@ -70,4 +70,4 @@
70
70
  "note": "Les paramètres d'historique doivent être définis pour chaque état individuellement dans l'onglet \"Etats\" et uniquement si l'adaptateur est actif",
71
71
  "requestInterval": "Pause entre les demandes (ms)",
72
72
  "retention": "Rétention de stockage"
73
- }
73
+ }
@@ -70,4 +70,4 @@
70
70
  "note": "Le impostazioni della cronologia devono essere eseguite singolarmente per ogni stato nella scheda \"Stati\" e solo se l'adattatore è attivo",
71
71
  "requestInterval": "Pausa tra le richieste (ms)",
72
72
  "retention": "Conservazione dello spazio"
73
- }
73
+ }
@@ -70,4 +70,4 @@
70
70
  "note": "Geschiedenisinstellingen moeten voor elke afzonderlijke status worden uitgevoerd op het tabblad \"Staten\" en alleen als de adapter actief is",
71
71
  "requestInterval": "Pauzeren tussen verzoeken (ms)",
72
72
  "retention": "Bewaring van opslag"
73
- }
73
+ }
@@ -70,4 +70,4 @@
70
70
  "note": "Ustawienia historii muszą być wykonane dla każdego stanu indywidualnie na karcie \"Stany\" i tylko wtedy, gdy adapter jest aktywny",
71
71
  "requestInterval": "Wstrzymaj między żądaniami (ms)",
72
72
  "retention": "Zatrzymanie przechowywania"
73
- }
73
+ }
@@ -70,4 +70,4 @@
70
70
  "note": "As configurações de histórico devem ser feitas para cada estado individual na guia \"Estados\" e somente se o adaptador estiver ativo",
71
71
  "requestInterval": "Pausa entre solicitações (ms)",
72
72
  "retention": "Retenção de armazenamento"
73
- }
73
+ }
@@ -70,4 +70,4 @@
70
70
  "note": "Настройки history делаются для каждого состояния отдельно в закладке \"Состояния\" и только, когда инстанция активирована",
71
71
  "requestInterval": "Пауза между запросами к базе",
72
72
  "retention": "Время хранения в базе"
73
- }
73
+ }