Tobias Fella
6570cf396a
Only emit initialSyncFinished once
2021-08-24 01:40:19 +02:00
Tom Z
df4df171dd
Fix valgrind warnings
2021-08-23 22:51:41 +02:00
Nicolas Fella
589dfe0343
Re-run clang-format
2021-08-23 19:38:56 +02:00
Hannah von Reth
0f106b1bbc
Use anonymous namespace to mark internal functions
2021-08-23 09:18:32 +02:00
Hannah von Reth
d7e9bc4c14
Dynamic arrays are illegal with msvc
2021-08-23 09:16:20 +02:00
Tobias Fella
d1451780c2
Port away from deprecated functions
2021-08-22 21:09:23 +02:00
Tobias Fella
b72cde9543
Remove unnecessary qml type registration
2021-08-22 18:22:50 +02:00
Tobias Fella
046e823d1b
Show blurhashes for image events
2021-08-21 00:39:57 +02:00
Jan Blackquill
4955b1f7a0
Improve the file delegate
...
- cleaner code
- supports stopping downloads
- utilises the mimetype in order to display an icon
- better size formatting
- tooltips
2021-08-19 14:01:14 -04:00
Tobias Fella
d7ce0b7468
Show a placeholder for encrypted messages
...
Tells the user that the message could not be decrypted because the key
was not shared with the device. At the moment, this is technically not
completely correct, but it will be when libQuotient supports reading
encrypted messages
2021-08-18 21:54:06 +02:00
Tobias Fella
ecc639fb0a
Refactor room leaving
...
The old code has a small bug where the room would not be left in certain
conditions.
2021-08-14 23:01:16 +00:00
Milo Kerr
e064243d66
Adds the ability to show avatars in the sidebar independently of whether they are shown in the chat area.
...
Fix #408
2021-08-11 20:33:56 +00:00
Tobias Fella
e91a4f79a5
Adapt to libQuotient API changes
2021-08-10 17:09:21 +02:00
Tobias Fella
9e4d0ddc9b
Fix i18n argument
2021-08-04 23:01:08 +02:00
Tobias Fella
de98fd05f0
Fix wrong fix
2021-08-04 18:12:28 +02:00
Smitty van Bodegom
383d2a6e71
Match sed behavior for sed editing
...
Before s/a/b/ turns "aaa" into "bbb", while sed would turn it into
"baa". This updates the sed editing syntax to match sed behavior. The
/g flag is supported for doing global replacements when needed.
2021-08-04 13:00:30 +00:00
Smitty van Bodegom
db1a9a0c4c
Categorize Spaces as such in sidebar
...
Currently they are shown at the bottom, since Neochat doesn't support
displaying Spaces yet.
2021-08-03 19:54:48 +00:00
Tobias Fella
4658574732
Fix warning
2021-08-03 20:49:48 +02:00
Tobias Fella
4efd1207ee
Some more clazy fixes
2021-08-03 20:44:22 +02:00
Tobias Fella
d92b1895a9
More clazy fixes
2021-08-03 20:12:36 +02:00
Tobias Fella
3be9c0cfb3
Clazy fixes
2021-08-03 20:06:36 +02:00
Tobias Fella
1427c8bf3f
Check if arguments are empty
2021-08-03 19:24:45 +02:00
Tobias Fella
adbbb7e42a
Fix deletion of custom emojis
2021-08-03 18:34:12 +02:00
Tobias Fella
e187110680
qAsConst all the things
2021-08-03 17:29:08 +02:00
Tobias Fella
77318436ad
Don't push too many room pages when switching accounts
2021-08-03 17:20:27 +02:00
Tobias Fella
07d4d384f3
More AccountList fixes
2021-08-03 16:42:49 +02:00
Tobias Fella
4b75e7d588
Make login more robust
2021-08-03 14:34:19 +00:00
Tobias Fella
00494f8f88
Clean up the AccountListModel
2021-07-30 23:03:08 +00:00
Tobias Fella
de7354f056
Adapt to changes in libQuotient API
2021-07-31 01:00:58 +02:00
Tobias Fella
2e1ab639c6
Fix build failure against changes in libQuotient API
...
This changes the RoomListModel's JoinState role to expose the enum value
instead of a string. We don't actually use that role anywhere so it's
fine.
2021-07-30 22:57:57 +00:00
Tobias Fella
bbf9eb2ddc
Undefined behavior--
2021-07-27 23:43:35 +02:00
Devin Lin
592d3160df
Add translucency slider and set default to 30%
...
Apply 1 suggestion(s) to 1 file(s)
Fix
2021-07-27 13:34:15 -04:00
Tobias Fella
97737b753b
Don't store custom emojis with ':' before and after the shortcode
...
As per recent changes to the MSC
2021-07-24 15:29:46 +00:00
Tobias Fella
f8db9c4ecb
Add libQuotient as KAboutComponent
...
With frameworks 5.85, this will make it show up in the aboutpage
2021-07-24 15:29:22 +00:00
Tobias Fella
ae60834c36
Refactor qml type registration
2021-07-14 20:19:17 +02:00
Tobias Fella
73de1af321
Fix pagestack after login
2021-07-06 15:45:19 +00:00
Tobias Fella
6bbb4b4985
Fix connection
2021-07-01 13:37:30 +02:00
Tobias Fella
7411447f22
Remove unused parameter
2021-06-30 21:33:26 +02:00
Carl Schwan
54f5097ff4
Don't assume there is an active connection when loading devices list
...
Instead listen to Controller::activeConnectionChanged and reset model
when the active connection is changed.
Fix #413
2021-06-30 11:23:00 +02:00
Smitty van Bodegom
3e8c7caefd
support table flipping and unflipping
2021-06-23 14:29:39 +00:00
Smitty van Bodegom
211f6004eb
Support sending spoilers
2021-06-18 12:04:00 -04:00
Tobias Fella
9ec20dc02d
Use new format for custom emojis
...
The data structure changed during the MSC process. This patch makes
NeoChat send the new format, while accepting both the old and the new
format.
2021-06-18 13:54:01 +02:00
Smitty van Bodegom
8474136f57
Support displaying spoilers
...
This adds support for displaying recieved spoilers, but not sending
them. Spoilers are displayed as a black rectangle, and can be clicked on
to be revealed. If the last message in a channel was a spoiler, it is
not shown on the left sidebar.
The spoiler blackening is done in CSS, but to check if a message
contains a spoiler for determining if it should cause a different cursor
to be displayed and if it should be shown in the sidebar, a simple check
of if the message contains "data-mx-spoiler" is used.
2021-06-17 22:39:50 +00:00
Carl Schwan
b8a341eda8
Don't use C++20 syntax (designated initializers)
2021-06-17 13:08:30 +02:00
Smitty van Bodegom
6487ea7414
Alias /j -> /join, /leave -> /part
2021-06-16 19:55:48 -04:00
Smitty van Bodegom
edd5fadbde
Better formatting for slash commands
2021-06-16 23:26:56 +00:00
Carl Schwan
768fd74361
Keep completion behavior similar to before
...
* Use tab to jump to the next completion item
* Space to accept change
2021-06-17 00:37:57 +02:00
Jan Blackquill
6898670499
feat: better autocompletion UX
...
The autocompletion bar is now more similar to mainstream
chat applications, which use up/down to change the selection,
and tab to confirm the selection. An extra space is also added
to keep the flow of typing going.
2021-06-16 16:29:14 -04:00
Jan Blackquill
30965cb503
feat: ponies.im emoji support (custom emojum)
2021-06-16 15:34:55 -04:00
Laurent Montel
d5cd175d71
It's not a signal
2021-06-15 13:12:07 +02:00