Commit Graph

172 Commits

Author SHA1 Message Date
Black Hat
564b4c4578 Update libqmatrixclient && disable local echo for now until #40 is fixed. 2018-11-02 15:08:01 +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
7ceb391621 Some user name auto completion.
Make some progress on #106
2018-10-22 21:08:24 +08:00
Black Hat
fce213a432 Init scroll to eventid. 2018-10-22 09:48:37 +08:00
Black Hat
24fdee32a2 Fix broken redact and shrink icon size. 2018-10-21 16:53:37 +08:00
Black Hat
aae84ba65f Move tray icon outside C++ and allow hiding tray icon. 2018-10-21 10:17:21 +08:00
Black Hat
73ce9c2bf1 Add upload progress && fix icon proportion of DBus. 2018-10-20 22:06:44 +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
6339fd78a2 Change structure. 2018-10-20 13:28:51 +08:00
Black Hat
16e7f5003c Fix windows build. 2018-10-20 11:17:21 +08:00
Black Hat
969b359a92 Fix Windows build. 2018-10-20 11:07:50 +08:00
Black Hat
932f21e9bb Fix Windows build. 2018-10-20 11:01:02 +08:00
Black Hat
e889258565 Fix Windows build. 2018-10-20 10:54:44 +08:00
Black Hat
8cec4d6d2f Fix Windows build. 2018-10-20 10:45:03 +08:00
Black Hat
2ba45d8ce1 Init windows notification event. 2018-10-20 10:39:39 +08:00
Black Hat
dd5c361b32 Fix MacOS build. 2018-10-20 09:53:35 +08:00
Black Hat
c80ff1380e Update macos notification. 2018-10-20 09:23:20 +08:00
Black Hat
d5847e797b Update notification for mac. 2018-10-20 09:08:28 +08:00
Black Hat
bb069197d6 Notification improvements. 2018-10-19 22:02:12 +08:00
Black Hat
86e1ae08fa Center image in ImageItem.
Fix #99.
2018-10-19 13:30:29 +08:00
Black Hat
2e6ff1be22 Add window icon. 2018-10-19 13:11:13 +08:00
Black Hat
d35405696f Manually register SortFilterProxyModel. 2018-10-18 19:53:54 +08:00
Black Hat
7b10707dde Do not check username while logging. 2018-10-16 18:29:19 +08:00
Black Hat
babe614555 More error indication.
Also fixes #80.
2018-10-15 06:49:30 +08:00
Black Hat
d9592e4a7c Add error callback of join room and add room.
Also fix a bug of not being able to log out when the access token is
revoked.
2018-10-13 18:54:33 +08:00
Black Hat
3dd4f18cc4 Fix broken logout. 2018-10-09 11:06:15 +08:00
Black Hat
e69ac60d08 Add back busy indicator. 2018-10-07 20:38:30 +08:00
Black Hat
c93efebd23 Faster timeline.
Also, fixes markdown formatting.
2018-10-07 20:15:59 +08:00
Black Hat
ae538a7c45 Somewhat better hierarchy.
Init separate .qml files.
2018-10-02 10:07:47 +08:00
Black Hat
551e370410 More clean up. 2018-10-01 16:34:25 +08:00
Black Hat
385135a658 Use modules. 2018-10-01 16:07:48 +08:00
Black Hat
0654a8b2b6 Fix #55. 2018-10-01 10:08:07 +08:00
Black Hat
56b820e1a8 Update libqmatrixclient && add a progress bar. 2018-09-30 22:13:54 +08:00
Black Hat
6ecef7608c Tweak UI. 2018-09-30 19:04:22 +08:00
Black Hat
57f04cf308 Faster infinite scroll. 2018-09-30 17:09:58 +08:00
Black Hat
01196e8b50 Init infinite scroll.
It constanatly crashes, TBD.
2018-09-28 19:47:17 +08:00
Black Hat
d7a2e07426 More modern design. 2018-09-27 07:37:09 +08:00
Black Hat
c9d1d68877 Fix #65. 2018-09-24 20:52:24 +08:00
Black Hat
ea43cf6c80 Fixes #58.
Also, use shift+return for line break.
2018-09-20 13:43:47 +08:00
Black Hat
03c19c4f60 Add error dialog.
Shows login error.
2018-09-20 08:23:42 +08:00
Black Hat
459920657c Tweak textarea. 2018-09-20 07:01:55 +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
518fad088f Fix Windows saving token.
It is still unsafe.
2018-09-17 12:27:00 +08:00
Black Hat
5ca03fdea8 Some basic reply support. 2018-09-17 11:58:02 +08:00
Black Hat
d02c3f6e90 Make message selectable.
No need for manually "Copying".
2018-09-17 08:13:45 +08:00
Black Hat
1e04013e3d Port stringToColor to C++.
Fixes #50.
2018-09-16 16:09:36 +08:00
Black Hat
03a8eae491 Show read receipts inline. 2018-09-15 21:09:53 +08:00
Black Hat
5e3570d210 Small tweaks and improvements. 2018-09-14 12:16:25 +08:00
Black Hat
29624c5f59 Add usermarker. 2018-09-13 13:05:51 +08:00
Black Hat
5890a0e133 Somewhat better login logic. 2018-09-13 08:22:41 +08:00
Black Hat
421316aa00 "View source" dialog. 2018-09-11 13:14:56 +08:00
Black Hat
63c7601942 Fix a bug that avatar does not show after a state event. 2018-09-10 19:46:04 +08:00
Black Hat
f66e62d499 Init theming support. 2018-09-10 15:01:01 +08:00
Black Hat
20113fb47f Improve accountlistmodel. 2018-09-10 12:56:16 +08:00
Black Hat
647a2cdbf2 New Setting/Account page. 2018-09-10 11:56:32 +08:00
Black Hat
0f3d7db0d1 Use ImageItem in MessageDelegate. 2018-09-10 09:51:02 +08:00
Black Hat
13a8d6b889 Fix notification issue. 2018-09-10 08:06:32 +08:00
Black Hat
f5b24f32b8 Fix avatar issue in accountlistmodel. 2018-09-10 07:03:43 +08:00
Black Hat
5c55856df3 Fix crashing when logging out.
That's a complex issue. Yay!
2018-09-09 21:13:43 +08:00
Black Hat
7c426e254b Update libqmatrixclient && fix broken avatar && fix broken image provider. 2018-09-09 18:35:37 +08:00
Black Hat
2992804472 Minimum code to get multiple accounts working. 2018-09-09 10:12:45 +08:00
Black Hat
8fb16d0700 Rewrite image provider.
Fixes #42.
2018-09-07 13:50:06 +08:00
Black Hat
19c6560c65 Change a typo.
Fixes #46.
2018-09-07 07:06:58 +08:00
Black Hat
96874cba06 Add event listener on tray. 2018-09-06 19:34:14 +08:00
Black Hat
bd5c119f53 Add ImageItem. 2018-09-06 16:22:00 +08:00
Black Hat
cfc32289d1 Add highlight support. 2018-09-06 12:34:15 +08:00
Black Hat
0301590b44 Fix image delegate color && fix lastEvent. 2018-09-03 09:56:21 +08:00
Black Hat
a8d12f92bd Fix missing pSize. 2018-08-28 11:12:49 +08:00
Black Hat
3fa14d3c4b Add image caching && update libqmatrixclient. 2018-08-27 19:29:50 +08:00
Black Hat
cb2f7daa17 Add search shortcut && do not show notification when receiving state
event.
2018-08-26 15:42:37 +08:00
Black Hat
0ad9ed7b5d Init UserListModel.
Another model from Quaternion.
Also UI tweaks in RoomListModel.
2018-08-26 13:17:12 +08:00
Black Hat
8c4ef9ad01 Add organization name. 2018-08-24 21:43:03 +08:00
Black Hat
cfa8043596 A lot of improvements.
Fix laggish RoomListView when dragging.
Remove per-room timer and add timer in RoomForm.
Remove singleton module and use file as singleton.
Minor UI tweak in RoomListView.
Pass room to RoomListView via "currentRoom" delegate property and remove
RoomListForm-wide currentRoom.
Put menu files in a separate folder.
Show initial image in ImageStatus when avatar is not loaded.
Add about page.
Merge all setting pages into Setting.qml.
Add option to rearrange rooms by activity.
Add option to use RichText parser.
Add document url.
2018-08-24 13:25:41 +08:00
Black Hat
cca9467703 Display room's latest event instead of topic when possible. 2018-08-22 23:21:39 +08:00
Black Hat
e428e9f005 Change Settings to singleton and add AutoMouseArea.
Also fixes acceptInvitation issue.
2018-08-21 22:57:15 +08:00
Black Hat
fa4db065f2 Add typing notification. 2018-08-20 22:40:36 +08:00
Black Hat
4d97fe6901 Enable lazy loading by default.
Also fixes undefined error when not logged in.
2018-08-19 20:45:40 +08:00
Black Hat
4b2a33493f Allow minimize to tray. 2018-08-19 14:51:09 +08:00
Black Hat
4383dfa5a1 Working notification.
Also, fixes #6.
2018-08-19 14:32:18 +08:00
Black Hat
3a7f182c52 Uses MatriqueRoom inherited from QMatrixClient::Room and rewrite related
objects.
2018-08-18 16:02:47 +08:00
Black Hat
6e79bf6495 Working audio bubble.
Also, fixes #2.
2018-08-17 15:58:08 +08:00
Black Hat
43e0ccaf2f Add accept/reject and use .cache 2018-08-17 12:55:57 +08:00
Black Hat
09fdd52524 Rewrite FileDialog in C++ && add setting to force async load timelime.
Also fixes repeat section label and empty space when message is redacted.

Fixes #27
2018-08-14 14:05:41 +08:00
Black Hat
4dbd0e2dcd Colored emoji support.
Also, this approach seems to have a memory leak while converting
QStringList to QVariant.
2018-08-11 20:48:44 +08:00
Black Hat
4db5f3f355 Add an option to lazy load room message at initial sync.
Reduces initial sync time. Useful if you joined a lot of rooms and have
a slow homeserver.
2018-08-10 18:58:53 +08:00
Black Hat
5e3f18e320 Code cleanup && speed up initial sync. 2018-08-07 23:41:18 +08:00
Black Hat
f8c89886d2 Remove binding between RoomListForm and RoomForm and reformat code.
This commit allows user to do a series of operations(via press and hold)
on a room without entering the room in RoomForm.
Fixes #14.
2018-08-07 00:17:58 +08:00
Black Hat
9c7defba16 Add unread message indicator for room . #6 2018-08-06 23:51:22 +08:00
Black Hat
c5a55654a0 Update libqmatrixclient again and some code cleanup. 2018-08-06 23:16:35 +08:00
Black Hat
a243d6069a Update libqmatrixclient. 2018-08-06 20:13:51 +08:00
Black Hat
640e3712a2 Use longer rainbow while executing "/rainbow". 2018-08-06 05:00:06 +08:00
Black Hat
6f8cd14e38 Fix duplicate messages when redacting. 2018-08-06 00:53:22 +08:00
Black Hat
bfbd2af45d Context Menu Related Improvement 2018-08-04 20:35:31 +00:00
Black Hat
d1d7139f4b Update libqmatrixclient && add redact support(Incomplete) && cancel
maximumFlickVelocity && disable ListView bouncing.
2018-08-04 20:40:23 +08:00
Black Hat
4a9967c5c1 Update libqmatrixclient && Fix "full path is posted instead of filename
when uploading files".
2018-08-03 20:58:12 +08:00
Black Hat
3e9a12e4cb Update libqmatrixclient.
This update brings some changes, and more debugging is needed.
2018-08-03 17:27:21 +08:00
Black Hat
942d8b44a9 Fix for Qt 5.9. 2018-08-01 23:49:47 +08:00
Black Hat
5c606f1d5d Add join room/create room/create direct chat && small bug fixes. 2018-08-01 20:26:29 +08:00