Commit graph

57 commits

Author SHA1 Message Date
Slava Monich
162e1ca996 Take logging categories into use
Logging can be enabled in release build like this:

QT_LOGGING_RULES="fernschreiber.*=true" harbour-fernschreiber

See https://doc.qt.io/qt-5/qloggingcategory.html for more details.
2020-11-22 16:40:55 +02:00
Slava Monich
d1ccf9f796 Show notification popups except for the current chat
And drop dependency on Ngf. Also, pre-initialize the chat photo when
pushing the chat page.
2020-11-20 21:42:23 +02:00
Sebastian Wolf
2830f50a35 React properly on pinned message changes, nice message overlay ;) 2020-11-18 14:59:35 +01:00
Sebastian Wolf
15be3862f6 Display pinned message in chat 2020-11-18 14:59:15 +01:00
John Gibbon
182a2d1344 ChatInfoPage as attached page
fixes #150: Now basically everything is inside a loader; ChatInformationPage is added to ChatPage with pageStack.pushAttached

fixes #166: Replaces the clunky VisualItemModel in tab view and doesn't initialize multiple times.
2020-11-17 10:09:11 +01:00
John Gibbon
a33aaad1fe add en translation
Added en translation because the default "POSIX fallback" will never handle plural strings correctly.
2020-11-15 20:42:33 +01:00
John Gibbon
a8ca33fa3d multiple message selection 2020-11-14 23:50:12 +01:00
Slava Monich
449784883e Support for animated stickers
TGS are gzipped Lottie-Animations.
2020-11-11 13:22:31 +02:00
Slava Monich
9de92e1b6c Added rlottie submodule
Rendered for Lottie-Animations.
2020-11-11 03:12:52 +02:00
Slava Monich
9e8038b1b6 Added TDLibFile and optimized ProfileThumbnail
Profile images seem to be loading significantly faster after
moving file fetching logic to the native code and removing the
artificial delay.

TDLibFile is a generic object which can hopefully be used
elsewhere as an efficient replacement for JavaScript.
2020-11-08 06:08:32 +02:00
John Gibbon
37bede461b differentiate between simple/normal messages 2020-11-05 14:05:33 +01:00
John Gibbon
666fbd4a69 fix rpm changelog
To include the changes in the rpm it
 - needs to be renamed
 - need to have entries in descending order
Also, I've changed the second 0.2 → 0.3
2020-11-02 21:18:21 +01:00
Sebastian Wolf
3402fddaa6
Merge branch 'master' into feature/use-svgs 2020-10-26 22:17:13 +01:00
John Gibbon
d38490fb09 use svg icons
Closes #102.

Doesn't use Shader/HighlightImage for background/placeholder, since that neither matched the previous look nor meet my visual expectations at all. I created both previously available color variations as svg accordingly.
Implementation of the background images has been outsourced to a dedicated qml file to reduce duplication and ensure the same layout. Padding is now "medium" everywhere (stickers had none, audio had "small").

For the Icons, some (Highlight-)Image+MouseArea combinations have been changed to IconButton.
Regarding videos, I'm not actually sure if the missing "highlight" on the fullscreen icon was intentional. An issue with videos possibly having the same color as the icon remains basically the same. Nonetheless, if this isn't desired, I'll revert to just using the white image.

The sticker icon actually does look a bit differently now – it's a bit smaller. I've redrawn it from scratch but mostly kept the dimensions of icon-m-other (which doesn't look good when zoomed in, btw). Perhaps I actually did made a mistake drawing the previous one. Either way, I think it fits well enough.

The notification icon remains png, but I managed to reduce its file size by ~60% without visibly impacting it much imho.

This may be the longest commit message I've ever written.
2020-10-26 15:15:53 +01:00
John Gibbon
924ff9deda implement polls 2020-10-23 10:29:56 +02:00
Åke Engelbrektson
adccbf5346
Update harbour-fernschreiber.pro
Add Swedish translation file
2020-10-21 09:23:07 +02:00
John Gibbon
74a732a5b6 implement chat info page
includes some basic group administration features
2020-10-19 12:48:55 +02:00
Sebastian J. Wolf
a78f60f974 Search for emojis with :<keyword> 2020-10-18 18:57:01 +02:00
Sebastian J. Wolf
537725566b Supporting stickers is quite some work... :/ 2020-10-14 23:25:56 +02:00
Sebastian J. Wolf
9042cad448 Integrate Italian translation and update README accordingly 2020-10-12 22:50:40 +02:00
Sebastian J. Wolf
256244a08e Some additional preparations to send stickers 2020-10-12 22:44:21 +02:00
Slava Monich
caecdb0f56 Moved app settings to a separate object 2020-10-06 04:40:39 +03:00
Sebastian J. Wolf
c49f9b66c4 Integrate Finnish translation 2020-10-04 21:24:24 +02:00
Sebastian J. Wolf
f771cd4958 Integrate Russian translation 2020-10-04 14:34:02 +02:00
Sebastian Wolf
d79ecb8d4f
Merge branch 'master' into feature/userRegistration 2020-10-04 12:27:25 +02:00
Sebastian J. Wolf
ec9e4b2f0b Handle message short texts properly in backend 2020-10-03 22:58:45 +02:00
Sebastian J. Wolf
873c9b2669 Handle ampersands in messages correctly, fixes #43 2020-10-03 20:04:32 +02:00
John Gibbon
2b228704ef add architecture detection
a bit unrelated to feature branch, but I just wanted to build it. ;)
2020-10-01 13:22:12 +02:00
Sebastian J. Wolf
9eb396c9ca Fixes here and there... 2020-09-30 21:41:49 +02:00
John Gibbon
b58e33b2a4 Handle display of messageLocation
resolves #36
2020-09-28 22:59:47 +02:00
Sebastian J. Wolf
c9810ea194 Make yaml again the leading file 2020-09-27 15:19:46 +02:00
Sebastian Wolf
fa4fc782f9
Merge pull request #35 from monich/dbus
Build requires Qt5DBus
2020-09-27 15:17:24 +02:00
Sebastian J. Wolf
ad1cec1dfb Enable image attachments :) 2020-09-27 13:49:06 +02:00
Slava Monich
a2c9e66ede Build requires Qt5DBus 2020-09-27 13:20:18 +03:00
Sebastian J. Wolf
a5c2b34a86 Some clean-up and preparation for multi-target builds 2020-09-26 15:53:47 +02:00
Sebastian J. Wolf
f2284a8fe9 Integrate Hungarian translation 2020-09-23 21:49:27 +02:00
Sebastian J. Wolf
fcc46fbc94 Auto-scroll to message if user sent it 2020-09-22 20:32:35 +02:00
Sebastian J. Wolf
c5dade71b0 Introduce some lazy loading 2020-09-21 22:10:03 +02:00
Sebastian J. Wolf
4d573f1f43 Option to send message by pressing enter 2020-09-16 22:04:02 +02:00
Sebastian J. Wolf
266a72036b Open Fernschreiber from notification 2020-09-14 23:43:21 +02:00
Sebastian J. Wolf
fdf89fd8a8 Add NGF daemon and LED control for notifications 2020-09-13 21:54:36 +02:00
Sebastian J. Wolf
8809372b67 Backend can really send notifications 2020-09-03 23:20:46 +02:00
Sebastian J. Wolf
aa3a841fee Prepare notification manager 2020-09-02 22:49:15 +02:00
Sebastian J. Wolf
6c269780b2 Add web page preview 2020-08-29 15:51:48 +02:00
Sebastian J. Wolf
402c0ed671 Add possibility to send replies 2020-08-28 17:40:25 +02:00
Sebastian J. Wolf
ecf4c859e8 Add support for documents 2020-08-28 16:18:33 +02:00
Sebastian J. Wolf
0b77f1527d Add support for voice notes 2020-08-28 14:14:05 +02:00
Sebastian J. Wolf
50a67bb037 Add fullscreen video page 2020-08-28 11:43:51 +02:00
Sebastian J. Wolf
c741a157b7 Introduce video preview 2020-08-28 10:41:18 +02:00
Sebastian J. Wolf
b899d03660 Display images in messages and introduce image page 2020-08-24 23:02:08 +02:00