Commit Graph

156 Commits

Author SHA1 Message Date
John Preston
9959fd7036 Fixed assertion editing a deleted proxy into a duplicate.
replaceItemWith() removed the edited row from the settings list without
restoring it first, so doing that to a row already marked deleted - which
is not in that list at all - failed the Assert. Its sibling
replaceItemValue() has restored first all along.

_list is also a vector, so erasing the edited item shifts everything
after it and left the iterator for the duplicate naming a different item
- or one past the end when the duplicate was last. Read its id and
deleted flag before the erase; everything after it works by id anyway.
2026-08-26 23:25:38 +04:00
John Preston
4cda457b42 Fixed crash on deleting already deleted proxies. 2026-08-26 23:25:36 +04:00
John Preston
f459c9520e Add separate warning about WEB proxies. 2026-08-24 21:04:02 +04:00
Ilya Fedin
6989eeb1be Set input method hints in typed input fields
Phone, e-mail, URL, username, code, date and amount fields now tell the
input method what they are for, so it can pick a suitable layout and skip
predictive text where it only gets in the way. One-time codes and secrets
are additionally marked with Qt::ImhSensitiveData.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 14:56:28 +04:00
John Preston
7ba755855c Put the new WEB proxy as last one. 2026-08-18 16:05:51 +04:00
John Preston
2cf236e8c4 Prepare WEB proxy for release. 2026-08-18 16:05:51 +04:00
John Preston
ac4fc116b5 Don't test WEB proxies in the list. 2026-08-18 16:05:51 +04:00
John Preston
979e116a23 Implement PoC webview-based WEB transport. 2026-08-18 16:05:51 +04:00
John Preston
96d63afc3f Initial WEB proxy implementation. 2026-08-18 16:05:50 +04:00
23rd
363edd6358 Added proxy link parsing method to proxies box controller. 2026-08-11 16:50:36 +03:00
23rd
edec595dc5 Split per-consumer blocks out of big style files. 2026-07-27 14:04:37 +03:00
23rd
145e580b52 Added animated icons to copy-to-clipboard toasts. 2026-06-26 15:22:28 +03:00
23rd
e5963b9df7 Added auto-fill from clipboard proxy link to new proxy box. 2026-06-09 07:49:25 +03:00
23rd
9d4ad88a8a Allowed copying internal proxy link via modifier key in connection box. 2026-06-09 07:49:25 +03:00
23rd
ec0c611998 Added share and QR menu to proxy connection confirmation box. 2026-06-09 07:49:25 +03:00
23rd
3d3047d9d2 Fixed Tab order in proxy edit box to skip inactive credential fields. 2026-05-21 21:23:48 +04:00
23rd
3e68b8e773 Fixed closing of IP warning box before checking proxy in connection box. 2026-04-28 18:16:19 +07:00
John Preston
f2b212dc2e Fix crash in proxy sharing before auth. 2026-04-24 14:28:06 +07:00
John Preston
6468b8ab19 Proxy share t.me, QR with tg://, accept both. 2026-04-20 10:54:47 +07:00
John Preston
2cd90eb3ce Add proxy auto-rotation option. 2026-04-16 21:24:39 +07:00
23rd
c773f16a4a Added proxy check IP exposure warning before status check. 2026-04-10 09:13:31 +03:00
John Preston
a5307489ff Accept also base64 (non-url) secrets. 2026-04-07 11:57:42 +07:00
23rd
c031f09886 Fixed display of button in connection box on non-default scales. 2026-04-06 12:46:19 +03:00
Roman Shishkin
df71142949 Change proxy share link from t.me to tg:// deeplink 2026-04-06 12:49:18 +07:00
23rd
cf45065e15 Guarded check-status callbacks in connection box. 2026-04-03 23:41:55 +03:00
23rd
d3460cafd0 Removed duplicated code for ping checker from connection box. 2026-04-03 23:41:55 +03:00
23rd
3386e427a0 Added ability to check status from connection box. 2026-04-03 23:41:55 +03:00
23rd
a1a078f998 Improved style of connection box with table-style. 2026-04-03 23:41:55 +03:00
John Preston
cb902dae76 Use Enter to submit proxy confirm / proxy add.
Fixes #30346.
2026-02-28 19:07:11 +04:00
John Preston
1e5a93249c Support all required deep links. 2026-01-28 11:55:19 +04:00
23rd
68f65ea000 Slightly improved position of context menu from top button in proxy box. 2026-01-26 11:37:53 +03: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
23rd
b172c9a3b2 Added check for empty proxy list before showing delete all menu item. 2025-12-10 09:47:48 +03:00
John Preston
f1f9fe27a9 Provide better error on specific bad proxy links.
There are a lot of incorrect MTProxy links with secret in base64
starting with "EE" in base64 encoded format.
2025-11-17 19:26:06 +04:00
John Preston
0119731360 Fix style of username input for a proxy. 2025-11-17 18:15:00 +04:00
23rd
52bb189996 Fixed possible crash when paste invalid proxy link to proxy box. 2025-07-09 09:33:50 +04:00
23rd
0f0e14132a Added ability to copy and paste proxy list with shortcuts. 2025-07-01 19:33:25 +04:00
23rd
a2c2ed0b4a Added ability to clear proxy list from top context menu in settings. 2025-07-01 19:33:25 +04:00
23rd
8bebca4502 Added ability to share your proxy list with clipboard. 2025-07-01 19:33:25 +04:00
23rd
e9a550d458 Added ability to add proxies list from clipboard. 2025-07-01 19:33:25 +04:00
23rd
3a8898dd24 Added ability to share proxy with QR code. 2025-06-30 10:55:25 +03:00
23rd
03790f3da0 Removed include directive for ui_utility from rp_widget header. 2024-08-28 15:15:58 +03:00
23rd
d9572949f6 Replaced confirmation box for proxy links with generic box. 2024-06-01 16:02:59 +03:00
23rd
233e80d22d Fixed display of confirmation box for proxy links in correspond window. 2024-06-01 16:02:59 +03:00
23rd
f6b849e4f7 Added ability to add proxy from clipboard. 2024-05-28 20:30:40 +04:00
John Preston
f85c3c88f7 Add rpl interface to RadiobuttonGroup. 2024-03-08 10:53:58 +04:00
23rd
a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
Ilya Fedin
e6b9a07163 Instantiate QRegularExpression instances statically 2023-12-31 22:03:57 +00:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00