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
c34c9f9035
Automatically switch to threading when replying
2022-09-30 03:43:42 +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
79ce60382a
Fix crash when deleting room summary
...
Since this is used across different threads, we have to delete it on the
event loop.
Thank you, q234rty, for the help with debugging this.
2022-09-24 10:36:26 +02:00
Nicolas Werner
421b15c05c
Show the community of a room
2022-09-20 21:26:46 +02:00
Hiers
8071b192b8
Line to indicate first unread message ( #1147 )
...
* First draft of unread line feature.
* Minor visual fix.
* Removed unnecessary ternary operator.
* Extended unread line functionality to work on minimised window or focusing another window.
* Fix for unread line not showing when last read message is hidden.
* Minor performance improvement. Fix for misbehaving event2order DB at application start.
* Fix for possible performance issues when user has joined a large number of rooms.
* Fix for breaking macos and clazy builds.
* Changed on windows focus function to refresh unread line if room is unread.
* Unread line is removed when user sends a message.
* Linting.
* Fixed unread line to work in standalone room windows.
* Switch isRoomUnread for index 0.
* Merged try/catch blocks.
* Fix for crash on opening a room invite.
* Call fullyReadEventId function when used instead of storing it and passing it through.
* Function that was meant to sync the unread line was relying on an async function, oops.
* Linting again.
* More linting...
* Minor changes.
2022-09-11 23:05:20 +00:00
Nicolas Werner
f76fd4ca83
WIP
2022-07-15 16:19:06 +02:00
Nicolas Werner
11fa4821aa
Support rendering policy rules
2022-07-09 15:36:28 +02:00
Nicolas Werner
678806749d
Add a /command to redact all visible messages sent by a user
2022-07-01 10:24:12 +02:00
brausepulver
09c646d3fa
Add copy link to room context menu ( #1101 )
2022-06-23 23:44:50 +00:00
Nicolas Werner
35ff02ce48
Remove a few more headers
2022-06-18 02:31:01 +02:00
Nicolas Werner
ef941920ea
Fix compilation without implicit nlohmann conversions
2022-06-17 03:14:48 +02:00
Nicolas Werner
ef9ebe3fd3
Speedup startup by caching last message timestamp
...
The cache is only approximate, i.e. it doesn't skip edits and similar,
but this might be good enough? Also no migration right now.
Speeds up startup by about 5x on my system.
Half the startup time is now loading the powerlevels for each room. We
can probably lazily load those too in the future.
2022-06-15 02:13:17 +02:00
Nicolas Werner
6c6d43691d
Add basic powerlevel editor
2022-05-27 17:01:58 +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
3b2f47c56f
Show changes in image packs in timeline
2022-04-19 22:33:53 +02:00
Nicolas Werner
fd83858715
Add duration and resolution to files
2022-03-21 00:48:27 +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
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
Nicolas Werner
47b822604d
Hidden events: Refactor slightly for reusability
2022-02-12 19:48:53 +01:00
Malte E
12d600db97
add translations and actually add changes to TimelineModel
2022-02-07 21:53:37 +01:00
Nicolas Werner
b3221b09d6
Add /reset-state command
2022-02-05 08:40:56 +01:00
Nicolas Werner
7b00411dc4
Show widgets as links
2022-02-04 20:48:14 +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
19dc6cadea
Reserve size of some containers we are filling
2021-12-29 06:01:38 +01:00
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral
2021-12-29 04:52:52 +01:00
Nicolas Werner
2866826356
Misc clang-tidy fixes
2021-12-28 19:12:15 +01:00
Nicolas Werner
960cf2995e
Fixup clang-tidy suggestion
2021-12-28 18:44:26 +01:00
MTRNord
7b2f7e65fd
Run linter
2021-12-27 20:49:27 +01:00
MTRNord
049613211a
Apply (selective) Clang-tidy const function and new const pointer suggestions on TimelineModel
2021-12-23 02:55:25 +01:00
MTRNord
a872bdf8c5
Apply (selective) Clang-tidy move and some new detected const pointer suggestions on TimelineModel
2021-12-23 02:46:33 +01:00
MTRNord
02fcd0e7cf
Apply (selective) Clang-tidy and clazy suggestions on TimelineModel
2021-12-23 02:33:46 +01:00
Nicolas Werner
75b112f0c8
Support pinned messages
...
fixes #519
2021-12-11 06:10:41 +01:00
Joe Donofry
b920f8d7ca
Change QML UI for redactions
2021-11-29 00:59:57 +00:00
Nicolas Werner
c4c13a1da9
Fix redaction of edited messages
2021-11-08 19:32:14 +01:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces
2021-09-18 00:45:50 +02:00
Loren Burkholder
87bff3493d
Add direct chat handling for previews and invites
2021-09-11 19:35:31 -04:00
Loren Burkholder
0e3f3f2b20
make lint
2021-09-11 19:35:31 -04:00
Loren Burkholder
356723fe06
Use more descriptive property name
2021-09-11 19:35:31 -04:00
Loren Burkholder
350fc593ed
Use better id loading methodology
2021-09-11 19:35:31 -04:00
Loren Burkholder
1fdecdcc21
Get direct chat jdenticons to line up
2021-09-11 19:35:31 -04:00
Nicolas Werner
09c041c8ac
Use in memory media player instead of storing unencrypted files on disk
2021-08-29 16:32:22 +02:00
Nicolas Werner
5b460861b1
Allow accepting knocks in the timeline
...
As well as selecting more join rules.
2021-08-17 23:31:25 +02:00
Nicolas Werner
18ea01e198
Show if there are unverified devices in a room
...
Also fixes some issues where nested transactions will poison the
verification cache.
2021-08-13 23:19:54 +02:00
Nicolas Werner
72bbad7485
Show encryption errors in qml and add request keys button
2021-08-07 22:51:09 +02:00
Nicolas Werner
a57a15a2e0
Basic sticker pack editor
2021-08-06 04:31:53 +02:00
Loren Burkholder
dab1c9068a
QML the raw message dialog
2021-07-31 12:11:15 -04:00
Loren Burkholder
7e538851d6
Use a QSortFilterProxyModel instead of resetting the model
2021-07-29 21:07:52 -04:00