John Preston
|
554f66f089
|
Support separate message type group restrictions.
|
2023-02-02 22:12:31 +04:00 |
|
John Preston
|
732bb25666
|
Fix read from clipboard after bot install.
|
2023-01-12 12:23:28 +04:00 |
|
23rd
|
90dfdb0e1f
|
Moved NeverFreedPointer to lib_base.
|
2023-01-09 12:51:32 +03:00 |
|
John Preston
|
7d9b999cb0
|
Support request_write_access flag in attach bots.
|
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 |
|
John Preston
|
ca0b34dcf0
|
Update API scheme on layer 151.
|
2022-12-26 14:24:06 +04:00 |
|
John Preston
|
1b73b34810
|
Make HistoryItem a final class.
|
2022-12-26 14:24:04 +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
|
4fabb3f2a2
|
Replaced some qsl with u""_q literal.
|
2022-11-30 17:17:14 +03:00 |
|
John Preston
|
01139e1b04
|
Remove facades module.
|
2022-11-30 16:55:51 +04:00 |
|
23rd
|
2acedca6b7
|
Replaced some qstr with u""_q literal.
|
2022-11-29 14:12:50 +03:00 |
|
John Preston
|
e6c2aa8021
|
Support topic choosing in ShareBox.
|
2022-11-01 19:25:45 +04:00 |
|
John Preston
|
1ac051a812
|
Implement forwarding to topics.
|
2022-11-01 19:25:44 +04:00 |
|
John Preston
|
aa5f9467f2
|
Support attach webview bots in topics.
|
2022-11-01 19:25:43 +04:00 |
|
John Preston
|
602ba5bba9
|
Implement correct ForumTopic::canWrite logic.
|
2022-11-01 19:25:42 +04:00 |
|
John Preston
|
7cdf20a7c5
|
Allow topic deletion.
|
2022-11-01 19:25:40 +04:00 |
|
23rd
|
5751d29c47
|
Removed username from public data members of UserData.
|
2022-11-01 19:25:38 +04:00 |
|
John Preston
|
58b8eb8e96
|
Implement per-topic shared media.
|
2022-11-01 19:25:37 +04:00 |
|
John Preston
|
e5f2d83548
|
Support new rounding in bot inline keyboards.
|
2022-11-01 19:25:35 +04:00 |
|
John Preston
|
3b3792ef75
|
Allow editing topic title and icon.
|
2022-11-01 19:25:33 +04:00 |
|
John Preston
|
749fb52113
|
Implement animated spoilers.
|
2022-09-18 16:52:30 +04:00 |
|
John Preston
|
2523d6e8d8
|
Update API scheme to layer 146.
|
2022-09-12 09:06:26 +04:00 |
|
John Preston
|
d9a6d5f508
|
Update API scheme on layer 145.
|
2022-09-02 21:14:32 +04:00 |
|
John Preston
|
c5fa4aae62
|
Support reaction dropdown based on EmojiListWidget.
|
2022-09-02 21:14:30 +04:00 |
|
John Preston
|
8bc807dc40
|
Set name / phone texts on-demand.
|
2022-08-09 14:12:19 +03:00 |
|
John Preston
|
f8e22210e7
|
Move Webm sticker to UnwrappedMedia.
|
2022-08-04 13:35:34 +03:00 |
|
John Preston
|
136eaee8d5
|
Fix crash on data share in attach bots.
|
2022-07-26 20:12:14 +03:00 |
|
John Preston
|
4ca6af33d4
|
Support web_app_request_phone attach bot requests.
|
2022-07-26 20:12:11 +03:00 |
|
John Preston
|
3238cf2b4b
|
Support custom emoji in reply / pinned / forward bars.
|
2022-07-26 20:12:08 +03:00 |
|
John Preston
|
bcfbdcd6ed
|
Fix build on macOS.
|
2022-06-10 17:38:52 +04:00 |
|
23rd
|
1572af3a71
|
Fixed limits in bubble to show more relevant value in server-side boxes.
|
2022-06-07 08:16:39 +03:00 |
|
John Preston
|
df17f20a47
|
Support attach bot menu / reload / settings.
|
2022-06-03 20:07:33 +04:00 |
|
John Preston
|
6454f67e74
|
Support new attach bot deeplinks.
|
2022-06-03 00:38:04 +04:00 |
|
John Preston
|
87662de2a6
|
Support web_app_open_tg_link / web_app_open_invoice.
|
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 |
|
John Preston
|
dd05fb4d14
|
Show limit toasts and boxes.
|
2022-05-19 17:27:02 +04:00 |
|
John Preston
|
8890f263af
|
Update API scheme on layer 142.
|
2022-05-19 17:27:02 +04:00 |
|
John Preston
|
d4cb56a73d
|
Custom scroll bar in WebKit / Chromium.
|
2022-04-12 23:01:37 +04:00 |
|
John Preston
|
ea30918d35
|
Fix build with GCC.
|
2022-04-07 18:28:58 +04:00 |
|
John Preston
|
94c6793e92
|
Add bot menu button with webview open support.
|
2022-04-07 16:31:07 +04:00 |
|
John Preston
|
d9f6a5206e
|
Update API scheme on layer 140.
|
2022-04-06 16:29:06 +04:00 |
|
John Preston
|
646682b6a0
|
Add confirmation on first webview open.
|
2022-04-06 11:53:44 +04: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
|
aa7143a831
|
Allow adding Settings::Section-s without changing Type.
|
2022-04-01 15:53:23 +04:00 |
|
John Preston
|
b1e66279d5
|
Update API scheme on layer 140.
|
2022-03-31 13:24:13 +04:00 |
|
John Preston
|
1ffd6d54a0
|
Don't try to resolve empty username.
|
2022-03-30 12:23:06 +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
|
426be943a2
|
Add proof-of-concept webview-bots attach menu.
|
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
|
a219cc43ce
|
Fix simple web view support.
|
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
|
1d8aac26ce
|
Proof of concept webview attach menu support.
|
2022-03-30 12:23:05 +04:00 |
|
23rd
|
2846aa2f77
|
Moved SendMenu to separated folder.
|
2022-03-27 17:59:30 +03:00 |
|
23rd
|
0b336a2954
|
Fixed sending animation from inline bots with unexpected result type.
|
2022-03-15 18:02:30 +03:00 |
|
23rd
|
0529aea194
|
Simplified condition to provide sending animation from inline results.
|
2022-03-14 11:57:34 +03:00 |
|
Klemens Nanni
|
6decece009
|
Remove unused variables
|
2022-02-28 23:11:07 +03:00 |
|
23rd
|
2e40798e8e
|
Added simple animation of GIFs sending.
|
2022-02-25 19:41:16 +03:00 |
|
23rd
|
0a2fbb0d70
|
Added simple animation of stickers sending from inline bots.
|
2022-02-25 19:41:16 +03:00 |
|
John Preston
|
f45c47f3d5
|
Limit inline results repainting rate.
|
2022-01-28 19:10:07 +03:00 |
|
John Preston
|
827ce46d3c
|
Support webm stickers in bot inline results.
|
2022-01-28 19:10:07 +03:00 |
|
John Preston
|
8e749173de
|
Render webm stickers in StickersListWidget.
|
2022-01-28 19:10:07 +03:00 |
|
John Preston
|
20dbf18106
|
Init webm player for sticker set thumbnails.
|
2022-01-28 19:10:07 +03:00 |
|
John Preston
|
8b7d2c880e
|
Support rendering Webm videos with alpha.
|
2022-01-28 19:10:07 +03:00 |
|
John Preston
|
3ff17a8789
|
Refactor image transformation interfaces.
|
2022-01-21 15:33:44 +03:00 |
|
John Preston
|
2c36623cfb
|
Add some icons to popup menus.
|
2021-12-29 21:22:33 +03:00 |
|
John Preston
|
1c2ea8d84a
|
Fix semi-transparent inline result thumbnails.
|
2021-12-02 16:03:13 +04:00 |
|
23rd
|
3647241f71
|
Removed unused MTP::Error from callbacks on fail.
|
2021-11-30 17:37:07 +04:00 |
|
23rd
|
0eee937e6d
|
Moved ChatRestrictionsInfo and ChatAdminRightsInfo to separated file.
|
2021-11-26 18:00:21 +04:00 |
|
John Preston
|
c849d17667
|
Remove corner download if noforwards.
|
2021-11-26 18:00:18 +04:00 |
|
Ilya Fedin
|
847c01d605
|
Add Qt 6 support
Tested only on Linux so far
|
2021-10-21 13:15:00 +04:00 |
|
John Preston
|
21ac2b8f3a
|
Don't use MTP* for reply markup data.
|
2021-10-04 23:47:30 +04:00 |
|
23rd
|
cb8f49aea0
|
Removed Q_OBJECT from ScrollArea.
|
2021-09-30 18:45:38 +03:00 |
|
John Preston
|
8069fdd873
|
Use base/random.h instead of openssl::RandomValue.
|
2021-09-15 13:42:22 +03:00 |
|
John Preston
|
a6c98f4bb4
|
Update API scheme to layer 133.
|
2021-09-07 23:41:07 +03:00 |
|
John Preston
|
cbfe57c51d
|
Custom colors in history_view_document module.
|
2021-09-06 13:13:26 +03:00 |
|
John Preston
|
09e014cc14
|
Force non-transparency for WebDocuments in PhotoData.
|
2021-09-02 10:31:57 +03:00 |
|
Ilya Fedin
|
97262a99c7
|
Get rid of osx and linux32 special targets
|
2021-08-11 16:59:27 +03:00 |
|
John Preston
|
868c494299
|
Extract Mosaic::Layout::AbstractMosaicLayout.
|
2021-07-28 17:00:46 +03:00 |
|
John Preston
|
c170a86189
|
Fix build on Windows.
|
2021-07-28 15:59:42 +03:00 |
|
John Preston
|
116a768fde
|
Don't use MTP* for Message flags.
|
2021-07-28 15:28:17 +03:00 |
|
23rd
|
93bcd90fd4
|
Provided more context for click handlers.
|
2021-07-27 02:18:49 +03:00 |
|
23rd
|
024bb5e54f
|
Moved App::formatPhone to td_ui.
|
2021-07-26 17:38:51 +03:00 |
|
23rd
|
a14f2144e1
|
Removed layout.cpp/h.
|
2021-07-26 17:38:51 +03:00 |
|
23rd
|
793f748d2e
|
Replaced overview and inline mosaic layouts with new mosaic layout.
|
2021-07-26 17:38:51 +03:00 |
|
23rd
|
c82006c6f8
|
Moved position info from ItemBases to AbstractLayoutItem.
|
2021-07-26 17:38:51 +03:00 |
|
23rd
|
2256482ae0
|
Moved layout utils to td_ui.
|
2021-07-26 17:38:51 +03:00 |
|
23rd
|
81c39af122
|
Replaced mosaic drawing in InlineBots::Layout::Inner.
|
2021-07-23 15:42:17 +03:00 |
|
23rd
|
9699aeb1cd
|
Slightly simplified ChatHelpers::GifsListWidget.
|
2021-07-23 15:42:17 +03:00 |
|
23rd
|
812f5d4311
|
Modernized code style of InlineBots::Bots::MosaicLayout.
|
2021-07-23 15:42:17 +03:00 |
|
23rd
|
34d2d7bcba
|
Moved layout items mosaic drawing to separate file.
|
2021-07-23 15:42:17 +03:00 |
|
John Preston
|
530aae4bdb
|
Fix crash in inline bots results.
|
2021-07-23 15:42:16 +03:00 |
|
Ilya Fedin
|
ba9b72e038
|
Fix -Wunused-variable warnings with gcc
|
2021-07-19 22:31:27 +03:00 |
|
Ilya Fedin
|
79cc797aff
|
Fix -Wunused-variable warnings
|
2021-07-13 21:43:34 +03:00 |
|
John Preston
|
2ffda9f240
|
Don't use MTP* for ChatAdminRight / ChatRestriction.
|
2021-07-08 13:34:06 +03:00 |
|
John Preston
|
a8df3dcf91
|
Remove test code for animated path thumbnails.
|
2021-07-02 20:40:32 +03:00 |
|
John Preston
|
b22e2ffe1d
|
Animate inline path thumbnails with sliding gradient.
|
2021-07-02 20:40:32 +03:00 |
|
John Preston
|
4124c2eb57
|
Show inline path thumbnails for stickers.
|
2021-07-02 13:13:48 +03:00 |
|
23rd
|
23c54896e5
|
Removed App::main() from file click handlers.
|
2021-06-18 09:20:49 +03:00 |
|
23rd
|
3fd772ce17
|
Moved file click handlers to separated file.
|
2021-06-18 07:30:54 +03:00 |
|
23rd
|
9290cd3a16
|
Added SessionController pointer to Media::View::OverlayWidget.
|
2021-06-17 10:57:45 +04:00 |
|
23rd
|
7885be4a94
|
Added ability to show content from Controller for inline results.
|
2021-06-17 10:57:45 +04:00 |
|
23rd
|
386fae952b
|
Replaced observable in SessionController with rpl.
|
2021-06-16 09:31:32 +03:00 |
|
John Preston
|
1342077dcb
|
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
|
2021-04-09 15:05:00 +04:00 |
|
John Preston
|
00c915e58d
|
Add support for inline invoices.
|
2021-04-06 18:41:15 +04:00 |
|
John Preston
|
8889329415
|
Support sending live location in inline bot results.
|
2021-04-06 18:41:15 +04:00 |
|
Ilya Fedin
|
ae0b9141dd
|
Trying to get rid of unused variables...
|
2021-03-15 11:40:44 +03:00 |
|
23rd
|
a5abe3d813
|
Added ability to Save / Delete GIFs from menu for inline bots.
Fixed #10511.
|
2021-03-13 12:59:12 +03:00 |
|
John Preston
|
68b0a85369
|
Rename RPCError to MTP::Error.
|
2021-03-12 16:58:26 +04:00 |
|
John Preston
|
502a3ca70f
|
Update API scheme to layer 124.
|
2021-02-22 23:42:40 +04:00 |
|
23rd
|
0b4d0b83c2
|
Removed App::wnd from classes that have pointer to Window::Controller.
|
2021-02-04 18:13:04 +04:00 |
|
23rd
|
6c0553f4d6
|
Returned default icon color for songs without cover art.
Related commit: 9b9531d279 .
|
2021-01-29 18:24:52 +03:00 |
|
23rd
|
9b9531d279
|
Replaced icon color for songs with bright one.
|
2021-01-24 10:41:10 +03:00 |
|
23rd
|
d4bbbdb65c
|
Replaced rand_value util function with openssl::RandomValue.
|
2021-01-24 10:41:10 +03:00 |
|
23rd
|
dd01ece14a
|
Replaced snap util function with std::clamp.
|
2021-01-24 10:41:10 +03:00 |
|
23rd
|
1ccfcc824c
|
Updated code to be consistent with lib_ui.
|
2021-01-22 16:53:59 +04:00 |
|
23rd
|
1607752cf9
|
Added ability to show song cover in inline results.
|
2021-01-11 22:46:56 +03:00 |
|
John Preston
|
dde94d486b
|
Change button round radius.
|
2020-12-08 11:19:23 +04:00 |
|
23rd
|
a2e4403b28
|
Slightly refactored code for menu with send options.
|
2020-11-19 18:11:37 +03:00 |
|
23rd
|
e1017380ec
|
Fixed filling menu with send options for inline bots and autocomplete.
|
2020-11-19 18:11:37 +03:00 |
|
John Preston
|
f04b3da76a
|
Add return from bot switch_pm to Scheduled/Replies.
|
2020-11-17 12:58:06 +03:00 |
|
John Preston
|
263d6a30f2
|
Improve grouped files layout in chat.
|
2020-10-30 18:32:19 +03:00 |
|
John Preston
|
8b96f4c214
|
Move Media::Clip::Reader and FileLocation to td_ui.
|
2020-10-30 18:32:18 +03:00 |
|
John Preston
|
05eb549a3d
|
Move App::roundRect to Ui::FillRoundRect.
|
2020-10-30 18:32:18 +03:00 |
|
John Preston
|
ae298818a8
|
Implement message bar with animations.
|
2020-10-30 18:32:17 +03:00 |
|
John Preston
|
719bed6e85
|
Move some text formatting to tg_ui:ui/text/format_values.
|
2020-09-30 16:29:17 +03:00 |
|
John Preston
|
55edb3bdfe
|
Update API scheme to layer 119. Count replies.
|
2020-09-29 19:03:18 +03:00 |
|
John Preston
|
39b0662a2c
|
Fix article inline results with long titles.
|
2020-08-24 16:34:55 +04:00 |
|
23rd
|
14cda49db2
|
Moved code for send context menu to namespace.
|
2020-08-11 18:13:40 +04:00 |
|
23rd
|
af9440db38
|
Slightly refactored InlineBots::Layout::Widget.
|
2020-08-11 18:13:40 +04:00 |
|
23rd
|
2ac425f350
|
Moved default send callbacks to separate functions.
|
2020-08-11 18:13:40 +04:00 |
|
23rd
|
edceed28d7
|
Moved code for send context menu to separate file.
|
2020-08-11 18:13:40 +04:00 |
|
23rd
|
1fee7d1a41
|
Added ability to schedule and send silently media from inline bots.
|
2020-08-11 18:13:40 +04:00 |
|
23rd
|
5b95585725
|
Added other items to TabbedPanel's context menu.
|
2020-08-11 18:13:40 +04:00 |
|
John Preston
|
eb1845e33b
|
Fix crash in session destruction.
Also use rpl::event_stream for downloaderTaskFinished.
|
2020-07-01 12:26:29 +04:00 |
|
John Preston
|
357caf8007
|
Keep separate MTP::Config's for separate accounts.
|
2020-06-23 21:53:41 +04:00 |
|
John Preston
|
3c4e959468
|
Replace observer_peer with rpl interface.
|
2020-06-23 21:53:40 +04:00 |
|
John Preston
|
0ad7dcaef9
|
Remove MTP::MainInstance() global access point.
|
2020-06-23 21:53:40 +04:00 |
|
John Preston
|
ee43027bea
|
Remove some usages of App::main().
|
2020-06-23 21:53:39 +04:00 |
|
John Preston
|
ad4afe9293
|
Move session data localstorage -> storage_account.
|
2020-06-23 21:53:39 +04:00 |
|
John Preston
|
03dec15e8e
|
Pass Main::Session to click handler creators.
|
2020-06-23 21:53:38 +04:00 |
|
John Preston
|
fc174f742a
|
Move stickers code to Data::Stickers class.
|
2020-06-23 21:53:38 +04:00 |
|
John Preston
|
3878a1b212
|
Remove some more Auth() calls.
|
2020-06-23 21:53:38 +04:00 |
|
John Preston
|
099482574e
|
Fix sending stickers from inline bots.
Fixes #8020.
|
2020-06-16 20:53:44 +04:00 |
|
John Preston
|
1024f38944
|
Fix inline bot video results without documents.
Fixes #8060.
|
2020-06-16 19:54:23 +04:00 |
|
John Preston
|
bdbcd8e540
|
Use Main::Session in entities parsing.
|
2020-06-08 12:05:17 +04:00 |
|
John Preston
|
36fbdfb380
|
Simplify Image, remove ImageSource.
|
2020-06-01 18:09:33 +04:00 |
|