Commit graph

1636 commits

Author SHA1 Message Date
John Preston
ff331c040a Allow huge range of interface scales. 2023-01-09 09:05:07 +04:00
23rd
6467ba7739 Fixed painting of photo with spoiler in SendFilesBox on Retina. 2023-01-09 09:05:07 +04:00
23rd
8de3b2c0d3 Fixed painting of non personal photo in UserpicButton on Retina. 2023-01-09 09:05:07 +04:00
John Preston
84288112fc Allow sending photos larger 1280 (experimental).
Improves #6520.
2023-01-02 14:26:41 +04:00
John Preston
b6ade7ce19 Fix spoiler / custom emoji in pinned bar unpause. 2022-12-30 14:27:00 +04:00
John Preston
d02819db13 Support spoilers in reply previews / pinned bar. 2022-12-30 14:06:20 +04:00
23rd
297fd0f0c8 Moved regexp for excluding digits to single place. 2022-12-29 13:36:28 +03:00
John Preston
80e932a083 Fix group call userpics on Retina. 2022-12-29 14:06:52 +04:00
John Preston
7e98e9ecf2 Fix uploading new group / account photo. 2022-12-29 12:16:49 +04:00
23rd
613d4932ca Added button for opening custom url to Ui::ConfirmPhoneBox. 2022-12-29 11:11:08 +03:00
23rd
8748265b00 Added support of multiple phone pattern groups. 2022-12-29 11:11:08 +03:00
John Preston
71354d1611 Fix two crashes in own profile photo edit. 2022-12-28 23:37:16 +04:00
Ilya Fedin
66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
Ilya Fedin
1b8352f878 Fix image format mime type filter 2022-12-28 09:56:16 +04:00
23rd
36391617d7 Fixed possible crash in optimized ministars animation. 2022-12-27 22:06:32 +03:00
John Preston
168cdaf350 Fix build with GCC. 2022-12-26 14:27:19 +04:00
John Preston
673eb1090f Fix a crash and adjust some styles in snowflakes. 2022-12-26 14:24:08 +04:00
John Preston
1bb6b07515 Fix build with GCC. 2022-12-26 14:24:08 +04:00
John Preston
aacb720664 Fix build with Xcode. 2022-12-26 14:24:08 +04:00
23rd
b43f8fcff7 Slightly optimized drawing of ministars in premium settings. 2022-12-26 14:24:08 +04:00
John Preston
349fbeeb23 Add original userpic to "Reset to Original" menu item. 2022-12-26 14:24:08 +04:00
23rd
cf4dfa55da Fixed order of premium feature previews. 2022-12-26 14:24:07 +04:00
23rd
8296d72923 Added first state to snowflakes effect in main menu. 2022-12-26 14:24:07 +04:00
John Preston
2364b0ad4e Show additional information in userpic suggest / accept. 2022-12-26 14:24:07 +04:00
John Preston
9513aaa768 Allow accepting video userpic suggestions. 2022-12-26 14:24:07 +04:00
John Preston
c647afec02 Support clipboard reading for attach menu bots. 2022-12-26 14:24:07 +04:00
23rd
4c181b6d08 Added initial implementation of fallback photo management in settings. 2022-12-26 14:24:07 +04:00
23rd
2a99046bbd Added snowflakes effect. 2022-12-26 14:24:07 +04:00
John Preston
1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston
c7c652a277 Improve icons and phrases. 2022-12-26 14:24:06 +04:00
John Preston
faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston
b0a24238e8 Add icons to the photo set/suggest menu. 2022-12-26 14:24:06 +04:00
John Preston
2ce8094932 Add spoiler toggle to three dot menu in SendFilesBox. 2022-12-26 14:24:06 +04:00
John Preston
833a259234 Colorize emoji in text color correctly. 2022-12-26 14:24:06 +04:00
John Preston
bd1d7f4d96 Allow apply spoiler when editing to another media. 2022-12-26 14:24:05 +04:00
John Preston
5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
John Preston
48cf0a4382 Implement suggested profile photo message. 2022-12-26 14:24:05 +04:00
John Preston
5fe9c93cb6 Set / suggest / reset a contact personal photo. 2022-12-26 14:24:05 +04:00
Ilya Fedin
36de2e98d4 Get supported image extensions from QImageReader 2022-12-26 14:23:23 +04:00
Ilya Fedin
9fba9048af Use the same check for drag'n'drop image type as for file dialog
The code path when choosing an image in file dialog tries to read a QImage with Images::Read and then only checks that mime type starts with image/ in ValidPhotoForAlbum

Core::FileIsImage and QImageReader::canRead checks should provide the same behavior
2022-12-26 14:23:23 +04:00
Ilya Fedin
3991be752c Replace various QDesktopService::openUrl with File::OpenUrl for correct operation on Linux
This also reverts commit bb94507af1.
2022-12-23 14:02:25 +04:00
John Preston
d5c145b707 Fix forum userpic rounding on Retina screens. 2022-12-06 16:38:54 +04:00
John Preston
b775d577a4 Fix forum rounding in folder editing box. 2022-12-06 12:12:07 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
23rd
b2e9c4ab75 Moved Ui::EmptyUserpic to td_ui. 2022-12-04 03:46:44 +03:00
23rd
5df0b08a42 Added support of second colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
23rd
c8d273c2a3 Added some icons for global TTL settings and anti-spam. 2022-12-03 18:58:14 +03:00
John Preston
a4e4681835 Add jump-to-topic panel in View as Messages. 2022-12-02 18:20:22 +04:00
John Preston
1c44121db7 Fix forum userpic button if no userpic is set. 2022-12-01 17:43:29 +04:00
23rd
1cc3440fcc Added new loading element animation for peer list. 2022-12-01 05:49:33 +03:00