Commit graph

209 commits

Author SHA1 Message Date
John Preston
c0f3d263a3 Remove webpage length limit for factcheck. 2024-05-30 21:35:08 +04:00
23rd
93eff78cd6 Replaced all credits currency name at least with simple star. 2024-05-30 21:35:08 +04:00
23rd
e9fb580ba4 Moved out credits currency to single place. 2024-05-30 21:35:08 +04:00
23rd
26e8c29f40 Moved formatting of dialog last date to td_ui. 2024-05-02 04:09:25 +03:00
John Preston
1061fb6c85 Implement collectible username / phone info boxes. 2024-04-02 22:56:21 +04:00
John Preston
8982a49192 Fix repetitive phone formatting. 2024-03-19 11:04:21 +04:00
23rd
afdd22d154 Fixed phone formatting generally. 2024-03-08 10:53:58 +04:00
John Preston
f8d5a8a203 Redesign web pages preview. 2023-10-26 14:08:41 +04:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
23rd
f4a02b126d Improved format of ttl phrases. 2023-04-21 01:21:08 +03:00
23rd
297fd0f0c8 Moved regexp for excluding digits to single place. 2022-12-29 13:36:28 +03:00
Ilya Fedin
66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
23rd
d0ae07f3c2 Added initial implementation of global TTL settings. 2022-11-29 18:03:37 +03:00
Ilya Fedin
7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston
3129d9f0df Add a distinct "N seconds" key for the slowmode phrase. 2022-09-10 08:19:37 +04:00
John Preston
ed3f246510 Use FrameGenerator-based AnimatedIcon for reactions. 2022-09-02 21:14:32 +04:00
John Preston
668a3308be Support custom emoji reactions in WhoReacted. 2022-09-02 21:14:31 +04:00
John Preston
96805b62b2 Seamless switch from strip icons to custom emoji. 2022-09-02 21:14:30 +04:00
John Preston
0277d765bb Nice reactions panel expanding. 2022-09-02 21:14:30 +04:00
Sergey A. Osokin
7a3452a18a Fix warnings by removing unused const variables
Telegram/SourceFiles/ui/text/custom_emoji_instance.cpp:23:16: warning: unused variable 'kMaxFrameDuration' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/reactions_settings_box.cpp:46:16: warning: unused variable 'kVisibleButtonsCount' [-Wunused-const-variable]
Telegram/SourceFiles/boxes/premium_preview_box.cpp:53:16: warning: unused variable 'kShiftDuration' [-Wunused-const-variable]
Telegram/SourceFiles/settings/settings_premium.cpp:55:16: warning: unused variable 'kTitleAnimationPart' [-Wunused-const-variable]

Found by:	clang
2022-08-08 21:21:13 +04:00
John Preston
edfb7bb65a Support custom emoji in IsolatedEmoji. 2022-07-26 20:12:14 +03:00
John Preston
2a4d269eca Use large image previews more. 2022-07-26 20:12:13 +03:00
John Preston
31bb08068b Use non-exact image previews if available. 2022-07-26 20:12:13 +03:00
John Preston
c51837cfdf Reuse SizeTag::Large emoji instances. 2022-07-26 20:12:13 +03:00
John Preston
b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
John Preston
8a9549dca3 Fix custom emoji preview painting on Retina screen. 2022-07-26 20:12:12 +03:00
John Preston
a7e295ae64 Fix build with Xcode. 2022-07-26 20:12:10 +03:00
John Preston
0ed434cfaf Show all stickers as emoji after default categories. 2022-07-26 20:12:09 +03:00
John Preston
e954871cb9 Make custom emoji size 12% larger. 2022-07-26 20:12:09 +03:00
John Preston
ee8d8171f7 Support custom emoji in custom notification replies. 2022-07-26 20:12:08 +03:00
John Preston
8c8cbbbc83 Display custom emoji in custom notifications. 2022-07-26 20:12:08 +03:00
John Preston
be36f07168 Fix custom emoji in service messages. 2022-07-26 20:12:08 +03:00
John Preston
cb32c3957b Add LZ4 caching for animated emoji. 2022-07-26 20:12:08 +03:00
John Preston
3c01bb5a4a Add support for static and webm custom emoji. 2022-07-26 20:12:08 +03:00
John Preston
6db3a0ec98 Support optimized lottie emoji. 2022-07-26 20:12:08 +03:00
John Preston
9d280da80b Start optimized custom emoji, show path thumbnail. 2022-07-26 20:12:08 +03:00
John Preston
6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
23rd
bcbf009a62 Added ability to reset cloud password without recovery email. 2022-05-10 08:53:31 +03:00
23rd
a4f5e3f411 Removed display of strings with tiny formats with huge values. 2022-05-05 16:51:17 +03:00
23rd
4125a45503 Slightly improved format of mute time in menu. 2022-05-03 04:25:35 +03:00
23rd
8faa65fdf3 Improved format of ttl and mute phrases. 2022-04-19 17:48:48 +03:00
23rd
511789d7af Added vertical time picker for mute period. 2022-04-01 19:15:10 +03:00
23rd
8d923489d3 Replaced inputs for auto-delete setting with prepared values. 2022-04-01 15:53:58 +04:00
23rd
d9541b6a6e Unified general phrases for duration. 2022-04-01 15:53:58 +04:00
23rd
93563358ca Added remain time to notification menu item when peer is muted. 2022-04-01 15:53:57 +04:00
23rd
fc71a640a6 Added implementation of menu for auto-delete settings. 2022-04-01 15:53:57 +04:00
John Preston
bff8313a37 Use nice media names in Downloads. 2022-02-27 20:26:52 +03:00
23rd
e11904e05b Removed TextParseRichText. 2022-01-12 11:54:24 +03:00
23rd
e451eb5126 Removed text commands from dialogs list. 2022-01-12 11:54:24 +03:00
Ilya Fedin
847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00