Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a72af00c0a | ||
|
|
576f3ee4fa | ||
|
|
2ee53b26bb | ||
|
|
414a05bf7b | ||
|
|
bb83dcda11 | ||
|
|
4f34b63fc0 | ||
|
|
ae058ca2d0 | ||
|
|
53e394eddd | ||
|
|
25221ca6cb | ||
|
|
e7999d5577 | ||
|
|
9545fc76bb | ||
|
|
3e0607fc9b | ||
|
|
f6eb37928b | ||
|
|
e16694eae8 | ||
|
|
d786d88348 | ||
|
|
bce06f0e1b | ||
|
|
294f48124f | ||
|
|
cc77c47d54 | ||
|
|
6a0f19926e | ||
|
|
45198d7d93 | ||
|
|
54c78e2735 | ||
|
|
659504f77e | ||
|
|
e81ba35909 | ||
|
|
feb9579ae1 | ||
|
|
35013e755c | ||
|
|
4b5f03b886 | ||
|
|
7dc16da940 | ||
|
|
08bd7440a9 | ||
|
|
2e0ba91e50 | ||
|
|
ca79e3b63e |
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mainsail",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
||||
+15
-1
@@ -45,7 +45,15 @@
|
||||
)
|
||||
">
|
||||
<v-icon>mdi-{{ category.icon }}</v-icon>
|
||||
<span class="nav-title">{{ category.title }}</span>
|
||||
<v-badge
|
||||
dot
|
||||
color="warning"
|
||||
style="top: -9px; left: -16px;"
|
||||
v-if="category.title === 'Settings' && isUpdateAvailable"
|
||||
></v-badge>
|
||||
<span class="nav-title">
|
||||
{{ category.title }}
|
||||
</span>
|
||||
<v-icon class="nav-arrow" v-if="category.children && category.children.length > 0">mdi-chevron-down</v-icon>
|
||||
</router-link>
|
||||
|
||||
@@ -185,6 +193,7 @@ export default {
|
||||
...mapGetters([
|
||||
'getTitle',
|
||||
'getVersion',
|
||||
'server/updateManager/isUpdateAvailable',
|
||||
]),
|
||||
print_percent: {
|
||||
get() {
|
||||
@@ -211,6 +220,11 @@ export default {
|
||||
return this.$store.getters["files/getCustomStylesheet"]
|
||||
}
|
||||
},
|
||||
isUpdateAvailable: {
|
||||
get() {
|
||||
return this.$store.getters["server/updateManager/isUpdateAvailable"]
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
clickEmergencyStop: function() {
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
</v-toolbar-title>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn v-if="!isConnecting && !connectingFailed && !dialogAddPrinter.bool && !dialogEditPrinter.bool && this['farm/countPrinters'] > 0" small class="minwidth-0" @click="checkPrinters"><v-icon small>mdi-sync</v-icon></v-btn>
|
||||
<v-btn small class="minwidth-0" v-if="!isConnecting && !connectingFailed && dialogAddPrinter.bool" @click="dialogAddPrinter.bool = false"><v-icon small>mdi-close-thick</v-icon></v-btn>
|
||||
<v-btn small class="minwidth-0" v-if="!isConnecting && !connectingFailed && dialogEditPrinter.bool" @click="dialogEditPrinter.bool = false"><v-icon small>mdi-close-thick</v-icon></v-btn>
|
||||
</v-toolbar>
|
||||
<v-card-text class="pt-5" v-if="isConnecting">
|
||||
<v-progress-linear color="white" indeterminate></v-progress-linear>
|
||||
@@ -35,7 +37,11 @@
|
||||
<v-col class="col-8">
|
||||
<v-text-field
|
||||
v-model="dialogAddPrinter.hostname"
|
||||
:rules="[v => !!v || 'Hostname is required']"
|
||||
:rules="[
|
||||
v => !!v || 'Hostname is required',
|
||||
v => !v.startsWith('http:') || 'invalid hostname/IP',
|
||||
v => !v.startsWith('https:') || 'invalid hostname/IP',
|
||||
]"
|
||||
label="Hostname/IP"
|
||||
required
|
||||
></v-text-field>
|
||||
@@ -69,7 +75,11 @@
|
||||
<v-col class="col-8">
|
||||
<v-text-field
|
||||
v-model="dialogEditPrinter.hostname"
|
||||
:rules="[v => !!v || 'Hostname is required']"
|
||||
:rules="[
|
||||
v => !!v || 'Hostname is required',
|
||||
v => !v.startsWith('http:') || 'invalid hostname/IP',
|
||||
v => !v.startsWith('https:') || 'invalid hostname/IP',
|
||||
]"
|
||||
label="Hostname/IP"
|
||||
required
|
||||
></v-text-field>
|
||||
|
||||
@@ -128,8 +128,11 @@ export default {
|
||||
return items;
|
||||
},
|
||||
close() {
|
||||
if (this.application === "client" && this.complete) window.location.reload(true)
|
||||
else this.$store.commit('server/updateManager/resetUpdateResponse')
|
||||
if (this.application !== null && this.complete && ["client", "mainsail"].includes(this.application.toLowerCase())) window.location.reload(true)
|
||||
else {
|
||||
this.$store.commit('server/updateManager/resetUpdateResponse')
|
||||
this.$socket.sendObj('machine.update.status', { refresh: false }, 'server/updateManager/getStatus')
|
||||
}
|
||||
}
|
||||
},
|
||||
updated(){
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
</v-card-text>
|
||||
<v-divider class="my-2" v-if="klippy_connected" ></v-divider>
|
||||
<v-card-text class="px-4 pt-2 pb-4 content text-center text-lg-left" v-if="klippy_connected">
|
||||
<v-btn small @click="doRestart" color="error" class=""><v-icon class="mr-sm-2">mdi-cached</v-icon>Restart</v-btn>
|
||||
<v-btn small @click="doRestartFirmware" class="ml-4" color="error"><v-icon class="mr-sm-2">mdi-cached</v-icon>FIRMWARE Restart</v-btn>
|
||||
<v-btn small @click="doRestart" color="error" class=""><v-icon class="mr-sm-2">mdi-restart</v-icon>Restart</v-btn>
|
||||
<v-btn small @click="doRestartFirmware" class="ml-4" color="error"><v-icon class="mr-sm-2">mdi-restart</v-icon>FIRMWARE Restart</v-btn>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
!boolMacroResume ||
|
||||
!boolMacroCancelPrint
|
||||
">
|
||||
<v-toolbar flat dense>
|
||||
<v-toolbar flat dense color="orange darken-2">
|
||||
<v-toolbar-title>
|
||||
<span class="subheading">
|
||||
<v-icon class="mdi mdi-alert-circle" left></v-icon>Missing configuration
|
||||
@@ -19,13 +19,15 @@
|
||||
<v-card-text class="px-0 pt-0 pb-2 content">
|
||||
<v-layout wrap class=" text-center">
|
||||
<v-flex col class="text-left">
|
||||
<p v-if="!boolVirtualSdcard"><code>virtual_sdcard</code> is not defined in config.</p>
|
||||
<p v-if="!boolPauseResume"><code>pause_resume</code> is not defined in config.</p>
|
||||
<p v-if="!boolDisplayStatus"><code>display_status</code> is not defined in config.</p>
|
||||
<p v-if="!boolMacroPause"><code>gcode_macro PAUSE</code> is not defined in config.</p>
|
||||
<p v-if="!boolMacroResume"><code>gcode_macro RESUME</code> is not defined in config.</p>
|
||||
<p v-if="!boolMacroCancelPrint"><code>gcode_macro CANCEL_PRINT</code> is not defined in config.</p>
|
||||
<p class="mb-0"><a href="https://meteyou.github.io/mainsail/necessary-configuration" target="_blank">Here you will find more information.</a></p>
|
||||
<p v-if="!boolVirtualSdcard" class="orange--text"><code>virtual_sdcard</code> is not defined in config.</p>
|
||||
<p v-if="!boolPauseResume" class="orange--text"><code>pause_resume</code> is not defined in config.</p>
|
||||
<p v-if="!boolDisplayStatus" class="orange--text"><code>display_status</code> is not defined in config.</p>
|
||||
<p v-if="!boolMacroPause" class="orange--text"><code>gcode_macro PAUSE</code> is not defined in config.</p>
|
||||
<p v-if="!boolMacroResume" class="orange--text"><code>gcode_macro RESUME</code> is not defined in config.</p>
|
||||
<p v-if="!boolMacroCancelPrint" class="orange--text"><code>gcode_macro CANCEL_PRINT</code> is not defined in config.</p>
|
||||
<div class="text-center">
|
||||
<v-btn href="https://docs.mainsail.xyz/necessary-configuration" target="_blank" color="white" outlined small><v-icon small class="mr-1">mdi-information</v-icon>more information</v-btn>
|
||||
</div>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-card-text>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<v-card
|
||||
class="mb-6">
|
||||
<v-toolbar flat dense>
|
||||
<v-toolbar flat dense color="orange darken-2">
|
||||
<v-toolbar-title>
|
||||
<span class="subheading">
|
||||
<v-icon class="mdi mdi-alert-circle" left></v-icon>Moonraker Failed Plugins
|
||||
@@ -11,10 +11,10 @@
|
||||
<v-card-text class="px-0 pt-0 pb-2 content">
|
||||
<v-layout wrap class=" text-center">
|
||||
<v-flex col class="text-left">
|
||||
<p>An error was detected while loading the moonraker plugins. Please check the logfile and fix the issue.</p>
|
||||
<p class="mb-2">Following plugin has an error:</p>
|
||||
<p class="orange--text">An error was detected while loading the moonraker plugins. Please check the logfile and fix the issue.</p>
|
||||
<p class="mb-2 orange--text">Following plugin has an error:</p>
|
||||
<ul class="mt-0 pt-0">
|
||||
<li v-for="plugin in failedPlugins" v-bind:key="plugin"><code>{{ plugin }}</code></li>
|
||||
<li v-for="plugin in failedPlugins" v-bind:key="plugin" class="orange--text"><code>{{ plugin }}</code></li>
|
||||
</ul>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
@@ -40,14 +40,5 @@
|
||||
port: state => state.socket.port,
|
||||
}),
|
||||
},
|
||||
created() {
|
||||
this.refreshConfig();
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
watch: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -132,9 +132,9 @@
|
||||
<v-toolbar-title>{{ editor.item.filename }}</v-toolbar-title>
|
||||
<v-spacer></v-spacer>
|
||||
<v-toolbar-items>
|
||||
<v-btn dark text href="https://www.klipper3d.org/Config_Reference.html" target="_blank"><v-icon small class="mr-1">mdi-help</v-icon>Config Reference</v-btn>
|
||||
<v-btn dark text @click="saveFile(false)" v-if="currentPath !== '/config_examples'"><v-icon small class="mr-1">mdi-content-save</v-icon>Save</v-btn>
|
||||
<v-btn dark text @click="saveFile(true)" v-if="currentPath !== '/config_examples' && !['printing', 'paused'].includes(printer_state)"><v-icon small class="mr-1">mdi-restart</v-icon>Save & restart</v-btn>
|
||||
<v-btn dark text href="https://www.klipper3d.org/Config_Reference.html" target="_blank" class="d-none d-md-flex"><v-icon small class="mr-1">mdi-help</v-icon>Config Reference</v-btn>
|
||||
<v-btn dark text @click="saveFile(false)" v-if="currentPath !== '/config_examples'"><v-icon small class="mr-1">mdi-content-save</v-icon><span class="d-none d-sm-inline">Save</span></v-btn>
|
||||
<v-btn dark text @click="saveFile(true)" v-if="currentPath !== '/config_examples' && !['printing', 'paused'].includes(printer_state)" class="d-none d-sm-flex"><v-icon small class="mr-1">mdi-restart</v-icon>Save & restart</v-btn>
|
||||
</v-toolbar-items>
|
||||
</v-toolbar>
|
||||
<prism-editor class="my-editor" v-model="editor.sourcecode" :readonly="editor.readonly" :highlight="highlighter" line-numbers></prism-editor>
|
||||
@@ -380,7 +380,7 @@
|
||||
|
||||
this.files = findDirectory(this.filetree, dirArray);
|
||||
if (dirArray.length === 1 && this.currentPath === "") {
|
||||
this.files = this.files.filter(element => element.filename !== "gcodes");
|
||||
this.files = this.files.filter(element => !["gcodes", "docs"].includes(element.filename))
|
||||
}
|
||||
|
||||
if (!this.showHiddenFiles) {
|
||||
@@ -427,7 +427,9 @@
|
||||
this.editor.show = false;
|
||||
this.editor.sourcecode = "";
|
||||
|
||||
if (boolRestart) {
|
||||
if (boolRestart && this.editor.item.filename === "moonraker.conf") {
|
||||
this.$socket.sendObj('machine.services.restart', { service: "moonraker" })
|
||||
} else if (boolRestart) {
|
||||
this.$store.commit('server/addEvent', { message: "FIRMWARE_RESTART", type: 'command' })
|
||||
this.$socket.sendObj('printer.gcode.script', { script: "FIRMWARE_RESTART" })
|
||||
}
|
||||
@@ -449,7 +451,7 @@
|
||||
let filename = (this.currentPath+"/"+this.contextMenu.item.filename);
|
||||
let link = document.createElement("a");
|
||||
link.download = name;
|
||||
link.href = '//' + this.hostname + ':' + this.port + '/server/files/' + filename;
|
||||
link.href = '//' + this.hostname + ':' + this.port + '/server/files' + filename;
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
document.body.removeChild(link);
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
<v-checkbox
|
||||
v-model="dialog.values[heater.name].bool"
|
||||
hide-details
|
||||
class="shrink mr-2 mt-0"
|
||||
class="shrink mt-0"
|
||||
></v-checkbox>
|
||||
<v-text-field
|
||||
v-model="dialog.values[heater.name].value"
|
||||
@@ -92,7 +92,7 @@
|
||||
<v-checkbox
|
||||
v-model="dialog.values['temperature_fan '+fan.name].bool"
|
||||
hide-details
|
||||
class="shrink mr-2 mt-0"
|
||||
class="shrink mt-0"
|
||||
></v-checkbox>
|
||||
<v-text-field
|
||||
v-model="dialog.values['temperature_fan '+fan.name].value"
|
||||
@@ -109,9 +109,15 @@
|
||||
name="input-7-4"
|
||||
label="Custom G-Code"
|
||||
v-model="dialog.gcode"
|
||||
hide-details="auto"
|
||||
></v-textarea>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="mt-3" v-if="dialog.boolInvalidMin">
|
||||
<v-col class="py-0">
|
||||
<v-alert dense text type="error">You have to set minimum a target temperature or a custom gcode.</v-alert>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="mt-3">
|
||||
<v-col class="text-center">
|
||||
<v-btn
|
||||
@@ -202,6 +208,7 @@
|
||||
name: "",
|
||||
gcode: "",
|
||||
index: null,
|
||||
boolInvalidMin: false,
|
||||
values: {},
|
||||
},
|
||||
rules: {
|
||||
@@ -230,10 +237,11 @@
|
||||
this.clearDialog()
|
||||
},
|
||||
methods: {
|
||||
convertName: convertName,
|
||||
convertPresetName(name, value) {
|
||||
if (value.type === "temperature_fan") name = name.replace("temperature_fan ", "")
|
||||
|
||||
return convertName(name)
|
||||
return this.convertName(name)
|
||||
},
|
||||
existsPresetName(name) {
|
||||
return (this["gui/getPreheatPresets"].findIndex((preset) => preset.name === name && preset.index !== this.dialog.index) >= 0)
|
||||
@@ -247,6 +255,7 @@
|
||||
this.dialog.index = null
|
||||
this.dialog.name = ""
|
||||
this.dialog.gcode = ""
|
||||
this.dialog.boolInvalidMin = false
|
||||
this.dialog.values = {}
|
||||
|
||||
for(const heater of this["printer/getHeaters"]) {
|
||||
@@ -273,7 +282,14 @@
|
||||
this.dialog.bool = true
|
||||
},
|
||||
savePreset() {
|
||||
if (this.dialog.valid) {
|
||||
let setValues = 0
|
||||
for (const key of Object.keys(this.dialog.values)) {
|
||||
if (this.dialog.values[key].bool) setValues++
|
||||
}
|
||||
if (this.dialog.gcode.length) setValues++
|
||||
|
||||
if (setValues === 0) this.dialog.boolInvalidMin = true
|
||||
else if (this.dialog.valid) {
|
||||
for (const key of Object.keys(this.dialog.values)) {
|
||||
this.dialog.values[key].value = parseInt(this.dialog.values[key].value)
|
||||
}
|
||||
|
||||
@@ -54,7 +54,11 @@
|
||||
<v-col class="col-8">
|
||||
<v-text-field
|
||||
v-model="dialogAddPrinter.hostname"
|
||||
:rules="[v => !!v || 'Hostname is required']"
|
||||
:rules="[
|
||||
v => !!v || 'Hostname is required',
|
||||
v => !v.startsWith('http:') || 'invalid hostname/IP',
|
||||
v => !v.startsWith('https:') || 'invalid hostname/IP',
|
||||
]"
|
||||
label="Hostname/IP"
|
||||
required
|
||||
></v-text-field>
|
||||
@@ -88,7 +92,11 @@
|
||||
<v-col class="col-12">
|
||||
<v-text-field
|
||||
v-model="dialogAddPrinter.hostname"
|
||||
:rules="[v => !!v || 'Hostname is required']"
|
||||
:rules="[
|
||||
v => !!v || 'Hostname is required',
|
||||
v => !v.startsWith('http:') || 'invalid hostname/IP',
|
||||
v => !v.startsWith('https:') || 'invalid hostname/IP',
|
||||
]"
|
||||
label="Hostname/IP"
|
||||
required
|
||||
></v-text-field>
|
||||
@@ -146,7 +154,11 @@
|
||||
<v-col class="col-8">
|
||||
<v-text-field
|
||||
v-model="dialogEditPrinter.hostname"
|
||||
:rules="[v => !!v || 'Hostname is required']"
|
||||
:rules="[
|
||||
v => !!v || 'Hostname is required',
|
||||
v => !v.startsWith('http:') || 'invalid hostname/IP',
|
||||
v => !v.startsWith('https:') || 'invalid hostname/IP',
|
||||
]"
|
||||
label="Hostname/IP"
|
||||
required
|
||||
></v-text-field>
|
||||
@@ -190,7 +202,11 @@
|
||||
<v-col class="col-12">
|
||||
<v-text-field
|
||||
v-model="dialogEditPrinter.hostname"
|
||||
:rules="[v => !!v || 'Hostname is required']"
|
||||
:rules="[
|
||||
v => !!v || 'Hostname is required',
|
||||
v => !v.startsWith('http:') || 'invalid hostname/IP',
|
||||
v => !v.startsWith('https:') || 'invalid hostname/IP',
|
||||
]"
|
||||
label="Hostname/IP"
|
||||
required
|
||||
></v-text-field>
|
||||
|
||||
@@ -14,99 +14,50 @@
|
||||
</v-toolbar>
|
||||
<v-card-text class="px-0 py-0">
|
||||
<v-container py-0 px-0>
|
||||
<v-row v-if="'version' in klipper" class="py-2">
|
||||
<v-col class="pl-6 text-no-wrap">
|
||||
<v-tooltip top>
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<strong v-bind="attrs" v-on="on">Klipper</strong>
|
||||
</template>
|
||||
<span>{{ klipperBranch }}</span>
|
||||
</v-tooltip><br />
|
||||
<span v-if="'remote_version' in klipper && klipper.version !== klipper.remote_version">{{ klipper.version+' > '+klipper.remote_version }}</span>
|
||||
<span v-if="!('remote_version' in klipper && klipper.version !== klipper.remote_version)">{{ klipper.version }}</span>
|
||||
</v-col>
|
||||
<v-col class="pr-6 text-right">
|
||||
<v-chip
|
||||
small
|
||||
label
|
||||
outlined
|
||||
:color="getColor(klipper)"
|
||||
@click="updateKlipper"
|
||||
:disabled="is_disabled(klipper)"
|
||||
class="minwidth-0 mt-3 px-2 text-uppercase"
|
||||
><v-icon small class="mr-1">mdi-{{ getIcon(klipper) }}</v-icon>{{ getText(klipper) }}</v-chip>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<div v-if="'version' in moonraker">
|
||||
|
||||
<div v-for="(value, key) of updateableSoftwares" v-bind:key="key">
|
||||
<v-divider class="my-0" ></v-divider>
|
||||
<v-row class="py-2">
|
||||
<v-col class="pl-6 text-no-wrap">
|
||||
<v-tooltip top>
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<strong v-bind="attrs" v-on="on">Moonraker</strong>
|
||||
</template>
|
||||
<span>{{ moonrakerBranch }}</span>
|
||||
</v-tooltip><br />
|
||||
<span v-if="'remote_version' in moonraker && moonraker.version !== moonraker.remote_version">{{ moonraker.version+' > '+moonraker.remote_version }}</span>
|
||||
<span v-if="!('remote_version' in moonraker && moonraker.version !== moonraker.remote_version)">{{ moonraker.version }}</span>
|
||||
{{ 'name' in value ? value.name : key }}<br />
|
||||
{{ getVersionOutput(value) }}
|
||||
</v-col>
|
||||
<v-col class="pr-6 text-right">
|
||||
<v-chip
|
||||
small
|
||||
label
|
||||
outlined
|
||||
:color="getColor(moonraker)"
|
||||
@click="updateMoonraker"
|
||||
:disabled="is_disabled(moonraker)"
|
||||
:color="getBtnColor(value)"
|
||||
@click="updateModule(key)"
|
||||
:disabled="getBtnDisabled(value)"
|
||||
class="minwidth-0 mt-3 px-2 text-uppercase"
|
||||
><v-icon small class="mr-1">mdi-{{ getIcon(moonraker) }}</v-icon>{{ getText(moonraker) }}</v-chip>
|
||||
><v-icon small class="mr-1">mdi-{{ getBtnIcon(value) }}</v-icon>{{ getBtnText(value) }}</v-chip>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</div>
|
||||
<div v-if="mainsail !== false && 'version' in mainsail && !remoteMode">
|
||||
<v-divider class="mt-0 mb-0" ></v-divider>
|
||||
<v-row class="py-2">
|
||||
<v-col class="pl-6 text-no-wrap">
|
||||
<strong>Mainsail</strong><br />
|
||||
{{ 'v'+package_version }}
|
||||
<span v-if="!is_disabled(mainsail)"> > {{ mainsail.remote_version.replace('Version ', 'v') }}</span>
|
||||
</v-col>
|
||||
<v-col class="pr-6 text-right">
|
||||
<v-chip
|
||||
small
|
||||
label
|
||||
outlined
|
||||
:color="getColor(mainsail)"
|
||||
@click="updateMainsail"
|
||||
:disabled="is_disabled(mainsail)"
|
||||
class="minwidth-0 mt-3 px-2 text-uppercase"
|
||||
><v-icon small class="mr-1">mdi-{{ getIcon(mainsail) }}</v-icon>{{ getText(mainsail) }}</v-chip>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</div>
|
||||
<div v-if="system !== false && 'package_count' in system">
|
||||
<div v-if="'system' in version_info">
|
||||
<v-divider class="my-0 border-top-2" ></v-divider>
|
||||
<v-row class="pt-2">
|
||||
<v-col class="pl-6 text-no-wrap">
|
||||
<strong>System</strong><br />
|
||||
<v-tooltip top v-if="system.package_count > 0" :max-width="300">
|
||||
<v-tooltip top v-if="version_info.system.package_count > 0" :max-width="300">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<span v-bind="attrs" v-on="on">{{ system.package_count }} packages can be upgraded</span>
|
||||
<span v-bind="attrs" v-on="on">{{ version_info.system.package_count }} packages can be upgraded</span>
|
||||
</template>
|
||||
<span>{{ system.package_list.join(', ') }}</span>
|
||||
<span>{{ version_info.system.package_list.join(', ') }}</span>
|
||||
</v-tooltip>
|
||||
<span v-if="system.package_count === 0">OS-Packages</span>
|
||||
<span v-if="version_info.system.package_count === 0">OS-Packages</span>
|
||||
</v-col>
|
||||
<v-col class="pr-6 text-right">
|
||||
<v-chip
|
||||
small
|
||||
label
|
||||
outlined
|
||||
:color="system.package_count ? 'primary' : 'green'"
|
||||
:disabled="!(system.package_count) || printer_state === 'printing'"
|
||||
:color="version_info.system.package_count ? 'primary' : 'green'"
|
||||
:disabled="!(version_info.system.package_count) || printer_state === 'printing'"
|
||||
@click="updateSystem"
|
||||
class="minwidth-0 mt-3 px-2 text-uppercase"
|
||||
><v-icon small class="mr-1">mdi-{{ system.package_count ? 'progress-upload' : 'check' }}</v-icon>{{ system.package_count ? 'upgrade' : 'up-to-date' }}</v-chip>
|
||||
><v-icon small class="mr-1">mdi-{{ version_info.system.package_count ? 'progress-upload' : 'check' }}</v-icon>{{ version_info.system.package_count ? 'upgrade' : 'up-to-date' }}</v-chip>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</div>
|
||||
@@ -130,29 +81,14 @@
|
||||
computed: {
|
||||
...mapState({
|
||||
package_version: state => state.packageVersion,
|
||||
klipper: state => state.server.updateManager.klipper,
|
||||
moonraker: state => state.server.updateManager.moonraker,
|
||||
system: state => state.server.updateManager.system,
|
||||
loadings: state => state.socket.loadings,
|
||||
remoteMode: state => state.socket.remoteMode,
|
||||
printer_state: state => state.printer.print_stats.state,
|
||||
version_info: state => state.server.updateManager.version_info
|
||||
}),
|
||||
mainsail:{
|
||||
updateableSoftwares: {
|
||||
get() {
|
||||
if ('name' in this.$store.state.server.updateManager.client)
|
||||
return this.$store.state.server.updateManager.client
|
||||
|
||||
return false
|
||||
}
|
||||
},
|
||||
klipperBranch: {
|
||||
get() {
|
||||
return this.$store.getters["server/updateManager/getKlipperBranch"]
|
||||
}
|
||||
},
|
||||
moonrakerBranch: {
|
||||
get() {
|
||||
return this.$store.getters["server/updateManager/getMoonrakerBranch"]
|
||||
return this.$store.getters["server/updateManager/getUpdateableSoftwares"]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -161,80 +97,65 @@
|
||||
this.$store.commit('socket/addLoading', { name: 'loadingBtnSyncUpdateManager' });
|
||||
this.$socket.sendObj('machine.update.status', { refresh: true }, 'server/updateManager/getStatus')
|
||||
},
|
||||
getColor(object) {
|
||||
getBtnColor(object) {
|
||||
if (typeof object === 'object' && object !== false) {
|
||||
if ('detached' in object && object.detached) return 'orange'
|
||||
if ('is_dirty' in object && object.is_dirty) return 'orange'
|
||||
if ('is_valid' in object && !object.is_valid) return 'red'
|
||||
|
||||
if ('current_hash' in object && 'remote_hash' in object && object.current_hash !== object.remote_hash) return 'primary'
|
||||
|
||||
if ('name' in object && object.name === "mainsail") {
|
||||
if ('v'+this.package_version !== object.remote_version.replace('Version ', 'v')) return 'primary'
|
||||
}
|
||||
if ('version' in object && 'remote_version' in object && object.version !== object.remote_version) return 'primary'
|
||||
|
||||
return 'green'
|
||||
}
|
||||
|
||||
return 'red'
|
||||
},
|
||||
getText(object) {
|
||||
getBtnText(object) {
|
||||
if (typeof object === 'object' && object !== false) {
|
||||
if ('detached' in object && object.detached) return 'detached'
|
||||
if ('is_valid' in object && !object.is_valid) return 'invalid'
|
||||
if ('is_dirty' in object && object.is_dirty) return 'dirty'
|
||||
|
||||
if ('current_hash' in object && 'remote_hash' in object && object.current_hash !== object.remote_hash) return 'update'
|
||||
|
||||
if ('name' in object && object.name === "mainsail") {
|
||||
if ('v'+this.package_version !== object.remote_version.replace('Version ', 'v')) return 'update'
|
||||
}
|
||||
if ('version' in object && 'remote_version' in object && object.version !== object.remote_version) return 'update'
|
||||
|
||||
return 'up-to-date'
|
||||
}
|
||||
|
||||
return 'ERROR'
|
||||
},
|
||||
getIcon(object) {
|
||||
getBtnIcon(object) {
|
||||
if (typeof object === 'object' && object !== false) {
|
||||
if ('detached' in object && object.detached) return 'alert-circle'
|
||||
if ('is_valid' in object && !object.is_valid) return 'alert-circle'
|
||||
if ('is_dirty' in object && object.is_dirty) return 'alert-circle'
|
||||
|
||||
if ('current_hash' in object && 'remote_hash' in object && object.current_hash !== object.remote_hash) return 'progress-upload'
|
||||
|
||||
if ('name' in object && object.name === "mainsail") {
|
||||
if ('v'+this.package_version !== object.remote_version.replace('Version ', 'v')) return 'progress-upload'
|
||||
}
|
||||
if ('version' in object && 'remote_version' in object && object.version !== object.remote_version) return 'progress-upload'
|
||||
|
||||
return 'check'
|
||||
}
|
||||
|
||||
return 'ERROR'
|
||||
},
|
||||
is_disabled(object) {
|
||||
getBtnDisabled(object) {
|
||||
if (['printing', 'paused'].includes(this.printer_state)) return true
|
||||
if ('detached' in object && object.detached) return true
|
||||
|
||||
if (typeof object === 'object' && object !== false) {
|
||||
if ('is_valid' in object && !object.is_valid) return true
|
||||
if ('current_hash' in object && 'remote_hash' in object && object.current_hash !== object.remote_hash) return false
|
||||
|
||||
if ('name' in object && object.name === "mainsail") {
|
||||
if ('v'+this.package_version !== object.remote_version.replace('Version ', 'v')) return false
|
||||
}
|
||||
if ('version' in object && 'remote_version' in object && object.version !== object.remote_version) return false
|
||||
}
|
||||
|
||||
return true
|
||||
},
|
||||
updateKlipper() {
|
||||
this.$socket.sendObj('machine.update.klipper', { })
|
||||
getVersionOutput(object) {
|
||||
const local_version = 'version' in object ? object.version : '?'
|
||||
const remote_version = 'remote_version' in object ? object.remote_version : '?'
|
||||
|
||||
return local_version !== remote_version ? local_version+" > "+remote_version : local_version
|
||||
},
|
||||
updateMoonraker() {
|
||||
this.$socket.sendObj('machine.update.moonraker', { })
|
||||
},
|
||||
updateMainsail() {
|
||||
this.$socket.sendObj('machine.update.client', { })
|
||||
updateModule(key) {
|
||||
if (["klipper", "moonraker"].includes(key)) this.$socket.sendObj('machine.update.'+key, { })
|
||||
else this.$socket.sendObj('machine.update.client', { name: key })
|
||||
},
|
||||
updateSystem() {
|
||||
this.$socket.sendObj('machine.update.system', { })
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
:rotate="-90"
|
||||
:size="50"
|
||||
:width="7"
|
||||
:value="printPercent * 100"
|
||||
:value="Math.round(printPercent * 100)"
|
||||
color="red"
|
||||
>
|
||||
</v-progress-circular>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</v-toolbar-title>
|
||||
</v-toolbar>
|
||||
<v-card-text class="px-0 py-0 content">
|
||||
<img :src="webcamConfig.url" class="webcamImage" :style="webcamStyle" />
|
||||
<img :src="url" class="webcamImage" :style="webcamStyle" alt="Webcam"/>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
@@ -21,6 +21,15 @@
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
data: function() {
|
||||
return {
|
||||
refresh: Math.ceil(Math.random() * Math.pow(10, 12))
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
document.addEventListener("focus", () => this.handleRefreshChange(), false);
|
||||
document.addEventListener("visibilitychange", this.handleRefreshChange, false);
|
||||
},
|
||||
components: {
|
||||
|
||||
},
|
||||
@@ -28,8 +37,13 @@
|
||||
...mapState({
|
||||
'webcamConfig': state => state.gui.webcam
|
||||
}),
|
||||
url() {
|
||||
const params = new URLSearchParams(this.webcamConfig.url);
|
||||
params.set('bypassCache', ""+this.refresh);
|
||||
return decodeURIComponent(params.toString())
|
||||
},
|
||||
webcamStyle() {
|
||||
var transforms = '';
|
||||
let transforms = '';
|
||||
if (this.webcamConfig.flipX) {
|
||||
transforms += ' scaleX(-1)'
|
||||
}
|
||||
@@ -47,5 +61,12 @@
|
||||
return '';
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleRefreshChange() {
|
||||
if (!document.hidden) {
|
||||
this.refresh = Math.ceil(Math.random() * Math.pow(10, 12))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -54,7 +54,11 @@
|
||||
} else if (this.min_temp !== undefined && this.value < this.min_temp && parseFloat(this.value) !== 0) {
|
||||
this.value = this.target;
|
||||
Vue.$toast.error("Temperature too low for "+this.name+"! (min: "+this.min_temp+")");
|
||||
} else this.$socket.sendObj('printer.gcode.script', { script: this.command+' '+this.attributeName+'='+this.name+' TARGET='+this.value });
|
||||
} else {
|
||||
const gcode = this.command+' '+this.attributeName+'='+this.name+' TARGET='+this.value
|
||||
this.$store.commit('server/addEvent', { message: gcode, type: 'command' });
|
||||
this.$socket.sendObj('printer.gcode.script', { script: gcode });
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
||||
+45
-5
@@ -134,8 +134,14 @@
|
||||
>
|
||||
<td class="pr-0 text-center" style="width: 32px;">
|
||||
<v-icon v-if="item.isDirectory">mdi-folder</v-icon>
|
||||
<v-icon v-if="!item.isDirectory && !(item.thumbnails && item.thumbnails.find(thumb => thumb.width === 32 && thumb.height === 32))">mdi-file</v-icon>
|
||||
<img v-if="!item.isDirectory && item.thumbnails && item.thumbnails.find(thumb => thumb.width === 32 && thumb.height === 32)" :src="'data:image/gif;base64,'+(item.thumbnails.find(thumb => thumb.width === 32 && thumb.height === 32).data)" />
|
||||
<v-icon v-if="!item.isDirectory && !(existsSmallThumbnail(item))">mdi-file</v-icon>
|
||||
<v-tooltip v-if="!item.isDirectory && existsSmallThumbnail(item) && existsBigThumbnail(item)" top>
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<img :src="'data:image/gif;base64,'+getSmallThumbnail(item)" width="32" height="32" v-bind="attrs" v-on="on" />
|
||||
</template>
|
||||
<span><img :src="'data:image/gif;base64,'+getBigThumbnail(item)" width="250" /></span>
|
||||
</v-tooltip>
|
||||
<img v-if="!item.isDirectory && existsSmallThumbnail(item) && !existsBigThumbnail(item)" :src="'data:image/gif;base64,'+getSmallThumbnail(item)" width="32" height="32" />
|
||||
</td>
|
||||
<td class=" ">{{ item.filename }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.filter(header => header.value === 'size')[0].visible">{{ item.isDirectory ? '--' : formatFilesize(item.size) }}</td>
|
||||
@@ -178,9 +184,8 @@
|
||||
<v-card>
|
||||
<v-img
|
||||
contain
|
||||
v-if="dialogPrintFile.item.thumbnails && dialogPrintFile.item.thumbnails.find(element => element.width === 300 || element.width === 400)"
|
||||
:src="'data:image/gif;base64,'+(dialogPrintFile.item.thumbnails ? dialogPrintFile.item.thumbnails.find(element => element.width === 300 || element.width === 400).data : '')"
|
||||
:height="(dialogPrintFile.item.thumbnails ? dialogPrintFile.item.thumbnails.find(element => element.width === 400 || element.width === 300).height : '')+'px'"
|
||||
v-if="existsBigThumbnail(dialogPrintFile.item)"
|
||||
:src="'data:image/gif;base64,'+getBigThumbnail(dialogPrintFile.item)"
|
||||
></v-img>
|
||||
<v-card-title class="headline">Start Job</v-card-title>
|
||||
<v-card-text>Do you want to start {{ dialogPrintFile.item.filename }}?</v-card-text>
|
||||
@@ -720,6 +725,41 @@
|
||||
this.$store.dispatch("gui/setGcodefilesMetadata", {name: name, value: value});
|
||||
}
|
||||
},
|
||||
existsSmallThumbnail(item) {
|
||||
return (
|
||||
'thumbnails' in item &&
|
||||
item.thumbnails !== undefined &&
|
||||
item.thumbnails.findIndex(thumb => thumb.width >= 32 && thumb.width <= 64 && thumb.height >= 32 && thumb.height <= 64) !== -1
|
||||
)
|
||||
},
|
||||
getSmallThumbnail(item) {
|
||||
if (this.existsSmallThumbnail(item)) {
|
||||
const thumbnail = item.thumbnails.find(thumb =>
|
||||
thumb.width >= 32 && thumb.width <= 64 &&
|
||||
thumb.height >= 32 && thumb.height <= 64
|
||||
)
|
||||
|
||||
if (thumbnail) return thumbnail.data
|
||||
}
|
||||
|
||||
return ""
|
||||
},
|
||||
existsBigThumbnail(item) {
|
||||
return (
|
||||
'thumbnails' in item &&
|
||||
item.thumbnails !== undefined &&
|
||||
item.thumbnails.findIndex(thumb => thumb.width === 400) !== -1
|
||||
)
|
||||
},
|
||||
getBigThumbnail(item) {
|
||||
if (this.existsBigThumbnail(item)) {
|
||||
const thumbnail = item.thumbnails.find(thumb => thumb.width === 400)
|
||||
|
||||
if (thumbnail) return thumbnail.data
|
||||
}
|
||||
|
||||
return ""
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
filetree: {
|
||||
|
||||
@@ -72,8 +72,15 @@ export default {
|
||||
mutations: {
|
||||
addPrinter(state, payload) {
|
||||
if ('hostname' in payload && payload.hostname !== "") {
|
||||
const pritnerExist = Object.entries(state).findIndex((printer) =>
|
||||
printer.length > 0 &&
|
||||
'socket' in printer[1] &&
|
||||
'hostname' in printer[1].socket && printer[1].socket.hostname === payload.hostname &&
|
||||
'port' in printer[1].socket && printer[1].socket.port === payload.port
|
||||
)
|
||||
|
||||
const nextPrinterName = 'printer'+Object.entries(state).length
|
||||
if (!this.hasModule(['farm', nextPrinterName])) {
|
||||
if (pritnerExist === -1 && !this.hasModule(['farm', nextPrinterName])) {
|
||||
this.registerModule(['farm', nextPrinterName], printer)
|
||||
this.commit('farm/'+nextPrinterName+'/setSocketData', {...payload, _namespace: nextPrinterName })
|
||||
this.dispatch('farm/'+nextPrinterName+'/connect', {}, { root: true })
|
||||
|
||||
@@ -22,6 +22,12 @@ export function getDefaultState() {
|
||||
filename: 'config',
|
||||
modified: new Date(),
|
||||
childrens: []
|
||||
},
|
||||
{
|
||||
isDirectory: true,
|
||||
filename: 'docs',
|
||||
modified: new Date(),
|
||||
childrens: []
|
||||
}
|
||||
],
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ export default {
|
||||
for (const [key, item] of Object.entries(parent)) {
|
||||
if (
|
||||
item.isDirectory &&
|
||||
payload.dirs !== undefined &&
|
||||
'dirs' in payload &&
|
||||
payload.dirs.length > 0 &&
|
||||
payload.dirs.findIndex(element => element.dirname === item.filename) < 0
|
||||
) parent.splice(key, 1)
|
||||
|
||||
@@ -10,7 +10,7 @@ export default {
|
||||
Vue.prototype.$socket.sendObj('printer.info', {}, 'printer/getInfo')
|
||||
|
||||
// only available with klipper is ready
|
||||
Vue.prototype.$socket.sendObj('server.files.get_directory', { path: 'gcodes' }, 'files/getDirectory')
|
||||
//Vue.prototype.$socket.sendObj('server.files.get_directory', { path: 'gcodes' }, 'files/getDirectory')
|
||||
},
|
||||
|
||||
getInfo({ commit }, payload) {
|
||||
|
||||
@@ -7,19 +7,14 @@ export default {
|
||||
dispatch('updateManager/reset')
|
||||
},
|
||||
|
||||
init({ dispatch, state }) {
|
||||
init({ dispatch }) {
|
||||
Vue.prototype.$socket.sendObj('server.info', {}, 'server/getInfo')
|
||||
Vue.prototype.$socket.sendObj('server.gcode_store', {}, 'server/getGcodeStore')
|
||||
Vue.prototype.$socket.sendObj('server.files.get_directory', { path: 'config' }, 'files/getDirectory')
|
||||
Vue.prototype.$socket.sendObj('server.files.get_directory', { path: 'config_examples' }, 'files/getDirectory')
|
||||
|
||||
if (state.plugins.length > 0 && state.plugins.includes("update_manager"))
|
||||
Vue.prototype.$socket.sendObj('machine.update.status', { refresh: false }, 'server/updateManager/getStatus')
|
||||
|
||||
dispatch('printer/init', null, { root: true })
|
||||
},
|
||||
|
||||
getInfo({ commit, state }, payload) {
|
||||
getInfo({ commit, state, rootState }, payload) {
|
||||
Vue.prototype.$socket.sendObj('server.gcode_store', {}, 'server/getGcodeStore')
|
||||
|
||||
if (state.plugins.length === 0) {
|
||||
if (payload.plugins.includes("power") !== false)
|
||||
@@ -29,6 +24,14 @@ export default {
|
||||
Vue.prototype.$socket.sendObj('machine.update.status', {}, 'server/updateManager/getStatus')
|
||||
}
|
||||
|
||||
if (state.registered_directories.length === 0 && 'registered_directories' in payload) {
|
||||
for (const directory of payload.registered_directories) {
|
||||
if (rootState.files.filetree.findIndex((element) => element.isDirectory && element.filename === directory) !== -1) {
|
||||
Vue.prototype.$socket.sendObj('server.files.get_directory', { path: directory }, 'files/getDirectory')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
commit('setData', payload)
|
||||
|
||||
if (!payload.klippy_connected || payload.klippy_state === "startup") {
|
||||
|
||||
@@ -14,6 +14,7 @@ export function getDefaultState() {
|
||||
klippy_message: "",
|
||||
plugins: [],
|
||||
failed_plugins: [],
|
||||
registered_directories: [],
|
||||
events: [],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,22 +1,37 @@
|
||||
export default {
|
||||
|
||||
getKlipperBranch(state) {
|
||||
if (
|
||||
'klipper' in state &&
|
||||
'branch' in state.klipper &&
|
||||
'remote_alias' in state.klipper
|
||||
) return state.klipper.remote_alias+"/"+state.klipper.branch
|
||||
getUpdateableSoftwares(state) {
|
||||
const output = {}
|
||||
const sortKeys = Object.keys(state.version_info).sort((a,b) => {
|
||||
if (a === 'klipper') return -1
|
||||
if (b === 'klipper') return 1
|
||||
if ('name' in state.version_info[a] && state.version_info[a].name === 'mainsail') return 1
|
||||
if ('name' in state.version_info[b] && state.version_info[b].name === 'mainsail') return -1
|
||||
if (a < b) return -1
|
||||
if (a > b) return 1
|
||||
|
||||
return "UNKNOWN"
|
||||
return 0
|
||||
})
|
||||
|
||||
for (const key of sortKeys) {
|
||||
if ('system' !== key) {
|
||||
output[key] = state.version_info[key]
|
||||
}
|
||||
}
|
||||
|
||||
return output
|
||||
},
|
||||
|
||||
getMoonrakerBranch(state) {
|
||||
isUpdateAvailable(state) {
|
||||
if (
|
||||
'moonraker' in state &&
|
||||
'branch' in state.moonraker &&
|
||||
'remote_alias' in state.moonraker
|
||||
) return state.moonraker.remote_alias+"/"+state.moonraker.branch
|
||||
'klipper' in state &&
|
||||
'remote_hash' in state.klipper &&
|
||||
'current_hash' in state.klipper &&
|
||||
state.klipper.current_hash !== state.klipper.current_hash
|
||||
) {
|
||||
return true
|
||||
}
|
||||
|
||||
return "UNKNOWN"
|
||||
return false
|
||||
}
|
||||
}
|
||||
@@ -4,13 +4,7 @@ import getters from './getters'
|
||||
|
||||
export function getDefaultState() {
|
||||
return {
|
||||
moonraker: {},
|
||||
klipper: {},
|
||||
client: {},
|
||||
system: {
|
||||
package_count: 0,
|
||||
package_list: []
|
||||
},
|
||||
version_info: {},
|
||||
updateResponse: {
|
||||
application: "",
|
||||
complete: true,
|
||||
|
||||
@@ -9,7 +9,7 @@ export default {
|
||||
setStatus(state, payload) {
|
||||
if ('version_info' in payload) {
|
||||
Object.entries(payload.version_info).forEach(([key, value]) => {
|
||||
Vue.set(state, key, value)
|
||||
Vue.set(state.version_info, key, value)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -25,6 +25,9 @@ export default {
|
||||
if (state.updateResponse.complete !== payload.complete)
|
||||
Vue.set(state.updateResponse, 'complete', payload.complete)
|
||||
|
||||
if ('complete' in payload && payload.complete)
|
||||
Vue.prototype.$socket.sendObj('machine.update.status', { refresh: false }, 'server/updateManager/getStatus')
|
||||
|
||||
state.updateResponse.messages.push({
|
||||
date: new Date(),
|
||||
message: payload.message
|
||||
|
||||
@@ -22,6 +22,7 @@ export default {
|
||||
onOpen ({ commit, dispatch }) {
|
||||
commit('setConnected')
|
||||
dispatch('server/init', null, { root: true })
|
||||
commit('server/updateManager/setStatus', { busy: false}, { root: true })
|
||||
},
|
||||
|
||||
onClose ({ commit }, event) {
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ module.exports = {
|
||||
}),
|
||||
generate({
|
||||
file: '.version',
|
||||
content: version
|
||||
content: 'v'+version
|
||||
})
|
||||
]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user