diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-10-06 17:32:10 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-10-07 12:25:41 +0300 |
commit | d74480070cc458124babe2bc309239b358f69961 (patch) | |
tree | 33feb8bcb7f56eea6af87fab079b3271152916c6 /src/gui/logbrowser.ui | |
parent | 6ed6e5d0e62093fb775f31a6ad38b23216c5f460 (diff) |
LogBrowers: Warn that logs contain sensitive data
Fixes: #8137
Diffstat (limited to 'src/gui/logbrowser.ui')
-rw-r--r-- | src/gui/logbrowser.ui | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/src/gui/logbrowser.ui b/src/gui/logbrowser.ui new file mode 100644 index 000000000..d523a8077 --- /dev/null +++ b/src/gui/logbrowser.ui @@ -0,0 +1,168 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>OCC::LogBrowser</class> + <widget class="QDialog" name="OCC::LogBrowser"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>600</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Log Output</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="label_4"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>64</width> + <height>64</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>64</width> + <height>64</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../../client.qrc">:/client/resources/exclamation-triangle-solid.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string><html><head/><body><p><span style=" font-weight:600; color:#ff0000;">The logs contain sensitive information which you should not make publicly available</span></p></body></html></string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>The client can write debug logs to a temporary folder. These logs are very helpful for diagnosing problems. +Since log files can get large, the client will start a new one for each sync run and compress older ones. It is also recommended to enable deleting log files after a couple of hours to avoid consuming too much disk space.</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>If enabled, logs will be written to:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="locationLabel"> + <property name="text"> + <string>C:/log</string> + </property> + <property name="textInteractionFlags"> + <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QCheckBox" name="enableLoggingButton"> + <property name="text"> + <string>Enable logging to temporary folder</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="httpLogButton"> + <property name="text"> + <string>Log Http traffic </string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="deleteLogsButton"> + <property name="text"> + <string notr="true">Delete logs older than %1 hours</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>These settings persist across client restarts. +Note that using any logging command line options will override the settings.</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="openFolderButton"> + <property name="text"> + <string>Open folder</string> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Close</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources> + <include location="../../client.qrc"/> + </resources> + <connections/> +</ui> |