procxx / kepka

Unofficial Telegram Desktop messaging app
https://procxx.github.io
Other
114 stars 29 forks source link

Allow switching between multiple proxies #140

Open leha-bot opened 6 years ago

leha-bot commented 6 years ago

Add the possibility to add multiple proxies

leha-bot commented 6 years ago

This feature is already in upstream: (NB: the order of commits is from latest to oldest and this list will be updated)

Latest commit: https://github.com/telegramdesktop/tdesktop/commit/678d2a58c5b1ed4593cbe326469805f50503e108

Proxy dialog layout commit (grandparent for "latest"): https://github.com/telegramdesktop/tdesktop/commit/7797e5a3b7e855fe2085ba91df1251cabea1e4e2

Bells and whishes in proxy dialog (radial animation on connecting to proxy): https://github.com/telegramdesktop/tdesktop/commit/d15b0cdb084f9c706b9b190879e8b1b6e69fcfc5

Improve config requesting 2(magic with TL scheme and add the strange "blocked" option which is about state of the received config): https://github.com/telegramdesktop/tdesktop/commit/62c812858e8f429c86d57208bc2ff30ea86dc9f8

Improve special config requesting (magic with TL scheme, add the "phone number" (for getting config info by phone ????)): https://github.com/telegramdesktop/tdesktop/commit/4bf66cb6e93f3965b40084771b595e93d0b11bcd

Try all DC endpoints: https://github.com/telegramdesktop/tdesktop/commit/95fee543ec6e8a9b2c1fb7c05adb9a5ccfe01b7c

UX improvement: display proxy connection state (online or offline): https://github.com/telegramdesktop/tdesktop/commit/df4daca15bc3af7607a0bd587589c52a5ac4dfb2

Check Proxy Availability via ConnectBox (uses colors for offline/online proxies and adds ping in ms to legend): https://github.com/telegramdesktop/tdesktop/commit/f794d8dbd82c344781b10f682c99580b97829a8d

Сreating additional proxy: https://github.com/telegramdesktop/tdesktop/commit/9935a36c3db7a9a3e7b611fadb5f77a6289f1dcc (also related to #141)

Apply/Edit/Delete proxies in the dialog: https://github.com/telegramdesktop/tdesktop/commit/a7c77682d75263013b3cbd3b0a446d8e9ec3df25

Display proxies list in a box: https://github.com/telegramdesktop/tdesktop/commit/8bbea976ea0cda58c000b587592a1d96377e56d3

Add support of multiple proxies in local storage: https://github.com/telegramdesktop/tdesktop/commit/900d1ddb36da9464d747b7c1999b2273bde3b52f

Alias "tg://proxy" for tg://socks links: https://github.com/telegramdesktop/tdesktop/commit/8e99135f37e734fcb062127aba9a9d9e84efcade

Support many config endpoints for one DC+params (drops files mtproto/connection_auto.[cpp|h]): https://github.com/telegramdesktop/tdesktop/commit/93f6d4b6e7b587efaca254ca3ba53e69e6baf571

Support work with different DCs on a single IP (introduces mystic "MTProto" proxy type and also adds some utilities with gsl::span and a bit of unrelated code): https://github.com/telegramdesktop/tdesktop/commit/7482025c1013e5115618298e00405a8f52dc017a

Requesting config if can't connect: https://github.com/telegramdesktop/tdesktop/commit/909acb25fdce1c3ed442c35be822b94ee0900e42

Use application level proxy settings (warning: a lot of style changes and minor refactorings like "change name"): https://github.com/telegramdesktop/tdesktop/commit/4a9db99082daa2df0e15cfc1746aedc4c63edcf7