Skip to content

Commit

Permalink
Merge pull request #46 from GalaxyPay/dev
Browse files Browse the repository at this point in the history
BaseLoggerDebugLevel
  • Loading branch information
acfunk authored Jan 12, 2025
2 parents a1fbfdb + 1018421 commit b7c3ea8
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,5 +266,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: v3.0.4
tag: v3.1.0
artifacts: "Output/*"
2 changes: 1 addition & 1 deletion FUNC.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "FUNC"
#define MyAppVersion "3.0.4"
#define MyAppVersion "3.1.0"
#define MyAppPublisher "Galaxy Pay, LLC"
#define MyAppPublisherURL "https://galaxy-pay.com"
#define MyPublishPath "publish"
Expand Down
Binary file modified FUNC/Templates/algorand.tar
Binary file not shown.
Binary file modified FUNC/Templates/voi.tar
Binary file not shown.
2 changes: 1 addition & 1 deletion create-package-deb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rm -r Output

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

mkdir -p $PKG/lib/systemd/system
mkdir -p $PKG/opt/func
Expand Down
2 changes: 1 addition & 1 deletion create-package-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pkgbuild --root publish \
--install-location /opt/func \
--scripts pkg/scripts \
--identifier func.app \
Output/func_3.0.4_darwin-$1.pkg
Output/func_3.1.0_darwin-$1.pkg
2 changes: 1 addition & 1 deletion deb/amd64/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: func
Version: 3.0.4
Version: 3.1.0
Section: base
Priority: optional
Architecture: amd64
Expand Down
2 changes: 1 addition & 1 deletion deb/arm64/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: func
Version: 3.0.4
Version: 3.1.0
Section: base
Priority: optional
Architecture: arm64
Expand Down
2 changes: 1 addition & 1 deletion webui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "func-webui",
"version": "3.0.4",
"version": "3.1.0",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand Down
21 changes: 21 additions & 0 deletions webui/src/components/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
:append-inner-icon="mdiContentCopy"
@click:append-inner="copyVal(token)"
/>
<v-select
label="BaseLoggerDebugLevel"
v-model="baseLoggerDebugLevel"
variant="outlined"
density="comfortable"
:items="[...Array(6).keys()]"
hint="Must be 3 or greater for telemetry to work. For best performance, set to 0."
persistent-hint
class="pb-2"
/>
<v-checkbox-btn v-model="showDNSBootstrapID" label="DNS Bootstrap ID" />
<v-textarea
:disabled="!showDNSBootstrapID"
Expand Down Expand Up @@ -39,6 +49,7 @@

<script lang="ts" setup>
import FUNC from "@/services/api";
import { delay } from "@/utils";
import { mdiContentCopy } from "@mdi/js";
const props = defineProps({
Expand Down Expand Up @@ -75,6 +86,15 @@ const port = computed({
},
});
const baseLoggerDebugLevel = computed<number>({
get() {
return config.value.BaseLoggerDebugLevel ?? 4;
},
set(val) {
config.value.BaseLoggerDebugLevel = val;
},
});
const enableP2P = computed({
get() {
return config.value.EnableP2P;
Expand Down Expand Up @@ -126,6 +146,7 @@ async function saveConfig() {
});
if (props.running) {
await FUNC.api.put(`${props.name}/stop`);
await delay(500);
await FUNC.api.put(`${props.name}/start`);
}
show.value = false;
Expand Down

0 comments on commit b7c3ea8

Please sign in to comment.