Commit Graph

150 Commits

Author SHA1 Message Date
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
Black Hat 22ad70cc49 Add "Leave room" option. 2018-07-30 22:42:27 +08:00
Black Hat 4ce12331d1 Code cleanup. 2018-07-30 00:04:58 +08:00
Black Hat 93a303799a Time and date support in messageeventmodel && local echo support. 2018-07-30 00:00:41 +08:00
Black Hat a105f344f4 Update libqmatrixclient && fix file posting caused by upstream change. 2018-07-29 21:46:57 +08:00
Black Hat 845b0114bd Update libqmatrixclient && add prioritize/deprioritize. 2018-07-23 22:41:18 +08:00
Black Hat c330bb4ff5 Prefetch messages when adding room && wire setting. 2018-07-20 13:50:25 +08:00
Black Hat 6f6a7da414 Small UI tweaks && bug fixes. 2018-07-20 12:14:02 +08:00
Black Hat febff558fd Code cleanup. 2018-07-19 16:29:50 +08:00
Black Hat 7dd9132176 Init desktop notifications. 2018-07-19 16:04:09 +08:00
Black Hat 43f02c4fa1 Fix duplicate room signals. 2018-07-19 13:54:59 +08:00
Black Hat 1919f0ca8e Upgrade libqmatrixclient && tweak room list model. 2018-07-19 12:04:53 +08:00
Black Hat a3472e795c Prepare for desktop notification. 2018-07-18 22:52:48 +08:00
Black Hat 1ddfbddc74 Add direct chat && fix compilation issue. 2018-07-18 22:16:03 +08:00
Black Hat 1ce327140e Fix mismatched free() new. 2018-07-17 20:41:43 +08:00
Black Hat c10c3b1d1d Auto identify file type as m.image. 2018-07-17 16:18:50 +08:00
Black Hat cf84320794 Add upload status. 2018-07-17 14:14:48 +08:00
Black Hat 731cef3c77 Init file sending. 2018-07-16 22:05:34 +08:00
Black Hat 4ef063ea82 Testing upload file && minor UI tweaks. 2018-07-15 16:02:26 +08:00
Black Hat e79b2c22ed Add progress indicator && change a minor issue. 2018-07-14 16:10:01 +08:00
Black Hat 87e7bf8795 Remove comments. 2018-07-14 15:36:38 +08:00
Black Hat 247b80c1db Fix double rooms issue. 2018-07-14 15:35:27 +08:00
Black Hat d44383545a Alter code structure && change room list filtering mechanics && add
sorting && init categoriy for rooms.
2018-07-13 12:06:27 +08:00