Commit Graph

492 Commits

Author SHA1 Message Date
Carl Schwan
b6ad038a54 Add option to disable showing new join and leave events 2020-11-24 10:39:25 +01:00
Carl Schwan
5d221b995a Add an unified room list view
This is off by default and can be enabled in the setting
2020-11-23 17:41:56 +00:00
Nicolas Fella
a0815adbe9 Open window on system tray left click 2020-11-22 23:19:39 +00:00
Tobias Fella
0b8db12543 Don't use trayicon on android 2020-11-23 00:03:49 +01:00
Nicolas Fella
7ec6f83bcb Remove unused include 2020-11-22 16:13:40 +01:00
Carl Schwan
a7e06a6529 Improve sections
Now they are displayed for each day (if there was at least one message
on that day) instead of every few hours
2020-11-22 14:51:25 +00:00
Tobias Fella
e778c18913 Show an info message instead of an empty message for redactions
Fixes #26
2020-11-22 15:36:00 +01:00
Carl Schwan
7a30c4ba8e Possible fix for weird sorting orders on initial load
Use category sorting as default sorting mode.
2020-11-22 12:27:44 +01:00
Carl Schwan
59ae9fa18d Don't leak QSetting in emoji model 2020-11-22 11:56:19 +01:00
Carl Schwan
8f358b7680 Immediately display connect errors in the login page
This is using a Kirigami.InlineMessage component.
2020-11-22 11:02:56 +01:00
Tobias Fella
4bfbca75d8 Add action to search in room directory when search is empty in roomlist 2020-11-21 22:48:36 +01:00
Jonathan Riddell
2c7e7f4c31 cmake complains: Argument not separated from preceding token by whitespace. 2020-11-20 17:08:24 +00:00
Carl Schwan
e6ed67b1a2 Support wellknow for autentification
Now kde.org is an alias to kde.modular.im
2020-11-19 15:52:04 +00:00
Carl Schwan
7b30c199a4 [clazy] Fix allocating an unneeded temporary container
Instead of creating a new container and iterate over it, we wrap the
loop in a lambda and use the lambda for the two initial container.
2020-11-19 12:50:51 +00:00
Tobias Fella
4e2b68dc0a Make Neochat compile against libQuotient 0.6 2020-11-19 08:13:55 +00:00
Tobias Fella
10935bfb15 Bundle a bunch of missing icons 2020-11-18 23:40:20 +01:00
Tobias Fella
039816e8eb Show notifications 2020-11-18 21:14:40 +00:00
Tobias Fella
f85b2a7cba Fix room sorting 2020-11-18 21:10:41 +01:00
Carl Schwan
bd6de9cd6b Fix reply
The C++ header signature was using a C++17 type alias and this was
confusing MOC. Just changing the signature to the more verbose type name
fix the bug.
2020-11-18 13:53:19 +01:00
Tobias Fella
3a11ff614c Port away from qsTr/tr 2020-11-17 20:52:40 +01:00
Carl Schwan
03921e02a6 Remember last opened room 2020-11-17 19:45:22 +00:00
Carl Schwan
be1467f718 Save collapsed categories 2020-11-17 19:45:22 +00:00
Carl Schwan
f98834bb03 Add KConfigXt configs 2020-11-17 19:45:22 +00:00
Tobias Fella
de183caefb Apply clang-format 2020-11-17 20:25:18 +01:00
Tobias Fella
92569a8869 Remove debug message 2020-11-17 19:39:18 +01:00
Tobias Fella
93e5ad430b Fix segfault 2020-11-17 13:41:47 +01:00
Carl Schwan
8e52f645a2 Remove more old MPalette stuff 2020-11-17 11:21:56 +01:00
Carl Schwan
bd853800a6 Add PlaceholderMessage when room list is empty 2020-11-15 21:31:06 +00:00
Carl Schwan
32ea887de6 Fix undefined error 2020-11-15 22:06:49 +01:00
Tobias Fella
e2f6853258 Port away from QNetworkConfigurationmanager 2020-11-15 20:13:17 +00:00
Tobias Fella
d0022155b5 Fix not showing inactive rooms 2020-11-13 16:42:46 +01:00
Tobias Fella
8040259645 Don't show inactive rooms in the list 2020-11-13 13:59:46 +01:00
Tobias Fella
02c88d4ef8 Don't compare QVariants 2020-11-12 22:02:43 +01:00
Tobias Fella
554c56fba5 Remove duplicate property 2020-11-12 21:54:48 +01:00
Tobias Fella
16c64ad67f Rename Controller.connection to activeConnection 2020-11-12 12:26:08 +01:00
Tobias Fella
26b2071e11 Handle revoked tokens better 2020-11-12 11:19:13 +00:00
Tobias Fella
79ee2e1279 Apply clang-format to rest of cpp 2020-11-12 11:07:36 +00:00
Tobias Fella
3a70a9d91c Set all internal qml versions to 1.0
They're useless and anything else just causes problem
2020-11-11 20:14:43 +01:00
Tobias Fella
146a6d6ea4 Add 'send' button to ChatTextInput 2020-11-11 17:47:30 +00:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Tobias Fella
d9f0ec8ada Fix segfault on login caused by 53397bf970
newAvatarUrl() returns an Omittable<QUrl> instead of a QUrl that may be
empty. When the Omittable is empty, dereferencing it returns a nullptr
and calling something on that segfaults
2020-11-11 15:23:33 +01:00
Carl Schwan
3df3f42456 Sort by category and then date 2020-11-10 20:14:43 +01:00
Carl Schwan
53397bf970 fix some clazy warning and deprecations 2020-11-10 19:52:22 +01:00
Carl Schwan
b0700726f9 Add join room page 2020-11-10 17:08:13 +00:00
Tobias Fella
debcf7a7b4 Fix compilation with libQuotient master 2020-11-10 15:46:23 +01:00
Tobias Fella
1176089353 Bundle icons for android 2020-11-09 19:47:41 +01:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00
Tobias Fella
c2c49c69fe Code cleanup 2020-11-08 22:08:56 +01:00
Tobias Fella
cbeafddfd4 Add accounts management page 2020-11-08 18:12:14 +00:00
Tobias Fella
95e2993f70 Implement sorting rooms by category 2020-11-08 16:13:53 +00:00