Commit graph

867 commits

Author SHA1 Message Date
John Preston
850940116d Move HistoryMedia to HistoryView namespace. 2019-08-09 11:50:49 +01:00
John Preston
3f2cc01f48 Allow sending silent messages. 2019-07-27 17:19:04 +02:00
John Preston
bacaf805b5 Pass SessionNavigation to some boxes. 2019-07-25 20:55:11 +02:00
John Preston
ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston
9cf4cf6dca Move MTP::Instance to Main::Account. 2019-07-24 10:46:23 +02:00
John Preston
22f210ea8e Support sending albums to slowmode groups. 2019-07-24 08:02:20 +02:00
John Preston
6aa930d510 Remove exceptions in TL parsing. 2019-07-24 08:02:20 +02:00
John Preston
f4754f210c Update full channel on updateChannel. 2019-07-24 08:02:20 +02:00
John Preston
873b77cf40 Use UserData::isBot where applicable. 2019-07-24 08:02:20 +02:00
John Preston
234b0ffcf0 Disallow accidental failing forwarding. 2019-07-24 08:02:20 +02:00
John Preston
c50ade565a Track sending and failed messages. 2019-07-24 08:02:20 +02:00
John Preston
01d0479335 Show slowmode button in chat. 2019-07-24 08:02:20 +02:00
John Preston
c5df4db621 Fix possible race conditions in msgid(). 2019-07-15 16:00:30 +02:00
John Preston
567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00
23rd
1963fca7d3 Fixed media overlay closing with Back mouse button.
- Fixed #2998.
2019-07-04 16:41:46 +02:00
John Preston
4917ca7b32 Remove all legacy global namespace langs. 2019-06-21 11:06:52 +02:00
John Preston
87fc066e67 Use tr:: instead of lang(). 2019-06-21 11:06:51 +02:00
John Preston
3a34b15841 Add 'Share my phone number' click handler. 2019-06-21 11:06:45 +02:00
John Preston
5e3734d7bf ReportSpamPanel -> HistoryView::ContactStatus. 2019-06-21 11:06:45 +02:00
John Preston
30dea3a2e7 Use isConstant bool instead of ContactStatus enum. 2019-06-21 11:06:45 +02:00
John Preston
14b82698f8 Update API scheme to layer 102. 2019-06-21 11:06:44 +02:00
John Preston
90ecec1d2e Add more assertions in online update. 2019-06-17 14:23:50 +02:00
John Preston
a547f80ae9 Rename Window::Controller to Window::SessionController. 2019-06-06 13:21:40 +03:00
John Preston
f0ed5640db Fix sending messages with links. 2019-05-28 14:33:35 +02:00
23rd
b4df7b4efd Replaced observable updatedNotifier() with rpl. 2019-05-27 15:35:03 +02:00
John Preston
db66e93258 Allow to return to the original chat on forward. 2019-05-27 15:10:11 +02:00
John Preston
c4aac5fa0e Update API scheme to layer 100. 2019-05-27 15:09:06 +02:00
John Preston
7ee16ba45c Clear hidden animated stickers. 2019-05-27 14:11:26 +02:00
23rd
63fc552636 Fixed inability to close folder with Back mouse button.
- Fixed #5997.
2019-05-12 22:30:19 +03:00
23rd
89a0cd3e81 Fixed closing folder by Escape when opened dialog in one column mode.
Dialog should be opened by shortcut.
2019-05-08 23:47:39 +03:00
John Preston
0247e876df Remove locally saved empty histories. 2019-05-03 15:18:18 +04:00
John Preston
4ad8c4877c Close archive by escape even if chat is shown. 2019-05-01 16:11:47 +04:00
John Preston
08bddc5579 Move messages data to AuthSession. 2019-05-01 16:11:42 +04:00
John Preston
52b9212625 Display top bar in archive. 2019-05-01 16:11:40 +04:00
John Preston
6dd8f32f66 Fix build on Xcode. 2019-05-01 16:11:39 +04:00
John Preston
2d1dcb36cb Use folder_id / still_unread_count from updates. 2019-05-01 16:11:38 +04:00
John Preston
8fd811517b Count unread correctly in folders. 2019-05-01 16:11:37 +04:00
John Preston
58519300ea Support pinned chats in folders. 2019-05-01 16:11:37 +04:00
John Preston
305a611211 Load dialogs list in ApiWrap and Data::Session. 2019-05-01 16:11:34 +04:00
John Preston
0c0d6bc411 Move chats / contacts lists to Data::Session. 2019-05-01 16:11:33 +04:00
John Preston
76c3e9a529 Display title and userpic of archived chats. 2019-05-01 16:11:14 +04:00
John Preston
9bf8a8108d Comment out non-folder feed code. 2019-04-25 14:16:30 +04:00
John Preston
905a024aed Update API scheme to layer 99. 2019-04-25 14:16:29 +04:00
23rd
41b2e7c9c7 Added floating button in dialog list to jump to top. 2019-04-05 14:13:18 +04:00
23rd
5d8888bb8b Refactored code.
- Refactored passing message id to edit media.
 - Removed get/setEditMedia from mainwidget.
 - Combined onEditMedia and onSendFileConfirm in single method.
 - Added argument in FileLoadTask to pass message id to edit media.
 - Renamed flags in apiwrap.
 - Added check for allowing edit media when use clipboard.
 - Removed unused fileIsValidForAlbum.
 - Removed LOGs.
 - Replaced _isNotAlbum with _isAlbum.
 - Removed _viaRemoteContent.
 - Removed _newMediaPath.
 - Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
f3102573ea Improved applying edition.
- Fixed cancel single media.
2019-04-02 18:14:12 +04:00
23rd
653fd1bb63 Added initial implementation of cancel of media uploading for editing. 2019-04-02 18:14:12 +04:00
23rd
1ed83cf193 Fixed subscribeToUploader. 2019-04-02 18:14:12 +04:00
23rd
be58e23775 Init edit media. 2019-04-02 18:14:11 +04:00
John Preston
99bb09374d Use new animations engine everywhere. 2019-04-02 14:33:53 +04:00