Generating more bugs for later fixing
This commit is contained in:
parent
f4150c47fc
commit
c17044e1c4
4 changed files with 24 additions and 12 deletions
|
@ -99,18 +99,22 @@ CoverBackground {
|
||||||
color: Theme.primaryColor
|
color: Theme.primaryColor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signal activateapp(string person, string notice)
|
||||||
CoverActionList {
|
CoverActionList {
|
||||||
id: coverAction
|
id: coverAction
|
||||||
|
/*CoverAction {
|
||||||
CoverAction {
|
|
||||||
iconSource: "image://theme/icon-cover-next"
|
iconSource: "image://theme/icon-cover-next"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
Logic.conf.notificationLastID = 0;
|
Logic.conf.notificationLastID = 0;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
CoverAction {
|
CoverAction {
|
||||||
iconSource: "image://theme/icon-cover-pause"
|
iconSource: "image://theme/icon-cover-new"
|
||||||
|
onTriggered: {
|
||||||
|
pageStack.push(Qt.resolvedUrl("./../pages/Conversation.qml"), {})
|
||||||
|
appWindow.activate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function checkNotifications(){
|
function checkNotifications(){
|
||||||
|
|
|
@ -31,11 +31,11 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import Sailfish.Silica 1.0
|
import Sailfish.Silica 1.0
|
||||||
import "pages"
|
import "pages"
|
||||||
import org.nemomobile.notifications 1.0
|
|
||||||
import "./lib/API.js" as Logic
|
import "./lib/API.js" as Logic
|
||||||
|
|
||||||
ApplicationWindow
|
ApplicationWindow
|
||||||
{
|
{
|
||||||
|
id: appWindow
|
||||||
//initialPage: Component { FirstPage { } }
|
//initialPage: Component { FirstPage { } }
|
||||||
cover: Qt.resolvedUrl("cover/CoverPage.qml")
|
cover: Qt.resolvedUrl("cover/CoverPage.qml")
|
||||||
allowedOrientations: defaultAllowedOrientations
|
allowedOrientations: defaultAllowedOrientations
|
||||||
|
@ -53,7 +53,14 @@ ApplicationWindow
|
||||||
if (Logic.conf['login']) {
|
if (Logic.conf['login']) {
|
||||||
//Logic.conf['notificationLastID'] = 0
|
//Logic.conf['notificationLastID'] = 0
|
||||||
Logic.api.setConfig("api_user_token", Logic.conf['api_user_token'])
|
Logic.api.setConfig("api_user_token", Logic.conf['api_user_token'])
|
||||||
pageStack.push(Qt.resolvedUrl("./pages/MainPage.qml"), {})
|
//accounts/verify_credentials
|
||||||
|
Logic.api.get('instance', [], function(data) {
|
||||||
|
console.log(JSON.stringify(data))
|
||||||
|
pageStack.push(Qt.resolvedUrl("./pages/MainPage.qml"), {})
|
||||||
|
});
|
||||||
|
|
||||||
|
//
|
||||||
|
//
|
||||||
//pageStack.push(Qt.resolvedUrl("./pages/Conversation.qml"), {})
|
//pageStack.push(Qt.resolvedUrl("./pages/Conversation.qml"), {})
|
||||||
} else {
|
} else {
|
||||||
pageStack.push(Qt.resolvedUrl("./pages/LoginPage.qml"), {})
|
pageStack.push(Qt.resolvedUrl("./pages/LoginPage.qml"), {})
|
||||||
|
|
|
@ -12,7 +12,7 @@ Page {
|
||||||
property alias avatar: header.image
|
property alias avatar: header.image
|
||||||
property string suggestedUser: ""
|
property string suggestedUser: ""
|
||||||
property ListModel suggestedModel;
|
property ListModel suggestedModel;
|
||||||
property int toot_id
|
property string toot_id: ""
|
||||||
property ListModel mdl;
|
property ListModel mdl;
|
||||||
allowedOrientations: Orientation.All
|
allowedOrientations: Orientation.All
|
||||||
onSuggestedUserChanged: {
|
onSuggestedUserChanged: {
|
||||||
|
@ -348,8 +348,8 @@ Page {
|
||||||
},
|
},
|
||||||
'conf' : Logic.conf
|
'conf' : Logic.conf
|
||||||
};
|
};
|
||||||
if (toot_id > 0)
|
if (toot_id)
|
||||||
msg.params['in_reply_to_id'] = toot_id
|
msg.params['in_reply_to_id'] = (toot_id)+""
|
||||||
|
|
||||||
if (warningContent.visible && warningContent.text.length > 0){
|
if (warningContent.visible && warningContent.text.length > 0){
|
||||||
msg.params['sensitive'] = 1
|
msg.params['sensitive'] = 1
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
* Tue July 4 2017 Dusko Angirevic <dysko@me.com> 0.1.7-0
|
* Tue July 4 2017 Dusko Angirevic <dysko@me.com> 0.1.7-0
|
||||||
- Added spoiler support for toots
|
- Added spoiler support for toots
|
||||||
- Press and hold for boost and favorite option
|
- Press and hold for boost and favourite option
|
||||||
- Updated harbour-tooter-es.ts by Caballlero
|
- Updated harbour-tooter-es.ts by Caballlero
|
||||||
- Unable to connect to unixcorn.xyz [#12] [bugfix]
|
- Unable to connect to unixcorn.xyz [#12] [bugfix]
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
- ES lang update by Caballlero
|
- ES lang update by Caballlero
|
||||||
|
|
||||||
* Thu October 10 2017 Dusko Angirevic <dysko@me.com> 0.2.1-0
|
* Thu October 10 2017 Dusko Angirevic <dysko@me.com> 0.2.1-0
|
||||||
- Added bugs for later (merging branches and cotributions)
|
- Added bugs for later (merging branches and contributions)
|
||||||
|
|
||||||
* Thu October 19 2017 Dusko Angirevic <dysko@me.com> 0.2.2-0
|
* Thu October 19 2017 Dusko Angirevic <dysko@me.com> 0.2.2-0
|
||||||
- Updated translations
|
- Updated translations
|
||||||
|
@ -49,5 +49,6 @@
|
||||||
- Added User autocomplete options
|
- Added User autocomplete options
|
||||||
- Added video player options
|
- Added video player options
|
||||||
- Smileys are inserted on the cursor position
|
- Smileys are inserted on the cursor position
|
||||||
- Pintch to zoom photos
|
- Pinch to zoom photos
|
||||||
- Support for downloading media to the device
|
- Support for downloading media to the device
|
||||||
|
- Added cover action for new toot
|
||||||
|
|
Loading…
Reference in a new issue