Nicolas Werner
35ff02ce48
Remove a few more headers
2 years ago
Nicolas Werner
07228d336a
Support the knock_restricted rule
2 years ago
Nicolas Werner
ef941920ea
Fix compilation without implicit nlohmann conversions
2 years ago
Nicolas Werner
beb59d5d2e
Simplify includes a bit
2 years ago
Nicolas Werner
6c6d43691d
Add basic powerlevel editor
3 years ago
Nicolas Werner
908f62159a
Properly mark image node as dirty on size update
3 years ago
Nicolas Werner
90da39313f
Use right linter
3 years ago
Nicolas Werner
a6b2be112b
More image dialog fixes
3 years ago
Nicolas Werner
62bf1b253e
Rework focus handling
3 years ago
Nicolas Werner
e4f8d32a72
Don't crash on corrupt animated images
3 years ago
Nicolas Werner
b30211f43c
Fix scaling of animated images in fullscreen image viewer
3 years ago
Nicolas Werner
a0526044ef
Fix scaling of animated images in fullscreen image viewer
3 years ago
Nicolas Werner
a59b3147a6
Add reasons to everything
...
fixes #1030
3 years ago
Nicolas Werner
656fcac91c
Don't use a modal to edit room name and topic
3 years ago
Nicolas Werner
afe381e9b1
Remove unused ToggleButton
3 years ago
Nicolas Werner
14f7fe282f
Cleanup some unused code
3 years ago
Nicolas Werner
6d1416fb6e
Add backend for new room creation dialogs
3 years ago
Nicolas Werner
b19d9caba6
Sort known UIA flows first
3 years ago
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
3 years ago
Nicolas Werner
47b822604d
Hidden events: Refactor slightly for reusability
3 years ago
tastytea
7ebced29e9
Hidden events: Make reusable read function
3 years ago
tastytea
72cfb06208
Hidden events: Some cleanup
3 years ago
tastytea
49b313e3b8
Hidden events: Make save-function reusable for global account data
3 years ago
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)
3 years ago
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.
3 years ago
Nicolas Werner
3c208cd717
Remove unused funtion
3 years ago
Nicolas Werner
2613275461
Reimplement error notifications
3 years ago
Nicolas Werner
f44d8e916b
Remove a few now unused files
3 years ago
Nicolas Werner
b106eafb0e
Initial qml root window
3 years ago
Nicolas Werner
6d4ff70b48
Add minimum scale in image viewer
3 years ago
Nicolas Werner
66520eae19
Port image overlay to qml
...
Allows you to zoom and pan now.
relates to #647
3 years ago
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job
3 years ago
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
3 years ago
Nicolas Werner
c5f4865ee6
Try to reduce CPU overhead of animated images a bit
3 years ago
Nicolas Werner
497c3df50e
Prevent copies when querying theme
3 years ago
Nicolas Werner
f21bf5f97e
Cache supported animated image formats
3 years ago
Nicolas Werner
19dc6cadea
Reserve size of some containers we are filling
3 years ago
Nicolas Werner
812e3b5f03
Reduce allocations required for the palette
3 years ago
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral
3 years ago
Nicolas Werner
a3c4ebc460
use more literals
3 years ago
Nicolas Werner
bb290f9fec
Fix more warnings and remove dead code
3 years ago
Nicolas Werner
409ff22d80
Remove unused button class
3 years ago
Nicolas Werner
5ca98829f7
Some qt6 prep
3 years ago
Nicolas Werner
a13f492e7d
Make clang-format <13 and clang-format >=13 behave the same
...
I think old clang-format is just buggy in those cases, so we should
reenable those blocks, once everyone has 13 or up.
3 years ago
Nicolas Werner
61d2d1c665
Support exif rotation on received videos
...
fixes #674
3 years ago
Nicolas Werner
b0530089ab
Fix some colors switched to yellow by accident
3 years ago
Nicolas Werner
ff560a09f5
Improve fetching of device keys after login
3 years ago
Joseph Donofry
4bd0ec8939
Fix syntax issue
3 years ago
Joseph Donofry
8e433a7ed2
PlayableMediaMessage fixes on macOS
3 years ago
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
3 years ago