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
John Preston
80e932a083
Fix group call userpics on Retina.
2022-12-29 14:06:52 +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
John Preston
1bb6b07515
Fix build with GCC.
2022-12-26 14:24:08 +04:00
John Preston
c647afec02
Support clipboard reading for attach menu bots.
2022-12-26 14:24:07 +04:00
John Preston
c7c652a277
Improve icons and phrases.
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
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
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
a4e4681835
Add jump-to-topic panel in View as Messages.
2022-12-02 18:20:22 +04:00
John Preston
5d8a2bc7b7
Implement simple sub-column for topics list.
2022-11-30 13:03:42 +04:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
23rd
3467fe226f
Added ability to send webp as compressed image.
2022-11-22 00:26:49 +00:00
John Preston
ede34578da
Display jump to last topic message bubble.
2022-11-22 00:26:48 +00:00
John Preston
37308cde21
Support dialog rows with variable height.
2022-11-22 00:26:48 +00:00
Dragoon Aethis
9d59e42b52
Add an experimental "small message radius" toggle ( #25305 )
...
Add an experimental "small message radius" toggle.
This toggle allows switching to the pre-4.3.0, smaller message bubble
radius after an app restart. The message bubble radius styles now have
to be referenced via the Ui::BubbleRadius* and Ui::MsgFileThumbRadius*
wrappers to use the appropriate value.
2022-11-08 14:19:17 +04:00
John Preston
fdf4129e5e
Fix build with GCC.
2022-11-02 08:51:03 +04:00
Ilya Fedin
68ad56db79
Use QtWaylandCompositor for webview embedding on Linux
2022-11-01 19:33:46 +04:00
23rd
579b20fff7
Added initial ability to transcribe video messages.
2022-11-01 19:25:42 +04:00
John Preston
72354f52d4
Improve top bars in forums, in narrow column.
2022-11-01 19:25:41 +04:00
John Preston
4074a558e7
Get rid of Ui::FlatInput class.
...
Fixes #16172 .
2022-11-01 19:25:41 +04:00
23rd
dc8b693f1d
Added context menu to bar of pinned messages with bot button.
2022-11-01 19:25:40 +04:00
23rd
659a7622be
Fixed memory leak from bar of pinned messages.
2022-11-01 19:25:40 +04:00
23rd
29663a410a
Added decimal separators to count of participants in group call bar.
2022-11-01 19:25:38 +04:00
John Preston
6695eda1be
Handle forum-non_forum changes in realtime.
2022-11-01 19:25:37 +04:00
John Preston
9348039313
Track unread posts in forums inside RepliesList-s.
2022-11-01 19:25:36 +04:00
John Preston
0d985b5745
Don't focus main button on progress show.
2022-11-01 19:25:36 +04:00
John Preston
d4cdd67128
Fix RTL text in bot attach webview main button.
2022-11-01 19:25:36 +04:00
John Preston
3722e55b67
Support topic on-the-fly creation.
2022-11-01 19:25:35 +04:00
John Preston
83008fa358
Support new rounding in theme preview generator.
2022-11-01 19:25:35 +04:00
John Preston
e5f2d83548
Support new rounding in bot inline keyboards.
2022-11-01 19:25:35 +04:00
John Preston
9cab06e17d
Support new rounding for albums.
2022-11-01 19:25:35 +04:00
John Preston
8268e9f872
Support new rounding for GIFs / videos.
2022-11-01 19:25:35 +04:00
John Preston
abdd126dcf
Round correctly distinct photos and extended media.
2022-11-01 19:25:35 +04:00
John Preston
f3662f4873
Support correct rounding of file thumbnails.
2022-11-01 19:25:34 +04:00
John Preston
dd52c53ec0
Allow more file attach layout customization.
2022-11-01 19:25:34 +04:00
John Preston
b13471672d
Move some chat styles from basic.style to chat.style.
2022-11-01 19:25:34 +04:00
John Preston
ba2f92906b
Implement new bubble rounding.
2022-11-01 19:25:34 +04: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
Ilya Fedin
2c1933bdb8
Use application-wide time format in remaining td_ui places
2022-10-17 08:33:22 +04:00
John Preston
4f948699c0
Correct spoiler selections.
2022-09-18 16:52:31 +04:00
John Preston
cd00d41cca
Correct spoiler colors in fully selected messages.
2022-09-18 16:52:31 +04:00
John Preston
749fb52113
Implement animated spoilers.
2022-09-18 16:52:30 +04:00