Commit graph

396 commits

Author SHA1 Message Date
Nicolas Werner
94f5b25888 Change fallback style to fusion 2020-03-30 23:07:32 +02:00
Nicolas Werner
8bf25f3d80 Set palette globally 2020-03-30 21:48:28 +02:00
Nicolas Werner
d35cc3dda4 Use palette for qml code for theming
Can't do it for QtWidgets code. We need to fully transition, before we
can fully switch over probably.
2020-03-29 22:11:33 +02:00
Emi Simpson
06676cfb33
Updated translations 2020-03-15 16:29:08 -04:00
Pushpam Choudhary
93bcdbed2d Update minor fixes in translations as requested 2020-03-13 03:27:29 +05:30
Pushpam Choudhary
71ba8cb284 Add periods to terminate non-user messages in the timeline 2020-03-13 00:48:41 +05:30
Nicolas Werner
0f1a352dd7 Make buttons hideable via setting, button contents can still be accessed via context menu 2020-03-10 00:30:45 +01:00
Nicolas Werner
a071f55c7b Fix images without size 2020-03-08 14:39:22 +01:00
DeepBlueV7.X
50eec6a96b Translated using Weblate (German)
Currently translated at 68.4% (165 of 241 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2020-03-07 14:35:09 -05:00
DeepBlueV7.X
fc2f08a186
Merge pull request #137 from Nheko-Reborn/blurhash
Experimental Blurhash support
2020-03-05 21:07:18 +00:00
Nicolas Werner
b894ce4dcd Make blurhash provider async 2020-03-04 01:56:58 +01:00
Adasauce
ee176de1ec
update translations 2020-03-03 15:07:09 -04:00
Adasauce
ed4bb1a576
Add support for more room events in timeline 2020-03-03 15:06:52 -04:00
Joseph Donofry
ca1d3203f5 Translated using Weblate (English)
Currently translated at 100.0% (241 of 241 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2020-03-02 22:11:10 -05:00
Joseph Donofry
1046958099
Update translations 2020-03-02 21:54:33 -05:00
Nicolas Werner
0fc98b2692 Experimental blurhash implementation (MXC2448) 2020-03-03 02:34:26 +01:00
Nicolas Werner
328a3c7ebd Fix avatar layering in room list 2020-03-03 01:23:04 +01:00
Nicolas Werner
9efa001bcf Fix high dpi scaling of avatars 2020-02-28 03:20:27 +01:00
Nicolas Werner
11bffd5d90 Revert change from TextEdit to TextArea
It made some messages unreadabe. We loose proper highlight colors, but
we will have to do for now, until I can figure out, why the TextArea
doesn't work.
2020-02-27 16:48:23 +01:00
Nicolas Werner
b1eff0a37f Improve link theming 2020-02-27 00:34:58 +01:00
Nicolas Werner
4d79f8078e Don't let click on reply steal focus from the replied to elements 2020-02-26 23:43:54 +01:00
Nicolas Werner
505a8b5742 Only show reply button and option button on hover 2020-02-26 23:43:15 +01:00
Nicolas Werner
bed8c52891 Fix colour in svg not being actually white 2020-02-26 21:24:47 +01:00
Nicolas Werner
653ad0be97 Fix placeholder text being visible behind transparent avatars 2020-02-23 15:47:19 +01:00
Adasauce
6e6fe0cad2
remove setStyleSheet calls directly from widget code
removed from:
 - emoji panel scrollbars
 - emoji category labels
 - splitter image handles
 - textfield setTextColor impl

small change to the category separator label for better contrast /
readability in dark mode.

removed setTextColor completely from TextField. Doesn't appear to be in
use anywhere, and focus going more toward qss themeing from qproperty
setting.
2020-02-21 15:38:19 -04:00
Adasauce
5cdc5304ec
clean up the light and system themes too 2020-02-20 22:51:03 -04:00
Adasauce
388dee1d67
cleanup, re-order, de-duplicate, re-dry qss for dark 2020-02-20 22:26:09 -04:00
DeepBlueV7.X
a8cdc20dd3
Merge pull request #125 from adasauce/118-dark-theme-issues
Tooltip and Combobox bugs with Breeze / Dark theme
2020-02-20 21:05:26 +01:00
Nicolas Werner
6bdc75d073 Reset user colors on theme change (in qml timeline) 2020-02-20 20:51:07 +01:00
Adasauce
8b8b844bda
Tooltip and Combobox bugs with Breeze / Dark theme
setStyleSheet was overriding default tooltip theme from the system,
causing themes like Breeze to render white text on a grey bg for
tooltips. Tooltips now render default for the system theme everywhere.

set a theme matching color on the dark theme comboboxes.

fixes #118
2020-02-20 15:51:07 -04:00
Shun Sakai
2ceaead7fc Change the initial of the proper noun to uppercase
markdown -> Markdown
2020-02-14 13:02:44 +09:00
Shun Sakai
68570a41e0 Add Japanese translation 2020-02-13 15:59:52 +09:00
Nicolas Werner
284fc8eaa8 Improve styling of emote messages 2020-02-09 01:24:24 +01:00
Joseph Donofry
096db389d1
Make closing the reply popup actually clear the reply message 2020-02-04 18:17:14 -05:00
Nicolas Werner
d330020fdd Improve styling a bit 2020-02-03 19:21:03 +01:00
DeepBlueV7.X
32375518de
Merge pull request #112 from Nheko-Reborn/sharp-logo
Update the logo to not be so asymmetric and add a scalable svg. I hope I fixed all the scaling issues, where the logo isn't pixel aligned in most resolutions. Also fixes an issue, where the blue bar seemed to be misaligned in some resolutions?
2020-02-02 00:10:18 +00:00
Nicolas Werner
2053f67626 Close popup when clicking outside 2020-02-02 00:33:55 +01:00
Nicolas Werner
5f4efa9442 Speed up timeline by using global ToolTip and Menu 2020-02-02 00:27:51 +01:00
Nicolas Werner
995568814b Use cleaned up logo 2020-01-31 03:40:27 +01:00
Nicolas Werner
735086371d Make page scrolling half height 2020-01-31 00:02:15 +01:00
Nicolas Werner
9b7c1cb7f9 Add scroll page shortcut 2020-01-30 23:57:39 +01:00
Nicolas Werner
d7f7e8269f Moved down a bit 2020-01-30 22:33:35 +01:00
Nicolas Werner
324ac87a9c round variant and sizes changed a bit 2020-01-30 22:32:26 +01:00
Nicolas Werner
931f3b446e Initial rebuild of logo 2020-01-30 21:34:13 +01:00
Nicolas Werner
c2d436942e Add explicit size to reply close button 2020-01-30 04:01:44 +01:00
Joseph Donofry
d6d4076d36
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2020-01-28 19:20:51 -05:00
Joseph Donofry
d205952fc8
Change tooltip palette settings for QML 2020-01-28 19:20:39 -05:00
Nicolas Werner
75c5c01189 Merge branch 'plain-text-messages' into 0.7.0-dev 2020-01-29 00:42:46 +01:00
Nicolas Werner
b0ff1baa1d Add command for invite,kick,ban and unban 2020-01-29 00:30:53 +01:00
Nicolas Werner
4951241d23 Simplify reply popup logic 2020-01-28 19:08:16 +01:00
Nicolas Werner
c2e0aee193 Improve styling of reply popup 2020-01-28 17:16:49 +01:00
Nicolas Werner
3319e0ec20 Fix resize loop of images in reply popup 2020-01-28 17:08:49 +01:00
Joseph Donofry
2b8b04a04b
Add initial QML Reply Popup 2020-01-27 23:28:11 -05:00
Nicolas Werner
73cf7b239b Update emoji to unicode 13.0 2020-01-24 04:18:14 +01:00
Nicolas Werner
8fcb670bde Remove translations from reply fallback 2020-01-24 01:10:40 +01:00
Nicolas Werner
8389102f6c Translate member events to german 2020-01-23 21:14:36 +01:00
Nicolas Werner
e9267ffc76 Show event type string in placeholder 2020-01-23 20:59:17 +01:00
Nicolas Werner
86960e67ec Implement display of membership events 2020-01-23 20:34:04 +01:00
Nicolas Werner
84ac122c48 PixelAlign timeline view 2020-01-21 22:22:25 +01:00
Nicolas Werner
fcc7c0ce5b Account for spacing when checking for bottom message for read status 2020-01-21 20:46:12 +01:00
Nicolas Werner
c95f4d8276 Fix colors in typing display, when username contains emoji 2020-01-21 20:41:09 +01:00
Nicolas Werner
fe912240bc Move typing display to qml 2020-01-17 01:25:14 +01:00
Nicolas Werner
8c5e4db42c Remove embedded fonts 2020-01-16 20:37:07 +01:00
Nicolas Werner
69ce94d1bd Reduce memory usage and make room switching quicker
May make scrolling more laggy or jumpy.
2020-01-14 22:37:23 +01:00
Nicolas Werner
4eb0e11740 Try to match old theme better 2020-01-14 20:44:11 +01:00
Nicolas Werner
4727f1c2bb Fetch missing events for replies 2020-01-11 18:53:32 +01:00
Nicolas Werner
2b3dc3d8b9 Implement fancy reply rendering
This currently assumes the event, that is replied to, is already
fetched. If it isn't, it will render an empty reply. In the future we
should fetch replies before rendering them.
2020-01-11 14:07:51 +01:00
Nicolas Werner
01bd9f659d Adapt play buttons to theme and remove accidental message bg 2020-01-06 18:29:08 +01:00
Nicolas Werner
51d7e64992 Simplify read message logic with inverted timeline 2020-01-06 18:29:08 +01:00
Nicolas Werner
5af6f6528b Use fetchMore for native lazy loading of item model data 2020-01-06 18:29:08 +01:00
Nicolas Werner
946ab4d0f2 invert timeline 2020-01-06 18:29:08 +01:00
Nicolas Werner
a73ed771fa Make images always fit the timeline 2019-12-13 02:16:12 +01:00
Nicolas Werner
60dc3cf0bc Update translations 2019-12-11 23:32:18 +01:00
Nicolas Werner
e98a61fea6 Show topic and name changes in timeline 2019-12-10 14:46:52 +01:00
Nicolas Werner
dee49508de Simplify scroll logic 2019-12-08 01:26:00 +01:00
Nicolas Werner
8c44c5e2d0 Change scroll behaviour of timeline
This requires Qt 5.9 (to calculate overshoot).
The default scroll behaviour of list views has far too much inertia.
This should make scrolling feel more like scrolling the other scroll
areas of nheko.
2019-12-08 00:54:28 +01:00
Nicolas Werner
05aa7f948a Try to fix binding loop warning 2019-12-07 15:00:06 +01:00
Nicolas Werner
17f40d15de Update translations 2019-12-05 15:52:59 +01:00
Nicolas Werner
b8f6e4ce64 Add encrypted file download 2019-12-03 02:48:29 +01:00
Nicolas Werner
6c2ec3fe67 Rename qml namespace from com.github.nheko to im.nheko 2019-11-30 01:43:39 +01:00
Nicolas Werner
9fd279c020 Show encryption enabled and use a non zero size for zero size vide 2019-11-23 20:07:15 +01:00
Nicolas Werner
85aae9408b Wrap text in pre tags 2019-11-23 20:07:15 +01:00
Nicolas Werner
c424e397b0 Add loading spinner and restore message send queue 2019-11-23 20:07:15 +01:00
Nicolas Werner
1659356839 Update translations 2019-11-23 20:07:15 +01:00
Nicolas Werner
a3fc944967 Fix links opening user dialog and in browser 2019-11-23 20:06:16 +01:00
Nicolas Werner
0cec167339 Fix infinite item instantiating loop by using height instead of contentHeight 2019-11-23 20:06:16 +01:00
Nicolas Werner
2bfb885b47 optionally use QQuickWidget and replace ColorOverlay -> colorImageProvider 2019-11-23 20:06:15 +01:00
Nicolas Werner
1268e9f11c Make replies format nicer
Also lays a bit of groundwork for better reply rendering
2019-11-23 20:06:15 +01:00
Nicolas Werner
88dc72df4f Enable link handling 2019-11-23 20:06:15 +01:00
Nicolas Werner
993926e189 Make user clickable and improve button cursor look 2019-11-23 20:06:15 +01:00
Nicolas Werner
4f7a45a0a6 Improve avatar look and layouting
Thanks to red_sky for the feedback!
2019-11-23 20:06:15 +01:00
Nicolas Werner
2279484697 Remove unused import 2019-11-23 20:06:15 +01:00
Nicolas Werner
3c9ddc2afb break height binding loop 2019-11-23 20:06:15 +01:00
Nicolas Werner
2055c75f8b Organize qml files a bit 2019-11-23 20:06:15 +01:00
Nicolas Werner
3d6f502bcc Incubate delegates asynchronously 2019-11-23 20:06:15 +01:00
Nicolas Werner
c8f97216fa Small fixes to delegate chooser implementation 2019-11-23 20:06:15 +01:00
Nicolas Werner
c37495fae2 Use a basic implementation of a DelegateChooser for compat with older Qt
The interface is taken from Qt/KDE, but the implementation is different,
because the Qt implementation depends on some Qt internals.
2019-11-23 20:06:15 +01:00
Nicolas Werner
cff46d97a8 Add native themeing to QML (where possible) 2019-11-23 20:06:15 +01:00
Nicolas Werner
a83ae7e95f Fix section layout issues and pagination issues
Pagination could get stuck, if the messages request failed.
Section height seemes to have been calculated to late, which would make
some section overlap the next message in some cases. Fix that by doing
the height calculation manually.
2019-11-23 20:06:15 +01:00
Nicolas Werner
0fd2199112 Load content if no scrollbar is needed 2019-11-23 20:06:15 +01:00
Nicolas Werner
8ebef4eed2 Size images/videos by timeline width 2019-11-23 20:06:15 +01:00
Nicolas Werner
d90038cf20 Misc layout fixes 2019-11-23 20:06:15 +01:00
Nicolas Werner
b9076c5c4d Try out DelegateChooser
requires Qt5.12+
2019-11-23 20:06:15 +01:00
Nicolas Werner
e828d9ed7b Disable autoplayback again 2019-11-23 20:06:15 +01:00
Nicolas Werner
489165d579 Lower requirement on QtQuick.Layouts version 2019-11-23 20:06:15 +01:00
Nicolas Werner
e196450428 Use QtQuick.Controls compatible with Qt 5.8 2019-11-23 20:06:15 +01:00
Nicolas Werner
425d534e22 Enable Sticker and Emote messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
67d255a2de Add basic video messages
Size is fixed for now, otherwise the Video output ends up somewhere...
2019-11-23 20:06:15 +01:00
Nicolas Werner
8a511a7862 Add progress bar to audio messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
ea98d7b2ae Add simple audio message widget 2019-11-23 20:06:15 +01:00
Nicolas Werner
a8166462ad File messages (qml) 2019-11-23 20:06:15 +01:00
Nicolas Werner
aee29c6ed5 Reenable redactions 2019-11-23 20:06:15 +01:00
Nicolas Werner
e2d733a01a Restore saving of media 2019-11-23 20:06:14 +01:00
Nicolas Werner
9b18440b4f Reenable ImageOverlay 2019-11-23 20:06:14 +01:00
Nicolas Werner
82091999c4 Add lock to encrypted messages 2019-11-23 20:06:14 +01:00
Nicolas Werner
c8315d792b Make avatar in timeline smaller 2019-11-23 20:06:14 +01:00
Nicolas Werner
6c7e6b0e86 Fix read indicator 2019-11-23 20:06:14 +01:00
Nicolas Werner
d34067a257 Enable read receipts action and sync read receipts from cache 2019-11-23 20:06:14 +01:00
Nicolas Werner
240b3a566b Add send/received indicator 2019-11-23 20:06:14 +01:00
Nicolas Werner
5200db17e9 Implement basic placeholder and disable unimplemented event types 2019-11-23 20:06:14 +01:00
Nicolas Werner
d1fffd6617 Implement simple scroll state handling 2019-11-23 20:06:14 +01:00
Nicolas Werner
62d0cd74da Implement replies in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
a1c97fc8d6 Show redactions in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
7aca8a9430 Reenable view raw message 2019-11-23 20:06:14 +01:00
Nicolas Werner
86f4119a05 Implement basic ImageMessages in qml timeline
I suck at sizing so the images in the message are currently hardcoded to
300 pixels in width...
2019-11-23 20:06:14 +01:00
Nicolas Werner
ebeb1eb772 Implement avatars in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
7947ba57cc Make reply and options buttons smaller 2019-11-23 20:06:14 +01:00
Nicolas Werner
8727831de7 Fix QML emojis 2019-11-23 20:06:14 +01:00
Nicolas Werner
bbbd5df75f Use system colors for now 2019-11-23 20:06:14 +01:00
Nicolas Werner
34f5400e99 Implement TextMessage delegate
Text selection over multiple items doesn't work yet
2019-11-23 20:06:14 +01:00
Nicolas Werner
56e27ced25 Format date (close to) the old way in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
ccedbde38b Add avatar placeholder and scrollbar to qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
2dd636456c Add basic sections and button placeholders to qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
699fd7b38e Implement loading of history, when timeline is displayed 2019-11-23 20:06:14 +01:00
Nicolas Werner
47fbfd3f44 Add items to timline 2019-11-23 20:06:14 +01:00
Nicolas Werner
8b5c7b2f2f Add placeholder timeline model 2019-11-23 20:06:14 +01:00
Nicolas Werner
8e611abe87 Replace timeline with empty qml view 2019-11-23 20:06:14 +01:00
Joseph Donofry
98d4f14bd1
Fix themeing issues on mentions 2019-08-29 18:01:20 -04:00
nheko rocks
493e28b8cb Translated using Weblate (German)
Currently translated at 97.0% (191 of 197 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-08-01 20:39:49 -04:00
Joseph Donofry
80a8810116 Translated using Weblate (English)
Currently translated at 100.0% (197 of 197 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 23:16:59 -04:00
Joseph Donofry
660851bcb6 Translated using Weblate (English)
Currently translated at 100.0% (195 of 195 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 23:16:07 -04:00
Joseph Donofry
fd2d4d6db3
Update mentions dialog
Mentions are now separated into 'this room' and 'all rooms'
tab., which allows the user to filter on the current room
if they desire.  Should add additional logic in the future
to show which room the mention was in the for the 'all rooms'
view.
2019-07-28 23:14:10 -04:00
Joseph Donofry
b875a8debc
Update translation context 2019-07-28 18:45:37 -04:00
Joseph Donofry
7bd452aed9 Translated using Weblate (English)
Currently translated at 100.0% (195 of 195 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 18:43:53 -04:00
Joseph Donofry
7743a851a3
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-07-28 18:40:44 -04:00
Joseph Donofry
a9375add32
Address 'sent' translation issue 2019-07-28 18:40:23 -04:00
Tulir
b33307b74a Translated using Weblate (Finnish)
Currently translated at 97.3% (180 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/fi/
2019-07-28 18:19:49 -04:00
philipp
129a97bcf6 Translated using Weblate (German)
Currently translated at 97.8% (181 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 18:19:49 -04:00
nheko rocks
02bd56d5bd Translated using Weblate (German)
Currently translated at 97.8% (181 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 18:19:49 -04:00
Nicolas Werner
19aa05bc94 Manually translate long source strings 2019-07-28 21:27:11 +02:00