Commit Graph

1286 Commits

Author SHA1 Message Date
23rd f4a63e1e9d Removed info display for last messages in Saved Messages. 2020-05-01 12:31:13 +04:00
Ilya Fedin 95b4f56b86 Don't use QDesktopServices::openUrl on snap 2020-05-01 12:06:01 +04:00
John Preston f76e094e98 Use info toast to show proxy / psa about text. 2020-04-30 15:20:50 +04:00
John Preston 067e52f5d1 Add an icon to the psa / quiz tooltip. 2020-04-30 14:51:26 +04:00
John Preston 4efd649c27 Hide tooltip button in psa / quizes. 2020-04-30 14:11:05 +04:00
John Preston ff25f1d5c9 Slide psa / quiz toast from the top. 2020-04-30 13:16:42 +04:00
John Preston dd78052f92 Use new toast style structure. 2020-04-30 11:35:01 +04:00
John Preston 8a4c7e3994 Show PSA tooltip icon and tooltip. 2020-04-30 11:35:01 +04:00
John Preston b6e184d0c8 Support bots as top promoted dialog entries. 2020-04-30 11:35:01 +04:00
John Preston 042ed8f54a Support psa_message in chats list. 2020-04-30 11:35:01 +04:00
John Preston c14e20b33f Support PSA forwarded info. 2020-04-30 11:35:01 +04:00
John Preston 266c1531ce Display PSA label instead of the proxy sponsor. 2020-04-30 11:35:01 +04:00
John Preston 8d632bd2be Update API scheme to layer 103. 2020-04-30 11:35:01 +04:00
John Preston cfd733c54c Add confirmation box for suspicious urls. 2020-04-23 19:00:19 +04:00
John Preston 3fa5e004fe Allow editing messages in channels indefinitely. 2020-04-23 16:21:30 +04:00
John Preston 5cfd402b70 Make darker toasts for quiz solutions. 2020-04-21 18:55:35 +04:00
John Preston 54f757e770 Allow sending dice from dice media tooltip. 2020-04-21 18:55:35 +04:00
John Preston 33c453a13c Scroll history to bottom on sending a message. 2020-04-21 18:55:35 +04:00
John Preston e118972d5c Support generic dice media display. 2020-04-21 18:55:35 +04:00
John Preston 76d81ff197 Improve polls solution icon color. 2020-04-21 18:55:34 +04:00
John Preston 71637d2a0e Show progress left to close by timer in polls. 2020-04-21 18:55:34 +04:00
John Preston 423daecbde Add view solution button to polls. 2020-04-21 18:55:34 +04:00
John Preston 699761b42f Support poll solution display in a toast. 2020-04-21 18:55:34 +04:00
John Preston 3e2f4bed50 Update scheme to layer 102.
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston 4f8ea4c807 Allow to play in-app large videos. 2020-04-13 15:32:14 +04:00
John Preston b16696db93 Don't scroll down when read from another device. 2020-04-13 15:31:54 +04:00
John Preston 63129072ba Mark voice/video message as read on mention click.
Fixes #5623.
2020-04-13 15:30:56 +04:00
John Preston f5aba5a907 Fix build with new lib_ui commits. 2020-04-13 15:26:09 +04:00
John Preston 2f7563767d Fix crash in archive / pinned in folder management. 2020-03-30 21:04:49 +04:00
John Preston 8c6b5caa57 Fix possible crash in inconsistent HistoryWidget state. 2020-03-30 16:43:09 +04:00
John Preston 31ba2828af Add a tooltip with information about the dice. 2020-03-30 15:21:16 +04:00
John Preston 570ab663b7 Use cache for remembered last dice frames. 2020-03-30 14:57:14 +04:00
John Preston c209aedb22 Fix dice animating to the last frame.
I hope this fixes #7465.
2020-03-29 13:47:07 +04:00
John Preston 90a1cea515 Fix forwarded dice size.
Fixes #7472.
2020-03-29 13:35:14 +04:00
John Preston 5dfbec17cd Fix via @bot information in stickers. 2020-03-27 20:36:06 +04:00
John Preston fc5dbc6003 Use animated emoji size for the Dice. 2020-03-27 20:36:06 +04:00
John Preston 9ba3b11c96 Fix description of channel recent actions section. 2020-03-27 20:36:06 +04:00
John Preston 36d3dcd6d8 Fix marking scheduled out messages as read. 2020-03-27 20:36:06 +04:00
John Preston 01c79f917e Add limits on video frame size.
Any video that starts streaming is limited to 4K.
Any in-chat streaming is limited to full hd.
Any GIF panel animation is limited to 720p.
2020-03-27 20:36:05 +04:00
John Preston 3ac33e4c1c Leave unread chats in filter until closed. 2020-03-27 20:36:05 +04:00
John Preston 4b8a42fafd Fix crash in forwarded dice media. 2020-03-27 20:36:04 +04:00
John Preston f0322cd107 Fix filters unread counters. 2020-03-27 20:36:03 +04:00
John Preston 55900bbd3d Save pinned chats in filters to server. 2020-03-27 20:36:03 +04:00
John Preston e27a8fe058 Support pinned locally in filters. 2020-03-27 20:36:03 +04:00
John Preston 38a744fe5b Count unread messages in Dialogs::MainList. 2020-03-27 20:36:02 +04:00
John Preston f8cc134bd6 Send dice emoji as Dice media. 2020-03-27 20:36:02 +04:00
John Preston 2cefccc6eb Start with the end Dice animation in forwarded. 2020-03-27 20:36:02 +04:00
John Preston e7ca405e8c Show forwarded info in Dice media. 2020-03-27 20:36:02 +04:00
John Preston c83e297554 Implement dice media display. 2020-03-27 20:36:02 +04:00
John Preston 11d31ffc84 Parse and apply cloud filters. 2020-03-27 20:36:01 +04:00
John Preston ed715fb810 Update API scheme to layer 111. 2020-03-27 20:36:01 +04:00
John Preston 2f1ee6f1fa Show two hardcoded filters in Ui. 2020-03-27 20:36:01 +04:00
John Preston 71f7aae948 Replace dialogs mode with filters. 2020-03-27 20:36:01 +04:00
John Preston 1492571232 Fix members dropdown and mention autocomplete.
Fixes #7345.
2020-03-13 23:14:23 +04:00
John Preston 07eab8555a Fix crash in lottie animation destroy-on-init. 2020-03-13 22:53:59 +04:00
John Preston 854bc9f84a Fix blurred thumbnails in albums.
Regression was introduced in dc146cb1fe.

Once again fixes #6332.
2020-03-13 22:53:59 +04:00
23rd 4e345ac688 Returned display of message status for self and last messages. 2020-02-27 14:20:24 +03:00
John Preston b5ad3e7724 Fix unread badges for new dialogs. 2020-02-25 13:58:58 +04:00
John Preston 5937b24799 Request dialog entry for unknown chat. 2020-02-24 16:35:13 +04:00
John Preston 6ded5b74d0 Fix load requests cancel on history change. 2020-02-24 13:13:48 +04:00
John Preston 28032e5e0d Fix jump to a specific message. 2020-02-21 18:48:30 +04:00
John Preston ec7a2dce2f Search through Histories. 2020-02-21 18:48:30 +04:00
John Preston 6f672ecdc3 Request history parts through Histories. 2020-02-21 18:48:30 +04:00
John Preston 818f5cd004 Send and delete messages through Histories. 2020-02-21 18:48:30 +04:00
John Preston db322cc19a Move requestDialogEntry to Histories. 2020-02-21 18:48:30 +04:00
John Preston 9bdcd08233 Don't read history for guest channels. 2020-02-21 18:48:30 +04:00
John Preston f133210db3 Fix scroll first to unread then to end. 2020-02-21 18:48:30 +04:00
John Preston ee8028cd53 From above the unread jump to unread by down button. 2020-02-21 18:48:30 +04:00
John Preston f72cb979c0 Create unread bar when jumping to a message. 2020-02-21 18:48:30 +04:00
John Preston 49c4d35afa Improve working with unread bar. 2020-02-21 18:48:30 +04:00
John Preston ee3e9af63a Remove counter from unread bar. 2020-02-21 18:48:30 +04:00
John Preston 1980c1004e Mark as read only in inited history view. 2020-02-21 18:48:29 +04:00
John Preston a3f19c073b Fix 'reading' of an empty history. 2020-02-21 18:48:29 +04:00
John Preston c8d2ac9583 Move message ownership to History. 2020-02-21 18:48:29 +04:00
John Preston b5dcd84513 Fix stop-auto-read when the system is idle. 2020-02-21 18:48:29 +04:00
John Preston 5b7f7ed70e Fix reading of currently opened chat. 2020-02-21 18:48:29 +04:00
John Preston c04f3a7048 Don't replace local with server last message. 2020-02-21 18:48:29 +04:00
John Preston 32d93e2651 Fix several read requests together. 2020-02-21 18:48:29 +04:00
John Preston 9cccea9a87 All read history done through Data::Histories. 2020-02-21 18:48:29 +04:00
John Preston b0e1ae3948 Prepare Data::Histories for requests interdependencies. 2020-02-21 18:48:29 +04:00
John Preston 70408f0e22 First version of reading-while-scrolling. 2020-02-21 18:48:29 +04:00
Kirsan 9c562931a2 Respect user settings "Send by ..." for:
forward dialog
send file dialog
edit caption dialog
notification replay
schedule messages
new channel dialog
group description edit dialog
create poll dialog
rate call dialog
report bot dialog
support mode
2020-02-11 12:29:34 +04:00
John Preston 07cc05f62e Fix loading thumbnails in videos in albums.
Once more fixes #6332.
2020-02-10 15:43:24 +04:00
John Preston 702fe024c0 Fix a crash in reply data inconsistency. 2020-02-05 18:39:47 +04:00
John Preston 9feea4a724 Don't blur video thumbnail if any side >= 240px.
Fixes #6332.
2020-02-05 18:39:46 +04:00
John Preston f0de8131ec Improve phrases for scheduled messages. 2020-01-28 18:07:17 +03:00
23rd ef5055f4f3 Fixed missing reply cancel after sending scheduled message. 2020-01-28 11:20:36 +03:00
John Preston f1d155c3f6 Added fireworks animation for right quiz answer. 2020-01-24 17:01:25 +03:00
John Preston 66e3b529b7 Fix visual glitches in bubble shaking. 2020-01-24 17:01:25 +03:00
John Preston dbfc555d9c Support shaking bubble for wrong quiz answer. 2020-01-24 11:49:12 +03:00
John Preston 3c022b893a Show correct incoming quiz votes in green. 2020-01-24 10:27:08 +03:00
John Preston b74adc5311 Allow viewing round videos in scheduled messages. 2020-01-23 15:37:12 +03:00
John Preston 7170808d2b Fix unloading thumbnails in videos.
Fixes #6332.
2020-01-23 14:02:18 +03:00
23rd 8298caddc3 Removing scheduling messages until online for those who hide their online. 2020-01-23 10:46:57 +03:00
John Preston a482b744d2 Add a ripple animation for polls bottom button. 2020-01-23 10:09:34 +03:00
John Preston d5bf742912 Improve polls layout. 2020-01-23 10:09:34 +03:00
John Preston 4346aecb61 Add a separate string for a pinned quiz. 2020-01-23 10:09:34 +03:00
23rd 7d519990b2 Added ability to customize shortcuts for silent or scheduled messages. 2020-01-23 10:09:34 +03:00
23rd c08b2ae3df Added ability to schedule messages to be sent when user comes online.
Pro tip: Hold Ctrl key to send a silent scheduled message!
2020-01-23 10:09:33 +03:00
23rd 8ebbeb5274 Fixed display of scheduled until online message dates. 2020-01-23 10:09:33 +03:00