John Preston
8e8c356659
Use streamed video for GIFs in History.
2019-12-10 15:49:37 +03:00
John Preston
f88466a376
Don't refresh messages redundantly.
...
Fixes #6781 .
2019-12-10 10:49:31 +03:00
John Preston
41e13e39bc
Apply ignore_restriction_reasons from config.
2019-12-09 18:42:11 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00
John Preston
8535a579ca
Fix by-word/paragraph text selection in WebPage.
2019-12-03 11:08:55 +03:00
John Preston
12f5ccaaa5
Use vector queues in mtproto file downloader.
2019-12-03 10:25:27 +03:00
John Preston
e6c86b19db
Use app config value for QR login.
2019-11-29 15:36:06 +03:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
John Preston
2597bc9f4e
Fix layout of polls with huge questions.
2019-11-21 18:28:49 +03:00
23rd
1ef877d9a5
Fixed moving cursor to begin/end when using reply shortcuts for macOS.
2019-11-15 16:16:33 +03:00
Nicholas Guriev
793862bee6
Fix -Wredundant-move and -Wdeprecated-copy warnings ( #6663 )
...
* Do not move result at end of function
This makes GCC 9.1.2 happy with the active -Wredundant-move warning.
Indeed, such moving of local variables or local arguments before
returning is unnecessary and prevents the compiler from copy elision
optimization.
2019-11-12 18:15:34 +03:00
John Preston
1eb62579e2
Support building OS X 10.10/10.11 version.
2019-11-05 14:27:42 +03:00
23rd
6c2479c09f
Fixed moving cursor when using reply shortcuts.
...
- Fixed #6038 .
- Slightly refactored comparison of modifiers.
2019-11-05 13:23:56 +03:00
23rd
4be178c75f
Added SpellingHighlighter to InputField in HistoryWidget and some boxes.
2019-10-20 21:11:38 +04:00
John Preston
30a1bd7ba2
Use base::call_delayed.
2019-10-19 12:27:56 +04:00
John Preston
f677b116f9
Use install_base_filter for lib_base.
2019-10-19 12:27:56 +04:00
John Preston
a6b96662c4
Use some resources from lib_ui.
2019-10-19 12:27:56 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
383195f1b2
Use some icons from lib_ui.
2019-10-19 12:27:34 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
RadRussianRus
261a83eda3
Show restricted date to user ( #6642 )
...
* Show restricted date to user
* Fixed attach button toast
* Fixed attach button toast in scheduled messages
2019-10-07 17:35:22 +03:00
John Preston
9773563926
Fix history geometry update being lost.
...
Fixes #6629 .
2019-10-03 13:25:05 +03:00
John Preston
ecfe1dacb2
Version 1.8.12: Fix build for Xcode.
2019-10-02 12:54:29 +03:00
John Preston
60640c7087
Version 1.8.12: Fix 'edited' badge display.
2019-10-02 12:08:31 +03:00
RadRussianRus
982edcb310
Resize message with photo when bubbled
2019-10-02 11:56:33 +03:00
Jiachen YANG
56aab1aa07
explicitly specify the upper bound in ranges::view::ints
2019-10-02 11:52:55 +03:00
Jiachen YANG
9d850b71e7
be compatible with range-v3 0.9.x/1.0 branch
...
This made 2 changes to the current code base to be compatible with higher versions of range-v3 library.
1. ranges::iterator_range was renamed to subrange, see https://github.com/ericniebler/range-v3/issues/766
2. PercentCounterItem need an operator== for ranges::sort for some reason
2019-10-02 11:52:55 +03:00
RadRussianRus
684cfa16b8
Do not show edit timer for supergroup admins
2019-10-02 11:31:43 +03:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c057f28425
Move standard buttons to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9
Move some style code to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
4af9c801ae
Don't show sticker suggestions if can't send.
...
Fixes #6581 .
2019-09-27 19:56:54 +03:00
udf
f11339361d
Make "All Users" checkbox behave like the "All Actions" checkbox
2019-09-27 18:04:50 +03:00
John Preston
1d8d2b6251
Fix theme link preview title.
2019-09-10 18:30:47 +03:00
23rd
f9d10094ac
Added warning when try to attach new media while editing message.
2019-09-10 14:22:20 +03:00
John Preston
241f5e1d26
Make theme preview fit in minimal window size.
2019-09-10 00:50:15 +03:00
John Preston
c1ab1acd44
Fix crash in scheduled messages 'Send Now'.
2019-09-09 17:43:39 +03:00
John Preston
ee5423762a
Generate previews for cloud theme links.
2019-09-09 14:56:05 +03:00
RadRussianRus
f1eddcd584
Make link preview title clickable
2019-09-09 10:15:32 +03:00
John Preston
5f26e92f5c
Fix scheduled messages from ShareBox.
...
Fixes #6497 .
2019-09-08 21:26:17 +03:00
John Preston
4951eeac98
Allow creating desktop part of multi-theme.
2019-09-06 19:31:07 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
ac8f924909
Show tdesktop cloud themes in a box.
2019-09-06 19:31:06 +03:00
John Preston
d7cb8b7065
Version 1.8.4: Fix crash in local messages.
2019-09-06 16:41:43 +03:00
John Preston
ab6d9ff73c
Fix sending first message in chat.
2019-09-06 14:14:04 +03:00
John Preston
8b766dda8e
Fix crash in scheduled message in admin log.
...
Fixes #6495 .
2019-09-06 12:20:59 +03:00
John Preston
ee0f66d746
Fix crash in history clear while sending messages.
...
Don't remove messages that are currently being sent from locals.
2019-09-06 10:56:01 +03:00
John Preston
7893ad0558
Mark all types of local history items.
2019-09-06 10:53:44 +03:00
John Preston
e0c0d79be9
Fix build for GCC.
2019-09-02 15:22:01 +03:00
John Preston
253816641c
Submit by keyboard in scheduled section.
2019-09-02 13:39:43 +03:00
John Preston
ca2692473d
Fix inactive window notifications clearing.
2019-09-02 13:39:43 +03:00
John Preston
8000dfac01
Fix crash on admin log exit by Escape.
2019-09-02 13:39:43 +03:00
John Preston
87ea49e094
Allow schedule messages while in slowmode counter.
2019-09-02 13:39:43 +03:00
John Preston
66bf48e21e
Remove 'Send without sound' in Saved messages.
2019-08-31 14:43:19 +03:00
John Preston
451056d2ab
Track reminder unread status without cheating.
2019-08-31 14:32:15 +03:00
John Preston
791ae64a90
Fix crash in local messages tracking.
2019-08-31 14:25:24 +03:00
John Preston
16b786186b
Fix schedule time selection.
2019-08-31 14:21:52 +03:00
John Preston
b27a2cd34a
Use edit_hide flag to hide 'edited' badge.
2019-08-30 18:00:32 +03:00
John Preston
3715fa4b1e
Fix scheduled notifications on inbox read.
2019-08-30 17:06:21 +03:00
John Preston
d95e54cb1a
Check if it is possible to 'Send now.'
2019-08-30 16:17:46 +03:00
John Preston
5758f756c9
Fix draft clearing on message send.
...
Regression was introduced in caef7dde24
.
2019-08-30 13:31:45 +03:00
23rd
04617e4a12
Fixed display of tooltip for date of stickers.
...
- Fixed #6426 .
- Regression was introduced in b814c6307a
.
2019-08-29 16:16:22 +03:00
John Preston
405ccb8580
Add editing of AddedByPhone privacy.
2019-08-29 11:44:03 +03:00
John Preston
07f45b7eab
Improve published scheduled notifications.
2019-08-29 10:01:28 +03:00
John Preston
87addd41b1
Add new phrases for reminders.
2019-08-29 10:01:28 +03:00
John Preston
0a4f91a53d
Notify about published scheduled messages.
2019-08-29 10:01:28 +03:00
John Preston
44d156760e
Fix build in Xcode.
2019-08-27 19:10:37 +03:00
John Preston
ef7087348a
Allow to schedule created polls.
2019-08-27 19:10:37 +03:00
John Preston
8eac2dcb78
Correctly show scheduled polls.
2019-08-27 19:10:37 +03:00
John Preston
f690f93f32
Allow schedule of files, stickers, GIFs.
2019-08-27 19:10:37 +03:00
John Preston
77ebdd3576
Send from scheduled messages section.
2019-08-27 19:10:37 +03:00
John Preston
3e895d0e85
Make tabbed selector working in scheduled section.
2019-08-27 19:10:37 +03:00
John Preston
385a7eb00d
Start scheduled compose controls.
2019-08-27 19:10:37 +03:00
John Preston
1c9775baf9
Improve scheduled messages icon design.
2019-08-27 19:10:37 +03:00
John Preston
fb96d2eef8
Improve schedule box design.
2019-08-27 19:10:37 +03:00
John Preston
debeb61540
Start schedule message box.
2019-08-27 19:10:37 +03:00
John Preston
03cdddfe18
Allow sending scheduled messages.
2019-08-27 19:10:37 +03:00
John Preston
caef7dde24
Bundle silent and scheduled to Api::SendOptions.
2019-08-27 19:10:37 +03:00
John Preston
694f771131
Allow to send scheduled messages instantly.
2019-08-27 19:10:37 +03:00
John Preston
99037d3d46
Improve scheduled messages top bar.
2019-08-27 19:10:37 +03:00
John Preston
ea0a616453
Allow deleting scheduled messages.
2019-08-27 19:10:37 +03:00
John Preston
815a18be94
Add initial scheduled list implementation.
2019-08-27 19:10:37 +03:00
John Preston
3814b0833d
Keep track of scheduled messages.
2019-08-27 19:10:37 +03:00
John Preston
549789bfb7
Update API scheme to layer 105.
2019-08-27 19:10:37 +03:00
John Preston
e1fe373504
Fix localtime-related slowmode errors.
2019-08-20 12:42:37 +03:00
John Preston
7316d24ca4
Quick fix for 'Cant forward here' error.
2019-08-19 15:26:12 +03:00
John Preston
b814c6307a
Check that sticker drag point is inside.
2019-08-19 15:26:12 +03:00
23rd
06fbb2edc4
Added permanent date display for sticker when fast action is enabled.
2019-08-19 15:26:12 +03:00
23rd
0ee47bb10f
Fixed fast action button and date position for stickers.
2019-08-19 15:26:12 +03:00
23rd
9f228d8146
Fixed fast share button in messages with big emoji and reply.
2019-08-19 15:26:12 +03:00
23rd
de270d5283
Fixed right action click handler on stickers without stickerpack.
2019-08-19 15:26:12 +03:00
John Preston
1139a59818
Fix crash in editing message to empty.
2019-08-19 15:26:12 +03:00
John Preston
02b65a42f7
Move message client flags to a separate field.
2019-08-09 20:19:23 +01:00
John Preston
93793d8bdd
Remove thumbnail for colored animated emoji.
2019-08-09 11:51:35 +01:00
John Preston
d7f7a03eb4
Don't refresh large emoji messages when sent.
2019-08-09 11:51:35 +01:00
John Preston
bc83df9d7f
Repaint skin-toned animated emoji.
2019-08-09 11:51:33 +01:00
John Preston
4bad642190
Remove some more Auth() calls.
2019-08-09 11:50:49 +01:00
John Preston
230dd29af5
More large emoji layout improvements.
2019-08-09 11:50:49 +01:00
John Preston
116b483a88
Improve layout of large emoji.
2019-08-09 11:50:49 +01:00
John Preston
e479daca03
Use outlined large emoji.
2019-08-09 11:50:49 +01:00
John Preston
51d350c356
Fix stickers and emoji render.
2019-08-09 11:50:49 +01:00
John Preston
d298953653
Add large emoji implementation.
2019-08-09 11:50:49 +01:00
John Preston
1d52ba7a42
Extract sticker-specific HistoryView code.
2019-08-09 11:50:49 +01:00
John Preston
850940116d
Move HistoryMedia to HistoryView namespace.
2019-08-09 11:50:49 +01:00
John Preston
fd59147b8a
Allow disabling animated emoji.
2019-08-09 11:50:49 +01:00
John Preston
93a52bb66e
Move some settings from global to Session.
2019-08-09 11:50:49 +01:00
John Preston
7e4c9f98a6
Track all single-emoji messages.
2019-08-09 11:50:49 +01:00
John Preston
7d2896dd42
Scale animated emoji by server config.
2019-08-09 11:50:49 +01:00
John Preston
f7f797dd78
Initial animated emoji implementation.
2019-08-09 11:50:49 +01:00
John Preston
4b7b1c35e1
Improve storing of played animated stickers.
2019-08-09 11:50:49 +01:00
John Preston
708b1d7ad4
Add 'Loop animated stickers' setting.
2019-08-09 11:50:49 +01:00
John Preston
80fedcbbae
Improve slowmode error phrases.
2019-08-09 11:50:49 +01:00
John Preston
8d94cfb61b
Fix support mode sending.
2019-08-09 11:50:49 +01:00
John Preston
27d84befa8
Remove emoji from custom admin ranks.
2019-07-28 15:39:06 +02: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
137fa0378c
Remove some more Auth() calls.
2019-07-24 16:00:30 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
2ed5552279
Improve custom badge input phrases.
2019-07-24 08:02:20 +02:00
John Preston
3f1a2d0b58
Support emoji in custom admin badges.
2019-07-24 08:02:20 +02:00
John Preston
f36e2981ca
Display custom admin ranks in messages.
2019-07-24 08:02:20 +02:00
John Preston
22f210ea8e
Support sending albums to slowmode groups.
2019-07-24 08:02:20 +02:00
John Preston
4a10a88ecf
Show error when forwarding to slowmode group.
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
0005e0a3ce
Track local messages, restore on history jump.
2019-07-24 08:02:20 +02:00
John Preston
04bf24288a
Show slowmode error 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
4544a2e331
Update API scheme to layer 104.
2019-07-24 08:02:20 +02:00
23rd
d563e746ab
Added ability to go to bot from "via @bot" header with Ctrl.
...
- Fixed #2074 .
2019-07-18 12:09:53 +02:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
ffba901620
Add a confirmation when blocking a user.
2019-07-15 15:47:40 +02:00
John Preston
8477956117
Fix emoji button.
...
Fixes #6264 .
2019-07-15 14:12:28 +02:00
John Preston
4e52da91c7
Fix animation stopping in chat.
2019-07-05 19:47:40 +02:00
John Preston
198de85ce5
Limit to 30 FPS in small stickers.
2019-07-05 19:15:25 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
3ca28c0cf9
Fix crash in unsupported message with buttons.
...
Fixes #6212 .
2019-07-05 09:42:51 +02:00
23rd
4ac3aef600
Added ability to cancel reply with Ctrl + Arrow Down.
...
- Fixed #4636 .
2019-07-04 16:41:46 +02:00
23rd
cf8a06302f
Fixed position of unread mentions button when field changes height.
2019-07-04 16:41:46 +02:00
John Preston
9d09cee1cc
Unblock bots without restarting from Settings.
2019-07-04 16:26:53 +02:00
John Preston
c8b61366d3
Fix blurred document thumbnails.
2019-07-04 12:22:07 +02:00
John Preston
306b87dd39
Disable double click reply in a created group.
2019-07-04 11:37:05 +02:00
John Preston
10ee81f466
Copy shared contact number from the context menu.
...
Fixes #6147 .
2019-07-04 10:36:48 +02:00
John Preston
0a63eac4f6
Generate good thumbnail for animated stickers.
2019-07-04 10:20:36 +02:00
John Preston
848ea16eef
Support animated stickers in inline results.
2019-07-02 15:46:26 +02:00
John Preston
cbffeca8d5
Extract some Lottie::Animation code to Lottie::Player.
2019-07-01 17:57:37 +02:00
John Preston
4a7b5a8e01
Fix caching for large sticker area.
2019-07-01 17:57:37 +02:00
John Preston
a026aec786
Trivial in-memory frame caching.
2019-07-01 17:57:35 +02:00
John Preston
10772f4ac5
Started Lottie::CacheState class.
2019-07-01 17:57:34 +02:00
John Preston
35bc2cc2a5
Prepare lottie animations caching.
2019-07-01 17:57:34 +02:00
John Preston
8f3f898c47
Show animated stickers in StickerSetBox.
2019-07-01 17:57:32 +02:00
John Preston
84aaec30a1
Version 1.7.10: Ownership transfer in admin log.
2019-06-24 15:08:19 +02:00
John Preston
764490b4a9
Version 1.7.10: Add share phone confirmation.
2019-06-24 14:49:53 +02:00
John Preston
352839337d
Add SCAM badge for users and channels.
2019-06-23 14:18:33 +02:00
23rd
f877bf7a46
Fixed display of views count.
2019-06-22 11:53:23 +02:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
edcd09c29f
Remove LangKey.
2019-06-21 11:06:51 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
d1d98c3bb1
Use tr:: instead of langFactory in box titles.
2019-06-21 11:06:50 +02:00
John Preston
8ed433cc01
Use tr:: instead of langFactory in input fields.
2019-06-21 11:06:49 +02:00
John Preston
7af0dd105e
Use tr:: instead of Lang::Viewer.
2019-06-21 11:06:49 +02:00
John Preston
faa42110ac
Remove Info::Profile::ToUpperValue.
2019-06-21 11:06:48 +02:00
John Preston
d23fd3559a
Refresh participants after transfer.
2019-06-21 11:06:47 +02:00
John Preston
b9d1d8519c
Use need_contacts_exception flag in add contact.
2019-06-21 11:06:47 +02:00
John Preston
0dddb7694f
Show transfer community button, set 2sv password.
2019-06-21 11:06:47 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
9066acd2dd
Use new box for editing contact name.
2019-06-21 11:06:46 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
e9677779b8
Show phone number only in the chat top bar.
2019-06-21 11:06:46 +02:00
John Preston
aca3ec0ab8
Implement block + clear from ContactStatus bar.
2019-06-21 11:06:46 +02:00
John Preston
3a34b15841
Add 'Share my phone number' click handler.
2019-06-21 11:06:45 +02:00
John Preston
213a8d888a
Implement report spam from ContactStatus bar.
2019-06-21 11:06:45 +02:00
John Preston
f49c7ba7ee
Allow hiding contact status bar.
2019-06-21 11:06:45 +02:00
John Preston
984f19b1e9
Implement adaptive ContactStatus buttons.
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
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
8c67a4b991
Strip auto-hashtag in support mode message editing.
2019-06-05 21:40:21 +03:00
John Preston
b9bd937aaa
Treat url auth button as an url button.
2019-06-05 20:42:10 +03:00
John Preston
04e3b250e7
Keep track of fully cached media files.
2019-06-04 14:30:44 +03:00
John Preston
eb438e35ee
Remove old download priority arguments.
2019-06-04 14:30:43 +03:00
John Preston
9c613fe2f7
Move system versions to platform/platform_info.
2019-06-04 14:23:14 +03:00
John Preston
ea61211a61
Version 1.7.2: Mix peer to grouped_id.
2019-06-01 00:51:57 +03:00
John Preston
619aca04f9
Don't show report spam over the chat history.
2019-05-30 21:53:13 +03:00
John Preston
af85aec33b
Allow disabling pinned messages notifications.
...
Fixes #1864 .
2019-05-28 16:59:35 +02:00
John Preston
65a36e49bd
Support custom forwarded text in url auth button.
2019-05-27 15:26:12 +02:00
John Preston
a49a96ba33
Fix archive search input field focus.
2019-05-27 15:10:04 +02:00
John Preston
d2d51cc883
Fix field showing on write access enabling.
2019-05-27 15:09:59 +02:00
John Preston
e8a99a854d
Add unread badge to Discuss button.
2019-05-27 15:09:57 +02:00
John Preston
a64c8c52b4
Correctly display discussion posts sender.
2019-05-27 15:09:56 +02:00
John Preston
87caa58456
Forward some inline keyboards.
2019-05-27 15:09:52 +02:00
John Preston
6b9675a5b1
Correctly display discussion posts.
2019-05-27 15:09:50 +02:00
John Preston
8aaaef3ff4
Show 'channel' badge for discussed messages.
2019-05-27 15:09:45 +02:00
John Preston
7fbec0dbca
Show admin log events for linked chats.
2019-05-27 15:09:43 +02:00
John Preston
f0eba3e283
Show Discuss button in channels.
2019-05-27 15:09:32 +02:00
John Preston
801b500aa6
Use session() instead of Auth() in HistoryWidget.
2019-05-27 15:09:30 +02:00
John Preston
9c1ce702bb
Display channel posts in discussion groups.
2019-05-27 15:09:28 +02:00
John Preston
c92a798e1b
Support url authorizations.
2019-05-27 15:09:18 +02:00
John Preston
3556fbf702
Pause animated stickers as GIFs.
2019-05-27 15:09:09 +02:00
John Preston
3577e71782
Validate mime type of animated stickers.
2019-05-27 15:09:07 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
John Preston
4ab3c2dfcb
Add support for gzip-ed animated stickers.
2019-05-27 14:11:27 +02:00
John Preston
7ee16ba45c
Clear hidden animated stickers.
2019-05-27 14:11:26 +02:00
John Preston
cfff744cb1
Parse and render lottie in the background.
2019-05-27 14:11:26 +02:00
John Preston
642deecbbb
Allow loading lottie animations from memory.
2019-05-27 14:11:26 +02:00
John Preston
707aa88974
Animated stickers proof of concept.
2019-05-27 14:11:26 +02:00
udf
288b7ba100
Actually fix display SendFilesBox via historyAttach button.
2019-05-26 14:23:37 +02:00
udf
2b8951b2ac
Revert "Fixed display SendFilesBox via historyAttach button."
...
This reverts commit a0926f2d70
because it
doesn't do what it should do :(
2019-05-26 14:23:37 +02:00
John Preston
9a4fdb1530
Use only lt_count in langpacks.
2019-05-20 15:44:51 +03:00
23rd
63a6893fda
Excluded ability to display 0 views in channel posts.
2019-05-20 15:44:51 +03:00
23rd
5901b42a83
Added generation of string with decimal separated numbers.
...
- Added new plural tag "kPluralDecimalSeparationTag".
- Added Lang::PluralType for default, shorted and decimal separated numbers.
- Replaced members and votes count with decimal separated type.
2019-05-20 15:44:51 +03:00
23rd
5d321f7c59
Moved generation of short string for large numbers in one place.
...
- Added new plural tag "kPluralShortTag".
- Added support of new plural tag to code generator.
- Removed FormatViewsCount from history_message.
- Removed FormatLargeNumber from history_media_poll.
- Added FormatCountToShort to lang_tag.
2019-05-20 15:44:51 +03:00
John Preston
aec6e17b5d
Allow revoking any messages in private chats.
2019-05-08 12:14:42 +03:00
John Preston
0247e876df
Remove locally saved empty histories.
2019-05-03 15:18:18 +04:00
John Preston
6f885fb6cc
Fix creating dialog rows for new groups.
2019-05-02 22:30:52 +04:00
John Preston
9b430147c0
Remove some unused langpack keys.
2019-05-01 16:43:37 +04:00
John Preston
4e8c57a861
Fix assertion violation in marking history as read.
2019-05-01 16:43:19 +04:00
John Preston
4ad8c4877c
Close archive by escape even if chat is shown.
2019-05-01 16:11:47 +04:00
John Preston
6102795856
Fix proxy promoted channel chats-list position.
2019-05-01 16:11:46 +04:00
John Preston
39008bf6fe
Fix reading of client side unread messages.
2019-05-01 16:11:44 +04:00
John Preston
5c3f93eee1
Fix crash in replies.
...
Regression was introduced in b1df3c0ec4.
2019-05-01 16:11:44 +04:00
John Preston
cf0d4a0559
Improve design of video download state.
2019-05-01 16:11:44 +04:00
John Preston
ca548a11d7
Fix assertion violation in History::inboxRead().
2019-05-01 16:11:43 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
5f62c2100c
Count unread marks in non-fully loaded folders.
2019-05-01 16:11:40 +04:00
John Preston
52b9212625
Display top bar in archive.
2019-05-01 16:11:40 +04:00
John Preston
5ab1cd405a
Fix nice vote percents.
2019-05-01 16:11:39 +04:00
John Preston
9ff02707bf
Improve archive chat list entry layout.
2019-05-01 16:11:38 +04:00
John Preston
2d1dcb36cb
Use folder_id / still_unread_count from updates.
2019-05-01 16:11:38 +04:00
John Preston
40532e32ab
Enforce changelog message visibility.
2019-05-01 16:11:38 +04:00
John Preston
ceec71d3e6
Track real latest message in the folder.
2019-05-01 16:11:37 +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
607655941d
Improve Ui::Menu interface.
2019-05-01 16:11:37 +04:00
John Preston
518ff146b2
Don't allow reordering of the archive.
2019-05-01 16:11:36 +04:00
John Preston
83306bb01f
Replace QList with std::deque in notifications.
2019-05-01 16:11:36 +04:00
John Preston
f3ed7a674a
Create dialog rows only with known folders.
2019-05-01 16:11:35 +04:00
John Preston
854870683b
Add ability to archive/unarchive the chats.
2019-05-01 16:11:35 +04:00
John Preston
c58f097535
Correctly move histories between chat lists.
2019-05-01 16:11:35 +04:00
John Preston
0367319934
Load folder dialogs list.
2019-05-01 16:11:35 +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