Commit Graph

285 Commits

Author SHA1 Message Date
Nicolas Werner b28fa86e6a
Enable -Wconversion 2022-10-26 01:10:35 +02:00
Rohit Sutradhar ac48c33286
VoIP v1 implementation (#1161)
* Initial commit for VoIP v1 implementation

* Added draft of event handlers for voip methods

* Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility

* Added call events to the general message pipeline. Modified Call Reject mechanism

* Added message delegates for new events. Modified hidden events. Updated handle events.

* Updated implementation to keep track of calls on other devices

* Fixed linting

* Fixed code warnings

* Fixed minor bugs

* fixed ci

* Added acceptNegotiation method definition when missing gstreamer

* Fixed warnings

* Fixed linting
2022-10-14 13:49:05 +00:00
Nicolas Werner af699eb83e
Mark classes as final where possible 2022-10-10 14:38:45 +02:00
Loren Burkholder 8ecbb39dc6
cppcheck stuff (#1200)
* cppcheck stuff

* Update src/ui/RoomSettings.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

* Update src/ui/RoomSettings.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

* Fix linting

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2022-10-03 21:57:30 +00:00
Nicolas Werner 09babc91d2
Green is not Svg::green
fixes #1203
2022-10-01 23:57:44 +02:00
Nicolas Werner 42a23e1859
Reduce windows ci warnings 2022-10-01 19:05:44 +02:00
Nicolas Werner 944e369d50
Fix clazy 2022-10-01 16:30:20 +02:00
Michele Guerini Rocco f5d5bea840
Add green theme color, make "error" configurable 2022-10-01 10:59:17 +02:00
Nicolas Werner 78784babd1
Revert accidental animated image change 2022-09-30 04:03:39 +02:00
Nicolas Werner 88cbac1695
Basic threading support 2022-09-30 03:27:05 +02:00
Nicolas Werner 851333a50d
Switch to clang-format14 2022-09-25 20:05:08 +02:00
Nicolas Werner 421b15c05c
Show the community of a room 2022-09-20 21:26:46 +02:00
Nicolas Werner fc0baa86b0
Fix const iteration 2022-09-19 21:57:25 +02:00
Nicolas Werner fe403ddc70
Rework how access rules for rooms are modified completely 2022-09-19 21:39:37 +02:00
Nicolas Werner 1d7575036e
Allow creating spaces 2022-09-05 02:00:20 +02:00
Nicolas Werner 01fd5e6b61
Unset the transient parent on separate chat windows
relates to #1168
2022-08-31 20:44:21 +02:00
Nicolas Werner 242b7d5506
Fix crash when fetching global profile 2022-08-13 16:28:41 +02:00
Nicolas Werner f14c192231
Fix c&p error on room names in previews 2022-08-08 22:54:36 +02:00
Nicolas Werner cd289e0587
Fix macos shadowing 2022-08-05 22:10:22 +02:00
Nicolas Werner 9d8d6b4bca
Show a room preview in the join confirmation dialog
Requires MSC3266

Fixes #1129
2022-08-05 21:57:54 +02:00
Nicolas Werner 931855441a
Allow editing aliases 2022-07-08 17:28:28 +02:00
Nicolas Werner 35ff02ce48
Remove a few more headers 2022-06-18 02:31:01 +02:00
Nicolas Werner 07228d336a
Support the knock_restricted rule 2022-06-18 00:17:24 +02:00
Nicolas Werner ef941920ea
Fix compilation without implicit nlohmann conversions 2022-06-17 03:14:48 +02:00
Nicolas Werner beb59d5d2e
Simplify includes a bit 2022-06-16 01:19:26 +02:00
Nicolas Werner 6c6d43691d
Add basic powerlevel editor 2022-05-27 17:01:58 +02:00
Nicolas Werner 908f62159a
Properly mark image node as dirty on size update 2022-05-11 12:28:27 +02:00
Nicolas Werner 90da39313f
Use right linter 2022-05-10 03:53:35 +02:00
Nicolas Werner a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Nicolas Werner 62bf1b253e
Rework focus handling 2022-05-07 18:53:16 +02:00
Nicolas Werner e4f8d32a72
Don't crash on corrupt animated images 2022-05-04 08:26:24 +02:00
Nicolas Werner a0526044ef
Fix scaling of animated images in fullscreen image viewer 2022-04-26 16:46:38 +02:00
Nicolas Werner a59b3147a6
Add reasons to everything
fixes #1030
2022-03-30 23:40:12 +02:00
Nicolas Werner 656fcac91c
Don't use a modal to edit room name and topic 2022-03-30 06:45:31 +02:00
Nicolas Werner afe381e9b1
Remove unused ToggleButton 2022-03-30 02:14:59 +02:00
Nicolas Werner 14f7fe282f
Cleanup some unused code 2022-03-30 02:07:32 +02:00
Nicolas Werner 6d1416fb6e
Add backend for new room creation dialogs 2022-03-29 20:51:18 +02:00
Nicolas Werner b19d9caba6
Sort known UIA flows first 2022-03-13 01:17:51 +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
Nicolas Werner 47b822604d
Hidden events: Refactor slightly for reusability 2022-02-12 19:48:53 +01:00
tastytea 7ebced29e9
Hidden events: Make reusable read function 2022-02-10 00:48:36 +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 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 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
Nicolas Werner 3c208cd717
Remove unused funtion 2022-01-30 20:25:30 +01:00
Nicolas Werner 2613275461
Reimplement error notifications 2022-01-30 19:14:33 +01:00
Nicolas Werner f44d8e916b
Remove a few now unused files 2022-01-30 13:16:36 +01:00
Nicolas Werner b106eafb0e
Initial qml root window 2022-01-26 21:44:13 +01:00
Nicolas Werner 6d4ff70b48
Add minimum scale in image viewer 2022-01-03 04:00:21 +01:00