aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/resources/assets/dungeonsguide
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2023-11-16 18:20:14 +0900
committerGitHub <noreply@github.com>2023-11-16 18:20:14 +0900
commit24fc59daa6da3c48544d2d8aec5606a2089f64d5 (patch)
tree61247e29be92d5489a38e4c4ec1881ee5ff15bd1 /mod/src/main/resources/assets/dungeonsguide
parentde2ea64b5127570baa61ade6fd7a63416c8b7cb9 (diff)
downloadSkyblock-Dungeons-Guide-24fc59daa6da3c48544d2d8aec5606a2089f64d5.tar.gz
Skyblock-Dungeons-Guide-24fc59daa6da3c48544d2d8aec5606a2089f64d5.tar.bz2
Skyblock-Dungeons-Guide-24fc59daa6da3c48544d2d8aec5606a2089f64d5.zip
Automatically collect Dungeons Guide stack traces with user approval. (#446)
* - fix error handling, don't use throwables like amateur Signed-off-by: syeyoung <cyoung06@naver.com> * - no need for hack to stop Signed-off-by: syeyoung <cyoung06@naver.com> * - gui error handling Signed-off-by: syeyoung <cyoung06@naver.com> * - remote logging error Signed-off-by: syeyoung <cyoung06@naver.com> * - remote logging error Signed-off-by: syeyoung <cyoung06@naver.com> * - testing privacy policy Signed-off-by: syeyoung <cyoung06@naver.com> * - send traces Signed-off-by: syeyoung <cyoung06@naver.com> * - show collect diagnostic? prompt Signed-off-by: syeyoung <cyoung06@naver.com> --------- Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main/resources/assets/dungeonsguide')
-rw-r--r--mod/src/main/resources/assets/dungeonsguide/gui/collect_diagnostic_approval.gui46
1 files changed, 46 insertions, 0 deletions
diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/collect_diagnostic_approval.gui b/mod/src/main/resources/assets/dungeonsguide/gui/collect_diagnostic_approval.gui
new file mode 100644
index 00000000..4c4e62b5
--- /dev/null
+++ b/mod/src/main/resources/assets/dungeonsguide/gui/collect_diagnostic_approval.gui
@@ -0,0 +1,46 @@
+<!--
+ ~ Dungeons Guide - The most intelligent Hypixel Skyblock Dungeons Mod
+ ~ Copyright (C) 2023 cyoung06 (syeyoung)
+ ~
+ ~ This program is free software: you can redistribute it and/or modify
+ ~ it under the terms of the GNU Affero General Public License as published
+ ~ by the Free Software Foundation, either version 3 of the License, or
+ ~ (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU Affero General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Affero General Public License
+ ~ along with this program. If not, see <https://www.gnu.org/licenses/>.
+ -->
+
+<bgcolor backgroundColor="#FF111111">
+ <align vAlign="CENTER">
+ <padding left="20.0" right="20.0" top="20.0" bottom="20.0">
+ <col crossAlign="CENTER" mainAlign="CENTER">
+ <size width="0" height="10"/>
+ <Text text="Allow Dungeons Guide to send errors to remote server?" color="#FFFFFFFF" size="16" align="CENTER"/>
+ <size width="0" height="15"/>
+ <Text text="You can change this setting at /dg -> Misc -> Collect Error Logs" color="#FFFFFFFF" size="8" align="CENTER"/>
+ <Text text="This will only collect errors within dg, and it will not send your latest.log" color="#FFFFFFFF" size="8" align="CENTER"/>
+ <Text text="It will only send stacktraces, a piece of text that tells where in dg what error occured" color="#FFFFFFFF" size="8" align="CENTER"/>
+ <size width="0" height="15"/>
+ <Text text="The data is completely anonymized, and by allowing this you help Dungeons Guide fix problems that went unnoticed" color="#FFFFFF00" size="8" align="CENTER"/>
+ <Text text="This option is completely optional and there is no penalty for denying" color="#FFFFFF00" size="8" align="CENTER"/>
+ <size width="0" height="15"/>
+ <row mainAlign="CENTER">
+ <size width="80" height="20">
+ <RoundButton text="Allow" on:click="approve"/>
+ </size>aa
+ <size width="10" height="0"/>
+ <size width="80" height="20">
+ <RoundButton text="Deny" on:click="deny"/>
+ </size>
+ </row>
+ <size width="0" height="10"/>
+ </col>
+ </padding>
+ </align>
+</bgcolor> \ No newline at end of file