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
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
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
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
f1a23355bd
Port usersettings to qml
2022-01-09 01:02:25 +01:00
Joseph Donofry
53c73c2195
Fix some minor UI issues with ImageOverlay and RawMessageDialog
2022-01-05 23:33:08 -05:00
Nicolas Werner
6d4ff70b48
Add minimum scale in image viewer
2022-01-03 04:00:21 +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
61404641d9
Update year in copyright notice to shut up lint job
2022-01-01 04:57:53 +01:00
Nicolas Werner
6484ed6496
Explicitly set text format for raw message dialog
2021-12-19 09:35:59 +01:00
Loren Burkholder
d15094b21e
Use better translation method
2021-12-13 19:08:54 -05:00
Loren Burkholder
c09c0d35b8
Make opening room members from rooms settings dialog work
2021-12-13 19:08:54 -05:00
Nicolas Werner
d46e517e3a
Only show room pack button, when you can actually create one
2021-12-13 23:25:42 +01:00
Nicolas Werner
a0699f5247
Multiply source size by scale factor
...
Might be unnecessary, but docs are unclear on that.
2021-12-13 19:09:03 +01:00
Nicolas Werner
2974c541c5
Misc pack editor improvements
2021-12-13 06:18:30 +01:00
Nicolas Werner
bb600dd3d1
Show some avatar for image packs
2021-12-13 06:00:32 +01:00
Nicolas Werner
57fb0d79f9
Fix colors and alignment in dialogs
2021-11-18 22:33:45 +01:00
Nicolas Werner
d1e1e9363d
Fix qml warnings and missing icons
2021-11-18 22:04:00 +01:00
Loren Burkholder
9a5d457a49
Quality-of-life improvements to InputDialog
2021-11-16 21:06:51 -05:00
Loren Burkholder
f048caee69
Simplify code for padding delegates
2021-11-16 18:53:44 -05:00
Loren Burkholder
36f1bbcc02
Remove duplicate property
2021-11-16 18:40:48 -05:00
Loren Burkholder
b1c1274d96
Allow removing users from the invite dialog
2021-11-16 18:40:48 -05:00
Loren Burkholder
e09af0b101
Nicer padding
2021-11-16 18:40:48 -05:00
Loren Burkholder
f095352a2c
Add pointing hand cursor shape
2021-11-16 18:40:48 -05:00
Loren Burkholder
07aa89cca1
Port invite dialog to use ItemDelegate
2021-11-16 18:40:48 -05:00
Loren Burkholder
d645c43618
Add highlight on hover
2021-11-16 18:40:48 -05:00
Loren Burkholder
8ca1b93abb
Switch member dialog to using ItemDelegate
2021-11-16 18:40:48 -05:00
Nicolas Werner
df1f549a2c
Use filled shields everywhere and distinguish different states more
2021-11-17 00:37:30 +01:00
Loren Burkholder
f3aeb4b044
Switch icon theme to Fluent icons
2021-11-17 00:37:26 +01:00
Nicolas Werner
1ab4d35579
Merge branch 'video_player_enhancements' into 'master'
...
Video player enhancements
See merge request nheko-reborn/nheko!15
2021-11-12 00:19:25 +00:00
Nicolas Werner
b7b4fd0e9b
Format qml
2021-11-11 21:32:38 +01:00
Nicolas Werner
6c5807ed0c
Make yellow darker
...
Fixes readability issues in the userprofile.
fixes #440
2021-11-11 21:26:18 +01:00
Nicolas Werner
8f3a6abfa2
Improve the layout and behaviour of topbar slightly
2021-11-11 04:29:50 +01:00
DeepBlueV7.X
add5dfce7f
Merge pull request #798 from LorenDB/fixRRDialog
...
Fix clicking on avatar
2021-11-09 03:30:24 +01:00
Loren Burkholder
2c725bd1e5
Fix clicking on avatar
2021-11-08 21:26:35 -05:00
Nicolas Werner
ebc93c8870
Explicitly namespace platform module
2021-11-09 02:57:01 +01:00
DeepBlueV7.X
1bdf4ebd21
Merge pull request #791 from Nheko-Reborn/secret-storage-fixes
...
Move away from using an event loop to access secrets
2021-11-07 12:42:40 +01:00
Nicolas Werner
5ca1fb18bb
Move away from using an event loop to access secrets
...
Fixes messages in room flickering and being stuck
fixes #760
relates to #770
relates to #789
2021-11-07 03:52:57 +01:00
Loren Burkholder
b5b5c95246
Use ItemDelegate for read receipts
2021-11-06 20:00:20 -04:00
Nicolas Werner
3758c42ed6
Fix leave room dialog
2021-11-05 23:04:44 +01:00
Nicolas Werner
1e22274d8c
Use ItemDelegate in RoomList instead of a Rectangle with handlers
...
fixes #683
relates to #571
2021-11-03 23:01:36 +01:00
Nicolas Werner
912a8c43b2
Fix copyright order
2021-11-03 18:52:28 +01:00
Nicolas Werner
211fd9d76c
Fix registration on matrix.org
...
This was a bit of a journey:
https://github.com/matrix-org/matrix-doc/pull/3471
But it should work now and we now use the UIAHandler everywhere.
fixes #670
2021-11-03 18:39:51 +01:00
Loren Burkholder
0c2522684b
Auto-focus search bar in room directory
2021-10-28 21:44:24 -04:00
Thulinma
662cb573e1
Allow changing device names, display last seen time and IP
2021-10-20 18:31:57 +02:00
Thulinma
649c5ff86d
Add support for listing devices that do not support encryption, add support for logging out devices.
...
Ticks off another box in #23 !
2021-10-17 00:00:14 +02:00
tastytea
0516892759
Allow JPEG in image picker for stickers and emotes.
...
The file ending list is translated, so all the translations are updated
too.
2021-10-15 16:51:20 +02:00
Loren Burkholder
14488a8fe7
Use the same leave room dialog everywhere
...
This ports the leave room dialog to QML, everywhere. There are now no differences between the various leave dialogs.
2021-10-11 19:00:40 -04:00
DeepBlueV7.X
088765b427
Merge pull request #741 from LorenDB/qmlJoinRoomDlg
...
QML the join room dialog
2021-10-11 19:53:17 +00:00
DeepBlueV7.X
281d764aa3
Merge pull request #755 from Nheko-Reborn/bootstrapping
...
Support bootstrapping crosssigning
2021-10-09 23:35:09 +00:00
Loren Burkholder
0841abead3
Use better close-on-Enter logic
2021-10-09 17:29:05 -04:00
Loren Burkholder
6a327e0db3
Auto-focus the input
2021-10-09 17:14:35 -04:00
Loren Burkholder
484845c130
Add handy keyboard shortcuts
2021-10-09 17:14:35 -04:00
Loren Burkholder
e9ed12e27b
QML the join room dialog
2021-10-09 17:14:33 -04:00
DeepBlueV7.X
7eb9071b50
Merge pull request #743 from LorenDB/qmlLogout
...
QML the logout dialog
2021-10-09 20:57:38 +00:00
Nicolas Werner
ad1e6c8298
Support bootstrapping crosssigning
...
Showing the bootstrap state and showing there are unverified devices is
still missing.
2021-10-09 05:01:53 +02:00
DeepBlueV7.X
569606f35b
Simplify device list refresh logic
2021-10-07 20:01:55 +02:00
Thulinma
456a41bcdf
Added support for refreshing the device list, marking current device with a checkmark instead of a lock
2021-10-06 22:52:19 +02:00
Loren Burkholder
81406171a0
QML the logout dialog
2021-10-05 20:12:24 -04:00
Loren Burkholder
4e020645f1
Reorganize all the dialogs into the dialogs folder
2021-09-29 20:16:46 -04:00
Loren Burkholder
297e550b6c
Fix margins on input dialog
2021-09-24 21:33:50 -04:00
Joseph Donofry
c7545cb455
Fix a few jdenticon bugs
2021-09-14 18:39:57 -04:00
Loren Burkholder
8e5f91a579
Use better jdenticon codes/id settings
2021-09-11 19:35:31 -04:00
Loren Burkholder
17729ce662
Fix jdenticons in various places
2021-09-11 19:35:31 -04:00
Loren Burkholder
3a86d44c1e
Finish getting all avatars jdenticonified
2021-09-11 19:35:31 -04:00
Nicolas Werner
ded926cdf9
Fix a few null warnings
2021-08-29 19:24:44 +02:00
Nicolas Werner
374ad0a816
Small image pack editor improvements
...
- add missing mimetype
- allow removal of images from pack
- allow GIF as a format
- don't divide size by 2 if the image is very small already
2021-08-29 17:22:49 +02:00
Joseph Donofry
9504d02f18
Add Qt.WindowTitleHint to qml dialogs
2021-08-19 10:55:54 -04:00
Nicolas Werner
89840b9e0b
AttrIbution
2021-08-08 21:18:05 +02:00
Nicolas Werner
e5a6b2b6ef
Allow creating new packs
2021-08-06 04:31:53 +02:00
Nicolas Werner
16d0190f4e
Allow uploading additional stickers
2021-08-06 04:31:53 +02:00
Nicolas Werner
a57a15a2e0
Basic sticker pack editor
2021-08-06 04:31:53 +02:00
Nicolas Werner
87e81498b7
Fix window placement on wayland and add close buttons
...
We explicitly set a parent. We can't assign to
ApplicationWindow.transientParent though, only to
Window.transientParent, so we just call setTransientParent in C++.
2021-08-04 02:27:50 +02:00
Nicolas Werner
eafbab6ae1
Add menu to enable or disable stickers globally
2021-07-23 17:43:17 +02:00
Nicolas Werner
8803908321
Try to be compatible with Qt 5.12
2021-06-13 01:51:09 +02:00
Nicolas Werner
e2765212fb
Reimplement room context menus
2021-05-28 17:25:46 +02:00