Compare commits

...

20 commits

Author SHA1 Message Date
Sebastian Wolf
6ec3d2931f Restore content width in landscape as per discussion in #540 2024-05-04 22:25:56 +03:00
free software
053f5eae10 Update harbour-fernschreiber-es.ts (#542) 2024-05-04 22:25:56 +03:00
mbarashkov
3ac98a4e17 Jump to post from quote (#538)
* Jump to post from quote

* Add a setting to go to quoted message.

---------

Co-authored-by: Mikhail Barashkov <git@mbarashkov.ru>
2024-05-04 22:25:56 +03:00
Sebastian Wolf
4fc0ce70b5 Not only tablets have widescreen ;) 2024-05-04 22:25:56 +03:00
mbarashkov
06dcda1fd4 Improve chat UI on tablets by making messages narrower and limiting content items width as well. (#540)
Co-authored-by: Mikhail Barashkov <git@mbarashkov.ru>
2024-05-04 22:25:56 +03:00
Sebastian Wolf
18957e5f9d Handle event updateChatAvailableReactions 2024-05-04 22:25:55 +03:00
Sebastian Wolf
24d4b9ffb1 Tweak reactions again... 2024-05-04 22:25:37 +03:00
Patrick Hervieux
d6444c22b2 Update French translation (#532)
Co-authored-by: Patrick Hervieux <patrick.hervieux+git@pherjung.ch>
2024-05-04 22:23:21 +03:00
free software
20be5acfdc Update harbour-fernschreiber-es.ts (#529)
* Update harbour-fernschreiber-es.ts

* Update harbour-fernschreiber-es.ts
2024-05-04 22:23:07 +03:00
Slava Monich
fd8dee466e Updated Russian translation (#528) 2024-05-04 22:23:07 +03:00
Sebastian Wolf
72c4419a48 Test build no.4 2024-05-04 22:23:06 +03:00
Sebastian Wolf
02573174fc Minor tweaks for the new session timout setting 2024-05-04 22:22:54 +03:00
Sebastian Wolf
1e88f3c9ba Fix chat permissions handling 2024-05-04 22:22:54 +03:00
Slava Monich
4ea558bfa5 Tweaked notification feedback settings UI (#526) 2024-05-04 22:22:54 +03:00
Sebastian Wolf
ea513a5e42 Enable privileged mode for contacts sync 2024-05-04 22:22:52 +03:00
Sebastian Wolf
070f3e1bd7 Some minor adjustments 2024-05-04 22:22:18 +03:00
Johannes Bachmann
77f03f1f02 Always append last message content to notifications (#514)
* always append last message content to notifications

* make "always show notification" configurable

* add unfinished translations

* Fix spacing if no sender is printed
2024-05-04 22:21:03 +03:00
547b6b1e0b Fixed 2024-05-04 22:19:40 +03:00
659cf4e8ca Fixed 2024-05-04 22:19:40 +03:00
234a84ac04 Fixed merge 2024-05-04 22:19:40 +03:00
6 changed files with 76 additions and 57 deletions

View file

@ -812,7 +812,6 @@ ListItem {
Image { Image {
id: emojiPicture id: emojiPicture
source: Emoji.getEmojiPath(modelData) source: Emoji.getEmojiPath(modelData)
width: status === Image.Ready ? Theme.fontSizeExtraLarge : 0 width: status === Image.Ready ? Theme.fontSizeExtraLarge : 0
height: Theme.fontSizeExtraLarge height: Theme.fontSizeExtraLarge
} }

View file

@ -205,6 +205,38 @@ AccordionItem {
} }
} }
TextSwitch {
checked: appSettings.notificationSoundsEnabled && enabled
text: qsTr("Enable notification sounds")
description: qsTr("When sounds are enabled, Fernschreiber will use the current Sailfish OS notification sound for chats, which can be configured in the system settings.")
enabled: parent.enabled
automaticCheck: false
onClicked: {
appSettings.notificationSoundsEnabled = !checked
}
}
}
TextSwitch {
checked: appSettings.notificationSuppressContent && enabled
text: qsTr("Hide content in notifications")
enabled: parent.enabled
automaticCheck: false
onClicked: {
appSettings.notificationSuppressContent = !checked
}
}
TextSwitch {
checked: appSettings.notificationTurnsDisplayOn && enabled
text: qsTr("Notification turns on the display")
enabled: parent.enabled
automaticCheck: false
onClicked: {
appSettings.notificationTurnsDisplayOn = !checked
}
}
TextSwitch { TextSwitch {
checked: appSettings.notificationSoundsEnabled && enabled checked: appSettings.notificationSoundsEnabled && enabled
text: qsTr("Enable notification sounds") text: qsTr("Enable notification sounds")
@ -218,4 +250,3 @@ AccordionItem {
} }
} }
} }
}

View file

@ -1,55 +0,0 @@
Name: harbour-fernschreiber
Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.17
Release: 12
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt
URL: http://werkwolf.eu/
License: LICENSE
# This must be generated before uploading a package to a remote build service.
# Usually this line does not need to be modified.
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |
Fernschreiber is a Telegram client for Sailfish OS
Configure: none
Builder: qmake5
# This section specifies build dependencies that are resolved using pkgconfig.
# This is the preferred way of specifying build dependencies for your package.
PkgConfigBR:
- sailfishapp >= 1.0.2
- Qt5Core
- Qt5Qml
- Qt5Quick
- Qt5DBus
- Qt5Sql
- Qt5Multimedia
- Qt5Positioning
- nemonotifications-qt5
- openssl
# NB: spectacle has a bug where it will remove custom "#<< macros" lines, so define them here:
Macros:
- '__provides_exclude_from;^%{_datadir}/.*$'
- '__requires_exclude;^libtdjson.*$'
# Build dependencies without a pkgconfig setup can be listed here
PkgBR:
- gperf
# Runtime dependencies which are not automatically detected
Requires:
- sailfishsilica-qt5 >= 0.10.9
- nemo-qml-plugin-contacts-qt5
# All installed files
Files:
- '%{_bindir}/%{name}'
- '%{_datadir}/%{name}'
- '%{_datadir}/applications/%{name}.desktop'
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
# For more information about yaml and what's supported in Sailfish OS
# build system, please see https://wiki.merproject.org/wiki/Spectacle

View file

@ -1618,6 +1618,26 @@
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source> <source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
<translation>Al Pulsar mensaje citado, abrirá en Charla en lugar de mostrarlo en una superposición.</translation> <translation>Al Pulsar mensaje citado, abrirá en Charla en lugar de mostrarlo en una superposición.</translation>
</message> </message>
<message>
<source>Always append message preview to notifications</source>
<translation>Agregar vista previa mensaje a notificaciones</translation>
</message>
<message>
<source>In addition to showing the number of unread messages, the latest message will also be appended to notifications.</source>
<translation>Mostrará cantidad mensajes no leídos, el último mensaje se agregará a notificaciones.</translation>
</message>
<message>
<source>Highlight unread messages</source>
<translation>Resaltar mensajes no leídos</translation>
</message>
<message>
<source>Highlight Conversations with unread messages</source>
<translation>Resaltar conversaciones a mensajes no leídos</translation>
</message>
<message>
<source>Hide content in notifications</source>
<translation>Ocultar contenido a notificaciones</translation>
</message>
</context> </context>
<context> <context>
<name>SettingsPage</name> <name>SettingsPage</name>

View file

@ -1618,6 +1618,18 @@
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source> <source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Highlight unread messages</source>
<translation>Mettre en valeur les messages non-lus</translation>
</message>
<message>
<source>Highlight Conversations with unread messages</source>
<translation>Mettre en valeur les conversations avec des messages non-lus</translation>
</message>
<message>
<source>Hide content in notifications</source>
<translation>Masquer le contenu dans les notifications</translation>
</message>
</context> </context>
<context> <context>
<name>SettingsPage</name> <name>SettingsPage</name>

View file

@ -1649,6 +1649,18 @@
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source> <source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
<translation>По нажатию на цитируемое сообщение, переходить к нему в чате вместо отображения во всплывающем окне.</translation> <translation>По нажатию на цитируемое сообщение, переходить к нему в чате вместо отображения во всплывающем окне.</translation>
</message> </message>
<message>
<source>Highlight unread messages</source>
<translation>Выделять непрочитанные сообщения</translation>
</message>
<message>
<source>Highlight Conversations with unread messages</source>
<translation>Помечать чаты и каналы с непрочитанными сообщениями другим шрифтом и цветом.</translation>
</message>
<message>
<source>Hide content in notifications</source>
<translation>Не показывать содержимое сообщений в уведомлениях</translation>
</message>
</context> </context>
<context> <context>
<name>SettingsPage</name> <name>SettingsPage</name>