Skip to content

Commit b7c3ea8

Browse files
authored
Merge pull request #46 from GalaxyPay/dev
BaseLoggerDebugLevel
2 parents a1fbfdb + 1018421 commit b7c3ea8

File tree

10 files changed

+28
-7
lines changed

10 files changed

+28
-7
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,5 +266,5 @@ jobs:
266266
uses: ncipollo/release-action@v1
267267
with:
268268
allowUpdates: true
269-
tag: v3.0.4
269+
tag: v3.1.0
270270
artifacts: "Output/*"

FUNC.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "FUNC"
5-
#define MyAppVersion "3.0.4"
5+
#define MyAppVersion "3.1.0"
66
#define MyAppPublisher "Galaxy Pay, LLC"
77
#define MyAppPublisherURL "https://galaxy-pay.com"
88
#define MyPublishPath "publish"

FUNC/Templates/algorand.tar

0 Bytes
Binary file not shown.

FUNC/Templates/voi.tar

0 Bytes
Binary file not shown.

create-package-deb.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
rm -r Output
22

3-
PKG=Output/func_3.0.4_linux-$1
3+
PKG=Output/func_3.1.0_linux-$1
44

55
mkdir -p $PKG/lib/systemd/system
66
mkdir -p $PKG/opt/func

create-package-pkg.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ pkgbuild --root publish \
55
--install-location /opt/func \
66
--scripts pkg/scripts \
77
--identifier func.app \
8-
Output/func_3.0.4_darwin-$1.pkg
8+
Output/func_3.1.0_darwin-$1.pkg

deb/amd64/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: func
2-
Version: 3.0.4
2+
Version: 3.1.0
33
Section: base
44
Priority: optional
55
Architecture: amd64

deb/arm64/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: func
2-
Version: 3.0.4
2+
Version: 3.1.0
33
Section: base
44
Priority: optional
55
Architecture: arm64

webui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "func-webui",
3-
"version": "3.0.4",
3+
"version": "3.1.0",
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",

webui/src/components/Config.vue

+21
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
:append-inner-icon="mdiContentCopy"
1212
@click:append-inner="copyVal(token)"
1313
/>
14+
<v-select
15+
label="BaseLoggerDebugLevel"
16+
v-model="baseLoggerDebugLevel"
17+
variant="outlined"
18+
density="comfortable"
19+
:items="[...Array(6).keys()]"
20+
hint="Must be 3 or greater for telemetry to work. For best performance, set to 0."
21+
persistent-hint
22+
class="pb-2"
23+
/>
1424
<v-checkbox-btn v-model="showDNSBootstrapID" label="DNS Bootstrap ID" />
1525
<v-textarea
1626
:disabled="!showDNSBootstrapID"
@@ -39,6 +49,7 @@
3949

4050
<script lang="ts" setup>
4151
import FUNC from "@/services/api";
52+
import { delay } from "@/utils";
4253
import { mdiContentCopy } from "@mdi/js";
4354
4455
const props = defineProps({
@@ -75,6 +86,15 @@ const port = computed({
7586
},
7687
});
7788
89+
const baseLoggerDebugLevel = computed<number>({
90+
get() {
91+
return config.value.BaseLoggerDebugLevel ?? 4;
92+
},
93+
set(val) {
94+
config.value.BaseLoggerDebugLevel = val;
95+
},
96+
});
97+
7898
const enableP2P = computed({
7999
get() {
80100
return config.value.EnableP2P;
@@ -126,6 +146,7 @@ async function saveConfig() {
126146
});
127147
if (props.running) {
128148
await FUNC.api.put(`${props.name}/stop`);
149+
await delay(500);
129150
await FUNC.api.put(`${props.name}/start`);
130151
}
131152
show.value = false;

0 commit comments

Comments
 (0)