Commit Graph

45 Commits

Author SHA1 Message Date
John Preston
19239dcf66 Fixed crash opening a url auth box already closed.
show() can hand back an already empty pointer, and subscribing to
boxClosing() through it dereferenced null. That event has also already
passed by then, so the decline request has to be sent right away instead.
2026-08-26 23:25:37 +04:00
23rd
b521dd90c9 Slightly improved style of domain in title of url auth box. 2026-08-17 08:33:42 +03:00
23rd
55b069f52c Added separate row for account switcher in url auth box. 2026-08-17 08:33:42 +03:00
John Preston
45493fdfb1 Show button rows in rich messages
Task: 2026/07/27/show-block-button-rows-in-rich-messages
2026-08-10 18:42:48 +04:00
23rd
9d52a03190 Removed unused style includes from sources. 2026-07-27 14:04:36 +03:00
23rd
4f8b3efa5c Fixed possible crash from url auth box. 2026-04-11 15:13:21 +03:00
23rd
a29acd4882 Brought non-sprite shadows revolution. 2026-03-28 11:50:50 +03:00
23rd
e3f2e68947 Added support for app authorization in url auth box. 2026-03-28 10:37:42 +03:00
John Preston
43581b0b64 Fix build with Xcode. 2026-03-01 09:43:26 +04:00
23rd
c1ec676262 Added api support to show match codes first to url auth box. 2026-02-28 19:07:11 +04:00
John Preston
efc31d6e58 Fix build with new scheme. 2026-02-28 19:07:10 +04:00
23rd
8d08d83ba1 Added animated emoji support to url auth box for match codes. 2026-02-28 19:07:10 +04:00
23rd
2418fb311e Added api support of match code to url auth box. 2026-02-28 19:07:10 +04:00
John Preston
e85bb2085c Update API scheme on layer 223. 2026-02-28 19:07:08 +04:00
23rd
4e0e87aa49 Added toasts to url auth with url. 2026-02-01 23:33:58 +04:00
23rd
7418e6acbf Added simple toast on success url auth without url. 2026-02-01 23:33:58 +04:00
23rd
89e750a6aa Moved out significant part of url auth box to td_ui. 2026-02-01 23:33:58 +04:00
23rd
7a573bf809 Added initial api support of url auth login with details. 2026-02-01 23:33:57 +04:00
John Preston
2fd50c5401 Update API scheme to layer 223. 2026-02-01 23:33:57 +04:00
John Preston
28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
John Preston
08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd
eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston
b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
23rd
9ad1d1c25d Fixed some unused-but-set-variable warnings. 2025-05-01 11:13:00 +04:00
23rd
12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
23rd
d6801517bb Removed text commands from url auth box. 2022-01-12 11:54:24 +03:00
23rd
3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston
c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
John Preston
c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
John Preston
68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston
e681b0d95a Support new url-auth auto-logins in links. 2021-03-12 16:58:26 +04:00
John Preston
02517f7221 Update API scheme to layer 125. 2021-03-12 16:58:26 +04:00
John Preston
4b354b0928 Use Main::Session in download/upload. 2020-06-23 21:53:38 +04:00
John Preston
a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston
0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston
dd74f57a66 Display full themes list in Settings. 2019-09-06 19:31:07 +03:00
John Preston
4bad642190 Remove some more Auth() calls. 2019-08-09 11:50:49 +01:00
John Preston
ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston
567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00
John Preston
4917ca7b32 Remove all legacy global namespace langs. 2019-06-21 11:06:52 +02:00
John Preston
a7c8feaecb Use tr:: instead of langFactory and __rich. 2019-06-21 11:06:50 +02:00
John Preston
ca7c50fbcd Remove pseudo-HTML from langpacks and Ui::Text::String. 2019-06-21 11:06:46 +02:00
John Preston
01054858a4 Url auth checkboxes checked by default. 2019-05-27 15:09:53 +02:00
John Preston
c92a798e1b Support url authorizations. 2019-05-27 15:09:18 +02:00