diff --git a/package-lock.json b/package-lock.json index e0791c37..64dda747 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,35 +1,35 @@ { "name": "web", - "version": "0.100.2-dev", + "version": "0.100.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "web", - "version": "0.100.2-dev", + "version": "0.100.5", "dependencies": { - "@quasar/extras": "1.14.2", - "apexcharts": "3.35.3", + "@quasar/extras": "1.15.0", + "apexcharts": "3.35.4", "axios": "0.27.2", "dotenv": "16.0.1", "qrcode.vue": "3.3.3", "quasar": "2.7.5", "vue": "3.2.37", - "vue-router": "4.1.1", + "vue-router": "4.1.2", "vue3-ace-editor": "2.2.2", "vue3-apexcharts": "1.4.1", "vuedraggable": "4.1.0", "vuex": "4.0.2" }, "devDependencies": { - "@intlify/vite-plugin-vue-i18n": "^3.4.0", + "@intlify/vite-plugin-vue-i18n": "^5.0.1", "@quasar/app-vite": "^1.0.5", "@quasar/cli": "^1.3.2", - "@types/node": "^18.0.3", + "@types/node": "^18.6.1", "@typescript-eslint/eslint-plugin": "^5.30.5", "@typescript-eslint/parser": "^5.30.5", "autoprefixer": "^10.4.7", - "eslint": "^8.18.0", + "eslint": "^8.20.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-vue": "^8.5.0", "prettier": "^2.7.1", @@ -162,30 +162,33 @@ } }, "node_modules/@intlify/vite-plugin-vue-i18n": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@intlify/vite-plugin-vue-i18n/-/vite-plugin-vue-i18n-3.4.0.tgz", - "integrity": "sha512-XXcZBgwJ+3FRu11c4ARoY9N00kElPii0/jNZ49qR045Ka7/YGCwb1Ku14BBlMSEHiHDSjLQknLwrJKSQGVZLyA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@intlify/vite-plugin-vue-i18n/-/vite-plugin-vue-i18n-5.0.1.tgz", + "integrity": "sha512-+LAUdm5PxGtLrUYgD2Wg9SINmLmhZqrcTnzccfqopca5NvaXWOPnQR4cQOkn82qLuyjWdCYC1BoqMHWBWX/MyQ==", "dev": true, "dependencies": { - "@intlify/bundle-utils": "^2.2.2", - "@intlify/shared": "^9.1.0", - "@rollup/pluginutils": "^4.1.0", + "@intlify/bundle-utils": "next", + "@intlify/shared": "next", + "@rollup/pluginutils": "^4.2.0", "debug": "^4.3.1", "fast-glob": "^3.2.5", "source-map": "0.6.1" }, "engines": { - "node": ">= 12" + "node": ">= 14.6" }, "peerDependencies": { - "petite-vue-i18n": "^9.1.0", - "vite": "^2.0.0", - "vue-i18n": "^9.1.0" + "petite-vue-i18n": "*", + "vite": "^2.9.0 || ^3.0.0", + "vue-i18n": "*" }, "peerDependenciesMeta": { "petite-vue-i18n": { "optional": true }, + "vite": { + "optional": true + }, "vue-i18n": { "optional": true } @@ -395,9 +398,9 @@ } }, "node_modules/@quasar/extras": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/@quasar/extras/-/extras-1.14.2.tgz", - "integrity": "sha512-F9T1aIhRIiuJeuxPCu2CBlPj5js6mBZWQOAHHyVlreNa5qhVEHhr/9GfljG6RTnjvTNOjJraTl0hi8g0IuUfLw==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/@quasar/extras/-/extras-1.15.0.tgz", + "integrity": "sha512-e5IHHqo3i/u7yWdcdspBbthnrDDZ3VRXaQoyhEEy526lzITFAw3hnlt4h7YnZ6Ck6gVIM0YbCaZbKaQYfKPOzQ==", "funding": { "type": "github", "url": "https://donate.quasar.dev" @@ -581,9 +584,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", - "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==", + "version": "18.6.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.6.1.tgz", + "integrity": "sha512-z+2vB6yDt1fNwKOeGbckpmirO+VBDuQqecXkgeIqDlaOtmKn6hPR/viQ8cxCfqLU4fTlvM3+YjM367TukWdxpg==", "dev": true }, "node_modules/@types/qs": { @@ -1029,9 +1032,9 @@ } }, "node_modules/apexcharts": { - "version": "3.35.3", - "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.35.3.tgz", - "integrity": "sha512-UDlxslJr3DG63I/SgoiivIu4lpP25GMaKFK8NvCHmTksTQshx4ng3oPPrYvdsBFOvD/ajPYIh/p7rNB0jq8vXg==", + "version": "3.35.4", + "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.35.4.tgz", + "integrity": "sha512-dsXjETHF2OmKtxNv66wBeFGU2qtZQnr6kp/vcNY05GWs4vcBepg54qNgOJ2Gp/gXskiGw/frrmIKGi8lJ/UDnQ==", "dependencies": { "svg.draggable.js": "^2.2.2", "svg.easing.js": "^2.0.0", @@ -3011,9 +3014,9 @@ } }, "node_modules/eslint": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.18.0.tgz", - "integrity": "sha512-As1EfFMVk7Xc6/CvhssHUjsAQSkpfXvUGMFC3ce8JDe6WvqCgRrLOBQbVpsBFr1X1V+RACOadnzVvcUS5ni2bA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.20.0.tgz", + "integrity": "sha512-d4ixhz5SKCa1D6SCPrivP7yYVi7nyD6A4vs6HIAul9ujBzcEmZVM3/0NN/yu5nKhmO1wjp5xQ46iRfmDGlOviA==", "dev": true, "dependencies": { "@eslint/eslintrc": "^1.3.0", @@ -7324,9 +7327,9 @@ } }, "node_modules/vue-router": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.1.1.tgz", - "integrity": "sha512-Wp1mEf2xCwT0ez7o9JvgpfBp9JGnVb+dPERzXDbugTatzJAJ60VWOhJKifQty85k+jOreoFHER4r5fu062PhPw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.1.2.tgz", + "integrity": "sha512-5BP1qXFncVRwgV/XnqzsKApdMjQPqWIpoUBdL1ynz8HyLxIX/UDAx7Ql2BjmA5CXT/p61JfZvkpiFWFpaqcfag==", "dependencies": { "@vue/devtools-api": "^6.1.4" }, @@ -7698,14 +7701,14 @@ "dev": true }, "@intlify/vite-plugin-vue-i18n": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@intlify/vite-plugin-vue-i18n/-/vite-plugin-vue-i18n-3.4.0.tgz", - "integrity": "sha512-XXcZBgwJ+3FRu11c4ARoY9N00kElPii0/jNZ49qR045Ka7/YGCwb1Ku14BBlMSEHiHDSjLQknLwrJKSQGVZLyA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@intlify/vite-plugin-vue-i18n/-/vite-plugin-vue-i18n-5.0.1.tgz", + "integrity": "sha512-+LAUdm5PxGtLrUYgD2Wg9SINmLmhZqrcTnzccfqopca5NvaXWOPnQR4cQOkn82qLuyjWdCYC1BoqMHWBWX/MyQ==", "dev": true, "requires": { - "@intlify/bundle-utils": "^2.2.2", - "@intlify/shared": "^9.1.0", - "@rollup/pluginutils": "^4.1.0", + "@intlify/bundle-utils": "next", + "@intlify/shared": "next", + "@rollup/pluginutils": "^4.2.0", "debug": "^4.3.1", "fast-glob": "^3.2.5", "source-map": "0.6.1" @@ -7846,9 +7849,9 @@ } }, "@quasar/extras": { - "version": "1.14.2", - "resolved": "https://registry.npmjs.org/@quasar/extras/-/extras-1.14.2.tgz", - "integrity": "sha512-F9T1aIhRIiuJeuxPCu2CBlPj5js6mBZWQOAHHyVlreNa5qhVEHhr/9GfljG6RTnjvTNOjJraTl0hi8g0IuUfLw==" + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/@quasar/extras/-/extras-1.15.0.tgz", + "integrity": "sha512-e5IHHqo3i/u7yWdcdspBbthnrDDZ3VRXaQoyhEEy526lzITFAw3hnlt4h7YnZ6Ck6gVIM0YbCaZbKaQYfKPOzQ==" }, "@quasar/fastclick": { "version": "1.1.5", @@ -8004,9 +8007,9 @@ "dev": true }, "@types/node": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", - "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==", + "version": "18.6.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.6.1.tgz", + "integrity": "sha512-z+2vB6yDt1fNwKOeGbckpmirO+VBDuQqecXkgeIqDlaOtmKn6hPR/viQ8cxCfqLU4fTlvM3+YjM367TukWdxpg==", "dev": true }, "@types/qs": { @@ -8321,9 +8324,9 @@ } }, "apexcharts": { - "version": "3.35.3", - "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.35.3.tgz", - "integrity": "sha512-UDlxslJr3DG63I/SgoiivIu4lpP25GMaKFK8NvCHmTksTQshx4ng3oPPrYvdsBFOvD/ajPYIh/p7rNB0jq8vXg==", + "version": "3.35.4", + "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.35.4.tgz", + "integrity": "sha512-dsXjETHF2OmKtxNv66wBeFGU2qtZQnr6kp/vcNY05GWs4vcBepg54qNgOJ2Gp/gXskiGw/frrmIKGi8lJ/UDnQ==", "requires": { "svg.draggable.js": "^2.2.2", "svg.easing.js": "^2.0.0", @@ -9760,9 +9763,9 @@ "dev": true }, "eslint": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.18.0.tgz", - "integrity": "sha512-As1EfFMVk7Xc6/CvhssHUjsAQSkpfXvUGMFC3ce8JDe6WvqCgRrLOBQbVpsBFr1X1V+RACOadnzVvcUS5ni2bA==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.20.0.tgz", + "integrity": "sha512-d4ixhz5SKCa1D6SCPrivP7yYVi7nyD6A4vs6HIAul9ujBzcEmZVM3/0NN/yu5nKhmO1wjp5xQ46iRfmDGlOviA==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.0", @@ -13011,9 +13014,9 @@ } }, "vue-router": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.1.1.tgz", - "integrity": "sha512-Wp1mEf2xCwT0ez7o9JvgpfBp9JGnVb+dPERzXDbugTatzJAJ60VWOhJKifQty85k+jOreoFHER4r5fu062PhPw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.1.2.tgz", + "integrity": "sha512-5BP1qXFncVRwgV/XnqzsKApdMjQPqWIpoUBdL1ynz8HyLxIX/UDAx7Ql2BjmA5CXT/p61JfZvkpiFWFpaqcfag==", "requires": { "@vue/devtools-api": "^6.1.4" } diff --git a/package.json b/package.json index 359dea09..20a7a8a0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web", - "version": "0.100.5", + "version": "0.100.6", "private": true, "productName": "Tactical RMM", "scripts": { @@ -10,8 +10,8 @@ "format": "prettier --write \"**/*.{js,ts,vue,,html,md,json}\" --ignore-path .gitignore" }, "dependencies": { - "@quasar/extras": "1.14.2", - "apexcharts": "3.35.3", + "@quasar/extras": "1.15.0", + "apexcharts": "3.35.4", "axios": "0.27.2", "dotenv": "16.0.1", "qrcode.vue": "3.3.3", @@ -20,18 +20,18 @@ "vue3-ace-editor": "2.2.2", "vue3-apexcharts": "1.4.1", "vuedraggable": "4.1.0", - "vue-router": "4.1.1", + "vue-router": "4.1.2", "vuex": "4.0.2" }, "devDependencies": { "@quasar/cli": "^1.3.2", - "@intlify/vite-plugin-vue-i18n": "^3.4.0", + "@intlify/vite-plugin-vue-i18n": "^5.0.1", "@quasar/app-vite": "^1.0.5", - "@types/node": "^18.0.3", + "@types/node": "^18.6.1", "@typescript-eslint/eslint-plugin": "^5.30.5", "@typescript-eslint/parser": "^5.30.5", "autoprefixer": "^10.4.7", - "eslint": "^8.18.0", + "eslint": "^8.20.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-vue": "^8.5.0", "prettier": "^2.7.1", diff --git a/src/components/modals/agents/PatchPolicyForm.vue b/src/components/modals/agents/PatchPolicyForm.vue index ee87d602..e2b33dce 100644 --- a/src/components/modals/agents/PatchPolicyForm.vue +++ b/src/components/modals/agents/PatchPolicyForm.vue @@ -129,37 +129,37 @@
diff --git a/src/components/modals/agents/RebootLater.vue b/src/components/modals/agents/RebootLater.vue index 43465938..9d6cdef6 100644 --- a/src/components/modals/agents/RebootLater.vue +++ b/src/components/modals/agents/RebootLater.vue @@ -63,11 +63,14 @@ export default { loading.value = true; try { - await scheduleAgentReboot(props.agent.agent_id, state.value); + const ret = await scheduleAgentReboot( + props.agent.agent_id, + state.value + ); $q.dialog({ title: "Reboot pending", style: "width: 40vw", - message: `A reboot has been scheduled for ${state.value.datetime} on ${props.agent.hostname}. + message: `A reboot has been scheduled for ${ret.time} on ${props.agent.hostname}.
It can be cancelled from the Pending Actions menu until the scheduled time.`, html: true, }).onDismiss(onDialogOK); diff --git a/src/components/tasks/AutomatedTaskForm.vue b/src/components/tasks/AutomatedTaskForm.vue index eb598139..3981455a 100644 --- a/src/components/tasks/AutomatedTaskForm.vue +++ b/src/components/tasks/AutomatedTaskForm.vue @@ -991,10 +991,16 @@ export default { : []; // remove milliseconds and Z to work with native date input - task.value.run_time_date = formatDateInputField(task.value.run_time_date); + task.value.run_time_date = formatDateInputField( + task.value.run_time_date, + true + ); if (task.value.expire_date) - task.value.expire_date = formatDateInputField(task.value.expire_date); + task.value.expire_date = formatDateInputField( + task.value.expire_date, + true + ); // set task type if monthlydow is being used if (task.value.task_type === "monthlydow") {