Commit graph

1621 commits

Author SHA1 Message Date
Nicolas Werner
d59469e52f
Update translations 2022-03-07 01:23:13 +01:00
tastytea
e390c39862
Allow to specify reason for removed message
# Previous commits:
#   5949173b Add function to force focus on InputDialog input field
#   9482ac4e Allow explicit selection of SSO method
#   ab05e2d8 Mobile message input (#962)
#   12a6da01 If you replace the txn id, replace a string the length of the txn id...
2022-03-06 19:58:12 +01:00
tastytea
5949173ba2
Add function to force focus on InputDialog input field
# Previous commits:
#   9482ac4e Allow explicit selection of SSO method
#   ab05e2d8 Mobile message input (#962)
#   12a6da01 If you replace the txn id, replace a string the length of the txn id...
#   df6a5aab Fix clicking on images in replies
2022-03-06 19:58:12 +01:00
Nicolas Werner
9482ac4e7a
Allow explicit selection of SSO method
fixes #975
2022-03-06 19:51:17 +01:00
Malte E
ab05e2d8dc
Mobile message input (#962)
* swap send and sticker icons based on text input

* collapse MessageInput options when window is narrow

* buttons disappear once you type/send partial text from input method
2022-03-05 22:10:08 +00:00
Nicolas Werner
df6a5aabb6
Fix clicking on images in replies
fixes #881
2022-03-05 03:45:45 +01:00
Nicolas Werner
7238ca3765
Open room members dialog when clicking the encryption indicator
fixes #937
2022-03-05 01:45:16 +01:00
DeepBlueV7.X
d0623131e5
Merge pull request #965 from maltee1/mobile_room_settings
Mobile room settings
2022-03-05 00:33:45 +00:00
Malte E
cb057b016a rich text emoji 2022-03-04 23:11:47 +01:00
Malte E
864adaffca wrap room name 2022-03-04 23:08:00 +01:00
Malte E
573933f239 cosmetics 2022-03-04 13:40:44 +01:00
Malte E
8658801839 hopfefully the button works now 2022-03-04 11:19:58 +01:00
Malte E
cf7353c1e9 fix text color and button, copy roomID on click 2022-03-03 21:51:26 +01:00
Weblate
538a252a3f Translated using Weblate (French)
Currently translated at 100.0% (665 of 665 strings)

Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2022-03-02 19:10:17 -05:00
Eldred Habert
90e9df0ec9
Correct "be be"
This kind of duplicated short word is
is easy to have your brain "auto-correct" :D
2022-03-02 22:52:34 +01:00
Malte E
02da8e445a make long topic collapsible 2022-03-02 10:02:01 +01:00
Nicolas Werner
89a8f7a3f1
Hide hover when leaving the timeline 2022-03-01 04:21:00 +01:00
Nicolas Werner
35a2b0e45a
Fix metadata not resizing properly 2022-03-01 03:12:57 +01:00
Nicolas Werner
23efa8f815
Fix a few small completer glitches 2022-03-01 02:33:22 +01:00
Nicolas Werner
d84502737b
Fix misalignment in room list tiles 2022-02-26 16:06:33 +01:00
Weblate
e37fa69116 Translated using Weblate (Indonesian)
Currently translated at 100.0% (665 of 665 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2022-02-26 05:50:23 -05:00
Nicolas Werner
a899b08939
Update translations 2022-02-26 02:38:20 +01:00
Malte E
49aceefae3
Fix roomlist timestamp being off-screen (#966)
* fix timestamp disappearing off-screen

* remove mobileMode dependency of ScrollHelper
2022-02-25 21:57:13 +00:00
Malte E
22235defac restore default width and height 2022-02-25 22:05:35 +01:00
Malte E
e59468f28c clean up indentation 2022-02-25 21:59:01 +01:00
Malte E
fd3efdffcf make RoomSettings mobile friendly and more like UserProfile 2022-02-25 21:57:19 +01:00
Nicolas Werner
2c5489468d
Fix mobile call screen
See #469
2022-02-25 17:24:00 +01:00
Malte E
5108955df2
making userName_ an AbstractButton should play nicely with ListView (#961)
* making userName_ an AbstractButton should make it play nicely with the ListView

* make Avatar an AbstractButton

* make userName_ in Reply.qml an AbstractButton

* use alias for avatar background color and fix margin of username in reply
2022-02-24 02:16:39 +00:00
DeepBlueV7.X
ebc0384ebb
Merge pull request #956 from maltee1/mobile_room_directory
Mobile room directory
2022-02-23 01:14:36 +00:00
Malte E
3d8e5c0028 make room directory fit mobile screens 2022-02-21 22:41:02 +01:00
Nicolas Werner
ff4334d59e
Don't leak dialogs
It seems that you need to manually destroy created objects... Great...

fixes #898
2022-02-21 05:01:01 +01:00
Nicolas Werner
609cd82dc0
Fix forward completer 2022-02-21 04:07:13 +01:00
Malte E
1c8a5c645d
Add sender names to state events (#948)
* add sendernames to state events

* Center state events and make them less tiny
2022-02-21 00:39:32 +00:00
DeepBlueV7.X
b3da8738bf
Merge pull request #951 from maltee1/fix_timeline_scrollbar
Fix timeline scrollbar
2022-02-21 00:31:09 +00:00
DeepBlueV7.X
8727b696fc
Merge pull request #946 from maltee1/mobile_usersettings
Make UserSettingsPage fit on a phone screen
2022-02-21 00:25:06 +00:00
Malte E
8b6d4a57e6 another shot in the dark 2022-02-20 13:51:07 +01:00
Malte E
8b75d86924 try to make scrollbar overlap content based on style 2022-02-20 11:18:39 +01:00
Malte E
ea7c8d1427 remove touchobserver 2022-02-20 10:09:22 +01:00
Malte E
4f8e6602c4 limit width of comboboxes and add bottomPadding 2022-02-20 09:45:37 +01:00
Nicolas Werner
d941974e35
Simplify logic to suppress wheel events 2022-02-20 03:03:11 +01:00
Malte E
af8fbb990b remove reparenting 2022-02-19 21:47:19 +01:00
Nicolas Werner
46fbb0e749
Use ListView without scrollview for messages
That way we can autohide the scollbar if needed, it should fix some
jumping issues, it makes it possible to flick on mobile, etc.

Some related bugs:

https://bugreports.qt.io/browse/QTBUG-75223
https://bugreports.qt.io/browse/QTBUG-44902
2022-02-19 21:45:43 +01:00
Malte E
c405eddea6 actually fix awkward message spacing 2022-02-18 21:33:09 +01:00
Malte E
a3fcb4d990 fix awkward message spacing 2022-02-18 21:29:14 +01:00
Malte E
144e7cd038 make search usable on mobile 2022-02-18 21:06:28 +01:00
Malte E
8fede53c82 let labels wrap and collapse below the back button 2022-02-18 20:20:52 +01:00
tastytea
624da5e028
Make hover highlight fill the full width of the timeline
Rows in the message bubble design are only as wide as the bubbles. This
lead to invisible hover highlight. Now it's consistent.
2022-02-18 02:20:56 +01:00
Nicolas Werner
0629ea5932
Always enable hover for ItemDelegate 2022-02-17 15:32:25 +01:00
Nicolas Werner
c0f415238d
Fix images without size not showing (take5) 2022-02-17 00:42:57 +01:00
Nicolas Werner
c310e6f35c
Fix hover highlight when hovering hover menu
fixes #941
2022-02-16 23:25:19 +01:00
DeepBlueV7.X
6a47b47571
Merge pull request #939 from maltee1/better_bubbles
Place metadata next to content if there is space
2022-02-16 20:21:22 +00:00
Nicolas Werner
d330fdb61f
Fix hovering messages 2022-02-14 23:13:22 +01:00
Nicolas Werner
e077bdbdd5
Allow window sizes smaller than 400x400 2022-02-14 22:56:35 +01:00
Malte E
1cc4f76998 fix overlap in NoticeMessage 2022-02-14 21:59:35 +01:00
Malte E
e69f0fe960 don't mess up old layout 2022-02-14 21:15:16 +01:00
Malte E
6f3ed5b282 space-saving metadata placement 2022-02-14 21:07:03 +01:00
Nicolas Werner
1df1b5037e
Fix second codeblock not wrapping 2022-02-14 16:47:27 +01:00
Nicolas Werner
297c819bf0
Fix padding in redactions 2022-02-14 15:57:08 +01:00
Nicolas Werner
ddcd4850f1
Merge branch 'message-bubbles' of https://github.com/maltee1/nheko into maltee1-message-bubbles 2022-02-14 15:43:17 +01:00
Malte E
ddf11d9a8c improve spacings 2022-02-14 14:50:37 +01:00
Malte E
ce13ccd677 fix redactions line-wrapping 2022-02-14 14:16:11 +01:00
Malte E
414257bf0e fix bugs found by Nico 2022-02-14 14:03:17 +01:00
Nicolas Werner
6e1ac16f61
Fix overlapping offline indicator 2022-02-14 04:05:33 +01:00
Malte E
993b0ae721 fix vertical space for some state events 2022-02-13 13:27:31 +01:00
Malte E
987b9bed6b add small avatars option and tweak colors and spacings 2022-02-13 13:12:51 +01:00
Nicolas Werner
47b822604d
Hidden events: Refactor slightly for reusability 2022-02-12 19:48:53 +01:00
Malte E
894438c6ce place own bubbles on right and remove user info 2022-02-11 23:12:04 +01:00
Malte E
d0ac110cb7 Fix layout - no more binding loops (hopefully) 2022-02-11 22:02:30 +01:00
tastytea
72cfb06208
Hidden events: Some cleanup 2022-02-10 00:48:35 +01:00
tastytea
49b313e3b8
Hidden events: Make save-function reusable for global account data 2022-02-10 00:48:35 +01:00
tastytea
f7ca41bc49
Hidden events: Change title and prompt depending on isRoomSetting
We would have to set text and title separately otherwise.
2022-02-10 00:48:35 +01:00
tastytea
f0bb64030e
Hidden events: Incorporate suggestions from review
- Set TitleHint flag on dialog
- Store hidden events as QSet<QString> instead of std::vector<bool>
- Change wording in dialog (disable events instead of turning the hiding
  on)
2022-02-10 00:48:35 +01:00
tastytea
d4cc3507f8
Hidden events: Enhance tooltips
Shorten tooltip for power levels, expand tooltip for user events.
2022-02-10 00:48:35 +01:00
tastytea
5cd3e61cb0
Add GUI to change hidden events per room
This adds a dialog to the room settings in which the user can choose
which of these three event types they want to hide (additionally to the
default):

  - m.room.member
  - m.room.power_levels
  - m.sticker

The current state is read when room settings are opened and saved when
new settings are accepted.
2022-02-10 00:48:35 +01:00
Malte E
0e548b7d39 fixed most of the binding loops 2022-02-09 21:36:04 +01:00
Malte E
5db7ec7f03 Variable width bubbles (still has binding loop) 2022-02-09 17:53:02 +01:00
Malte E
e290f9938a
Update resources/qml/delegates/Reply.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2022-02-07 22:04:49 +01:00
Malte E
12d600db97 add translations and actually add changes to TimelineModel 2022-02-07 21:53:37 +01:00
Malte E
384c9c91e3 print state events without bubbles, displaynames or avatars and in a smaller font 2022-02-07 21:00:51 +01:00
Malte E
9d194cc2e6 clean up margin setting 2022-02-05 21:53:21 +01:00
Malte E
f5a693ac03 place metadata below message when the Layout is narrow (<350) 2022-02-05 14:12:51 +01:00
tastytea
9836443d26
Add maximum width to room name in user profile
Layout is: spacing | text | spacing | button | spacing
Therefore we subtract 3x spacing and 1x button(16) from width.
2022-02-05 01:40:31 +01:00
tastytea
721c315be2
Add maximum width to user name in profile
Layout is: padding | text | margin | button | padding
Therefore we subtract 2x padding, 1x margin and 1x button from
width. And an extra button for some reason. 🤷
2022-02-05 01:38:03 +01:00
tastytea
2815ad0408
Fix width of room name to dialog width 2022-02-04 23:40:40 +01:00
Malte E
3f7c15c7af Add message bubbles 2022-02-04 23:12:30 +01:00
Malte E
3c8c02e802 Revert removal of width and height in TextMessage and implicitWidth in MessageDelegate 2022-02-04 21:20:25 +01:00
Nicolas Werner
7b00411dc4 Show widgets as links 2022-02-04 20:48:14 +01:00
DeepBlueV7.X
00116e8128
Merge pull request #906 from LorenDB/offlineIndicator
Add offline indicator
2022-02-04 07:13:53 +01:00
Loren Burkholder
9d3d85c5c2 Use different height setting 2022-02-03 18:31:29 -05:00
Malte E
04b47d6882 prepare code for message bubbles and dynamic message layout 2022-02-03 20:26:20 +01:00
DeepBlueV7.X
b30616e183
Merge pull request #918 from tastytea/stickerpicker-reapply-search
Clear search text in StickerPicker when the popup closes
2022-02-03 11:00:07 +01:00
Weblate
0024b6bf24 Translated using Weblate (Chinese (Simplified))
Currently translated at 16.4% (104 of 633 strings)

Co-authored-by: hulb <hulb@live.cn>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2022-02-02 13:52:06 -05:00
tastytea
eb13bed201
Clear search text in StickerPicker when the popup closes
Same as emoji picker.
2022-02-02 18:00:50 +01:00
Loren Burkholder
5bed3684ec Add offline indicator (#472) 2022-02-01 23:39:22 -05:00
DeepBlueV7.X
b706e272e5
Merge pull request #893 from Nheko-Reborn/qml-root
Qml root
2022-01-30 19:18:32 +00:00
Nicolas Werner
f76d679ef6
Fix list items being hoverable through between settings and new room buttons 2022-01-30 20:09:58 +01:00
Nicolas Werner
2613275461
Reimplement error notifications 2022-01-30 19:14:33 +01:00
Nicolas Werner
a0a35c8786
keep the RegisterPage name
So we don't have to retranslate.
2022-01-29 17:30:56 +01:00
Nicolas Werner
f28013dc18
Port registration to Qml 2022-01-28 15:24:56 +01:00
Joseph Donofry
42ae8fa9f2 Use ScrollHelper on EmojiPicker 2022-01-26 19:14:18 -05:00
Nicolas Werner
4a80fdc951
Functional login page 2022-01-26 21:44:13 +01:00
Nicolas Werner
aaae72a4f2
Fix focus and qml parenting with qml root 2022-01-26 21:44:13 +01:00
Nicolas Werner
b106eafb0e
Initial qml root window 2022-01-26 21:44:13 +01:00
Weblate
e81427c879 Translated using Weblate (Indonesian)
Currently translated at 100.0% (633 of 633 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2022-01-15 05:39:53 -05:00
Nicolas Werner
c59bb67569
Fix setting double values in setting spinboxes 2022-01-13 05:52:31 +01:00
Nicolas Werner
34abae0c42
Small size and selection improvements for the settings page 2022-01-13 04:16:26 +01:00
Nicolas Werner
41a9577201
Fix device verification colors 2022-01-12 19:03:29 +01:00
Nicolas Werner
39bf20baed
Move usersettings page to pages subdir 2022-01-12 19:03:29 +01:00
Joseph Donofry
d2ee5d8d43
Merge pull request #883 from Nheko-Reborn/qml-usersettings
Port usersettings to qml
2022-01-11 13:04:55 -05:00
Nicolas Werner
59bc8307c8
Address review comments 2022-01-11 04:12:42 +01:00
Weblate
edfeb5c284 Translated using Weblate (Dutch)
Currently translated at 100.0% (633 of 633 strings)

Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2022-01-09 23:07:35 -05:00
Nicolas Werner
f1a23355bd
Port usersettings to qml 2022-01-09 01:02:25 +01:00
Drake
cc3fa9c063 Spanish translation done 2022-01-06 09:27:09 +00:00
Joseph Donofry
53c73c2195
Fix some minor UI issues with ImageOverlay and RawMessageDialog 2022-01-05 23:33:08 -05:00
Nicolas Werner
8d52c17f29
Work around images with size 0 in info
fixes #875
2022-01-04 05:19:48 +01:00
Nicolas Werner
193215c067
Update translations 2022-01-03 04:01:44 +01:00
Nicolas Werner
6d4ff70b48
Add minimum scale in image viewer 2022-01-03 04:00:21 +01:00
Nicolas Werner
eee61cd524
Fix download icon size 2022-01-02 23:17:53 +01:00
Weblate
b9afc6bf04 Translated using Weblate (Estonian)
Currently translated at 100.0% (633 of 633 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/et/
Translation: Nheko/nheko
2022-01-02 16:25:19 -05:00
Weblate
b2c7919b9f Translated using Weblate (French)
Currently translated at 100.0% (633 of 633 strings)

Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2022-01-02 16:25:19 -05:00
Nicolas Werner
ccc221c341
Make some icons smoother 2022-01-02 22:14:31 +01:00
Nicolas Werner
66520eae19
Port image overlay to qml
Allows you to zoom and pan now.

relates to #647
2022-01-02 21:46:29 +01:00
Nicolas Werner
c3e2e73175
Fix fade out of ripple 2022-01-02 20:13:21 +01:00
Nicolas Werner
1c83ce1e79
Simplify Ripple effect and make it easier to use everywhere 2022-01-02 06:22:50 +01:00
Weblate
e05720b5ca Translated using Weblate (French)
Currently translated at 99.6% (631 of 633 strings)

Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2022-01-01 20:04:44 -05:00
Weblate
41688664b2 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/
Translation: Nheko/nheko
2022-01-01 20:04:44 -05:00
Drake
531f5c5fa1 Added more spanish translation
I was looking at weblate and saw this one was barely translated so here it is, not fully done yet though mostly because I didn't understand the context for some text or just didn't know the "best" way of translating it to spanish but I'll try to keep on it
2022-01-01 20:40:28 +00:00
Nicolas Werner
1dc53a301f
Fix hovering aliases that only have text 2022-01-01 16:38:52 +01:00
Nicolas Werner
7685d1808b
Strip variant selector in some cases
fixes #439
Workaround for https://bugreports.qt.io/browse/QTBUG-97401
fixes #810
2022-01-01 07:10:12 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Weblate
4b166e2e2d Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/
Translation: Nheko/nheko
2021-12-31 22:42:58 -05:00
Nicolas Werner
52a6105dc1
Update translations 2022-01-01 04:41:15 +01:00
Weblate
7942bfdf1a Translated using Weblate (Spanish)
Currently translated at 7.4% (47 of 627 strings)

Translated using Weblate (Spanish)

Currently translated at 7.4% (47 of 627 strings)

Translated using Weblate (Spanish)

Currently translated at 7.4% (47 of 627 strings)

Co-authored-by: Diego Collado <diego@diegocollado.net>
Co-authored-by: Edd Ludd <nrdz4xoo@anonaddy.me>
Co-authored-by: Richard <mpxfsfuv@sharklasers.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/es/
Translation: Nheko/nheko
2021-12-31 15:30:46 -05:00
Weblate
245ac74198 Added translation using Weblate (Catalan)
Co-authored-by: Edd Ludd <nrdz4xoo@anonaddy.me>
Co-authored-by: Weblate <noreply@weblate.org>
2021-12-31 15:30:46 -05:00
Nicolas Werner
6f77a1fe9d
Use the styles default delay for tooltips
This makes them less annoying when scrolling or accessing the popup
menu.

See also #860
2021-12-31 00:48:55 +01:00
Nicolas Werner
750c64f323
Get rid of some useless code 2021-12-31 00:48:55 +01:00
Nicolas Werner
b7d6191e24
Fix wrapping in member events 2021-12-31 00:48:55 +01:00
Weblate
b3dee6e03e Translated using Weblate (Spanish)
Currently translated at 4.6% (29 of 627 strings)

Co-authored-by: LluisE <lluise@tutanota.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/es/
Translation: Nheko/nheko
2021-12-30 14:40:41 -05:00
Joe Donofry
459edcd71a Merge branch 'completer_scrolling' into 'master'
Completer scrolling

See merge request nheko-reborn/nheko!20
2021-12-30 04:46:30 +00:00
Joe Donofry
c8ff44aa20 Increase Completer limit to 30
- Add scrolling
- Only display ~7 items at once
2021-12-30 04:46:30 +00:00
Nicolas Werner
9a9dbda571
Update presence dynamically and reduce allocations 2021-12-30 04:54:03 +01:00
Weblate
b9318a317b Translated using Weblate (Indonesian)
Currently translated at 100.0% (627 of 627 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2021-12-27 18:27:40 -05:00
Nicolas Werner
7742f12f30
Use body in alt text of custom emoji 2021-12-27 19:08:13 +01:00
Nicolas Werner
ea6b19b307
Add an ugly custom emote completer using ~ 2021-12-27 06:23:36 +01:00
Nicolas Werner
926c7a89ad
Add alternative shortcut to Alt-A for systems, where that is taken already 2021-12-22 02:45:25 +01:00
Nicolas Werner
b9a4f369e1
Fix date in CHANGELOG and appdata 2021-12-21 09:34:25 +01:00
Nicolas Werner
dfab0c92d7
Release 0.9.1 2021-12-21 00:17:38 +01:00
Weblate
22fa528f73 Translated using Weblate (Indonesian)
Currently translated at 100.0% (627 of 627 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2021-12-20 07:08:42 -05:00
Nicolas Werner
c03e4c1261
Make Nheko show up in system notification settings on Linux
relates to #845
2021-12-19 09:35:59 +01:00
Nicolas Werner
6484ed6496
Explicitly set text format for raw message dialog 2021-12-19 09:35:59 +01:00