Commit graph

3429 commits

Author SHA1 Message Date
Konstantinos Sideris
4521837765 Add option to disable typing notifications
fixes #131
2018-01-14 15:57:58 +02:00
Konstantinos Sideris
c4fa8c844d Add a checkmark to messages that have been received by the server (#93) 2018-01-14 12:54:17 +02:00
Konstantinos Sideris
dfeb0c833a Move timestamps to the right 2018-01-14 12:29:54 +02:00
Konstantinos Sideris
fe9d8a6534 Fix macOs ci 2018-01-13 22:53:08 +02:00
Konstantinos Sideris
d31a08f1d5 Keep syncing regardless of connectivity (#93) 2018-01-13 22:25:15 +02:00
Konstantinos Sideris
d3603606e7 Make some functions inline 2018-01-13 17:52:23 +02:00
Konstantinos Sideris
3929261a8e Use QSharedPointer to save RoomStates 2018-01-13 17:15:47 +02:00
Konstantinos Sideris
d2962ec0b2 Add qt5.7 on travis ci 2018-01-13 15:00:49 +02:00
krombel
f87b8fe817 Upload filter automatically and use filter_id (#201)
When a custom filter is inserted into nheko.conf or there was no filter
defined yet the default filter gets automatically uploaded.
After a successful upload the server-side generated filter-id is used.

This is done async as it is just an enhancement and it is not required
to upload the filter before the first request.
2018-01-13 14:49:51 +02:00
Konstantinos Sideris
396becbaa7 Properly assign default value to QSharedPointer for Qt5.7
[ci skip]
2018-01-12 12:35:15 +02:00
Konstantinos Sideris
daabb40bed Use Q_NULLPTR to be compatible with qt5.7
fixes #199
2018-01-12 11:27:24 +02:00
Konstantinos Sideris
5b09c8e652 Handle surrogate pairs in avatars 2018-01-12 10:21:53 +02:00
Konstantinos Sideris
8beef5e61f Dismiss modal by clicking on the overlay 2018-01-11 18:10:18 +02:00
Konstantinos Sideris
9521efab7e Lint
[ci skip]
2018-01-11 16:34:43 +02:00
krombel
0570135253 Filter out content in sync that is currently unhandled (#198)
I had a look at sync.cpp and checked which parts of the sync response
are currently handled and which not. As I think it is unnecessary to let the 
unhandled data be transmitted without being handled I added these filters.

In the same term I increased the timeout server-side to 30s as Riot
defaults to this value as well. Especially now when a lots of presence-updates 
are not send anymore this value is more relevant.

It is now also possible to use a filter that is defined in`client/sync_filter`.
Advanced users might want to set an own filter here.

[ci skip]
2018-01-11 16:33:50 +02:00
Konstantinos Sideris
82341247f7 Remove Connection header 2018-01-10 23:38:34 +02:00
Konstantinos Sideris
7f3b6c4846 Fix versioning on deb packages
fixes #197
2018-01-10 16:00:20 +02:00
christarazi
ddfce136ed Add support for pasting images into a room (#180)
fixes #132
2018-01-10 09:52:59 +02:00
Konstantinos Sideris
53f670096c Make group's sidebar visible through an option 2018-01-09 21:57:41 +02:00
Bart Ribbers
3d321622bb Add make install and make uninstall rules to cmake (#196) 2018-01-09 20:34:01 +02:00
Max Sandholm
312df6f3bb Communities (#195) 2018-01-09 15:07:32 +02:00
Konstantinos Sideris
81a706bf20 Make usernames in timeline less bold 2018-01-08 11:27:37 +02:00
Konstantinos Sideris
953634c9b5 Enable read receipts on messages sent through nheko 2018-01-05 15:28:38 +02:00
Konstantinos Sideris
983aea7c76 Create widgets on demand for messages added to the end of the timeline 2018-01-05 00:27:32 +02:00
Konstantinos Sideris
a7e84b63ac Remove an extra colon from the receipt time
[ci skip]
2018-01-04 10:52:49 +02:00
Konstantinos Sideris
cd54a3e44f matrix-structs: Parse m.room.redaction events
fixes #168
2018-01-03 23:45:32 +02:00
Konstantinos Sideris
8a259a0f07 Add missing <functional> header 2018-01-03 20:52:12 +02:00
Konstantinos Sideris
eaf05748ff Initial support for read receipts 2018-01-03 18:06:29 +02:00
Bart Ribbers
44ee1b549d Add Alpine Linux installation instructions (#191)
The first distribution to have nheko in it's official repositories! 🎉

    Right now nheko is only in the `testing` repository, but this will
    be moved to `community` after a while (after which it's available
    for installation out of the box).
2018-01-02 22:50:19 +02:00
Konstantinos Sideris
b70d11fb6f Add missing -j flag to the archive script
[ci skip]
2018-01-02 11:00:16 +02:00
Konstantinos Sideris
799885ad24 Add script to create archive
[ci skip]
2017-12-31 14:27:25 +02:00
Konstantinos Sideris
1a3369877e Update travis 2017-12-31 13:19:32 +02:00
Konstantinos Sideris
0efe6c7db4 matrix-structs: Fix historical user ID decoding 2017-12-30 21:59:36 +02:00
Konstantinos Sideris
287dff892c ci: Don't build artifacts on commits without a tag 2017-12-30 18:32:16 +02:00
Konstantinos Sideris
f7003ddeb5 Load last content from all rooms
fixes #175
2017-12-30 18:16:11 +02:00
Konstantinos Sideris
5e0fbe87a0 Use toMSecsSinceEpoch to be compatible with qt < 5.8 2017-12-30 17:44:47 +02:00
Konstantinos Sideris
208f957911 Re-order room list based on activity
fixes #2
2017-12-30 17:29:57 +02:00
Konstantinos Sideris
d1d8b92b37 Use qobject_cast on TimelineItem 2017-12-30 11:59:55 +02:00
Konstantinos Sideris
5e3022bd9a matrix-structs: Set defaults on common structs 2017-12-27 19:48:39 +02:00
Konstantinos Sideris
3ce505b00e Add release badge 2017-12-27 01:07:55 +02:00
Konstantinos Sideris
353b90a9a5 Mention deb and rpm packages
[ci skip]
2017-12-26 19:21:35 +02:00
alphapapa
ca770e0cdb Docs: Update required Clang version to 3.8 (#182)
Fixes #179

[ci skip]
2017-12-26 19:17:50 +02:00
Konstantinos Sideris
155a9e828d Add deb and rpm packages on releases 2017-12-26 19:08:00 +02:00
Konstantinos Sideris
1ab55d4732 Add date separator in the timeline
fixes #157
2017-12-25 23:02:33 +02:00
Konstantinos Sideris
6835a97b15 Use a better regex to identify URLs 2017-12-24 13:13:07 +02:00
Konstantinos Sideris
74ffef9826 Fix deploy conditionals 2017-12-23 14:11:51 +02:00
Konstantinos Sideris
e57f5f848b Restrict display name width to 500px 2017-12-23 14:06:59 +02:00
Konstantinos Sideris
9d763c4de9 Don't keep fetching history on non-visible timelines
If the user switched to another timeline before the current timeline
filled up with messages, nheko would keep fetching history.

Now it will check periodically if the timeline became visible so
it can decide whether or not to stop fetching history.
2017-12-23 13:50:11 +02:00
Konstantinos Sideris
9dcdd70a35 Don't create artifacts when we're not deploying 2017-12-22 16:50:38 +02:00
Konstantinos Sideris
a3c162950c Use ninja on travis 2017-12-22 16:33:29 +02:00