[-]
[+]
|
Changed |
_service:tar_git:harbour-bugger.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-bugger-0.9.10.tar.gz/qml/components/GuideLabel.qml
^
|
@@ -1,49 +1,47 @@
-/*
-
-Apache License 2.0
-
-Copyright (c) 2022 Peter G. (nephros)
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-this file except in compliance with the License.
-You may obtain a copy of the
-License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-*/
+// Copyright (c) 2022,2023 Peter G. (nephros)
+// SPDX-License-Identifier: Apache-2.0
import QtQuick 2.6
import Sailfish.Silica 1.0
-LinkedLabel {
+Column{
anchors.horizontalCenter: parent.horizontalCenter
- color: Theme.secondaryColor
- font.pixelSize: Theme.fontSizeSmall
- horizontalAlignment: Text.AlignJustify
- wrapMode: Text.WordWrap
- shortenUrl: true
- plainText: qsTr('
-Please review the guidelines and follow the template when creating a bug report.
+ width: parent.width - Theme.horizontalPageMargin
+ topPadding: Theme.paddingLarge
+ spacing: Theme.paddingMedium
+ Label {
+ anchors.horizontalCenter: parent.horizontalCenter
+ width: parent.width
+ color: Theme.secondaryColor
+ font.pixelSize: Theme.fontSizeSmall
+ horizontalAlignment: Text.AlignJustify
+ wrapMode: Text.WordWrap
+ text: qsTr('Please review the guidelines and follow the template when creating a bug report.')
+ }
+
+ ValueButton {
+ label: qsTr("Forum")
+ value: qsTr("Guidelines")
+ description: "https://forum.sailfishos.org/t/22"
+ onClicked: { Qt.openUrlExternally("https://forum.sailfishos.org/t/22")}
+ }
+
+ Label {
+ anchors.horizontalCenter: parent.horizontalCenter
+ width: parent.width
+ color: Theme.secondaryColor
+ font.pixelSize: Theme.fontSizeSmall
+ horizontalAlignment: Text.AlignJustify
+ wrapMode: Text.WordWrap
+ text: qsTr('If you are uncertain about how to fill out the report, we recommend asking about your issue in the General category of the Forum first:')
+ }
+
+ ValueButton {
+ label: qsTr("Forum")
+ value: qsTr("General")
+ description: "https://forum.sailfishos.org/t/15"
+ onClicked: { Qt.openUrlExternally("https://forum.sailfishos.org/t/15")}
+ }
-Guidelines: https://forum.sailfishos.org/t/22
-
-If you are uncertain about how to fill out the report, we recommend asking about your issue in the General category of the Forum first:
-
-General: https://forum.sailfishos.org/c/15
-
-Information about debugging and collecting logs can be found here:
-
-Testing: https://docs.sailfishos.org/Develop/Platform/Testing_Advice/
-
-Wiki: https://forum.sailfishos.org/t/12751/3
-')
}
-
// vim: expandtab ts=4 st=4 sw=4 filetype=javascript
|
[-]
[+]
|
Added |
_service:tar_git:harbour-bugger-0.9.10.tar.gz/qml/config/help.js
^
|
@@ -0,0 +1,45 @@
+var data = [
+ {
+ "category": "Forum",
+ "title:": "Guide",
+ "desc": "",
+ "url": "https://forum.sailfishos.org/t/12751/3"
+ },
+ {
+ "category": "Article",
+ "title": "Collecting Logs",
+ "desc": "",
+ "url": "https://docs.sailfishos.org/Support/Help_Articles/Collecting_Logs",
+ },
+ {
+ "category": "Article",
+ "title": "Basic Logs",
+ "desc": "",
+ "url": "https://docs.sailfishos.org/Support/Help_Articles/Collecting_Logs/Collect_Basic_Logs",
+ },
+ {
+ "category": "Article",
+ "title": "Persistent Logs",
+ "desc": "",
+ "url": "https://docs.sailfishos.org/Support/Help_Articles/Collecting_Logs/Collect_Persistent_Logs/",
+ },
+ {
+ "category": "Article",
+ "title": "Email Logs",
+ "desc": "",
+ "url": "https://docs.sailfishos.org/Support/Help_Articles/Collecting_Logs/Collect_Email_Logs/",
+ },
+ {
+ "category": "Article",
+ "title": "oFono Logs",
+ "desc": "",
+ "url": "https://docs.sailfishos.org/Support/Help_Articles/Collecting_Logs/Collect_oFono_Logs/",
+ },
+ {
+ "category": "Article",
+ "title": "Android Logs",
+ "desc": "",
+ "url": "https://docs.sailfishos.org/Support/Help_Articles/Collecting_Logs/Collect_Logs_with_Logcat/",
+ }
+]
+// vim: expandtab ts=4 st=4 sw=4 filetype=javascript
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-bugger-0.9.10.tar.gz/qml/config/settings.js
^
|
@@ -4,7 +4,8 @@
"os": 'file:///etc/sailfish-release',
"hw": 'file:///etc/hw-release',
"ssu": 'file:///etc/ssu/ssu.ini',
- "pm": 'file:///etc/patchmanager2.conf'
+ "pm": 'file:///etc/patchmanager2.conf',
+ "useruid": 100000
},
"submit": {
"scheme": 'https',
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-bugger-0.9.10.tar.gz/qml/harbour-bugger.qml
^
|
@@ -31,6 +31,8 @@
property bool developerMode: false
+ allowedOrientations: Orientation.All
+
/* detect closing of app, so can trigger a save */
signal willQuit()
Connections { target: __quickWindow; onClosing: willQuit() }
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-bugger-0.9.10.tar.gz/qml/pages/MainPage.qml
^
|
@@ -68,7 +68,7 @@
/* just to add something of ours to the report */
readonly property string infoFooter: 'the initial version of this bug report was created using '
- + '<a href="' + 'https://github.com/sailfishos-chum/bugger/releases/' + Qt.application.version + '">'
+ + '<a href="' + 'https://github.com/sailfishos-chum/bugger/releases/">'
+ Qt.application.name + ' ' + Qt.application.version
+ '</a>'
@@ -132,7 +132,7 @@
}
// from org.nemomobile.systemsettings to determine Device Owner
- UserInfo{id: userInfo; uid: 100000}
+ UserInfo{id: userInfo; uid: config.sources.useruid }
// from org.nemomobile.systemsettings to determine OS language
LanguageModel{id: languageModel}
property string oslanguage: languageModel.languageName(languageModel.currentIndex)
|
[-]
[+]
|
Added |
_service:tar_git:harbour-bugger-0.9.10.tar.gz/qml/pages/help/LogHelp.qml
^
|
@@ -0,0 +1,41 @@
+// Copyright (c) 2023 Peter G. (nephros)
+// SPDX-License-Identifier: Apache-2.0
+
+import QtQuick 2.6
+import Sailfish.Silica 1.0
+import "../../components"
+import "../../config/help.js" as DSO
+
+Page {
+ Component.onCompleted: { DSO.data.forEach(function(e) { helpModel.append(e) }) }
+ ListModel { id: helpModel }
+ SilicaFlickable {
+ anchors.fill: parent
+ contentHeight: content.height
+ Column { id: content
+ width: parent.width
+ spacing: Theme.paddingMedium
+ PageHeader { title: qsTr("Logging Documentation") }
+ /*
+ SectionHeader { text: qsTr("Native log collecting system") }
+ WelcomeLabel {
+ width: parent.width - Theme.horizontalPageMargin
+ anchors.horizontalCenter: parent.horizontalCenter
+ text: qsTr("We provide a systemd Target as well as a Service Template to facilitate log gathering.") + "<br />"
+ + qsTr("App developers have the option ro use a plugin-like system to add their logs to this.")
+ }
+ SectionHeader { text: qsTr("Sailfish OS Documentation") }
+ */
+ Repeater {
+ width: parent.width - Theme.horizontalPageMargin
+ anchors.horizontalCenter: parent.horizontalCenter
+ model: helpModel
+ delegate: ValueButton { label: category; value: name; description: (desc) ? desc : url
+ onClicked: { Qt.openUrlExternally(url)}
+ }
+ }
+ }
+ }
+}
+
+// vim: expandtab ts=4 st=4 sw=4 filetype=javascript
|