Commit Graph

1421 Commits

Author SHA1 Message Date
Tobias Fella
7d100b2a0f Fix broken i18ncp call 2021-02-11 23:18:14 +01:00
Tobias Fella
9432e28685 Fix opening a second invitation 2021-02-10 23:13:16 +01:00
Arnav Rawat
b84375749b Close menu after selecting a reaction
Fixes #256
2021-02-10 10:33:35 +00:00
l10n daemon script
07dffa7e73 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-02-10 08:16:48 +01:00
l10n daemon script
7816d220ea GIT_SILENT made messages (after extraction) 2021-02-10 03:39:08 +01:00
Tobias Fella
28dfc4b6d7 Update gitignore 2021-02-08 18:09:01 +01:00
Tobias Fella
d78196d7c7 Mention the nightly build in README 2021-02-08 15:04:33 +00:00
Tobias Fella
21c4f8b636 Fix typo 2021-02-08 15:00:55 +00:00
Yuri Chornoivan
4c7be7426e Fix minor typos 2021-02-08 14:53:32 +02:00
l10n daemon script
bd4dfb037a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-02-08 06:52:38 +01:00
l10n daemon script
a7720409ca GIT_SILENT made messages (after extraction) 2021-02-08 02:34:53 +01:00
Tobias Fella
b689e55068 Refactor and cleanup dead qml 2021-02-07 22:34:07 +01:00
Tobias Fella
464c48540e Improve first-run UX
- Replace LoginPage with step-by-step approach to support different login flows
- Implement login using SSO
2021-02-07 21:23:31 +00:00
l10n daemon script
e7bada4cde SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-02-07 06:47:50 +01:00
l10n daemon script
9cd441dc1d GIT_SILENT made messages (after extraction) 2021-02-07 02:52:49 +01:00
Carl Schwan
ff6bff208a Remove room description from room header
After using it for some time, I don't think it is really usefull but it
makes the UI more visually heavy, it doesn't show it completely and also
has very bad contrast.

Fix #197
2021-02-07 00:29:08 +00:00
Tobias Fella
7ae222d427 Fix typo 2021-02-06 20:50:37 +01:00
Carl Schwan
82945ab153 Make right clicking on message works again
This is now using TapHandler that can be used in a Layout without
warning about undefined behaviors.
2021-02-06 00:44:07 +00:00
Nicolas Fella
1411d28b81 Fix crash when logging out and back in
we get the platformtheme attached property from a random user object,
but that user is destroyed when logging out. Instead use the controller
as parent since that survives the logout
2021-02-06 00:36:51 +00:00
Carl Schwan
6dcfad1f8d Don't show login page when starting NeoChat
This was caused by us calling initiated to early. Only do it when no
accounts exists or that at least one account fails to login.

Fix #248
2021-02-06 00:16:30 +00:00
Carl Schwan
10054bf879 Fix RoomDrawer is visible when no room is open
Fix #246
2021-02-06 00:03:10 +01:00
Carl Schwan
66b06aac6e Use correct username for typing users
Fix #257
2021-02-05 22:52:32 +00:00
Carl Schwan
c17392bd9d Add minimul width and height to modal window
Fix #253
2021-02-05 23:40:32 +01:00
Tobias Fella
1cb6b3bbd6 Consistently use pragma once in all headers 2021-02-04 23:14:54 +01:00
Tobias Fella
546d17b1a2 Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu 2021-02-04 20:23:16 +00:00
Tobias Fella
72907a1f18 Refactor and fix invitations
-Move invitation handling into RoomPage and delete InvitationPage
-Open the new room after accepting the invitation
2021-02-04 20:22:53 +00:00
Bart Ribbers
465334e23f Improve the look of reactions
- Always show the reaction counts. Element does this too and it makes sure
the look is consistent, no matter how many reactions there are.
- Show a slight border around the background to make the transition to
non-reaction less "grainy"
2021-02-04 18:28:53 +01:00
Nicolas Fella
66bcc2105a Only keep one Kirigami theme instance for all users
Fetching the Kirigami Theme via attached properties is expensive. The
theme is also going to be the same for all users so it's enough to only
do it once.
2021-02-03 21:57:54 +00:00
Nicolas Fella
f217bbd3c4 Don't fetch same modeldata twice 2021-02-02 21:51:27 +00:00
Nicolas Fella
70691fb295 Fix hiding replaced events
https://invent.kde.org/network/neochat/-/commit/5993c1f6 accidentally
switched from SpecialMarksRole to MessageRole which is not only slower
but also completely wrong
2021-02-02 21:51:27 +00:00
Nicolas Fella
7aedfd0e17 Move message filtering to C++
The filter callback is called very often (O(messages)). The current
filter model shows some significant overhead in QML internals. Moving
that to C++ makes it quite a bit faster.
2021-02-02 21:51:27 +00:00
Nicolas Fella
92e00587f7 Use QSystemTrayIcon instead of KStatusNotifierItem
KSNI doesn't support Windows and macOS and we don't need any of the features it provides over QSystemTrayIcon

Also remove some dead code
2021-02-02 21:51:05 +00:00
Arnav Rawat
ab4db4dd3d remove accidental qdebug 2021-02-01 13:18:55 +00:00
Arnav Rawat
b4e996aecd Adds ability to specify server with /join
Fixes bug #232
2021-02-01 13:18:55 +00:00
Nicolas Fella
5c8b9c0803 Don't use KDBusService on macOS 2021-01-31 22:06:44 +01:00
Nicolas Fella
c1d5883af9 Add missing semicolon 2021-01-27 20:09:45 +01:00
Tobias Fella
dae7ee2f67 Readd icon for gitlab 2021-01-27 18:54:13 +01:00
Nicolas Fella
e6f2b5ea7f Don't use KDBusAddons on Windows
It's only used for KDBusService, which likely doesn't work properly on Windows
2021-01-27 15:36:55 +01:00
Nicolas Fella
9603811a6d Add app icon for Windows 2021-01-27 14:51:10 +01:00
l10n daemon script
d9cf7ce552 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-01-27 08:48:35 +01:00
Tobias Fella
4894470e7d Fix crash on name change events 2021-01-27 01:23:49 +01:00
Nicolas Fella
8e6d1a8ea2 Fix warning 2021-01-26 17:35:02 +01:00
Nicolas Fella
c2b388d553 Use breeze QStyle on Windows
On Windows we want to use qqc2-desktop-style together with the Breeze QStyle instead of the default QStyle
2021-01-26 16:08:47 +01:00
Arnav Rawat
f67f319854 Fix sending attachments/files
This commit lets attachments be sent by themselves and prevents
a crash when a text message is sent with an attachment
2021-01-24 20:38:40 +00:00
Yuri Chornoivan
fde637b1df Add i18n() 2021-01-23 21:49:38 +02:00
Tobias Fella
75d3b346ac Actually save the settings 2021-01-23 16:39:34 +00:00
l10n daemon script
80b6d80c7d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-01-23 06:40:44 +01:00
Carl Schwan
0f043e36c4 Revert "Improve sending message with mentions"
This reverts commit b9d34487a4
2021-01-22 14:45:40 +00:00
Carl Schwan
b9d34487a4 Improve sending message with mentions
* Fix bug with reply having broken mentions (@$1:$2)
* Fix mentions disapearing from edited messages
* Fix formatting disapearing from edited messages
2021-01-21 22:56:19 +01:00
Tobias Fella
157f7cd870 Add logo for invent 2021-01-21 15:27:10 +01:00