Commit Graph

228 Commits

Author SHA1 Message Date
23rd 98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
John Preston f10da51517 Improve phrases in SendFilesBox drag areas. 2023-08-30 23:32:17 +04:00
23rd 4b503ad7ed Slightly refactored include directives in some source files. 2023-08-30 14:50:00 +03:00
John Preston b5d3391956 Fix album part edit/delete/replace after reorder. 2023-08-16 17:16:31 +02:00
John Preston 2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston e285b22398 Add "Send when online" to the send button context menu. 2023-04-22 22:26:09 +04:00
John Preston ff4af1b9bc Fix pasting images from Firefox on Windows.
Fixes #10564.

Together with the image data Firefox sets to the clipboard an URLs list
which has a path to local temp file, created from that image.

Reading images from disk is slower + sometimes the content of the file
is wrong so for this case we prefer to read the image data directly.
2023-03-08 16:10:36 +04:00
John Preston ea4e2f0952 Fix build with Xcode. 2023-02-02 22:12:31 +04:00
John Preston 554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston b1d1d73541 Copy/Paste original JPEG bytes to clipboard. 2023-01-13 12:46:17 +04:00
John Preston 84288112fc Allow sending photos larger 1280 (experimental).
Improves #6520.
2023-01-02 14:26:41 +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
23rd 8db8bc466e Added ability to remember last choice in send files box. 2022-12-26 14:24:05 +04:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
23rd 3467fe226f Added ability to send webp as compressed image. 2022-11-22 00:26:49 +00:00
Ilya Fedin 16669402cf Decrease the amount of clipboard data retrievation 2022-09-28 23:59:59 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston bc340d75c4 Insert / Copy emoji from pack preview. 2022-09-14 14:45:23 +04:00
John Preston d4810713cb Fly-animate reactions from the new context menu. 2022-09-06 17:08:20 +04:00
Ilya Fedin e20840b4d4 Use KUrlMimeData for clipboard xdg-desktop-portal integration 2022-08-30 20:25:10 +04:00
John Preston 7c2d3a8855 Fix custom emoji in initial send files caption. 2022-08-15 19:10:38 +03:00
John Preston 2c0a38d356 Don't unload emoji sets.
Fixes #24933.
2022-08-15 15:52:27 +03:00
John Preston f4b80d8714 Show premium emoji toast / send to Saved Messages. 2022-08-02 20:59:50 +03:00
John Preston 59903b0b1c Suggest animated emoji in Saved Messages. 2022-08-02 19:23:06 +03:00
John Preston b42f2784ab Allow sending premium emoji to Saved Messages. 2022-08-02 13:20:38 +03:00
John Preston 2d6008f6ca Fix custom emoji in edit caption / send files box. 2022-07-26 20:12:13 +03:00
John Preston 806c5ddf29 Support animated emoji in caption edit fields. 2022-07-26 20:12:08 +03:00
23rd 7b00671ccf Moved out all values of premium limits to single place. 2022-06-16 13:29:37 +03:00
23rd 629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
John Preston 853cafe195 Show premium stickers lock icon. 2022-05-20 18:57:01 +04:00
John Preston 26c99cea7c Show all premium limits boxes. 2022-05-19 17:27:03 +04:00
John Preston 6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
23rd 2f8efb5ce6 Moved out setup of top and bottom scroll shadows to separated file. 2022-04-13 14:26:11 +03:00
23rd 2846aa2f77 Moved SendMenu to separated folder. 2022-03-27 17:59:30 +03:00
23rd cf55f1a7cd Added ability to use EditLinkBox without SessionController. 2022-03-06 18:11:47 +03:00
John Preston 7b0513a1ea Improve box rounding and buttons. 2022-02-25 14:14:40 +03:00
John Preston 773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston e6c4b96c54 Just close SendFilesBox on last item remove.
Fixes https://bugs.telegram.org/c/2298
2021-09-19 17:36:31 +03:00
23rd ce7a3c354c Simplified conditions for hiding hint for photo editor. 2021-09-07 23:41:07 +03:00
Ilya Fedin 414456d003 Revert "Use gtk clipboard when available to avoid https://bugreports.qt.io/browse/QTBUG-56595"
Fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/306771

This reverts commit 3a91003eea.
2021-08-12 08:51:10 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
Ilya Fedin 89765340c3 Fix -Wunused-function warnings 2021-07-13 21:31:22 +03:00
23rd e30eacff41 Added photo editor hint to SendFilesBox. 2021-07-06 12:13:06 +03:00
23rd d1b6cf1fae Added draft menu to EditCaptionBox to open photo editor. 2021-07-06 12:13:05 +03:00