Commit Graph

1444 Commits

Author SHA1 Message Date
Nicolas Werner 47b822604d
Hidden events: Refactor slightly for reusability 2022-02-12 19:48:53 +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
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
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
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