Bring notifications back to lock screen, changelog for 0.15

This commit is contained in:
Sebastian Wolf 2022-04-27 22:06:57 +02:00
parent 99bb0c7b85
commit 32a55c48be
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A
6 changed files with 14 additions and 6 deletions

View file

@ -57,7 +57,7 @@ Page {
} }
Label { Label {
text: "Fernschreiber 0.14" text: "Fernschreiber 0.15"
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
font.pixelSize: Theme.fontSizeExtraLarge font.pixelSize: Theme.fontSizeExtraLarge
anchors { anchors {

View file

@ -12,6 +12,12 @@
# * date Author's Name <author's email> version-release # * date Author's Name <author's email> version-release
# - Summary of changes # - Summary of changes
* Wed Apr 27 2022 Sebastian J. Wolf <sebastian@ygriega.de> 0.15
- Use geo: URL handler to open locations (direct call to Pure Maps is no longer working on SFOS 4.4)
- Use generic file handler to open downloaded files (cdg-open is no longer working on SFOS 4.4)
- Fix: Race condition on initial login caused malfunction of chats and settings page
- Fix: Bring notifications back to lock screen of SFOS 4.4
* Sun Apr 24 2022 Sebastian J. Wolf <sebastian@ygriega.de> 0.14 * Sun Apr 24 2022 Sebastian J. Wolf <sebastian@ygriega.de> 0.14
- Adjustments to SFOS 4.4: Setup application profile, migrate configuration, fix notification sound (bug #486) - Adjustments to SFOS 4.4: Setup application profile, migrate configuration, fix notification sound (bug #486)
- Support for Emoji 14.0 - Support for Emoji 14.0

View file

@ -11,8 +11,8 @@ Name: harbour-fernschreiber
# << macros # << macros
Summary: Fernschreiber is a Telegram client for Sailfish OS Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.14 Version: 0.15
Release: 2 Release: 1
Group: Qt/Qt Group: Qt/Qt
License: LICENSE License: LICENSE
URL: http://werkwolf.eu/ URL: http://werkwolf.eu/

View file

@ -1,7 +1,7 @@
Name: harbour-fernschreiber Name: harbour-fernschreiber
Summary: Fernschreiber is a Telegram client for Sailfish OS Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.14 Version: 0.15
Release: 2 Release: 1
# The contents of the Group field should be one of the groups listed here: # The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS # https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt Group: Qt/Qt

View file

@ -66,6 +66,7 @@ namespace {
const QString HINT_DISPLAY_ON("x-nemo-display-on"); // bool const QString HINT_DISPLAY_ON("x-nemo-display-on"); // bool
const QString HINT_VISIBILITY("x-nemo-visibility"); // QString const QString HINT_VISIBILITY("x-nemo-visibility"); // QString
const QString HINT_FEEDBACK("x-nemo-feedback"); // QString const QString HINT_FEEDBACK("x-nemo-feedback"); // QString
const QString HINT_PRIORITY("x-nemo-priority"); // int
const QString VISIBILITY_PUBLIC("public"); const QString VISIBILITY_PUBLIC("public");
} }
@ -218,6 +219,7 @@ void NotificationManager::updateNotificationGroup(int groupId, qlonglong chatId,
notification->setHintValue(HINT_CHAT_ID, chatId); notification->setHintValue(HINT_CHAT_ID, chatId);
notification->setHintValue(HINT_TOTAL_COUNT, totalCount); notification->setHintValue(HINT_TOTAL_COUNT, totalCount);
notification->setHintValue(HINT_FEEDBACK, "chat_exists"); notification->setHintValue(HINT_FEEDBACK, "chat_exists");
notification->setHintValue(HINT_PRIORITY, 120);
notificationGroups.insert(groupId, notificationGroup = notificationGroups.insert(groupId, notificationGroup =
new NotificationGroup(groupId, chatId, totalCount, notification)); new NotificationGroup(groupId, chatId, totalCount, notification));
} }

View file

@ -1901,7 +1901,7 @@ void TDLibWrapper::setInitialParameters()
QSettings hardwareSettings("/etc/hw-release", QSettings::NativeFormat); QSettings hardwareSettings("/etc/hw-release", QSettings::NativeFormat);
initialParameters.insert("device_model", hardwareSettings.value("NAME", "Unknown Mobile Device").toString()); initialParameters.insert("device_model", hardwareSettings.value("NAME", "Unknown Mobile Device").toString());
initialParameters.insert("system_version", QSysInfo::prettyProductName()); initialParameters.insert("system_version", QSysInfo::prettyProductName());
initialParameters.insert("application_version", "0.14"); initialParameters.insert("application_version", "0.15");
initialParameters.insert("enable_storage_optimizer", appSettings->storageOptimizer()); initialParameters.insert("enable_storage_optimizer", appSettings->storageOptimizer());
// initialParameters.insert("use_test_dc", true); // initialParameters.insert("use_test_dc", true);
requestObject.insert("parameters", initialParameters); requestObject.insert("parameters", initialParameters);