Commit Graph

1482 Commits

Author SHA1 Message Date
23rd
a4f5e3f411 Removed display of strings with tiny formats with huge values. 2022-05-05 16:51:17 +03:00
John Preston
3413ad1d22 Add some more icons for folders. 2022-05-03 23:09:26 +04:00
23rd
767459ab57 Slightly improved style of button in settings of blocked peers. 2022-05-03 21:59:38 +03:00
John Preston
276fe2169a Use SeparatePanel / ShowMultilineToast from lib_ui. 2022-05-03 14:52:08 +04:00
23rd
4125a45503 Slightly improved format of mute time in menu. 2022-05-03 04:25:35 +03:00
Sergey A. Osokin
3ba5b825e5 Fix -Wunused-const-variable warnings by removing unused variables
Fixes #24432
2022-04-26 21:25:05 +04:00
23rd
31cd841b75 Added bot button to bar of pinned messages. 2022-04-25 22:35:02 +04:00
23rd
1710890886 Added ability to change width between pinned bar animation entries. 2022-04-25 22:35:02 +04:00
23rd
16f616c5e0 Added ability to set content to bar of pinned messages later. 2022-04-25 22:35:02 +04:00
23rd
7600c9bb2f Added fade animation to right button in bar of pinned messages. 2022-04-25 22:35:02 +04:00
23rd
100a44daef Removed unused includes from MultiSelect. 2022-04-25 22:35:02 +04:00
John Preston
ce79c1f0c4 Handle "web_app_request_theme" event in WebView. 2022-04-21 10:47:21 +04:00
23rd
a5c12065af Slightly improved style of ttl button. 2022-04-19 17:48:48 +03:00
23rd
101e795af8 Changed time picker box to highlight closest value. 2022-04-19 17:48:48 +03:00
23rd
8faa65fdf3 Improved format of ttl and mute phrases. 2022-04-19 17:48:48 +03:00
John Preston
e67192cdf0 Fix export window size.
Fixes #24373.

SeparatePanel::show calls activePopupWidget::close,
activePopupWidget::close calls SeparatePanel::resizeEvents with strange values.
2022-04-19 12:02:54 +04:00
23rd
d289bbdc5e Added ability to report profile photos.
Fixed #24325.
2022-04-19 09:39:01 +04:00
23rd
8591fae031 Added slight nice effect to time picker. 2022-04-19 09:39:00 +04:00
23rd
18b9bba21c Fixed width of time picker for different scales. 2022-04-19 09:39:00 +04:00
John Preston
90f99ebfbe Add some additional space for TimePickerBox. 2022-04-16 20:26:49 +04:00
23rd
0427f90649 Removed label from confirm box when text is not provided. 2022-04-15 13:13:44 +03:00
John Preston
87df42f8c1 Improve icon padding in bot inline buttons. 2022-04-14 15:24:12 +04:00
23rd
59fc9d3bfd Replaced static reaction icon in settings with animated lottie. 2022-04-14 09:46:03 +04:00
23rd
2f8efb5ce6 Moved out setup of top and bottom scroll shadows to separated file. 2022-04-13 14:26:11 +03:00
John Preston
2253cd86e5 Add an icon to a webview bot button. 2022-04-13 15:06:23 +04:00
23rd
4304071d18 Added ability to configure quick action on double click. 2022-04-13 15:06:23 +04:00
John Preston
d4cb56a73d Custom scroll bar in WebKit / Chromium. 2022-04-12 23:01:37 +04:00
23rd
8440c44def Replaced box for choosing of filter with submenu. 2022-04-10 15:34:12 +03:00
John Preston
d15ff46eb4 Fix webview initialization on GCC. 2022-04-08 23:15:37 +04:00
John Preston
94c6793e92 Add bot menu button with webview open support. 2022-04-07 16:31:07 +04:00
23rd
f5164fe3e4 Added ability to use previous peer userpics. 2022-04-07 02:14:02 +03:00
23rd
7b307a9e54 Added ability to save audio from chat as custom notification sound. 2022-04-06 15:21:37 +03:00
John Preston
73c5988e7e Allow opening external pages from attach bots. 2022-04-06 10:55:05 +04:00
John Preston
0374d8caa8 Add "Photo or video" and "Document" attach menu items. 2022-04-05 16:32:02 +04:00
John Preston
0e75204762 Support native button in bot webview. 2022-04-05 16:31:15 +04:00
23rd
9950452e57 Slightly optimized name of methods in data notify settings. 2022-04-05 15:28:48 +03:00
23rd
c04a0e42a7 Added initial ability to configure notification sound. 2022-04-05 15:28:48 +03:00
23rd
55864edb67 Refactored adding of sensitive menu items. 2022-04-04 17:15:45 +03:00
23rd
1a746b1ba3 Added few last used mute periods to mute menu. 2022-04-02 01:26:00 +03:00
23rd
511789d7af Added vertical time picker for mute period. 2022-04-01 19:15:10 +03:00
23rd
209e09ab66 Moved box with vertical drum picker for time to separated module. 2022-04-01 19:15:10 +03:00
23rd
6a7cbc545f Fixed scrolling with touchpad in vertical drum picker. 2022-04-01 19:14:58 +03:00
23rd
7fda14ccca Added loop setting to vertical drum picker. 2022-04-01 17:02:01 +03:00
John Preston
7b7016c4b3 Fix scrolling with a touchpad in vertical drum. 2022-04-01 16:24:28 +04:00
23rd
9478798a47 Moved out public api for notify settings from Data::Session. 2022-04-01 15:53:58 +04:00
23rd
36bb23c54c Moved out data of notify settings to separated module. 2022-04-01 15:53:58 +04:00
23rd
36e334ecf2 Replaced arrow for items with submenu in menu with icons. 2022-04-01 15:53:58 +04: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
fb750b69e3 Added vertical drum picker. 2022-04-01 15:53:58 +04:00
23rd
4dd5be9356 Simplified settings of notification sound. 2022-04-01 15:53:57 +04:00
23rd
93563358ca Added remain time to notification menu item when peer is muted. 2022-04-01 15:53:57 +04:00
23rd
3c4f575bc2 Added ability to set auto-delete from profile info. 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
23rd
06d17c6b2c Changed color of some sensitive menu items to attention one. 2022-04-01 15:53:57 +04:00
23rd
ae25804d83 Moved widget for time choosing to td_ui. 2022-04-01 15:53:57 +04:00
23rd
d8ee50c6fe Added ability to set custom mute time. 2022-04-01 15:53:57 +04:00
23rd
73b4a8b75a Added special field for time input with placeholder. 2022-04-01 15:53:57 +04:00
23rd
7bebe699f6 Moved special fields to separated folder. 2022-04-01 15:53:57 +04:00
23rd
8b7ea09fa9 Added initial implementation of detailed mute menu. 2022-04-01 15:53:57 +04:00
John Preston
b1e66279d5 Update API scheme on layer 140. 2022-03-31 13:24:13 +04:00
John Preston
b38ac32898 Allow removing a bot from attach menu. 2022-03-30 12:23:06 +04:00
John Preston
72ae2f0269 Support custom attach bot icons. 2022-03-30 12:23:06 +04:00
John Preston
273f2f7ce9 Prolong bot attach webview. 2022-03-30 12:23:06 +04:00
John Preston
c6ded00461 Move webview attach code to a separate module. 2022-03-30 12:23:05 +04:00
John Preston
aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
John Preston
df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston
1d8aac26ce Proof of concept webview attach menu support. 2022-03-30 12:23:05 +04:00
John Preston
1bd4595bba Fix photo changing in settings / groups / channels. 2022-03-27 18:56:05 +04:00
23rd
a141a9404f Added list of result of search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd
69e37ad978 Added initial implementation of search of messages in dialogs. 2022-03-23 10:03:43 +04:00
Ilya Fedin
e5d8a1aa3c Use QWidget::screen/QWidget::mask instead of QWindow ones 2022-03-23 09:42:51 +04:00
Aokromes
a3877570fe fix case
closes https://github.com/telegramdesktop/tdesktop/issues/24232
2022-03-23 09:41:14 +04:00
John Preston
32eca14a81 Add icons to report reason selectors. 2022-03-22 09:18:17 +04:00
23rd
964b0f4f79 Moved MultiSelect to td_ui. 2022-03-20 10:24:10 +03:00
23rd
cd97495208 Moved out MultiSelect::Item from header. 2022-03-20 10:24:10 +03:00
23rd
354584e1b1 Moved out MultiSelect::Inner from header. 2022-03-20 10:24:10 +03:00
23rd
0e6c036fa2 Moved Ui::SelectScrollManager to lib_ui. 2022-03-15 18:02:30 +03:00
23rd
0b336a2954 Fixed sending animation from inline bots with unexpected result type. 2022-03-15 18:02:30 +03:00
John Preston
b8028886b0 Add upload photo button to Edit Info settings. 2022-03-15 16:35:28 +04:00
23rd
3cb595c3c9 Added ability to set profile photo from camera. 2022-03-14 11:57:34 +03:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
John Preston
6805259f74 Don't recompress some JPEGs when sending as photos.
If JPEG is saved in progressive mode and has bpp <= 4
and max(width, height) <= 1280 then we send original bytes.
2022-03-09 17:37:51 +04:00
John Preston
1aa8029a8a Improve notification preview settings design. 2022-03-08 15:24:02 +04:00
23rd
2b8eefccca Returned Enter shortcut to confirm box. 2022-03-08 12:43:00 +03:00
John Preston
bde79210ca Support single download file thumbnail display. 2022-03-07 18:10:01 +04:00
John Preston
b90524357e Improve download bar finished state. 2022-03-07 13:33:29 +04:00
23rd
5298cf0e52 Added ability to provide style to box for choosing date and time. 2022-03-06 18:11:47 +03:00
23rd
239c617818 Added ability to provide some style color to calendar box. 2022-03-06 18:11:47 +03:00
23rd
a61ad9e2a2 Fixed possible crash in sending animation when message view is lost. 2022-03-05 17:19:38 +03:00
23rd
f74a75da75 Fixed display photo with modifications as file in attach media preview. 2022-03-04 18:58:07 +03:00
John Preston
a6d59fccf4 Update icons for folders. 2022-03-04 14:25:25 +04:00
John Preston
fc5ed46b40 Toggle fullscreen by mute button in RTMP streams. 2022-02-28 16:51:14 +03:00
23rd
df125bac19 Removed Ui::ConfirmDontWarnBox. 2022-02-28 09:08:01 +03:00
23rd
e6da3cf845 Removed old implementation of Ui::ConfirmBox. 2022-02-28 09:08:01 +03:00
23rd
1394b1d56f Added ConfirmBox implementation with GenericBox. 2022-02-28 08:08:32 +03:00
23rd
6478b7b129 Added menu to HistoryView::TopBarWidget for starting of livestream. 2022-02-28 08:05:02 +03:00
John Preston
a61048d219 Fix scroll state management in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
bff8313a37 Use nice media names in Downloads. 2022-02-27 20:26:52 +03:00
John Preston
dde4868540 Add phrases to lang.string. 2022-02-27 20:26:52 +03:00