- removed login
- removed substitution plan - added "Wo ist der Vertretungsplan?" page This is the last commit with code changes. GOODBYE, OLD FRIEND!
This commit is contained in:
parent
835b87d5c8
commit
3e7bfb623f
11 changed files with 163 additions and 49 deletions
17
CHANGELOG.md
17
CHANGELOG.md
|
@ -4,9 +4,19 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [1.1.0] - unreleased
|
## [1.1.1] - 2020-09-19
|
||||||
### Hinzugefügt
|
### Hinzugefügt
|
||||||
- PDF-Taste oben links in der Vertretungsplan-Ansicht, um den Vertretungsplan als PDF anzusehen
|
- "Wo ist der Vertretungsplan?" - Menü
|
||||||
|
|
||||||
|
### Entfernt
|
||||||
|
- Anmeldung
|
||||||
|
- Vertretungsplan
|
||||||
|
- Einstellungen für den Vertretungsplan
|
||||||
|
- "Folge uns" Taste in den Einstellungen
|
||||||
|
|
||||||
|
## [1.1.0] - 2020-01
|
||||||
|
### Hinzugefügt
|
||||||
|
- PDF-Taste oben rechts in der Vertretungsplan-Ansicht, um den Vertretungsplan als PDF anzusehen
|
||||||
- Fehlermeldung "Verarbeitungsfehler" mit Taste zum Ansehen der PDF Datei
|
- Fehlermeldung "Verarbeitungsfehler" mit Taste zum Ansehen der PDF Datei
|
||||||
|
|
||||||
### Entfernt
|
### Entfernt
|
||||||
|
@ -14,13 +24,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
|
|
||||||
### Geändert
|
### Geändert
|
||||||
- einige Icons
|
- einige Icons
|
||||||
- pull-to-refresh indikator
|
|
||||||
|
|
||||||
## [1.0.2] - 2019-03-14
|
## [1.0.2] - 2019-03-14
|
||||||
### Hinzugefügt
|
### Hinzugefügt
|
||||||
- Dunkler Modus
|
- Dunkler Modus
|
||||||
- ssl (https) Verschlüsselung
|
- ssl (https) Verschlüsselung
|
||||||
- "Support" und "Folge uns" Tasen in den Einstellungen
|
- "Support" und "Folge uns" Tasten in den Einstellungen
|
||||||
|
|
||||||
### Behoben
|
### Behoben
|
||||||
- Fehler, der dafür sorgte, dass fälschlicherweise 'keine Verbindung zum server' angezeigt wurde
|
- Fehler, der dafür sorgte, dass fälschlicherweise 'keine Verbindung zum server' angezeigt wurde
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<manifest package="com.itsblue.flgvertretungtest" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.1.0" android:versionCode="17" android:installLocation="auto">
|
<manifest package="com.itsblue.flgvertretung" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.1.1" android:versionCode="18" android:installLocation="auto">
|
||||||
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="28"/>
|
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="29"/>
|
||||||
|
|
||||||
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
||||||
Remove the comment if you do not require these default permissions. -->
|
Remove the comment if you do not require these default permissions. -->
|
||||||
|
|
|
@ -62,6 +62,10 @@ ItemDelegate {
|
||||||
text: control.description
|
text: control.description
|
||||||
|
|
||||||
color: app.style.style.textColor
|
color: app.style.style.textColor
|
||||||
|
|
||||||
|
onLinkActivated: {
|
||||||
|
Qt.openUrlExternally(link)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
|
|
@ -48,28 +48,28 @@ Page {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
FancyButton {
|
FancyButton {
|
||||||
id: todayButton
|
id: foodplanButton
|
||||||
|
|
||||||
image: "qrc:/icons/sheute.png"
|
image: app.style.style.treffpunktFannyIcon
|
||||||
|
imageScale: 1.3
|
||||||
|
|
||||||
size: mainMenu.buttonSize
|
size: mainMenu.buttonSize
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
formStack.eventDay = 0
|
formStack.push(foodPlanForm)
|
||||||
formStack.push(eventForm)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FancyButton {
|
FancyButton {
|
||||||
id: tomorrowButton
|
id: fannyButton
|
||||||
|
|
||||||
image: "qrc:/icons/smorgen.png"
|
image: app.style.style.fannyLogo
|
||||||
|
imageScale: 1.2
|
||||||
|
|
||||||
size: mainMenu.buttonSize
|
size: mainMenu.buttonSize
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
formStack.eventDay = 1
|
Qt.openUrlExternally("http://www.fanny-leicht.de")
|
||||||
formStack.push(eventForm)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,32 +84,6 @@ Page {
|
||||||
|
|
||||||
property int buttonSize: mainMenu.buttonSize * 0.7
|
property int buttonSize: mainMenu.buttonSize * 0.7
|
||||||
|
|
||||||
FancyButton {
|
|
||||||
id: foodplanButton
|
|
||||||
|
|
||||||
image: app.style.style.treffpunktFannyIcon
|
|
||||||
imageScale: 1.3
|
|
||||||
|
|
||||||
size: smallMenu.buttonSize
|
|
||||||
|
|
||||||
onClicked: {
|
|
||||||
formStack.push(foodPlanForm)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FancyButton {
|
|
||||||
id: fannyButton
|
|
||||||
|
|
||||||
image: app.style.style.fannyLogo
|
|
||||||
imageScale: 1.2
|
|
||||||
|
|
||||||
size: smallMenu.buttonSize
|
|
||||||
|
|
||||||
onClicked: {
|
|
||||||
Qt.openUrlExternally("http://www.fanny-leicht.de")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FancyButton {
|
FancyButton {
|
||||||
id: settingsButton
|
id: settingsButton
|
||||||
|
|
||||||
|
@ -132,12 +106,32 @@ Page {
|
||||||
size: smallMenu.buttonSize
|
size: smallMenu.buttonSize
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
logoutConfirmationDialog.open()
|
Qt.quit() //logoutConfirmationDialog.open()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Button {
|
||||||
|
id: whereIsTheSubstitutionplanButton
|
||||||
|
|
||||||
|
anchors {
|
||||||
|
bottom: parent.bottom
|
||||||
|
bottomMargin: root.height* 0.01
|
||||||
|
horizontalCenter: parent.horizontalCenter
|
||||||
|
}
|
||||||
|
|
||||||
|
flat: true
|
||||||
|
|
||||||
|
text: "Wo ist der Vertretungsplan?"
|
||||||
|
|
||||||
|
font.capitalization: Font.MixedCase
|
||||||
|
|
||||||
|
onClicked: {
|
||||||
|
formStack.push(postMortumForm)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Dialog {
|
Dialog {
|
||||||
id: logoutConfirmationDialog
|
id: logoutConfirmationDialog
|
||||||
|
|
||||||
|
|
79
resources/qml/Forms/PostMortumForm.qml
Normal file
79
resources/qml/Forms/PostMortumForm.qml
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
/*
|
||||||
|
Fannyapp - Application to view the cover plan of the Fanny-Leicht-Gymnasium ins Stuttgart Vaihingen, Germany
|
||||||
|
Copyright (C) 2019 Itsblue Development <development@itsblue.de>
|
||||||
|
|
||||||
|
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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import QtQuick 2.0
|
||||||
|
import QtQuick.Controls 2.2
|
||||||
|
import QtQuick.Controls.Material 2.1
|
||||||
|
|
||||||
|
import "../Components"
|
||||||
|
|
||||||
|
Page {
|
||||||
|
id: root
|
||||||
|
|
||||||
|
property bool locked: false
|
||||||
|
|
||||||
|
signal opened()
|
||||||
|
|
||||||
|
title: "Wo ist der Vertretungsplan?"
|
||||||
|
|
||||||
|
onOpened: {}
|
||||||
|
|
||||||
|
Flickable {
|
||||||
|
id: flickable
|
||||||
|
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: 20
|
||||||
|
|
||||||
|
contentHeight: postMortumTextLabel.height
|
||||||
|
|
||||||
|
clip: false
|
||||||
|
|
||||||
|
boundsBehavior: Flickable.StopAtBounds
|
||||||
|
|
||||||
|
|
||||||
|
ScrollBar.vertical: verticalScrollBar
|
||||||
|
|
||||||
|
Label {
|
||||||
|
id: postMortumTextLabel
|
||||||
|
width: parent.width
|
||||||
|
wrapMode: Text.Wrap
|
||||||
|
text: "<h1>Goodbye, old friend ...</h1>
|
||||||
|
<br>Nach mehr als zwei Jahren, hunderten Stunden Arbeit und tausenden Zeilen Code, die ich für die Fannyapp geschrieben habe, stelle ich die Entwicklung nun schweren Herzens ein. Grund dafür ist, dass das Fanny ab diesem Schuljahr (2020/2021) in Sachen Vertretungsplan auf die kommerzielle App \"Untis mobile\" setzt, was den Vertretungsplan in der Fannyapp leider obsolet macht. Allerdings wird die App auch in Zukunft noch den Speiseplan anzeigen können.
|
||||||
|
<br><br>Ich möchte an dieser Stelle nochmals Allen danken, die die Entwicklung der App mit Feedback und Rückmeldungen unterstützt haben, allen voran dem Verein der Freunde, der mir den kostspieligen Apple Entwickler-Account gesponsert hat.<br><br>Bei weiteren Fragen bin ich erreichbar unter <a href='mailto:contact@itsblue.de'>contact@itsblue.de</a>.<br><br>Ich wünsche allen Fanny-SchülerInnen eine genauso schöne Zeit am Fanny, wie ich sie haben durfte :)
|
||||||
|
<br><br>Der Vertretungsplan findet sich ab jetzt <a href='https://herakles.webuntis.com/WebUntis/?school=FannyLGym#/basic/main'>hier bei Untis</a>
|
||||||
|
<br><br>Viele Grüße
|
||||||
|
<br>Dorian Zedler | Entwickler der Fannyapp (und ehemaliger Fanny-Schüler)"
|
||||||
|
onLinkActivated: {
|
||||||
|
Qt.openUrlExternally(link)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ScrollBar {
|
||||||
|
id: verticalScrollBar
|
||||||
|
|
||||||
|
anchors {
|
||||||
|
top: flickable.top
|
||||||
|
left: flickable.right
|
||||||
|
leftMargin: 2
|
||||||
|
bottom: flickable.bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
interactive: false
|
||||||
|
}
|
||||||
|
}
|
|
@ -36,7 +36,7 @@ Page {
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
SettingsDelegate {
|
/*SettingsDelegate {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -45,9 +45,9 @@ Page {
|
||||||
|
|
||||||
title: "Filter"
|
title: "Filter"
|
||||||
description: "Wähle die Klassen(stufen) bzw. Lehrerkürzel aus, für die du den Vertretungsplan ansehen möchtest"
|
description: "Wähle die Klassen(stufen) bzw. Lehrerkürzel aus, für die du den Vertretungsplan ansehen möchtest"
|
||||||
}
|
}*/
|
||||||
|
|
||||||
SwitchDelegate {
|
/*SwitchDelegate {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 10 + shortDescription.height + 2 + longDescription.height + 10
|
height: 10 + shortDescription.height + 2 + longDescription.height + 10
|
||||||
|
|
||||||
|
@ -126,8 +126,7 @@ Page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}*/
|
||||||
}
|
|
||||||
|
|
||||||
SwitchDelegate {
|
SwitchDelegate {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
@ -211,7 +210,7 @@ Page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SettingsDelegate {
|
/*SettingsDelegate {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
title: "Folge uns"
|
title: "Folge uns"
|
||||||
|
@ -235,6 +234,29 @@ Page {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Qt.openUrlExternally("https://t.me/FlgQtAgSupportbot")
|
Qt.openUrlExternally("https://t.me/FlgQtAgSupportbot")
|
||||||
}
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
|
SettingsDelegate {
|
||||||
|
width: parent.width
|
||||||
|
|
||||||
|
title: "Support"
|
||||||
|
description: "Bei Fragen können sie sich gerne per mail unter <a href='none'>contact@itsblue.de</a> an den Entwickler der App wenden."
|
||||||
|
|
||||||
|
showForwardIcon: false
|
||||||
|
|
||||||
|
onClicked: {
|
||||||
|
Qt.openUrlExternally("mailto:contact@itsblue.de")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
SettingsDelegate {
|
||||||
|
width: parent.width
|
||||||
|
|
||||||
|
showForwardIcon: false
|
||||||
|
|
||||||
|
title: "Open source notice"
|
||||||
|
description: "This app was built using the open source version of the <a href='https://qt.io'>Qt Framework</a> which is licensed under the <a href='https://www.gnu.org/licenses/lgpl-3.0.en.html'>lgplV3 license</a>.<br><br>This app is open source and licensed under the <a href='https://www.gnu.org/licenses/lgpl-3.0.en.html'>lgplV3 license</a>, the source code can be found <a href='https://github.com/Fanny-Leicht-Gymnasium/fannyapp'>here on GitHub</a>."
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,6 +92,11 @@ Page {
|
||||||
FilterForm {}
|
FilterForm {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Component {
|
||||||
|
id: postMortumForm
|
||||||
|
PostMortumForm {}
|
||||||
|
}
|
||||||
|
|
||||||
popEnter: Transition {
|
popEnter: Transition {
|
||||||
XAnimator {
|
XAnimator {
|
||||||
from: (formStack.mirrored ? -1 : 1) * -formStack.width
|
from: (formStack.mirrored ? -1 : 1) * -formStack.width
|
||||||
|
|
|
@ -41,7 +41,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
property QtObject style: style
|
property QtObject style: style
|
||||||
|
|
||||||
state: serverConn.state
|
state: "loggedIn" //serverConn.state
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
|
@ -65,7 +65,7 @@ ApplicationWindow {
|
||||||
id: serverConn
|
id: serverConn
|
||||||
|
|
||||||
onStateChanged: {
|
onStateChanged: {
|
||||||
app.state = newState
|
//app.state = newState
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,5 +18,6 @@
|
||||||
<file>Components/FannyDataListView.qml</file>
|
<file>Components/FannyDataListView.qml</file>
|
||||||
<file>Components/ProgressCircle.qml</file>
|
<file>Components/ProgressCircle.qml</file>
|
||||||
<file>Components/CompatibleToolButton.qml</file>
|
<file>Components/CompatibleToolButton.qml</file>
|
||||||
|
<file>Forms/PostMortumForm.qml</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 50 KiB |
BIN
resources/shared/graphics/faviconNoOutline.png
Normal file
BIN
resources/shared/graphics/faviconNoOutline.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Reference in a new issue