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
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
30dea3a2e7
Use isConstant bool instead of ContactStatus enum.
2019-06-21 11:06:45 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
04e3b250e7
Keep track of fully cached media files.
2019-06-04 14:30:44 +03: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
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
John Preston
9a4fdb1530
Use only lt_count in langpacks.
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
cf0d4a0559
Improve design of video download state.
2019-05-01 16:11:44 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
5ab1cd405a
Fix nice vote percents.
2019-05-01 16:11:39 +04:00
John Preston
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston
ff51423125
Remove ExpandLinksNone, rename Text::originalText.
2019-04-08 15:53:11 +04:00
John Preston
43cc2145a8
Don't update radial animations in cycle.
2019-04-04 19:31:07 +04:00
John Preston
3e374eda51
Fix video messages with disabled autoplay.
2019-04-03 16:50:38 +04:00
John Preston
99bb09374d
Use new animations engine everywhere.
2019-04-02 14:33:53 +04:00
John Preston
a6e96f9a28
Use new animations engine in all Basic-s.
2019-04-02 14:33:53 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
3bd1bbc77a
Use Streaming::Player in video messages playback.
2019-03-26 16:51:39 +04:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
John Preston
db121c0839
Take album caption from any album item.
2019-03-22 14:22:49 +04:00
John Preston
d646de7184
Add button to download audio files.
2019-03-15 16:09:05 +04:00
John Preston
bc2b0f8392
Add button to download video files.
...
Fixes #5781 .
2019-03-15 14:15:04 +04:00
John Preston
a5d1fbff98
Fix removing photo in webpage preview.
2019-03-14 17:14:18 +04:00
John Preston
5ec37e9112
Use separate click handler for OpenWith.
2019-03-13 13:35:47 +04:00
John Preston
c063d94aa5
Remove DocumentData::actionOnLoad. Fix GIF open.
2019-03-11 19:07:35 +04:00
John Preston
a886c598c1
Fix non-streamable videos layout.
2019-03-11 12:08:20 +04:00
John Preston
f481f1e142
Make videos larger, fix playback animation.
2019-03-11 12:08:19 +04:00
John Preston
5c4b459f57
Use new animations in video viewer.
2019-03-11 12:08:18 +04:00
John Preston
01d763eed1
Use DocumentData::getDuration for all types.
2019-03-11 12:08:15 +04:00
John Preston
195164d9d4
Fix display / download of video messages.
2019-03-11 12:08:14 +04:00
John Preston
aade3d4f27
Allow streaming video from overview.
2019-03-11 12:08:14 +04:00
John Preston
c574119718
Implement file reference update in streaming.
2019-03-11 12:08:08 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +04:00
John Preston
fde8dd9607
Play streaming audio in player.
2019-03-11 12:08:08 +04:00
John Preston
f1e0cd6c1d
Play streaming video in mediaview.
2019-03-11 11:52:11 +04:00
John Preston
d37b65e624
If stuck wait for three seconds of packets.
2019-03-11 11:49:54 +04:00
23rd
89f4408029
Added forwarded info in tooltip of sticker.
2019-03-09 15:24:35 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
7c1704e68b
Fix crash in EditCaptionBox.
2019-02-17 13:51:53 +04:00
John Preston
032694ad9e
Move files to media/audio and media/clip.
2019-02-13 15:41:33 +03:00