Commit graph

278 commits

Author SHA1 Message Date
John Gibbon
0ba4d9a408 Fix initial auth handling
This (hopefully, it at least LGTM) fixes two problems:
 - OverviewPage.onCompleted: It got the wrong AuthorizationState if qml was loaded too fast because it wasn't initialized. (c++)
- The QML could have tried to open the InitializationPage "onCompleted". But the initial pageStack operation is a parent in it's call stack,  so it is neither ready nor wants to accept "completeAnimation()". A zero interval Timer was added for this case.
2020-11-27 10:25:23 +01:00
Sebastian Wolf
24ab5a5953
Merge pull request #200 from monich/optimizer
Added storage optimizer option
2020-11-26 15:11:01 +01:00
Sebastian Wolf
63824e77f2 Remove debug leftover in AboutPage 2020-11-26 15:10:26 +01:00
John Gibbon
12136a0e7e Add menu for "About" to InitializationPage
Also puts the account specific info from "AboutPage" into a Loader to make it optional without much effort.
2020-11-26 11:18:17 +01:00
Slava Monich
b649b71868 Added storage optimizer option 2020-11-24 00:17:27 +02:00
John Gibbon
9e405918f7 fix functions scope; make appNotification global
I've left some instances of AppNotification items where they're supposed to be centered inside a component, not the whole page.
2020-11-23 20:15:28 +01:00
John Gibbon
aec4666721 Fix copy paste artifacts 2020-11-23 08:27:56 +01:00
John Gibbon
c8f7f569a7 Another debug signal handler fix 2020-11-23 00:38:45 +01:00
John Gibbon
6140d54b18 Change debug signal handler 2020-11-23 00:13:58 +01:00
John Gibbon
7017818acb Add switchable Debug output (JS) 2020-11-23 00:08:04 +01:00
John Gibbon
b4a520ed93 Remove elide 2020-11-22 21:10:36 +01:00
John Gibbon
41af123d42 Update Twemoji images 2020-11-22 20:19:14 +01:00
John Gibbon
352493f100 Use TruncationMode.Fade 2020-11-22 20:19:14 +01:00
John Gibbon
07b8d35fb3 Remove obsolete emoji basePath workaround 2020-11-22 20:19:14 +01:00
John Gibbon
5650be60a8 Simplify twemoji.js 2020-11-22 20:19:14 +01:00
Sebastian Wolf
b26c6e81c2 Avoid strange layout if user name is veeeeeeeery long 2020-11-22 19:16:11 +01:00
Slava Monich
42ebec4503 Do not animate tab item width
It looks weird when they are moving around the screen after page
orientation changes.
2020-11-22 13:31:04 +02:00
Sebastian Wolf
4bbeb4fa34 Only clear chat model if navigated back | update translation files 2020-11-21 10:12:59 +01:00
Slava Monich
2f2cbb4679 Added UI for notificationTurnsDisplayOn option 2020-11-21 01:43:08 +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
dd6239c119 Hotfix: Use up-to-date chat information for open-by-notification 2020-11-20 19:08:05 +01:00
Sebastian Wolf
82d0058746
Merge pull request #179 from jgibbon/bugfix/#20_translation_plurals
Bugfix/#20 translation plurals
2020-11-19 21:01:19 +01:00
Sebastian Wolf
baf4b27e60 Avoid stale state for chat page picture 2020-11-19 20:25:53 +01:00
Sebastian Wolf
e4dbb63a92 Properly encode HTML entities for chat's last message 2020-11-19 11:41:32 +01:00
John Gibbon
616658ab35 %n → %Ln; remove more .arg() 2020-11-19 11:27:10 +01:00
John Gibbon
8181e17fa2 remove unnecessary .arg (+warnings) 2020-11-19 11:27:10 +01:00
John Gibbon
b48ca728d2 change/enable plural handling 2020-11-19 11:27:10 +01:00
John Gibbon
cf1c25f156 [%n1|%L1] → %Ln 2020-11-19 11:27:10 +01:00
Sebastian Wolf
af47ae2c72 Some improvements as suggested by @jgibbon, add unpin feature 2020-11-18 15:01:16 +01:00
Sebastian Wolf
b35d268b12 Now able to pin messages and show in-reply-to messages in overlay 2020-11-18 15:00:05 +01:00
Sebastian Wolf
541036d796 Display extra content in message overlay 2020-11-18 14:59:51 +01: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
Sebastian Wolf
f6b42eb3cb
Merge pull request #169 from jgibbon/bugfix/message-permissions
Bugfix/message permissions
2020-11-18 12:44:21 +01:00
Sebastian Wolf
97feb2f804
Merge pull request #176 from Wunderfitz/chat-header-alignment
Properly align custom header on chat page
2020-11-18 11:54:13 +01:00
John Gibbon
816ba6eca7 remove some semicolons; 2020-11-18 11:13:05 +01:00
John Gibbon
77efd43bde fix channel handling 2020-11-18 10:34:46 +01:00
John Gibbon
13fbd8e7a6 fix pulley menu 2020-11-18 10:34:13 +01:00
John Gibbon
95b0ddef8e align page header image; use space for text when image is further down 2020-11-18 10:27:48 +01:00
John Gibbon
b2f46b54f4 fix online member count 2020-11-18 10:08:37 +01:00
Sebastian Wolf
60ea95abec Properly align custom header on chat page 2020-11-17 23:21:38 +01:00
John Gibbon
59304527d2 fix typo; don't update group status while selecting 2020-11-17 16:21:20 +01:00
John Gibbon
3cce631aa7 optimize permission lookups 2020-11-17 11:14:36 +01:00
John Gibbon
813c7912fe chat info: review optimizations 2020-11-17 10:09:11 +01:00
John Gibbon
78cc3fbac4 chat info: fix imports 2020-11-17 10:09:11 +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
c76d079e03 permissions: replace leftover debug changes; fix another copy/paste 2020-11-16 22:31:37 +01:00
John Gibbon
c4947260f7 forwarding permissions: possibly prevent some unneccessary loops 2020-11-16 22:07:21 +01:00
John Gibbon
ac10e600bf fix restricted member permission copy/paste issue 2020-11-16 22:07:21 +01:00
John Gibbon
d5a2d315db forwarding/new message/attachment permissions
enhances #159 PR, hopefully fixes #164 issue
2020-11-16 22:07:21 +01:00