Commit Graph

78 Commits

Author SHA1 Message Date
Tobias Fella
546d17b1a2 Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu 2021-02-04 20:23:16 +00:00
Carl Schwan
3ebda274ef Fix broken name 2021-01-13 23:15:48 +00:00
Carl Schwan
eff8c08ccf Add launcher badge to NeoChat showing the unread count 2021-01-13 20:14:51 +00:00
Carl Schwan
4be3eac7af Fix avatar loading in multiple places and prefers name instead of
display name for avatar fallback.

This also fixes a bug where users didn't get their avatar loaded in the
room list.

Fix #209
2021-01-09 00:37:13 +01:00
Carl Schwan
dce3b796c2 Don't translate something we shouldn't 2020-12-26 15:58:57 +00:00
Carl Schwan
b62e694c97 Code style 2020-12-01 11:56:50 +01:00
Carl Schwan
c5e2acdd5d Refactor lastEvent
Now lastEvent() return the last event and lastActiveTime() and
lastEventToString() are convenient functions to get the visual
representation and the timestamp.

We are also now fetching new events when the timeline is empty
so that we can correctly order the rooms. In the future, we should
instead probably cache the last event in an SQLite database to optimize
the startup time.

This also ignore state event when the configuration ask to ignore them.

Fix: #97
2020-12-01 10:55:18 +00:00
Carl Schwan
136a8f2af8 Clang-tidy + clang-format 2020-11-27 00:26:39 +01: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
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
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00
Tobias Fella
95e2993f70 Implement sorting rooms by category 2020-11-08 16:13:53 +00:00
Nicolas Fella
ca97b8ddc3 Properly sort includes 2020-11-04 20:29:19 +01:00
Nicolas Fella
a08d017c02 Normalize includes 2020-11-04 20:25:52 +01:00
Carl Schwan
8b3f89cf2e Fix a bunch of clazy warnings 2020-11-03 15:15:16 +00:00
Carl Schwan
ce69506cf6 s/emit/Q_EMIT 2020-11-03 12:03:06 +01:00
Carl Schwan
bea870ad75 Apply Clang Format 2020-11-02 16:11:24 +01:00
Black
6af7befd11 Improve room settings dialog. 2020-01-22 20:37:27 -08:00
Black Hat
e5032c686a Public room directory. 2019-12-25 00:02:01 +08:00
Black Hat
29b396add3 Update libQuotient. 2019-12-03 13:03:56 -08:00
Black Hat
ced82bd666 Modern C++. 2019-08-04 22:36:32 +08:00
Black Hat
3e0009a069 Show notification count in tray icon. 2019-07-01 18:19:00 +08:00
Black Hat
c0126cea95 Clean up roomlistmodel. 2019-05-20 13:42:18 +08:00
Black Hat
588c23ebdc Fix #141. 2019-05-10 19:26:35 +08:00
Black Hat
2565b8ba79 Add basic room upgrade support.
Add full screen image view.
Fix a bug in image provider.
2019-04-23 10:57:35 +08:00
Black Hat
4557b91ec6 Fix #2 for real. 2019-04-22 19:52:37 +08:00
Black Hat
c727eb3bfd Fix #2.
Issue #2 is actually fixed!
A somewhat primitive UI for room management.
A new style for AutoTextField.
Limit max width of drawers.
2019-04-22 19:49:22 +08:00
Black Hat
de3a8b9b69 Add more event types in eventToString().
Move eventToString() to SpectralRoom.
2019-04-21 12:41:53 +08:00
Black Hat
579a1dfca8 Init notification count. 2019-03-03 19:09:12 +08:00
Black Hat
6dd33af0ca Fix a bug in notification. 2019-03-02 22:07:06 +08:00
Black Hat
31203235f2 Init new notification implementation. 2019-03-02 21:31:39 +08:00
Black Hat
c46d38e38e New WIP image provider. 2019-01-04 20:17:26 +08:00
Black Hat
ec43131a10 Clean up notification. 2018-12-24 20:31:40 +08:00
Black Hat
92b1458c4a Fix avatar changes. 2018-12-03 20:11:24 +08:00
Black Hat
8959be2cb8 Remove ImageItem, Paintable and use unified image provider. 2018-12-03 19:55:42 +08:00
Black Hat
3ec1cf71bf Do not emit new message if it is a state event. 2018-11-21 19:56:07 +08:00
Black Hat
06983a506c Fix segfault when leaving certain rooms. 2018-11-07 16:29:24 +08:00
Black Hat
5a46810016 Init rewritten avatar. 2018-11-04 19:14:02 +08:00
Black Hat
e19e3b8ff9 Clean up event to string related codes.
Working on #55.
2018-10-24 21:15:26 +08:00
Black Hat
f53bdaae89 Fix separator. 2018-10-20 15:25:17 +08:00
Black Hat
2e4fed72fe Init Windows notification image. 2018-10-20 14:59:37 +08:00
Black Hat
2ba45d8ce1 Init windows notification event. 2018-10-20 10:39:39 +08:00
Black Hat
bb069197d6 Notification improvements. 2018-10-19 22:02:12 +08:00
Black Hat
0361432c3d Sort rooms by last event, not unread count. 2018-09-18 20:57:38 +08:00
Black Hat
81a7172f29 Genesis commit.
Not really, but a lot of renaming.
2018-09-17 21:01:02 +08:00
Black Hat
f66e62d499 Init theming support. 2018-09-10 15:01:01 +08:00
Black Hat
13a8d6b889 Fix notification issue. 2018-09-10 08:06:32 +08:00
Black Hat
5c55856df3 Fix crashing when logging out.
That's a complex issue. Yay!
2018-09-09 21:13:43 +08:00