Display External IP Address in status bar
commitf89c4c32ed41a0b41cd4bbaac1858a88307991ba
authorThomas Piccirello <8296030+Piccirello@users.noreply.github.com>
Sat, 9 Nov 2024 07:58:13 +0000 (9 04:58 -0300)
committerGitHub <noreply@github.com>
Sat, 9 Nov 2024 07:58:13 +0000 (9 15:58 +0800)
treeb52efafdb6028f84014f0d83bd20692cbcad3833
parentfb9b3c0f34a972712fb95ba4ef0d9102c1ef0f34
Display External IP Address in status bar

This change displays the last detected IPv4 and/or IPv6 address(es) in the GUI and WebUI's status bar. This does not yet handle systems with multiple addresses of the same type (e.g. multiple IPv6 addresses).

PR #21383.

---------

Co-authored-by: Odin Vex <44311901+OdinVex@users.noreply.github.com>
15 files changed:
src/base/bittorrent/session.h
src/base/bittorrent/sessionimpl.cpp
src/base/bittorrent/sessionimpl.h
src/base/preferences.cpp
src/base/preferences.h
src/gui/optionsdialog.cpp
src/gui/optionsdialog.ui
src/gui/statusbar.cpp
src/gui/statusbar.h
src/webui/api/appcontroller.cpp
src/webui/api/synccontroller.cpp
src/webui/api/transfercontroller.cpp
src/webui/www/private/index.html
src/webui/www/private/scripts/client.js
src/webui/www/private/views/preferences.html