Commit graph

302 commits

Author SHA1 Message Date
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
DeepBlueV7.X
0c5745a9df Translated using Weblate (English)
Currently translated at 98.9% (183 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 15:21:50 -04:00
Weblate
e3d69957d3 Merge branch '0.7.0-dev' of github.com:Nheko-Reborn/nheko into 0.7.0-dev
Fix merge conflicts with weblate translation files.
2019-07-28 15:11:26 -04:00
Tulir
b25b87e877 Translated using Weblate (Finnish)
Currently translated at 94.8% (165 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/fi/
2019-07-28 14:46:21 -04:00
DeepBlueV7.X
9f9e2dc7b6 Translated using Weblate (English)
Currently translated at 96.6% (168 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 14:46:18 -04:00
DeepBlueV7.X
e35ddd845d Translated using Weblate (German)
Currently translated at 93.1% (162 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 14:46:17 -04:00
nheko rocks
2ae91e1e5c Translated using Weblate (German)
Currently translated at 93.1% (162 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 14:46:17 -04:00
Nicolas Werner
0398c846f6 Add 'and' to typing display 2019-07-28 18:13:16 +02:00
Nicolas Werner
dbb8eecf29 media->file in error message, when image upload fails 2019-07-28 16:16:02 +02:00
Nicolas Werner
50c3d4ed3a Add decryption error messages to translations 2019-07-28 13:16:13 +02:00
Nicolas Werner
0f8d882aaf Fix newly added languages after timestamp localization 2019-07-28 12:56:16 +02:00
Nicolas Werner
1c9cc33902 Try to localise timestamps
I'm not sure, if that is the right way, but Qt doesn't really have a way
to format custom localised dates, so I tried to find the closest
approximations to what we currently have.

Relates to #69
2019-07-28 12:55:08 +02:00
philipp
047966a069 Translated using Weblate (German)
Currently translated at 37.4% (65 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 06:21:42 -04:00
Tulir
5fce4cb944 Added translation using Weblate (Finnish) 2019-07-28 05:58:47 -04:00
DeepBlueV7.X
75f7690790 Translated using Weblate (German)
Currently translated at 34.5% (60 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-27 22:26:32 -04:00
DeepBlueV7.X
e6a68e2bf7 Translated using Weblate (English)
Currently translated at 31.6% (55 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 22:26:25 -04:00
DeepBlueV7.X
3c8c365135 Translated using Weblate (English)
Currently translated at 5.2% (9 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 20:21:54 -04:00
Joseph Donofry
73c4c35ab3 Translated using Weblate (English)
Currently translated at 5.2% (9 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 20:21:54 -04:00
DeepBlueV7.X
2129a00ffa Translated using Weblate (German)
Currently translated at 48.9% (85 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-27 20:21:54 -04:00
Joseph Donofry
67f48f813e Translated using Weblate (English)
Currently translated at 3.4% (6 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 19:48:59 -04:00
Nicolas Werner
78ed78c410 Improve layout of Emoji Picker
Respect system styling
Increase size of emojis (to remove empty space)
Add hover effect (partially adresses #41)
Less hardcoding of sizes
Use emoji font (color)
2019-07-25 11:49:15 +02:00
Joseph Donofry
8b2488b7ef
Update Mentions UI
Mentions are now an '@' icon in the upper right.

UI Popup is now a smaller dialog.

Still lots of work to be done here.
2019-07-21 21:58:11 -04:00
Joseph Donofry
579bf23460
Add User Mentions Dialog
Add a RoomListItem-like button that opens a dialog
containing all of the messages that would result in a
highlight from the server (for example, the user is mentioned,
or @room is mentioned).

This is VERY rudimentary and will be completely reworked in the future
to take advantage of the existing TimelineView class, instead of
using a dialog like it does now. The button to show the mentions
also needs work.
2019-07-16 22:39:10 -04:00
Nicolas Werner
713f9dbe89 Show room version in settings 2019-07-04 01:26:16 +02:00
Nicolas Werner
52871cf93c Support well-known for server discovery 2019-06-27 15:54:03 +02:00
redsky17
1d4966d5fd
Add style for reply popup. Fix ALL of the linting issues 2019-06-11 23:36:46 -04:00
redsky17
bca4d7eef6
Merge in master 2019-05-27 16:40:39 -04:00
redsky17
7c630b1363
Add reply and menu buttons to TimelineItem 2019-05-27 16:04:35 -04:00
Joseph Donofry
1b34b53afe
Update to v0.6.4 2019-05-22 22:29:31 -04:00
Joseph Donofry
7819fea9ff
Update appdata.xml 2019-05-14 18:05:35 -04:00
Heimen Stoffels
8b560d396a
Updated Dutch translation 2019-02-20 20:05:43 +01:00
miocho
f527ce0a08
Update nheko_de.ts 2019-02-17 17:54:16 +00:00
Joe
440d0b81ca Release Nheko 0.6.3
- Update version numbers and documentation
- Fix github releases oauth key
2019-02-08 14:49:53 -05:00
redsky17
db5532de62 merge master and fix conflicts 2019-01-30 20:41:09 -05:00
redsky17
f7255b7b49 Restore Emoji Picker, but remove forcing EmojiOne
Restored the emoji picker, but it now falls back to the system
instead of forcing Emoji One.  The allows users to user the
picker for convenience, but doesn't enforce the emoji style on them.
2019-01-26 21:02:22 +00:00
redsky17
df5d24c87f Revert "Remove built-in emoji picker"
This reverts commit 4b807229aa.
2019-01-26 18:17:08 +00:00
redsky17
4185b8d121 Add unread notification color for user mentioned
When user is mentioned (via matrix 'highlight_count'), inactive
rooms will use a different color for the notification circle than
when only general unread messages exist.
2019-01-25 02:47:15 +00:00
Artem Polishchuk
ab58ada970
Update Russian translation 2019-01-24 17:09:18 +02:00
redsky17
50e382f554 Modified the code that generates user's colors so that it will
work regardless of the theme choices the user makes.  The code
now incorporates the contrast between the background color and the
color generated by the user_name when picking colors.  It currently
has two 'big' issues:
1. Colors are not cached.  I am planning on adding a QHash for this
a little later.  This should improve performance by not calculating
the color for the same users over and over and over again.
2. Theme changes do not trigger the colors to get refreshed.
Currently, you will have to switch to a different room and back
to get the colors to refresh.
2019-01-18 17:17:25 +00:00
redsky17
3fceaeb203 Add hover color for timestamp.
Update dark and system themes to provide
colors for the hover states for title, subtitle, and timestamp.
2019-01-12 22:03:25 +00:00
Joe Donofry
ae91bab07d Tweak some of the colors in the CSS rules for nheko.
Add room list hover title/subtitle color change support.
2019-01-12 14:35:56 +00:00
Konstantinos Sideris
a671bd62c4 v0.6.2 2018-10-07 17:53:09 +03:00
Konstantinos Sideris
2295d681a4 Remove the bundled open sans font 2018-10-07 13:27:20 +03:00
Konstantinos Sideris
4b807229aa Remove built-in emoji picker 2018-10-07 13:13:14 +03:00
Victor Berger
18a98a7c1d Display tags as sorting items in the community panel (#401) 2018-09-28 12:40:51 +00:00
Konstantinos Sideris
5ea47920ab v0.6.1 2018-09-26 09:27:58 +03:00
Konstantinos Sideris
dec643e6ea v0.6.0 2018-09-21 16:44:45 +03:00
Konstantinos Sideris
1716502eff Improvements on the system theme 2018-09-19 22:42:26 +03:00
Iru Cai (vimacs)
05cee07154 create zh_CN translation (#442) 2018-09-17 15:49:12 +00:00
Marcin Mikołajczak
079faa67e6 i18n: Update Polish translation (#430)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-09-07 21:28:16 +00:00
Konstantinos Sideris
bf1d102658 Bump version to 0.5.5 2018-09-01 14:03:42 +03:00
Konstantinos Sideris
199a4eaf51 Bump version to v0.5.4 2018-08-21 20:48:38 +03:00
Marcin Mikołajczak
867b911538 i18n: Update Polish translation (#411)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-08-21 12:04:55 +00:00
Konstantinos Sideris
243ca55234 Bump version to 0.5.3 2018-08-12 11:35:56 +03:00
Konstantinos Sideris
a339f5062f Add solid background in TypingDisplay 2018-08-10 10:58:46 +03:00
Marcin Mikołajczak
d0b3254d10 Update polish translation (#402) 2018-08-09 20:51:08 +03:00
Konstantinos Sideris
d0ecbb79fb Import appdata file from flatpak 2018-08-08 13:18:44 +03:00
Konstantinos Sideris
8d3ef470f9 Remove hardcoded colors from the typing display 2018-08-08 12:51:40 +03:00
Marcin Mikołajczak
eb846f94b7 i18n: Update Polish translation (#390)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-07-27 17:17:24 +00:00
Konstantinos Sideris
300de362c6 Add foreground color for disabled buttons on the dark theme 2018-07-26 12:24:35 +03:00
Konstantinos Sideris
e5fe47b172 Increase the opacity of the hover color on the room list 2018-07-26 12:20:10 +03:00
Konstantinos Sideris
f8a1ed84a8 Fix background color on the room list widget 2018-07-26 12:12:00 +03:00
Konstantinos Sideris
1f47a6af3a Improve the style of snackbar a bit 2018-07-25 23:07:56 +03:00
Konstantinos Sideris
8386dd73ce Enable scrollbar on the room list for macOS (#174) 2018-07-25 18:59:33 +03:00
Konstantinos Sideris
069f0a1fbd Use native scrollbar in the timeline 2018-07-25 18:48:11 +03:00
Konstantinos Sideris
0247b47553 Refactor the room settings menu to look like the user profile 2018-07-22 15:41:06 +03:00
Marcin Mikołajczak
a823a43686 i18n: Update Polish translation (#382)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-07-22 09:46:23 +00:00
Konstantinos Sideris
83008f44e4 Show device list in user profile & add option to create 1-1 chat 2018-07-20 16:15:50 +03:00
Konstantinos Sideris
d7e5171bfa Create user profile modal 2018-07-20 12:02:35 +03:00
Konstantinos Sideris
e4dedbcaba Mark own read messages with a double checkmark (#377) 2018-07-17 23:50:18 +03:00
Konstantinos Sideris
3a917f7f12 Use a brighter color for button text (#355) 2018-07-15 21:38:47 +03:00
Konstantinos Sideris
9a0e18dea7 Add a timeline message when encryption is enabled 2018-07-07 13:39:53 +03:00
Konstantinos Sideris
ccc6cd8dab Mark encrypted messages with a lock icon 2018-07-01 19:40:53 +03:00
Marcin Mikołajczak
1a3a9c836c i18n: Add Polish translation (#349)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-22 02:20:17 +03:00
Peter
b382579789 Slightly improved ru+de translations (#333)
removed type=unfinished for translated items
2018-06-12 22:56:20 +03:00
Victor Berger
54671b3ae3 French translation (#329) 2018-06-03 11:58:20 +03:00
Konstantinos Sideris
5e9d8373e4 Use the white for text on the dark theme
fixes #331
2018-05-25 09:30:42 +03:00
Konstantinos Sideris
b19a5f6f8f Generate missing translations strings 2018-05-18 20:38:28 +03:00
Konstantinos Sideris
340c9ab9de Add menu to modify the name & topic of the room
fixes #235
2018-05-16 20:41:15 +03:00
Anton Karmanov
fab413327c Initial Russian translate (#318) 2018-05-14 22:09:22 +03:00
Konstantinos Sideris
ccf089ddb6 Fix translations 2018-05-13 22:09:26 +03:00
Konstantinos Sideris
701aa93b0a Add scrollbar in the settings menu 2018-05-09 01:00:10 +03:00
Konstantinos Sideris
763330fd3c Add member list 2018-05-01 19:35:28 +03:00
Konstantinos Sideris
3097037c3d Add prototype room settings menu 2018-04-30 21:41:47 +03:00
Konstantinos Sideris
7621dc0cb0 Fix UI inconsistencies between room list & communities
fixes #204
fixes #255
2018-04-28 15:27:12 +03:00
Konstantinos Sideris
31f5fbf891 Improve the date separator widget 2018-04-25 15:38:25 +03:00
Konstantinos Sideris
4fd8eccece Adjust completion menu to fit its contents 2018-04-24 16:03:50 +03:00
Konstantinos Sideris
96617385bc Bump version to v0.3.1 2018-04-13 15:05:22 +03:00
Bart Ribbers
e032f2935a Add more Dutch translations (#296) 2018-04-11 00:08:59 +03:00
Marcel
7e4fa28923 Add some more German Translations (#295) 2018-04-10 23:48:49 +03:00
Konstantinos Sideris
327e60af01 Update translation files 2018-03-28 11:05:08 +03:00
Konstantinos Sideris
284d200361 Fix invite button colors on the system theme
fixes #248
2018-03-27 20:21:14 +03:00
Konstantinos Sideris
553a97c8bb Add basic support for username auto-completion
fixes #40
2018-03-24 23:16:15 +02:00
Konstantinos Sideris
64a6771dc8 Fix text color on room switcher
fixes #245
2018-03-22 09:16:17 +02:00
Konstantinos Sideris
480de2d30b Adjust unread msg bubble 2018-03-20 21:23:01 +02:00