ultravisor 1.3.17 → 1.3.18
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.
- package/package.json +1 -1
- package/source/services/persistence/Ultravisor-Timeline-Store.cjs +16 -6
- package/webinterface/dist/favicons/apple-touch-icon.png +0 -0
- package/webinterface/dist/favicons/favicon-16.png +0 -0
- package/webinterface/dist/favicons/favicon-192.png +0 -0
- package/webinterface/dist/favicons/favicon-32.png +0 -0
- package/webinterface/dist/favicons/favicon-48.png +0 -0
- package/webinterface/dist/favicons/favicon-512.png +0 -0
- package/webinterface/dist/favicons/favicon-64.png +0 -0
- package/webinterface/html/favicons/apple-touch-icon.png +0 -0
- package/webinterface/html/favicons/favicon-16.png +0 -0
- package/webinterface/html/favicons/favicon-192.png +0 -0
- package/webinterface/html/favicons/favicon-32.png +0 -0
- package/webinterface/html/favicons/favicon-48.png +0 -0
- package/webinterface/html/favicons/favicon-512.png +0 -0
- package/webinterface/html/favicons/favicon-64.png +0 -0
- package/webinterface/package-lock.json +10 -10
package/package.json
CHANGED
|
@@ -591,13 +591,23 @@ class UltravisorTimelineStore extends libPictService
|
|
|
591
591
|
WHERE At < ?
|
|
592
592
|
`);
|
|
593
593
|
let tmpDelete = tmpDB.prepare('DELETE FROM TimelineRecord WHERE At < ?');
|
|
594
|
-
|
|
594
|
+
// node:sqlite's DatabaseSync has no `.transaction(fn)` helper (that
|
|
595
|
+
// was a better-sqlite3 idiom). Bracket the INSERT-then-DELETE
|
|
596
|
+
// manually to keep the archive move atomic.
|
|
597
|
+
let tmpResult;
|
|
598
|
+
tmpDB.exec('BEGIN');
|
|
599
|
+
try
|
|
595
600
|
{
|
|
596
|
-
let tmpRes = tmpInsert.run(
|
|
597
|
-
let tmpDelRes = tmpDelete.run(
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
+
let tmpRes = tmpInsert.run(tmpNow, pCutoffIso);
|
|
602
|
+
let tmpDelRes = tmpDelete.run(pCutoffIso);
|
|
603
|
+
tmpDB.exec('COMMIT');
|
|
604
|
+
tmpResult = { Inserted: tmpRes.changes, Deleted: tmpDelRes.changes };
|
|
605
|
+
}
|
|
606
|
+
catch (pTxError)
|
|
607
|
+
{
|
|
608
|
+
tmpDB.exec('ROLLBACK');
|
|
609
|
+
throw pTxError;
|
|
610
|
+
}
|
|
601
611
|
if (tmpResult.Inserted !== tmpResult.Deleted)
|
|
602
612
|
{
|
|
603
613
|
this.log.warn(`TimelineStore: archive insert/delete mismatch (${tmpResult.Inserted}/${tmpResult.Deleted})`);
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6010,9 +6010,9 @@
|
|
|
6010
6010
|
"license": "MIT"
|
|
6011
6011
|
},
|
|
6012
6012
|
"node_modules/electron-to-chromium": {
|
|
6013
|
-
"version": "1.5.
|
|
6014
|
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.
|
|
6015
|
-
"integrity": "sha512-
|
|
6013
|
+
"version": "1.5.367",
|
|
6014
|
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.367.tgz",
|
|
6015
|
+
"integrity": "sha512-4Mk/mrynCNQ+atY40D3UpmhLWB6AHMbYMlIrPhHcMF6x0L7O0b052FCAsxw1LlaR++UFuNg3D/A6XCuGDa0guQ==",
|
|
6016
6016
|
"dev": true,
|
|
6017
6017
|
"license": "ISC"
|
|
6018
6018
|
},
|
|
@@ -10154,24 +10154,24 @@
|
|
|
10154
10154
|
"license": "MIT"
|
|
10155
10155
|
},
|
|
10156
10156
|
"node_modules/meadow-integration": {
|
|
10157
|
-
"version": "1.0.
|
|
10158
|
-
"resolved": "https://registry.npmjs.org/meadow-integration/-/meadow-integration-1.0.
|
|
10159
|
-
"integrity": "sha512-
|
|
10157
|
+
"version": "1.0.42",
|
|
10158
|
+
"resolved": "https://registry.npmjs.org/meadow-integration/-/meadow-integration-1.0.42.tgz",
|
|
10159
|
+
"integrity": "sha512-ISIjE4ALabMQ0RDbBuDfHLsa2Yd/09TCIoP3wTcnrosZhgrC/0T+vvhUgxnqlPmaN/JWkRiPErbMapV8+V0q6g==",
|
|
10160
10160
|
"dev": true,
|
|
10161
10161
|
"license": "MIT",
|
|
10162
10162
|
"dependencies": {
|
|
10163
10163
|
"fable": "^3.1.75",
|
|
10164
10164
|
"fable-serviceproviderbase": "^3.0.19",
|
|
10165
10165
|
"fast-xml-parser": "^4.4.1",
|
|
10166
|
-
"meadow": "^2.0.
|
|
10166
|
+
"meadow": "^2.0.43",
|
|
10167
10167
|
"meadow-connection-mssql": "^1.0.23",
|
|
10168
10168
|
"meadow-connection-mysql": "^1.0.19",
|
|
10169
10169
|
"orator": "^6.1.2",
|
|
10170
10170
|
"orator-serviceserver-restify": "^2.0.11",
|
|
10171
|
-
"pict-provider-theme": "^1.
|
|
10171
|
+
"pict-provider-theme": "^1.1.2",
|
|
10172
10172
|
"pict-section-flow": "^1.0.1",
|
|
10173
|
-
"pict-section-modal": "^1.1.
|
|
10174
|
-
"pict-section-theme": "^1.
|
|
10173
|
+
"pict-section-modal": "^1.1.4",
|
|
10174
|
+
"pict-section-theme": "^1.1.1",
|
|
10175
10175
|
"pict-service-commandlineutility": "^1.0.19",
|
|
10176
10176
|
"pict-sessionmanager": "^1.0.2",
|
|
10177
10177
|
"pict-view": "^1.0.68",
|