Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: plasma-nm

plasma-nm (4:5.18.4.1-0ubuntu1) focal; urgency=medium * New upstream release (5.18.4.1) -- Rik Mills <rikmills@kde.org> Thu, 02 Apr 2020 19:47:30 +0100 plasma-nm (4:5.18.3-0ubuntu1) focal; urgency=medium * New upstream release (5.18.3) -- Rik Mills <rikmills@kde.org> Tue, 10 Mar 2020 18:08:58 +0000 plasma-nm (4:5.18.2-0ubuntu1) focal; urgency=medium * New upstream release (5.18.2) -- Rik Mills <rikmills@kde.org> Tue, 25 Feb 2020 18:31:04 +0000 plasma-nm (4:5.18.1-0ubuntu1) focal; urgency=medium * New upstream release (5.18.1) -- Rik Mills <rikmills@kde.org> Tue, 18 Feb 2020 14:37:53 +0000 plasma-nm (4:5.18.0-0ubuntu1) focal; urgency=medium * New upstream release (5.18.0) -- Rik Mills <rikmills@kde.org> Tue, 11 Feb 2020 07:45:12 +0000 plasma-nm (4:5.17.90.4-0ubuntu1) focal; urgency=medium * Yet ANOTHER hotfix on a hotfix on a hotfix! (5.17.90.4) -- Rik Mills <rikmills@kde.org> Thu, 16 Jan 2020 19:23:03 +0000 plasma-nm (4:5.17.90.2-0ubuntu1) focal; urgency=medium * New upstream (beta) release (5.17.90) * New upstream hotfix release (5.17.90.2) -- Rik Mills <rikmills@kde.org> Thu, 16 Jan 2020 18:09:13 +0000 plasma-nm (4:5.17.5-0ubuntu1) focal; urgency=medium * New upstream release (5.17.5) -- Rik Mills <rikmills@kde.org> Wed, 08 Jan 2020 06:45:45 +0000 plasma-nm (4:5.17.4-0ubuntu1) focal; urgency=medium * New upstream release (5.17.4) -- Rik Mills <rikmills@kde.org> Tue, 03 Dec 2019 19:25:02 +0000 plasma-nm (4:5.17.3-0ubuntu1) focal; urgency=medium * New upstream release (5.17.3) -- Rik Mills <rikmills@kde.org> Tue, 12 Nov 2019 17:05:47 +0000 plasma-nm (4:5.17.2-0ubuntu1) focal; urgency=medium * New optional build depend libkf5prison-dev * New upstream (beta) release (5.16.90) * New upstream release (5.17.0) * New upstream release (5.17.1) * New upstream release (5.17.2) -- Rik Mills <rikmills@kde.org> Thu, 31 Oct 2019 17:51:02 +0000 plasma-nm (4:5.16.5-0ubuntu1) eoan; urgency=medium * New upstream release (5.16.5) -- Rik Mills <rikmills@kubuntu.org> Wed, 04 Sep 2019 09:25:19 +0100 plasma-nm (4:5.16.4-0ubuntu1) eoan; urgency=medium * New upstream release (5.16.4) -- Rik Mills <rikmills@kubuntu.org> Tue, 30 Jul 2019 18:46:04 +0100 plasma-nm (4:5.16.3-0ubuntu1) eoan; urgency=medium * New upstream release (5.16.3) -- Rik Mills <rikmills@kubuntu.org> Tue, 09 Jul 2019 22:23:21 +0100 plasma-nm (4:5.16.2-0ubuntu1) eoan; urgency=medium * New upstream release (5.16.2) -- Rik Mills <rikmills@kubuntu.org> Tue, 25 Jun 2019 18:24:17 +0100 plasma-nm (4:5.16.1-0ubuntu1) eoan; urgency=medium * New upstream release (5.16.1) -- Rik Mills <rikmills@kubuntu.org> Tue, 18 Jun 2019 22:25:14 +0100 plasma-nm (4:5.16.0-0ubuntu1) eoan; urgency=medium * New upstream release (5.16.0) -- Rik Mills <rikmills@kubuntu.org> Tue, 11 Jun 2019 11:37:00 +0100 plasma-nm (4:5.15.90-0ubuntu1) eoan; urgency=medium * New upstream (beta) release (5.15.90) -- Rik Mills <rikmills@kubuntu.org> Sat, 18 May 2019 08:50:07 +0100 plasma-nm (4:5.15.5-0ubuntu1) eoan; urgency=medium * New upstream release (5.15.5) -- Rik Mills <rikmills@kubuntu.org> Fri, 10 May 2019 13:48:57 +0100 plasma-nm (4:5.15.4-0ubuntu1) disco; urgency=medium * New upstream bugfix release (5.15.4) -- Rik Mills <rikmills@kubuntu.org> Thu, 04 Apr 2019 17:10:39 +0100 plasma-nm (4:5.15.3-0ubuntu1) disco; urgency=medium * New upstream release (5.15.3) -- Rik Mills <rikmills@kubuntu.org> Wed, 13 Mar 2019 09:10:02 +0000 plasma-nm (4:5.15.2-0ubuntu1) disco; urgency=medium * New upstream release (5.15.2) -- Rik Mills <rikmills@kubuntu.org> Tue, 26 Feb 2019 19:15:08 +0000 plasma-nm (4:5.15.1-0ubuntu1) disco; urgency=medium * New upstream release (5.15.1) -- Rik Mills <rikmills@kubuntu.org> Tue, 19 Feb 2019 21:34:32 +0000 plasma-nm (4:5.15.0-0ubuntu1) disco; urgency=medium * New upstream release (5.15.0) -- Rik Mills <rikmills@kubuntu.org> Tue, 12 Feb 2019 09:54:08 +0000 plasma-nm (4:5.14.90-0ubuntu1) disco; urgency=medium * New upstream (beta) release (5.14.90) -- Rik Mills <rikmills@kubuntu.org> Sat, 19 Jan 2019 08:25:23 +0000 plasma-nm (4:5.14.5-0ubuntu1) disco; urgency=medium * New upstream release (5.14.5) -- Rik Mills <rikmills@kubuntu.org> Tue, 08 Jan 2019 23:48:54 +0000 plasma-nm (4:5.14.4-0ubuntu1) disco; urgency=medium * New upstream release (5.13.90) * New upstream release (5.14.0) * New upstream release (5.14.1) * New upstream release (5.14.2) * New upstream release (5.14.3) * New upstream release (5.14.4) -- Rik Mills <rikmills@kubuntu.org> Tue, 27 Nov 2018 23:15:58 +0000 plasma-nm (4:5.13.5-1ubuntu1) cosmic; urgency=medium * New upstream release (5.13.5) * Merge from Debian unstable. Remaining changes: - Kubuntu packaging Vcs fields. - debian/control: Bumped frameworks & Qt build deps -- Rik Mills <rikmills@kubuntu.org> Fri, 07 Sep 2018 16:35:36 +0100

Modifications :
  1. Download patch po/ca@valencia/plasmanetworkmanagement_openconnectui.po

    --- 4:5.17.5-2/po/ca@valencia/plasmanetworkmanagement_openconnectui.po 2020-01-07 15:41:27.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ca@valencia/plasmanetworkmanagement_openconnectui.po 2020-03-31 14:27:39.000000000 +0000 @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: plasmanetworkmanagement_openconnectui\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-05-24 03:27+0200\n" +"POT-Creation-Date: 2020-03-28 09:17+0100\n" "PO-Revision-Date: 2019-08-30 08:30+0200\n" "Last-Translator: Empar Montoro Martín <montoro_mde@gva.es>\n" "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" @@ -67,56 +67,56 @@ msgid "VPN Host" msgstr "Màquina VPN" #. i18n: ectx: property (toolTip), widget (QPushButton, btnConnect) -#: openconnectauth.ui:71 +#: openconnectauth.ui:81 #, kde-format msgid "Connect" msgstr "Connecta" #. i18n: ectx: property (text), widget (QCheckBox, chkAutoconnect) -#: openconnectauth.ui:92 +#: openconnectauth.ui:102 #, kde-format msgid "Automatically start connecting next time" msgstr "Inicia automàticament la connexió la pròxima vegada" #. i18n: ectx: property (text), widget (QCheckBox, chkStorePasswords) -#: openconnectauth.ui:99 +#: openconnectauth.ui:109 #, kde-format msgid "Store passwords" msgstr "Emmagatzema les contrasenyes" #. i18n: ectx: property (text), widget (QCheckBox, viewServerLog) -#: openconnectauth.ui:143 +#: openconnectauth.ui:153 #, kde-format msgid "View Log" msgstr "Mostra el registre" #. i18n: ectx: property (text), widget (QLabel, lblLogLevel) -#: openconnectauth.ui:153 +#: openconnectauth.ui:163 #, kde-format msgid "Log Level:" msgstr "Nivell de depuració:" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:164 +#: openconnectauth.ui:174 #, kde-format msgid "Error" msgstr "S'ha produït un error" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:169 +#: openconnectauth.ui:179 #, kde-format msgid "Info" msgstr "Informació" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:174 +#: openconnectauth.ui:184 #, kde-format msgctxt "like in Debug log level" msgid "Debug" msgstr "Depuració" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:179 +#: openconnectauth.ui:189 #, kde-format msgid "Trace" msgstr "Traça"
  2. Download patch debian/plasma-nm.lintian-overrides

    --- 4:5.17.5-2/debian/plasma-nm.lintian-overrides 2019-10-13 07:56:35.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/debian/plasma-nm.lintian-overrides 2020-04-02 18:47:30.000000000 +0000 @@ -3,5 +3,3 @@ plasma-nm: shlib-without-versioned-sonam plasma-nm: shlib-without-versioned-soname usr/lib/*/libplasmanm_internal.so libplasmanm_internal.so plasma-nm: postinst-must-call-ldconfig usr/lib/*/libplasmanm_internal.so plasma-nm: package-must-activate-ldconfig-trigger usr/lib/*/libplasmanm_internal.so -plasma-nm: no-symbols-control-file usr/lib/*/libplasmanm_internal.so -plasma-nm: no-symbols-control-file usr/lib/*/libplasmanm_editor.so
  3. Download patch po/ca/kcm_mobile_wifi.po
  4. Download patch po/bs/plasma_applet_org.kde.plasma.networkmanagement.po

    --- 4:5.17.5-2/po/bs/plasma_applet_org.kde.plasma.networkmanagement.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/bs/plasma_applet_org.kde.plasma.networkmanagement.po 2020-03-31 14:27:39.000000000 +0000 @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: bosnianuniversetranslation\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-08-23 03:16+0200\n" +"POT-Creation-Date: 2020-01-16 03:42+0100\n" "PO-Revision-Date: 2015-02-15 13:02+0000\n" "Last-Translator: Samir Ribić <Unknown>\n" "Language-Team: Bosnian <bs@li.org>\n" @@ -20,22 +20,6 @@ msgstr "" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -#: contents/config/config.qml:29 -#, kde-format -msgid "General" -msgstr "" - -#: contents/ui/configGeneral.qml:39 -#, kde-format -msgid "Ask for PIN on modem detection" -msgstr "" - -#: contents/ui/configGeneral.qml:47 -#, fuzzy, kde-format -#| msgid "Available connections" -msgid "Show virtual connections" -msgstr "Dostupne konekcije" - #: contents/ui/ConnectionItem.qml:116 #, kde-format msgid "Connect" @@ -92,7 +76,7 @@ msgstr "Dostupne konekcije" msgid "Networks" msgstr "Mreže" -#: contents/ui/main.qml:59 +#: contents/ui/main.qml:58 #, kde-format msgid "&Configure Network Connections..." msgstr "" @@ -107,34 +91,49 @@ msgstr "" msgid "Password..." msgstr "Lozinka..." -#: contents/ui/Toolbar.qml:71 +#: contents/ui/Toolbar.qml:76 #, kde-format msgid "Enable wireless" msgstr "" -#: contents/ui/Toolbar.qml:85 +#: contents/ui/Toolbar.qml:90 #, kde-format msgid "Enable mobile network" msgstr "" -#: contents/ui/Toolbar.qml:101 +#: contents/ui/Toolbar.qml:106 #, kde-format msgid "Enable airplane mode" msgstr "" -#: contents/ui/Toolbar.qml:130 +#: contents/ui/Toolbar.qml:142 +#, kde-format +msgid "Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:163 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Disable Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:168 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Create Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:188 #, fuzzy, kde-format #| msgid "Available connections" msgctxt "button tooltip" msgid "Search the connections" msgstr "Dostupne konekcije" -#: contents/ui/Toolbar.qml:137 +#: contents/ui/Toolbar.qml:202 #, kde-format msgid "Configure network connections..." msgstr "" -#: contents/ui/Toolbar.qml:158 +#: contents/ui/Toolbar.qml:223 #, kde-format msgctxt "text field placeholder text" msgid "Search..."
  5. Download patch po/ar/plasmanetworkmanagement-libs.po
  6. Download patch mobile/wifi/wifisettings.cpp

    --- 4:5.17.5-2/mobile/wifi/wifisettings.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/wifi/wifisettings.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -42,7 +42,7 @@ K_PLUGIN_CLASS_WITH_JSON(WifiSettings, " WifiSettings::WifiSettings(QObject* parent, const QVariantList& args) : KQuickAddons::ConfigModule(parent, args) { - KAboutData* about = new KAboutData("kcm_mobile_wifi", i18n("Configure Wi-Fi networks"), + KAboutData* about = new KAboutData("kcm_mobile_wifi", i18n("Wi-Fi networks"), "0.1", QString(), KAboutLicense::LGPL); about->addAuthor(i18n("Martin Kacej"), QString(), "m.kacej@atlas.sk"); setAboutData(about);
  7. Download patch libs/editor/settings/wireguardtabwidget.h

    --- 4:5.17.5-2/libs/editor/settings/wireguardtabwidget.h 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/wireguardtabwidget.h 2020-03-31 14:27:23.000000000 +0000 @@ -18,8 +18,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef PLASMA_NM_WIREGUARD_PEERS_TAB_WIDGET_H -#define PLASMA_NM_WIREGUARD_PEERS_TAB_WIDGET_H +#ifndef PLASMA_NM_WIREGUARD_TAB_WIDGET_H +#define PLASMA_NM_WIREGUARD_TAB_WIDGET_H #include <QDialog> @@ -51,4 +51,4 @@ private: Private *d; }; -#endif // PLASMA_NM_WIREGUARD_PEERS_TABS_WIDGET_H +#endif // PLASMA_NM_WIREGUARD_TAB_WIDGET_H
  8. Download patch libs/editor/settings/ui/wiredconnectionwidget.ui
  9. Download patch po/ca/plasmanetworkmanagement_openconnectui.po

    --- 4:5.17.5-2/po/ca/plasmanetworkmanagement_openconnectui.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ca/plasmanetworkmanagement_openconnectui.po 2020-03-31 14:27:39.000000000 +0000 @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: plasmanetworkmanagement_openconnectui\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-05-24 03:27+0200\n" +"POT-Creation-Date: 2020-03-28 09:17+0100\n" "PO-Revision-Date: 2019-05-24 18:13+0100\n" "Last-Translator: Josep Ma. Ferrer <txemaq@gmail.com>\n" "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" @@ -66,56 +66,56 @@ msgid "VPN Host" msgstr "Màquina VPN" #. i18n: ectx: property (toolTip), widget (QPushButton, btnConnect) -#: openconnectauth.ui:71 +#: openconnectauth.ui:81 #, kde-format msgid "Connect" msgstr "Connecta" #. i18n: ectx: property (text), widget (QCheckBox, chkAutoconnect) -#: openconnectauth.ui:92 +#: openconnectauth.ui:102 #, kde-format msgid "Automatically start connecting next time" msgstr "Inicia automàticament la connexió la pròxima vegada" #. i18n: ectx: property (text), widget (QCheckBox, chkStorePasswords) -#: openconnectauth.ui:99 +#: openconnectauth.ui:109 #, kde-format msgid "Store passwords" msgstr "Emmagatzema les contrasenyes" #. i18n: ectx: property (text), widget (QCheckBox, viewServerLog) -#: openconnectauth.ui:143 +#: openconnectauth.ui:153 #, kde-format msgid "View Log" msgstr "Mostra el registre" #. i18n: ectx: property (text), widget (QLabel, lblLogLevel) -#: openconnectauth.ui:153 +#: openconnectauth.ui:163 #, kde-format msgid "Log Level:" msgstr "Nivell de depuració:" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:164 +#: openconnectauth.ui:174 #, kde-format msgid "Error" msgstr "Error" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:169 +#: openconnectauth.ui:179 #, kde-format msgid "Info" msgstr "Informació" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:174 +#: openconnectauth.ui:184 #, kde-format msgctxt "like in Debug log level" msgid "Debug" msgstr "Depuració" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:179 +#: openconnectauth.ui:189 #, kde-format msgid "Trace" msgstr "Traça"
  10. Download patch po/ca@valencia/kcm_mobile_wifi.po
  11. Download patch po/bs/plasmanetworkmanagement-kded.po
  12. Download patch libs/editor/settings/security802-1x.cpp

    --- 4:5.17.5-2/libs/editor/settings/security802-1x.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/security802-1x.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -525,7 +525,7 @@ void Security8021x::altSubjectMatchesBut editor->setItems(m_ui->leTlsSubjectMatch->text().remove(QLatin1Char(' ')).split(QLatin1Char(','), QString::SkipEmptyParts)); editor->setWindowTitle(i18n("Alternative Subject Matches")); - editor->setToolTip(i18n("<qt>This entry must be one of:<ul><li>DNS: &lt;name or ip address&gt;</li><li>EMAIL: &lt;email&gt;</li><li>URI: &lt;uri, e.g. http://www.kde.org&gt;</li></ul></qt>")); + editor->setToolTip(i18n("<qt>This entry must be one of:<ul><li>DNS: &lt;name or ip address&gt;</li><li>EMAIL: &lt;email&gt;</li><li>URI: &lt;uri, e.g. https://www.kde.org&gt;</li></ul></qt>")); editor->setValidator(altSubjectValidator); connect(editor.data(), &QDialog::accepted,
  13. Download patch po/ast/plasmanetworkmanagement-kcm.po

    --- 4:5.17.5-2/po/ast/plasmanetworkmanagement-kcm.po 2020-01-07 15:41:22.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ast/plasmanetworkmanagement-kcm.po 2020-03-31 14:27:35.000000000 +0000 @@ -6,43 +6,89 @@ msgid "" msgstr "" "Project-Id-Version: plasma-nm\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2020-01-04 08:51+0100\n" -"PO-Revision-Date: 2019-09-07 18:51+0200\n" +"POT-Creation-Date: 2020-02-22 08:22+0100\n" +"PO-Revision-Date: 2019-12-27 01:03+0100\n" "Last-Translator: enolp <enolp@softastur.org>\n" -"Language-Team: Asturian <alministradores@softastur.org>\n" +"Language-Team: Asturian\n" "Language: ast\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Lokalize 19.08.0\n" +"X-Generator: Lokalize 19.12.0\n" -#: kcm.cpp:330 +#: kcm.cpp:362 #, kde-format msgid "my_shared_connection" msgstr "conexón_compartida" -#: kcm.cpp:392 +#: kcm.cpp:424 #, kde-format msgid "Export VPN Connection" msgstr "Esportación d'una conexón VPN" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgid "Do you want to save changes made to the connection '%1'?" msgstr "¿Quies guardar los cambeos fechos a la conexón «%1»?" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgctxt "@title:window" msgid "Save Changes" msgstr "Guardáu de cambeos" -#: kcm.cpp:501 +#: kcm.cpp:533 #, kde-format msgid "Import VPN Connection" msgstr "Importación d'una conexón VPN" +#: qml/AddConnectionDialog.qml:31 +msgctxt "@title:window" +msgid "Choose a Connection Type" +msgstr "Escoyeta d'una triba de conexón" + +#: qml/AddConnectionDialog.qml:174 +msgid "Create" +msgstr "Crear" + +#: qml/AddConnectionDialog.qml:184 qml/ConfigurationDialog.qml:130 +msgid "Cancel" +msgstr "Encaboxar" + +#: qml/ConfigurationDialog.qml:30 +msgctxt "@title:window" +msgid "Configuration" +msgstr "" + +#: qml/ConfigurationDialog.qml:55 +msgid "General" +msgstr "" + +#: qml/ConfigurationDialog.qml:60 +msgid "Ask for PIN on modem detection" +msgstr "" + +#: qml/ConfigurationDialog.qml:67 +msgid "Show virtual connections" +msgstr "" + +#: qml/ConfigurationDialog.qml:75 +msgid "Hotspot" +msgstr "" + +#: qml/ConfigurationDialog.qml:81 +msgid "Hotspot name:" +msgstr "" + +#: qml/ConfigurationDialog.qml:91 +msgid "Hotspot password:" +msgstr "" + +#: qml/ConfigurationDialog.qml:121 +msgid "Ok" +msgstr "" + #: qml/ConnectionItem.qml:112 msgid "Connect" msgstr "Coneutar" @@ -67,40 +113,31 @@ msgstr "Coneutóse" msgid "Connecting" msgstr "Coneutando" -#: qml/Dialog.qml:31 -msgctxt "@title:window" -msgid "Choose a Connection Type" -msgstr "Escoyeta d'una triba de conexón" - -#: qml/Dialog.qml:174 -msgid "Create" -msgstr "Crear" - -#: qml/Dialog.qml:184 -msgid "Cancel" -msgstr "Encaboxar" - -#: qml/main.qml:68 +#: qml/main.qml:72 msgid "Search..." -msgstr "Guetar..." +msgstr "Guetar…" -#: qml/main.qml:143 +#: qml/main.qml:151 msgid "Add new connection" msgstr "Amestar una conexón nueva" -#: qml/main.qml:155 +#: qml/main.qml:165 msgid "Remove selected connection" msgstr "Desaniciar la conexón esbillada" -#: qml/main.qml:169 +#: qml/main.qml:181 msgid "Export selected connection" msgstr "Esportar la conexón esbillada" -#: qml/main.qml:185 +#: qml/main.qml:205 +msgid "Configuration" +msgstr "" + +#: qml/main.qml:233 msgctxt "@title:window" msgid "Remove Connection" msgstr "Desaniciu d'una conexón" -#: qml/main.qml:186 +#: qml/main.qml:234 msgid "Do you want to remove the connection '%1'?" msgstr "¿Quies desaniciar la conexón «%1»?" \ No newline at end of file
  14. Download patch libs/editor/widgets/ipv6routeswidget.cpp

    --- 4:5.17.5-2/libs/editor/widgets/ipv6routeswidget.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/widgets/ipv6routeswidget.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -54,7 +54,7 @@ IpV6RoutesWidget::IpV6RoutesWidget(QWidg { d->ui.setupUi(this); d->ui.tableViewAddresses->setModel(&d->model); - d->ui.tableViewAddresses->horizontalHeader()->setResizeMode(QHeaderView::Interactive); + d->ui.tableViewAddresses->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); IpV6Delegate *ipDelegate = new IpV6Delegate(this); IntDelegate *netmaskDelegate = new IntDelegate(0,128,this);
  15. Download patch po/ar/plasmanetworkmanagement_openconnectui.po

    --- 4:5.17.5-2/po/ar/plasmanetworkmanagement_openconnectui.po 2020-01-07 15:41:23.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ar/plasmanetworkmanagement_openconnectui.po 2020-03-31 14:27:35.000000000 +0000 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-05-24 03:27+0200\n" +"POT-Creation-Date: 2020-03-28 09:17+0100\n" "PO-Revision-Date: 2015-01-10 03:31+0300\n" "Last-Translator: Safa Alfulaij <safa1996alfulaij@gmail.com>\n" "Language-Team: Arabic <doc@arabeyes.org>\n" @@ -64,57 +64,57 @@ msgid "VPN Host" msgstr "مضيف VPN" #. i18n: ectx: property (toolTip), widget (QPushButton, btnConnect) -#: openconnectauth.ui:71 +#: openconnectauth.ui:81 #, kde-format msgid "Connect" msgstr "اتّصل" #. i18n: ectx: property (text), widget (QCheckBox, chkAutoconnect) -#: openconnectauth.ui:92 +#: openconnectauth.ui:102 #, kde-format msgid "Automatically start connecting next time" msgstr "ابدأ الاتّصال آليًّا في المرّة القادمة" #. i18n: ectx: property (text), widget (QCheckBox, chkStorePasswords) -#: openconnectauth.ui:99 +#: openconnectauth.ui:109 #, fuzzy, kde-format #| msgid "&Show password" msgid "Store passwords" msgstr "أ&ظهر كلمة المرور" #. i18n: ectx: property (text), widget (QCheckBox, viewServerLog) -#: openconnectauth.ui:143 +#: openconnectauth.ui:153 #, kde-format msgid "View Log" msgstr "اعرض السجلّ" #. i18n: ectx: property (text), widget (QLabel, lblLogLevel) -#: openconnectauth.ui:153 +#: openconnectauth.ui:163 #, kde-format msgid "Log Level:" msgstr "مستوى السجلّ:" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:164 +#: openconnectauth.ui:174 #, kde-format msgid "Error" msgstr "خطأ" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:169 +#: openconnectauth.ui:179 #, kde-format msgid "Info" msgstr "معلومات" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:174 +#: openconnectauth.ui:184 #, kde-format msgctxt "like in Debug log level" msgid "Debug" msgstr "تنقيح" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:179 +#: openconnectauth.ui:189 #, kde-format msgid "Trace" msgstr "تأثير"
  16. Download patch po/ast/plasmanetworkmanagement-kded.po
  17. Download patch mobile/broadband/mobilebroadbandsettings.desktop

    --- 4:5.17.5-2/mobile/broadband/mobilebroadbandsettings.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/broadband/mobilebroadbandsettings.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -8,11 +8,13 @@ Name[da]=Mobilt bredbånd Name[de]=Mobiles Breitband Name[en_GB]=Mobile broadband Name[es]=Banda ancha móvil +Name[et]=Mobiilandmeside Name[eu]=Mugikorreko banda-zabala Name[fi]=Mobiililaajakaista Name[fr]=Haut débit mobile Name[gl]=Banda larga móbil Name[hu]=Mobil szélessáv +Name[ia]=Banda large mobile Name[id]=Mobile broadband Name[it]=Banda larga mobile Name[ko]=모바일 광대역 @@ -37,6 +39,7 @@ Comment[da]=Opsætning af mobilt bredbå Comment[de]=Einstellungen für Mobiles Breitband Comment[en_GB]=Mobile broadband setting Comment[es]=Preferencias de banda ancha móvil +Comment[et]=Mobiilandmeside seadistus Comment[eu]=Mugikorreko banda-zabaleko ezarpena Comment[fi]=Mobiililaajakaista-asetukset Comment[fr]=Paramètre haut débit mobile @@ -52,7 +55,7 @@ Comment[pl]=Ustawienia sieci komórkowej Comment[pt]=Configuração da banda larga móvel Comment[pt_BR]=Configurações da banda larga móvel Comment[ru]=Параметры мобильного интернета -Comment[sk]=Nastavenia mobilného širokopásmového pripojenia +Comment[sk]=Nastavenie mobilného širokopásmového pripojenia Comment[sv]=Inställning av mobilt bredband Comment[uk]=Налаштовування мобільної радіомережі Comment[x-test]=xxMobile broadband settingxx @@ -80,6 +83,7 @@ X-KDE-Keywords[da]=mobil,data,netværk X-KDE-Keywords[de]=mobil,daten,netzwerk X-KDE-Keywords[en_GB]=mobile,data,network X-KDE-Keywords[es]=móvil,datos,red +X-KDE-Keywords[et]=mobiil,mobiilandmeside,andmed,võrk X-KDE-Keywords[eu]=mugikorra,datuak,sarea X-KDE-Keywords[fi]=mobiili,data,verkko X-KDE-Keywords[fr]=mobile,données,réseau @@ -95,8 +99,9 @@ X-KDE-Keywords[pl]=komórkowa,mobilna,da X-KDE-Keywords[pt]=móvel,dados,rede X-KDE-Keywords[pt_BR]=móvel,dados,rede X-KDE-Keywords[ru]=mobile,data,network,мобильная,данные,сеть -X-KDE-Keywords[sk]=mobilný,dáta,sieť +X-KDE-Keywords[sk]=mobilný,mobilné,dáta,sieť X-KDE-Keywords[sv]=mobil,data,nätverk +X-KDE-Keywords[tg]=мобилӣ,иттилоотӣ,шабака X-KDE-Keywords[uk]=mobile,data,network,мобільний,дані,мережа X-KDE-Keywords[x-test]=xxmobilexx,xxdataxx,xxnetworkxx X-KDE-Keywords[zh_CN]=mobile,data,network,移动,数据,网络
  18. Download patch libs/models/networkmodelitem.cpp

    --- 4:5.17.5-2/libs/models/networkmodelitem.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/models/networkmodelitem.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -484,7 +484,10 @@ qulonglong NetworkModelItem::rxBytes() c void NetworkModelItem::setRxBytes(qulonglong bytes) { - m_rxBytes = bytes; + if (m_rxBytes != bytes) { + m_rxBytes = bytes; + m_changedRoles << NetworkModel::RxBytesRole; + } } qulonglong NetworkModelItem::txBytes() const @@ -494,7 +497,10 @@ qulonglong NetworkModelItem::txBytes() c void NetworkModelItem::setTxBytes(qulonglong bytes) { - m_txBytes = bytes; + if (m_txBytes != bytes) { + m_txBytes = bytes; + m_changedRoles << NetworkModel::TxBytesRole; + } } bool NetworkModelItem::operator==(const NetworkModelItem *item) const @@ -515,6 +521,7 @@ bool NetworkModelItem::operator==(const void NetworkModelItem::invalidateDetails() { m_detailsValid = false; + m_changedRoles << NetworkModel::ConnectionDetailsRole; } void NetworkModelItem::updateDetails() const @@ -528,7 +535,7 @@ void NetworkModelItem::updateDetails() c NetworkManager::Device::Ptr device = NetworkManager::findNetworkInterface(m_devicePath); - // Get IPv[46]Address + // Get IPv[46]Address and related nameservers + IPv4 default gateway if (device && device->ipV4Config().isValid() && m_connectionState == NetworkManager::ActiveConnection::Activated) { if (!device->ipV4Config().addresses().isEmpty()) { QHostAddress addr = device->ipV4Config().addresses().first().ip(); @@ -536,6 +543,18 @@ void NetworkModelItem::updateDetails() c m_details << i18n("IPv4 Address") << addr.toString(); } } + if (!device->ipV4Config().gateway().isEmpty()) { + QString addr = device->ipV4Config().gateway(); + if (!addr.isNull()) { + m_details << i18n("IPv4 Default Gateway") << addr; + } + } + if (!device->ipV4Config().nameservers().isEmpty()) { + QHostAddress addr = device->ipV4Config().nameservers().first(); + if (!addr.isNull()) { + m_details << i18n("IPv4 Nameserver") << addr.toString(); + } + } } if (device && device->ipV6Config().isValid() && m_connectionState == NetworkManager::ActiveConnection::Activated) { @@ -545,6 +564,12 @@ void NetworkModelItem::updateDetails() c m_details << i18n("IPv6 Address") << addr.toString(); } } + if (!device->ipV6Config().nameservers().isEmpty()) { + QHostAddress addr = device->ipV6Config().nameservers().first(); + if (!addr.isNull()) { + m_details << i18n("IPv6 Nameserver") << addr.toString(); + } + } } if (m_type == NetworkManager::ConnectionSettings::Wired) { NetworkManager::WiredDevice::Ptr wiredDevice = device.objectCast<NetworkManager::WiredDevice>();
  19. Download patch debian/rules

    --- 4:5.17.5-2/debian/rules 2019-10-13 07:56:35.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/debian/rules 2020-04-02 18:47:30.000000000 +0000 @@ -5,3 +5,6 @@ export DEB_LDFLAGS_MAINT_APPEND := -Wl,- %: dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp + +override_dh_strip: + dh_strip --dbgsym-migration='plasma-nm-dbg (<= 4:5.5.5-1~~)'
  20. Download patch po/bs/plasmanetworkmanagement_openconnectui.po

    --- 4:5.17.5-2/po/bs/plasmanetworkmanagement_openconnectui.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/bs/plasmanetworkmanagement_openconnectui.po 2020-03-31 14:27:39.000000000 +0000 @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: openconnect\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-05-24 03:27+0200\n" +"POT-Creation-Date: 2020-03-28 09:17+0100\n" "PO-Revision-Date: 2015-02-04 16:06+0000\n" "Last-Translator: Samir Ribić <Unknown>\n" "Language-Team: bosanski <bs@li.org>\n" @@ -66,56 +66,56 @@ msgid "VPN Host" msgstr "VPN domaćin" #. i18n: ectx: property (toolTip), widget (QPushButton, btnConnect) -#: openconnectauth.ui:71 +#: openconnectauth.ui:81 #, kde-format msgid "Connect" msgstr "Poveži se" #. i18n: ectx: property (text), widget (QCheckBox, chkAutoconnect) -#: openconnectauth.ui:92 +#: openconnectauth.ui:102 #, kde-format msgid "Automatically start connecting next time" msgstr "Automatski počni povezivanje idući put" #. i18n: ectx: property (text), widget (QCheckBox, chkStorePasswords) -#: openconnectauth.ui:99 +#: openconnectauth.ui:109 #, fuzzy, kde-format msgid "Store passwords" msgstr "&Prikaži lozinku" #. i18n: ectx: property (text), widget (QCheckBox, viewServerLog) -#: openconnectauth.ui:143 +#: openconnectauth.ui:153 #, kde-format msgid "View Log" msgstr "Pokaži dnevnik" #. i18n: ectx: property (text), widget (QLabel, lblLogLevel) -#: openconnectauth.ui:153 +#: openconnectauth.ui:163 #, kde-format msgid "Log Level:" msgstr "Nivo dnevnika:" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:164 +#: openconnectauth.ui:174 #, kde-format msgid "Error" msgstr "Greška" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:169 +#: openconnectauth.ui:179 #, kde-format msgid "Info" msgstr "Informacije" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:174 +#: openconnectauth.ui:184 #, kde-format msgctxt "like in Debug log level" msgid "Debug" msgstr "Praćenje grešaka" #. i18n: ectx: property (text), item, widget (QComboBox, cmbLogLevel) -#: openconnectauth.ui:179 +#: openconnectauth.ui:189 #, kde-format msgid "Trace" msgstr "Trag"
  21. Download patch kded/passworddialog.cpp

    --- 4:5.17.5-2/kded/passworddialog.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/passworddialog.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -110,9 +110,9 @@ void PasswordDialog::initializeUi() Setting::SettingType connectionType = setting->type(); if (wifi && (connectionType == Setting::WirelessSecurity || connectionType == Setting::Security8021x)) { const QString ssid = QString::fromUtf8(wifi->ssid()); - m_ui->labelText->setText(i18n("For accessing the wireless network <b>%1</b> you need to provide a password below:", ssid)); + m_ui->labelText->setText(i18n("For accessing the wireless network %1 you need to provide a password below:", ssid)); } else { - m_ui->labelText->setText(i18n("Please provide the password for activating connection <b>%1</b>:", m_connectionSettings->id())); + m_ui->labelText->setText(i18n("Please provide the password for activating connection %1:", m_connectionSettings->id())); } QString connectionLabel; @@ -140,7 +140,7 @@ void PasswordDialog::initializeUi() QVBoxLayout *layout = new QVBoxLayout(); layout->addWidget(m_vpnWidget); m_ui->vpnWidget->setLayout(layout); - m_ui->labelText->setText(i18n("For accessing the vpn connection <b>%1</b> you need to provide secrets below:", m_connectionSettings->id())); + m_ui->labelText->setText(i18n("For accessing the vpn connection %1 you need to provide secrets below:", m_connectionSettings->id())); setWindowTitle(i18n("VPN secrets (%1) dialog", shortName)); // Hide generic password field and OK button in case of openconnect dialog
  22. Download patch po/cs/plasmanetworkmanagement-kcm.po

    --- 4:5.17.5-2/po/cs/plasmanetworkmanagement-kcm.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/cs/plasmanetworkmanagement-kcm.po 2020-03-31 14:27:40.000000000 +0000 @@ -1,49 +1,95 @@ # Copyright (C) YEAR This_file_is_part_of_KDE # This file is distributed under the same license as the PACKAGE package. # Vít Pelčák <vit@pelcak.org>, 2017. -# Vit Pelcak <vpelcak@suse.cz>, 2017. +# Vit Pelcak <vpelcak@suse.cz>, 2017, 2020. # msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2020-01-04 08:51+0100\n" -"PO-Revision-Date: 2017-11-01 12:22+0100\n" -"Last-Translator: Vit Pelcak <vpelcak@suse.cz>\n" +"POT-Creation-Date: 2020-02-22 08:22+0100\n" +"PO-Revision-Date: 2020-03-25 17:39+0100\n" +"Last-Translator: Vit Pelcak <vit@pelcak.org>\n" "Language-Team: Czech <kde-i18n-doc@kde.org>\n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Lokalize 2.0\n" +"X-Generator: Lokalize 19.12.3\n" -#: kcm.cpp:330 +#: kcm.cpp:362 #, kde-format msgid "my_shared_connection" msgstr "my_shared_connection" -#: kcm.cpp:392 +#: kcm.cpp:424 #, kde-format msgid "Export VPN Connection" msgstr "Exportovat připojení VPN" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgid "Do you want to save changes made to the connection '%1'?" msgstr "Chcete uložit změny provedené na připojení '%1'?" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgctxt "@title:window" msgid "Save Changes" msgstr "Uložit změny" -#: kcm.cpp:501 +#: kcm.cpp:533 #, kde-format msgid "Import VPN Connection" msgstr "Importovat připojení VPN" +#: qml/AddConnectionDialog.qml:31 +msgctxt "@title:window" +msgid "Choose a Connection Type" +msgstr "Vyberte typ připojení" + +#: qml/AddConnectionDialog.qml:174 +msgid "Create" +msgstr "Vytvořit" + +#: qml/AddConnectionDialog.qml:184 qml/ConfigurationDialog.qml:130 +msgid "Cancel" +msgstr "Zrušit" + +#: qml/ConfigurationDialog.qml:30 +msgctxt "@title:window" +msgid "Configuration" +msgstr "Nastavení" + +#: qml/ConfigurationDialog.qml:55 +msgid "General" +msgstr "Obecné" + +#: qml/ConfigurationDialog.qml:60 +msgid "Ask for PIN on modem detection" +msgstr "Při detekci modemu požádat o PIN" + +#: qml/ConfigurationDialog.qml:67 +msgid "Show virtual connections" +msgstr "Zobrazit virtuální připojení" + +#: qml/ConfigurationDialog.qml:75 +msgid "Hotspot" +msgstr "Hotspot" + +#: qml/ConfigurationDialog.qml:81 +msgid "Hotspot name:" +msgstr "Název hotspotu:" + +#: qml/ConfigurationDialog.qml:91 +msgid "Hotspot password:" +msgstr "Heslo hotspotu:" + +#: qml/ConfigurationDialog.qml:121 +msgid "Ok" +msgstr "OK" + #: qml/ConnectionItem.qml:112 msgid "Connect" msgstr "Připojit se" @@ -68,40 +114,31 @@ msgstr "Připojen" msgid "Connecting" msgstr "Připojuji se" -#: qml/Dialog.qml:31 -msgctxt "@title:window" -msgid "Choose a Connection Type" -msgstr "Vyberte typ připojení" - -#: qml/Dialog.qml:174 -msgid "Create" -msgstr "Vytvořit" - -#: qml/Dialog.qml:184 -msgid "Cancel" -msgstr "Zrušit" - -#: qml/main.qml:68 +#: qml/main.qml:72 msgid "Search..." msgstr "Hledat..." -#: qml/main.qml:143 +#: qml/main.qml:151 msgid "Add new connection" msgstr "Přidat nové připojení" -#: qml/main.qml:155 +#: qml/main.qml:165 msgid "Remove selected connection" msgstr "Odstranit zvolené připojení" -#: qml/main.qml:169 +#: qml/main.qml:181 msgid "Export selected connection" msgstr "Exportovat zvolené připojení" -#: qml/main.qml:185 +#: qml/main.qml:205 +msgid "Configuration" +msgstr "Nastavení" + +#: qml/main.qml:233 msgctxt "@title:window" msgid "Remove Connection" msgstr "Odstranit spojení" -#: qml/main.qml:186 +#: qml/main.qml:234 msgid "Do you want to remove the connection '%1'?" msgstr "Opravdu si přejete smazat spojení '%1'?" \ No newline at end of file
  23. Download patch libs/editor/plasma-networkmanagement-vpnuiplugin.desktop

    --- 4:5.17.5-2/libs/editor/plasma-networkmanagement-vpnuiplugin.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/plasma-networkmanagement-vpnuiplugin.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -33,7 +33,7 @@ Name[pt]='Plugin' de Interface VPN da Ge Name[pt_BR]=Plugin de interface VPN do gerenciamento de redes Name[ro]=Modul de interfață VPN pentru gestiunea rețelei Name[ru]=Графический модуль управления сетевыми VPN-соединениями -Name[sk]=Modul pre správu siete VPN +Name[sk]=Zásuvný modul pre správu siete VPN Name[sl]=Vstavek vmesnika za upravljanje omrežij VPN Name[sr]=Прикључак ВПН сучеља за управљање мрежом Name[sr@ijekavian]=Прикључак ВПН сучеља за управљање мрежом
  24. Download patch kcm/kcm.cpp

    --- 4:5.17.5-2/kcm/kcm.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kcm/kcm.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -77,6 +77,37 @@ KCMNetworkmanagement::KCMNetworkmanageme kdeclarative.setupEngine(m_ui->connectionView->engine()); kdeclarative.setupContext(); + // Check if we can use AP mode to identify security type + bool useApMode = false; + bool foundInactive = false; + + NetworkManager::WirelessDevice::Ptr wifiDev; + + for (const NetworkManager::Device::Ptr &device : NetworkManager::networkInterfaces()) { + if (device->type() == NetworkManager::Device::Wifi) { + wifiDev = device.objectCast<NetworkManager::WirelessDevice>(); + if (wifiDev) { + if (!wifiDev->isActive()) { + foundInactive = true; + } else { + // Prefer previous device if it was inactive + if (foundInactive) { + break; + } + } + + if (wifiDev->wirelessCapabilities().testFlag(NetworkManager::WirelessDevice::ApCap)) { + useApMode = true; + } + + // We prefer inactive wireless card with AP capabilities + if (foundInactive && useApMode) { + break; + } + } + } + } + m_ui->connectionView->setMinimumWidth(300); m_ui->connectionView->rootContext()->setContextProperty("alternateBaseColor", mainWidget->palette().color(QPalette::Active, QPalette::AlternateBase)); m_ui->connectionView->rootContext()->setContextProperty("backgroundColor", mainWidget->palette().color(QPalette::Active, QPalette::Window)); @@ -84,6 +115,7 @@ KCMNetworkmanagement::KCMNetworkmanageme m_ui->connectionView->rootContext()->setContextProperty("highlightColor", mainWidget->palette().color(QPalette::Active, QPalette::Highlight)); m_ui->connectionView->rootContext()->setContextProperty("textColor", mainWidget->palette().color(QPalette::Active, QPalette::Text)); m_ui->connectionView->rootContext()->setContextProperty("connectionModified", false); + m_ui->connectionView->rootContext()->setContextProperty("useApMode", useApMode); m_ui->connectionView->setClearColor(Qt::transparent); m_ui->connectionView->setResizeMode(QQuickWidget::SizeRootObjectToView); m_ui->connectionView->setSource(QUrl::fromLocalFile(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kcm_networkmanagement/qml/main.qml"))));
  25. Download patch libs/editor/widgets/bssidcombobox.cpp

    --- 4:5.17.5-2/libs/editor/widgets/bssidcombobox.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/widgets/bssidcombobox.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -114,7 +114,7 @@ void BssidComboBox::init(const QString & } } - qSort(aps.begin(), aps.end(), signalCompare); + std::sort(aps.begin(), aps.end(), signalCompare); addBssidsToCombo(aps); const int index = findData(m_initialBssid);
  26. Download patch debian/compat

    --- 4:5.17.5-2/debian/compat 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/debian/compat 2020-04-02 18:47:30.000000000 +0000 @@ -0,0 +1 @@ +11
  27. Download patch po/ar/plasmanetworkmanagement-kded.po
  28. Download patch kcm/kcm_networkmanagement.desktop

    --- 4:5.17.5-2/kcm/kcm_networkmanagement.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kcm/kcm_networkmanagement.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -19,17 +19,20 @@ Name[de]=Verbindungen Name[el]=Συνδέσεις Name[en_GB]=Connections Name[es]=Conexiones +Name[et]=Ühendused Name[eu]=Konexioak Name[fi]=Yhteydet Name[fr]=Connexions Name[gl]=Conexións Name[he]=חיבורים Name[hu]=Kapcsolatok +Name[ia]=Connexiones Name[id]=Koneksi Name[it]=Connessioni Name[ja]=接続 Name[ko]=연결 Name[lt]=Ryšiai +Name[ml]=ബന്ധങ്ങള്‍ Name[nl]=Verbindingen Name[nn]=Tilkoplingar Name[pa]=ਕਨੈਕਸ਼ਨ @@ -44,6 +47,7 @@ Name[sr@ijekavian]=Везе Name[sr@ijekavianlatin]=Veze Name[sr@latin]=Veze Name[sv]=Anslutningar +Name[tg]=Пайвастҳо Name[tr]=Bağlantılar Name[uk]=З’єднання Name[x-test]=xxConnectionsxx @@ -60,17 +64,20 @@ Comment[de]=Bearbeiten Sie Ihre Netzwerk Comment[el]=Επεξεργασία των συνδέσεων δικτύου Comment[en_GB]=Edit your Network Connections Comment[es]=Editar las conexiones de red +Comment[et]=Võrguühenduste muutmine Comment[eu]=Editatu zure sareko konexioak Comment[fi]=Verkkoyhteyksien muokkaus Comment[fr]=Modifier vos connexions réseau Comment[gl]=Edite as súas conexións de rede Comment[he]=ערוך את חיבורי הרשת שלך Comment[hu]=A hálózati kapcsolatok szerkesztése +Comment[ia]=Modifica tu Connexiones de Rete Comment[id]=Edit Koneksi Jaringanmu Comment[it]=Modifica le tue connessioni di rete Comment[ja]=ネットワーク接続を編集 Comment[ko]=네트워크 연결 편집 Comment[lt]=Taisyti tinklo ryšius +Comment[ml]=നിങ്ങളുടെ നെറ്റ്‌വർക്ക് ബന്ധങ്ങള്‍ എഡിറ്റുചെയ്യുക Comment[nl]=Bewerk uw netwerkverbindingen Comment[nn]=Rediger nettverkstilkoplingar Comment[pa]=ਆਪਣੇ ਨੈੱਟਵਰਕ ਕਨੈਕਸ਼ਨਾਂ ਨੂੰ ਸੋਧੋ @@ -78,7 +85,7 @@ Comment[pl]=Edytuj swoje połączenia si Comment[pt]=Editar as Suas Ligações de Rede Comment[pt_BR]=Edite suas conexões de rede Comment[ru]=Настройка сетевых соединений -Comment[sk]=Upraviť vaše sieťové pripojenia +Comment[sk]=Upravuje vaše sieťové pripojenia Comment[sl]=Uredite vaše omrežne povezave Comment[sr]=Уређујте мрежне везе Comment[sr@ijekavian]=Уређујте мрежне везе @@ -100,6 +107,7 @@ X-KDE-Keywords[de]=network,wifi,ethernet X-KDE-Keywords[el]=δίκτυο,wifi,ethernet,κινητό,ευρυζωνική,vpn,internet,κίνηση X-KDE-Keywords[en_GB]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic X-KDE-Keywords[es]=red,wifi,ethernet,móvil,banda ancha,vpn,internet,tráfico +X-KDE-Keywords[et]=võrk,wifi,ethernet,mobiilne,püsiühendus,vpn,internet,liiklus X-KDE-Keywords[eu]=sarea,wifi,ethernet,mugikor,banda zabala,vpn,internet,trafikoa X-KDE-Keywords[fi]=verkko,langaton,ethernet,mobiili,laajakaista,vpn,internet,liikenne X-KDE-Keywords[fr]=réseau,wifi,ethernet,mobile,large bande,vpn,internet,traffic @@ -110,6 +118,7 @@ X-KDE-Keywords[id]=jaringan,wifi,etherne X-KDE-Keywords[it]=rete,wifi,ethernet,mobile,banda larga,vpn,internet,traffico X-KDE-Keywords[ko]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic,네트워크,와이파이,무선랜,이더넷,모바일,광대역,인터넷,트래픽 X-KDE-Keywords[lt]=tinklas,belaidis,bevielis,wifi,laidinis,plačiajuostis,mobilusis,vpn,internetas,duomenų srautas +X-KDE-Keywords[ml]=ശൃംഖല,വൈഫൈ,ഈതര്‍നെറ്റ്,മൊബൈൽ,ബ്രോഡ്‌ബാൻഡ്,വിപിഎൻ,ഇന്റർനെറ്റ്,ട്രാഫിക് X-KDE-Keywords[nl]=netwerk,wifi,ethernet,mobiel,breedband,vpn,internet,verkeer X-KDE-Keywords[nn]=nettverk,wifi,trådlaus,Ethernet,mobilt,breiband,VPN,Internett,trafikk,tilkopling,samband X-KDE-Keywords[pa]=ਨੈੱਟਵਰਕ,ਵਾਈਫਾਈ,ਵਾਈ-ਫਾਈ,ਮੋਬਾਈਲ,ਬਰਾਂਡਬੈਂਡ,ਵੀਪੀਐਨ,ਇੰਟਰਨੈੱਟ,ਟਰੈਫਿਕ @@ -117,13 +126,14 @@ X-KDE-Keywords[pl]=sieć,wifi,ethernet,k X-KDE-Keywords[pt]=rede,wifi,ethernet,móvel,banda larga,vpn,internet,tráfego X-KDE-Keywords[pt_BR]=rede,wifi,ethernet,cabeada,móvel,modem,vpn,internet,tráfego X-KDE-Keywords[ru]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic,сеть,беспроводная сеть,мобильный Интернет,широкополосная сеть,Интернет,трафик,вайфай,впн,виртуальная частная сеть,локальная сеть -X-KDE-Keywords[sk]=sieť,wifi,ethernet,mobil,broadband,vpn,internet,prenos +X-KDE-Keywords[sk]=sieť,wifi,ethernet,mobil,broadband,širokopásmové,vpn,internet,prenos X-KDE-Keywords[sl]=omrežje,mreža,wifi,eternet,mobilno,širokopasovno,vpn,internet,promet X-KDE-Keywords[sr]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic,мрежа,вај‑фај,етернет,мобилни,широкопојасни,ВПН,Интернет,саобраћај X-KDE-Keywords[sr@ijekavian]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic,мрежа,вај‑фај,етернет,мобилни,широкопојасни,ВПН,Интернет,саобраћај X-KDE-Keywords[sr@ijekavianlatin]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic,mreža,Wi‑Fi,Ethernet,mobilni,širokopojasni,VPN,Internet,saobraćaj X-KDE-Keywords[sr@latin]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic,mreža,Wi‑Fi,Ethernet,mobilni,širokopojasni,VPN,Internet,saobraćaj X-KDE-Keywords[sv]=nätverk,wifi,ethernet,mobil,bredband,vpn,internet,trafik +X-KDE-Keywords[tg]=шабака,wifi,интранет,мобилӣ,пайвасти паҳннаворvpn,интернет,равиш X-KDE-Keywords[tr]=ağ,wifi,ethernet,mobil,geniş bant,VPN,internet,trafik,kablosuz X-KDE-Keywords[uk]=network,wifi,ethernet,mobile,broadband,vpn,internet,traffic,мережа,вайфай,езернет,мобільна,широкосмугова,впн,інтернет,обмін,даними X-KDE-Keywords[x-test]=xxnetworkxx,xxwifixx,xxethernetxx,xxmobilexx,xxbroadbandxx,xxvpnxx,xxinternetxx,xxtrafficxx
  29. Download patch applet/metadata.desktop

    --- 4:5.17.5-2/applet/metadata.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/metadata.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -24,6 +24,7 @@ Name[it]=Reti Name[ja]=ネットワーク Name[ko]=네트워크 Name[lt]=Tinklai +Name[ml]=ശൃംഖലകൾ Name[nb]=Nettverk Name[nds]=Nettwarken Name[nl]=Netwerken @@ -40,6 +41,7 @@ Name[sr@ijekavian]=Мреже Name[sr@ijekavianlatin]=Mreže Name[sr@latin]=Mreže Name[sv]=Nätverk +Name[tg]=Шабакаҳо Name[tr]=Ağlar Name[uk]=Мережі Name[x-test]=xxNetworksxx @@ -48,6 +50,7 @@ Name[zh_TW]=網路 Comment=Network status and control Comment[ar]=حالة الشّبكة والتّحكّم بها +Comment[ast]=Estáu y control de redes Comment[bg]=Състояние и контрол на мрежата Comment[bs]=Kontrola i status mreže Comment[ca]=Control i estat de la xarxa @@ -71,6 +74,7 @@ Comment[it]=Stato e controllo della rete Comment[ja]=ネットワークの状態と管理 Comment[ko]=네트워크 상태 및 제어 Comment[lt]=Tinklo būsena ir valdymas +Comment[ml]=ശൃംഖല നിലയും നിയന്ത്രണവും Comment[nb]=Nettverksstatus og styring Comment[nds]=Nettwarkstatus un -stüern Comment[nl]=Netwerkstatus en besturing @@ -88,6 +92,7 @@ Comment[sr@ijekavian]=Стање и уп Comment[sr@ijekavianlatin]=Stanje i upravljanje mrežom Comment[sr@latin]=Stanje i upravljanje mrežom Comment[sv]=Nätverksstatus och kontroll +Comment[tg]=Вазъият ва идоракунии шабака Comment[tr]=Ağ denetim ve durum izleme Comment[uk]=Стеження за станом і керування мережею Comment[x-test]=xxNetwork status and controlxx
  30. Download patch applet/contents/config/config.qml

    --- 4:5.17.5-2/applet/contents/config/config.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/contents/config/config.qml 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -/* - Copyright 2017 Jan Grulich <jgrulich@redhat.com> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see <http://www.gnu.org/licenses/>. -*/ - -import QtQuick 2.0 - -import org.kde.plasma.configuration 2.0 - -ConfigModel { - id: configModel - - ConfigCategory { - name: i18n("General") - icon: "plasma" - source: "configGeneral.qml" - } -}
  31. Download patch kded/networkmanagement.desktop

    --- 4:5.17.5-2/kded/networkmanagement.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/networkmanagement.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -1,50 +1,35 @@ [Desktop Entry] -Name=Plasma Networkmanagement module -Name[ar]=وحدة بلازما لإدارة الشّبكة -Name[bg]=Модул за настройка на мрежата -Name[bs]=Plasma Networkmanagement režim -Name[ca]=Mòdul de Plasma per a la Gestió de la xarxa -Name[ca@valencia]=Mòdul de Plasma per a la Gestió de la xarxa -Name[cs]=Modul Plasma Networkmanagement +Name=Plasma Network Management module +Name[ca]=Mòdul del Plasma per a la Gestió de la xarxa +Name[cs]=Modul Plasma pro správu sítě Name[da]=Plasma netværkshåndteringsmodul Name[de]=Plasma-Netzwerkverwaltungsmodul -Name[el]=Άρθρωμα Plasma για τη διαχείριση δικτύων -Name[en_GB]=Plasma Networkmanagement module +Name[en_GB]=Plasma Network Management module Name[es]=Modulo de gestión de redes de Plasma Name[et]=Plasma võrguhalduse moodul -Name[eu]=Plasmaren Networkmanagement modulua +Name[eu]=Plasmako Sareak Kudeatzeko modulua Name[fi]=Plasman verkonhallintamoduuli -Name[fr]=Module « Networkmanagement » pour Plasma +Name[fr]=Module de gestion du réseau pour Plasma Name[gl]=Módulo de xestión da rede de Plasma -Name[he]=מודול ניהול רשתות של פלזמה Name[hu]=Plasma hálózatkezelés modul Name[ia]=Modulo de gestion de rete de Plasma -Name[id]=Modul Plasma Networkmanagement +Name[id]=Modul Pengelolaan Jaringan Plasma Name[it]=Modulo della gestione di rete di Plasma Name[ko]=Plasma 네트워크 관리 모듈 Name[lt]=Plasma tinklo valdymo modulis -Name[nb]=Plasma-modul for nettverksstyring -Name[nds]=Plasma-Nettwarkpleegmoduul +Name[ml]=പ്ലാസ്മ ശൃംഖല നടത്തിപ്പ്‌ മൊഡ്യൂൾ Name[nl]=Plasma module voor netwerkbeheer Name[nn]=Plasma-modul for nettverksstyring -Name[pa]=ਪਲਾਜ਼ਮਾ ਨੈੱਟਵਰਕਮੈਨਜੇਮੈਂਟ ਮੋਡਿਊਲ -Name[pl]=Moduł zarządzania siecią Plazmy +Name[pl]=Moduł Plazmy do zarządzania siecią Name[pt]=Módulo de Gestão de Rede do Plasma -Name[pt_BR]=Módulo Networkmanagement do Plasma -Name[ro]=Modul Plasma pentru gestiunea rețelei +Name[pt_BR]=Módulo de Gerenciamento de Rede do Plasma Name[ru]=Модуль для управления сетью -Name[sk]=Modul Plasma správa siete -Name[sl]=Modul upravljanja omrežij za Plasmo -Name[sr]=Плазма модул за управљање мрежом -Name[sr@ijekavian]=Плазма модул за управљање мрежом -Name[sr@ijekavianlatin]=Plasma modul za upravljanje mrežom -Name[sr@latin]=Plasma modul za upravljanje mrežom +Name[sk]=Modul správy siete pre Plasmu Name[sv]=Plasma nätverkshanteringsmodul -Name[tr]=Plasma Ağ yönetimi modülü Name[uk]=Модуль керування мережею Плазми -Name[x-test]=xxPlasma Networkmanagement modulexx +Name[x-test]=xxPlasma Network Management modulexx Name[zh_CN]=Plasma 网络管理模块 -Name[zh_TW]=Plasma 網路管理員模組 +Name[zh_TW]=Plasma 網路管理模組 Comment=Provides secrets to the NetworkManager daemon Comment[ar]=توفّر الأسرار لعفريت «مديرالشّبكة» Comment[ast]=Forne secretos al degorriu de NetworkManager @@ -79,7 +64,7 @@ Comment[pt]=Fornece as senhas do serviç Comment[pt_BR]=Fornece as senhas do serviço NetworkManager Comment[ro]=Furnizează secrete către demonul NetworkManager Comment[ru]=Предоставляет пароли и ключи демону NetworkManager -Comment[sk]=Poskytuje tajnosti k démonu NetworkManager +Comment[sk]=Poskytuje tajnosti službe správcu siete NetworkManager Comment[sl]=Ponuja skrivnosti za ozadnji program NetworkManager Comment[sr]=Доставља тајне демону Менаџера мреже Comment[sr@ijekavian]=Доставља тајне демону Менаџера мреже
  32. Download patch debian/upstream/signing-key.asc
  33. Download patch debian/control

    --- 4:5.17.5-2/debian/control 2020-02-14 20:16:45.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/debian/control 2020-04-02 18:47:30.000000000 +0000 @@ -3,51 +3,57 @@ Section: kde Priority: optional Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Uploaders: Maximiliano Curia <maxy@debian.org> -Build-Depends: cmake (>= 3.0~), - debhelper-compat (= 12), - extra-cmake-modules (>= 5.62.0~), +Build-Depends: cmake (>= 2.8.12~), + debhelper (>= 11~), + extra-cmake-modules (>= 5.66.0~), gettext, - libkf5completion-dev (>= 5.62.0~), - libkf5configwidgets-dev (>= 5.62.0~), - libkf5coreaddons-dev (>= 5.62.0~), - libkf5dbusaddons-dev (>= 5.62.0~), - libkf5declarative-dev (>= 5.62.0~), - libkf5i18n-dev (>= 5.62.0~), - libkf5iconthemes-dev (>= 5.62.0~), - libkf5kio-dev (>= 5.62.0~), - libkf5networkmanagerqt-dev (>= 5.62.0~), - libkf5notifications-dev (>= 5.62.0~), - libkf5plasma-dev (>= 5.62.0~), - libkf5prison-dev (>= 5.62.0~), - libkf5service-dev (>= 5.62.0~), - libkf5solid-dev (>= 5.62.0~), - libkf5wallet-dev (>= 5.62.0~), - libkf5widgetsaddons-dev (>= 5.62.0~), - libkf5windowsystem-dev (>= 5.62.0~), - libnm-dev (>= 1.4.0~), + kinit-dev (>= 5.66.0~), + libkf5completion-dev (>= 5.66.0~), + libkf5configwidgets-dev (>= 5.66.0~), + libkf5coreaddons-dev (>= 5.66.0~), + libkf5dbusaddons-dev (>= 5.66.0~), + libkf5declarative-dev (>= 5.66.0~), + libkf5i18n-dev (>= 5.66.0~), + libkf5iconthemes-dev (>= 5.66.0~), + libkf5itemmodels-dev (>= 5.66.0~), + libkf5itemviews-dev (>= 5.66.0~), + libkf5kdelibs4support-dev (>= 5.66.0~), + libkf5kio-dev (>= 5.66.0~), + libkf5networkmanagerqt-dev (>= 5.66.0~), + libkf5notifications-dev (>= 5.66.0~), + libkf5plasma-dev (>= 5.66.0~), + libkf5prison-dev (>= 5.66.0~), + libkf5service-dev (>= 5.66.0~), + libkf5solid-dev (>= 5.66.0~), + libkf5wallet-dev (>= 5.66.0~), + libkf5widgetsaddons-dev (>= 5.66.0~), + libkf5windowsystem-dev (>= 5.66.0~), + libkf5xmlgui-dev (>= 5.66.0~), + libnm-dev (>= 1.0.0~), libopenconnect-dev (>= 3.99~), libqca-qt5-2-dev (>= 2.1.0~), mobile-broadband-provider-info, modemmanager-dev (>= 1.0.0~), - modemmanager-qt-dev (>= 5.62.0~), + modemmanager-qt-dev (>= 5.66.0~), pkg-config, pkg-kde-tools (>= 0.15.15ubuntu1~), - qtbase5-dev (>= 5.12.0~), - qtdeclarative5-dev (>= 5.12.0~), -Standards-Version: 4.5.0 + qtbase5-dev (>= 5.6.1~), + qtdeclarative5-dev (>= 5.6.1~), + qttools5-dev (>= 5.4.0~), +Standards-Version: 4.1.3 Homepage: https://projects.kde.org/projects/kde/workspace/plasma-nm -Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/plasma-nm -Vcs-Git: https://salsa.debian.org/qt-kde-team/kde/plasma-nm.git +Vcs-Browser: https://code.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/plasma-nm +Vcs-Git: https://git.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/plasma-nm Package: plasma-nm Architecture: linux-any Depends: mobile-broadband-provider-info, network-manager, - plasma-framework, + plasma-framework (>= 5.54.0~), qml-module-org-kde-kcoreaddons, + qml-module-org-kde-prison, ${misc:Depends}, ${shlibs:Depends}, -Recommends: libkf5wallet-bin Suggests: network-manager-openconnect, network-manager-openvpn, network-manager-pptp,
  34. Download patch applet/contents/ui/PopupDialog.qml

    --- 4:5.17.5-2/applet/contents/ui/PopupDialog.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/contents/ui/PopupDialog.qml 2020-03-31 14:27:23.000000000 +0000 @@ -27,7 +27,6 @@ import org.kde.plasma.networkmanagement FocusScope { id: full - property var notificationInhibitorLock: undefined PlasmaNM.AvailableDevices { id: availableDevices @@ -81,33 +80,14 @@ FocusScope { target: plasmoid onExpandedChanged: { connectionView.currentVisibleButtonIndex = -1; - if (expanded) { - var service = notificationsEngine.serviceForSource("notifications"); - var operation = service.operationDescription("inhibit"); - operation.hint = "x-kde-appname"; - operation.value = "networkmanagement"; - var job = service.startOperationCall(operation); - job.finished.connect(function(job) { - if (expanded) { - notificationInhibitorLock = job.result; - } - }); - handler.requestScan() - } else { - notificationInhibitorLock = undefined; - toolbar.closeSearch() - } if (expanded) { + handler.requestScan(); full.connectionModel = networkModelComponent.createObject(full) } else { full.connectionModel.destroy() + toolbar.closeSearch(); } } } - - PlasmaCore.DataSource { - id: notificationsEngine - engine: "notifications" - } }
  35. Download patch po/ast/plasma_applet_org.kde.plasma.networkmanagement.po

    --- 4:5.17.5-2/po/ast/plasma_applet_org.kde.plasma.networkmanagement.po 2020-01-07 15:41:22.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ast/plasma_applet_org.kde.plasma.networkmanagement.po 2020-03-31 14:27:35.000000000 +0000 @@ -6,31 +6,16 @@ msgid "" msgstr "" "Project-Id-Version: plasma-nm\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-08-23 03:16+0200\n" -"PO-Revision-Date: 2019-08-11 13:12+0200\n" +"POT-Creation-Date: 2020-01-16 03:42+0100\n" +"PO-Revision-Date: 2019-10-22 02:06+0200\n" "Last-Translator: enolp <enolp@softastur.org>\n" -"Language-Team: Asturian <alministradores@softastur.org>\n" +"Language-Team: Asturian\n" "Language: ast\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Lokalize 19.04.3\n" - -#: contents/config/config.qml:29 -#, kde-format -msgid "General" -msgstr "Xeneral" - -#: contents/ui/configGeneral.qml:39 -#, kde-format -msgid "Ask for PIN on modem detection" -msgstr "Pidir el PIN al deteutar dalgún módem" - -#: contents/ui/configGeneral.qml:47 -#, kde-format -msgid "Show virtual connections" -msgstr "Amosar les conexones virtuales" +"X-Generator: Lokalize 19.08.2\n" #: contents/ui/ConnectionItem.qml:116 #, kde-format @@ -50,7 +35,7 @@ msgstr "Amosar el códigu QR de la rede" #: contents/ui/ConnectionItem.qml:202 #, kde-format msgid "Configure..." -msgstr "Configurar..." +msgstr "Configurar…" #: contents/ui/ConnectionItem.qml:227 #, kde-format @@ -89,52 +74,67 @@ msgstr "Conexones disponibles" msgid "Networks" msgstr "Redes" -#: contents/ui/main.qml:59 +#: contents/ui/main.qml:58 #, kde-format msgid "&Configure Network Connections..." -msgstr "&Configurar les conexones a la rede..." +msgstr "&Configurar les conexones a la rede…" #: contents/ui/main.qml:61 #, kde-format msgid "Open Network Login Page..." -msgstr "Abrir la páxina d'aniciu de sesión de la rede..." +msgstr "Abrir la páxina d'aniciu de sesión de la rede…" #: contents/ui/PasswordField.qml:31 #, kde-format msgid "Password..." -msgstr "Contraseña..." +msgstr "Contraseña…" -#: contents/ui/Toolbar.qml:71 +#: contents/ui/Toolbar.qml:76 #, kde-format msgid "Enable wireless" msgstr "Habilitar el Wi-Fi" -#: contents/ui/Toolbar.qml:85 +#: contents/ui/Toolbar.qml:90 #, kde-format msgid "Enable mobile network" msgstr "Activar la rede móvil" -#: contents/ui/Toolbar.qml:101 +#: contents/ui/Toolbar.qml:106 #, kde-format msgid "Enable airplane mode" msgstr "Activar el mou avión" -#: contents/ui/Toolbar.qml:130 +#: contents/ui/Toolbar.qml:142 +#, kde-format +msgid "Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:163 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Disable Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:168 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Create Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:188 #, kde-format msgctxt "button tooltip" msgid "Search the connections" msgstr "Guetar conexones" -#: contents/ui/Toolbar.qml:137 +#: contents/ui/Toolbar.qml:202 #, kde-format msgid "Configure network connections..." -msgstr "Configurar conexones a la rede..." +msgstr "Configurar conexones a la rede…" -#: contents/ui/Toolbar.qml:158 +#: contents/ui/Toolbar.qml:223 #, kde-format msgctxt "text field placeholder text" msgid "Search..." -msgstr "Guetar..." +msgstr "Guetar…" #: contents/ui/TrafficMonitor.qml:45 #, kde-format
  36. Download patch po/ca/plasmanetworkmanagement-libs.po
  37. Download patch po/ca@valencia/plasmanetworkmanagement-kcm.po

    --- 4:5.17.5-2/po/ca@valencia/plasmanetworkmanagement-kcm.po 2020-01-07 15:41:27.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ca@valencia/plasmanetworkmanagement-kcm.po 2020-03-31 14:27:39.000000000 +0000 @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: plasmanetworkmanagement-kcm\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2020-01-04 08:51+0100\n" +"POT-Creation-Date: 2020-02-22 08:22+0100\n" "PO-Revision-Date: 2019-08-30 12:19+0200\n" "Last-Translator: Empar Montoro Martín <montoro_mde@gva.es>\n" "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" @@ -21,32 +21,80 @@ msgstr "" "X-Accelerator-Marker: &\n" "X-Generator: Lokalize 19.04.2\n" -#: kcm.cpp:330 +#: kcm.cpp:362 #, kde-format msgid "my_shared_connection" msgstr "la_meua_connexió_compartida" -#: kcm.cpp:392 +#: kcm.cpp:424 #, kde-format msgid "Export VPN Connection" msgstr "Exportació de la connexió VPN" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgid "Do you want to save changes made to the connection '%1'?" msgstr "Voleu guardar els canvis efectuats en la connexió «%1»?" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgctxt "@title:window" msgid "Save Changes" msgstr "Guarda els canvis" -#: kcm.cpp:501 +#: kcm.cpp:533 #, kde-format msgid "Import VPN Connection" msgstr "Importació d'una connexió VPN" +#: qml/AddConnectionDialog.qml:31 +msgctxt "@title:window" +msgid "Choose a Connection Type" +msgstr "Trieu un tipus de connexió" + +#: qml/AddConnectionDialog.qml:174 +msgid "Create" +msgstr "Crea" + +#: qml/AddConnectionDialog.qml:184 qml/ConfigurationDialog.qml:130 +msgid "Cancel" +msgstr "Cancel·la" + +#: qml/ConfigurationDialog.qml:30 +msgctxt "@title:window" +msgid "Configuration" +msgstr "" + +#: qml/ConfigurationDialog.qml:55 +msgid "General" +msgstr "" + +#: qml/ConfigurationDialog.qml:60 +msgid "Ask for PIN on modem detection" +msgstr "" + +#: qml/ConfigurationDialog.qml:67 +#, fuzzy +#| msgid "Export selected connection" +msgid "Show virtual connections" +msgstr "Exporta la connexió seleccionada" + +#: qml/ConfigurationDialog.qml:75 +msgid "Hotspot" +msgstr "" + +#: qml/ConfigurationDialog.qml:81 +msgid "Hotspot name:" +msgstr "" + +#: qml/ConfigurationDialog.qml:91 +msgid "Hotspot password:" +msgstr "" + +#: qml/ConfigurationDialog.qml:121 +msgid "Ok" +msgstr "" + #: qml/ConnectionItem.qml:112 msgid "Connect" msgstr "Connecta" @@ -71,40 +119,31 @@ msgstr "Connectat" msgid "Connecting" msgstr "Connectant" -#: qml/Dialog.qml:31 -msgctxt "@title:window" -msgid "Choose a Connection Type" -msgstr "Trieu un tipus de connexió" - -#: qml/Dialog.qml:174 -msgid "Create" -msgstr "Crea" - -#: qml/Dialog.qml:184 -msgid "Cancel" -msgstr "Cancel·la" - -#: qml/main.qml:68 +#: qml/main.qml:72 msgid "Search..." msgstr "Busca..." -#: qml/main.qml:143 +#: qml/main.qml:151 msgid "Add new connection" msgstr "Afig una connexió nova" -#: qml/main.qml:155 +#: qml/main.qml:165 msgid "Remove selected connection" msgstr "Elimina la connexió seleccionada" -#: qml/main.qml:169 +#: qml/main.qml:181 msgid "Export selected connection" msgstr "Exporta la connexió seleccionada" -#: qml/main.qml:185 +#: qml/main.qml:205 +msgid "Configuration" +msgstr "" + +#: qml/main.qml:233 msgctxt "@title:window" msgid "Remove Connection" msgstr "Elimina la connexió" -#: qml/main.qml:186 +#: qml/main.qml:234 msgid "Do you want to remove the connection '%1'?" msgstr "Voleu eliminar la connexió «%1»?" \ No newline at end of file
  38. Download patch libs/editor/settings/wifisecurity.cpp

    --- 4:5.17.5-2/libs/editor/settings/wifisecurity.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/wifisecurity.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -44,6 +44,11 @@ WifiSecurity::WifiSecurity(const Network m_ui->stackedWidget->insertWidget(3, m_8021xWidget); m_ui->stackedWidget->insertWidget(5, m_WPA2Widget); + // WPA3 Personal is available in NM 1.16+ + if (!NetworkManager::checkVersion(1, 16, 0)) { + m_ui->securityCombo->removeItem(7); + } + connect(m_ui->securityCombo, QOverload<int>::of(&KComboBox::currentIndexChanged), this, &WifiSecurity::securityChanged); connect(m_ui->wepIndex, QOverload<int>::of(&KComboBox::currentIndexChanged), this, &WifiSecurity::setWepKey); @@ -104,11 +109,13 @@ bool WifiSecurity::isValid() const (!m_ui->leapPassword->text().isEmpty() || m_ui->leapPassword->passwordOption() == PasswordField::AlwaysAsk); } else if (securityIndex == WpaPsk) { // WPA return NetworkManager::wpaPskIsValid(m_ui->psk->text()) || - m_ui->psk->passwordOption() == PasswordField::AlwaysAsk;; + m_ui->psk->passwordOption() == PasswordField::AlwaysAsk; } else if (securityIndex == DynamicWep) { return m_8021xWidget->isValid(); } else if (securityIndex == WpaEap) { return m_WPA2Widget->isValid(); + } else if (securityIndex == SAE) { + return !m_ui->psk->text().isEmpty() || m_ui->psk->passwordOption() == PasswordField::AlwaysAsk; } return true; @@ -176,6 +183,16 @@ void WifiSecurity::loadConfig(const Netw } else if (keyMgmt == NetworkManager::WirelessSecuritySetting::WpaEap) { m_ui->securityCombo->setCurrentIndex(WpaEap); // WPA2 Enterprise // done in the widget + } else if (keyMgmt == NetworkManager::WirelessSecuritySetting::SAE) { + m_ui->securityCombo->setCurrentIndex(SAE); // WPA3 + + if (wifiSecurity->pskFlags().testFlag(NetworkManager::Setting::None)) { + m_ui->psk->setPasswordOption(PasswordField::StoreForAllUsers); + } else if (wifiSecurity->pskFlags().testFlag(NetworkManager::Setting::AgentOwned)) { + m_ui->psk->setPasswordOption(PasswordField::StoreForUser); + } else { + m_ui->psk->setPasswordOption(PasswordField::AlwaysAsk); + } } if (keyMgmt != NetworkManager::WirelessSecuritySetting::Ieee8021x && @@ -212,7 +229,7 @@ void WifiSecurity::loadSecrets(const Net if (!leapPassword.isEmpty()) { m_ui->leapPassword->setText(leapPassword); } - } else if (keyMgmt == NetworkManager::WirelessSecuritySetting::WpaPsk) { + } else if (keyMgmt == NetworkManager::WirelessSecuritySetting::WpaPsk || keyMgmt == NetworkManager::WirelessSecuritySetting::SAE) { const QString psk = wifiSecurity->psk(); if (!psk.isEmpty()) { m_ui->psk->setText(psk); @@ -290,6 +307,17 @@ QVariantMap WifiSecurity::setting() cons } } else if (securityIndex == WpaEap) { // WPA2 Enterprise wifiSecurity.setKeyMgmt(NetworkManager::WirelessSecuritySetting::WpaEap); + } else if (securityIndex == SAE) { // WPA3 Personal + wifiSecurity.setKeyMgmt(NetworkManager::WirelessSecuritySetting::SAE); + wifiSecurity.setPsk(m_ui->psk->text()); + + if (m_ui->psk->passwordOption() == PasswordField::StoreForAllUsers) { + wifiSecurity.setPskFlags(NetworkManager::Setting::None); + } else if (m_ui->psk->passwordOption() == PasswordField::StoreForUser) { + wifiSecurity.setPskFlags(NetworkManager::Setting::AgentOwned); + } else { + wifiSecurity.setPskFlags(NetworkManager::Setting::NotSaved); + } } return wifiSecurity.toMap(); @@ -339,6 +367,9 @@ void WifiSecurity::onSsidChanged(const Q case NetworkManager::WirelessSecurityType::Wpa2Eap: m_ui->securityCombo->setCurrentIndex(WpaEap); break; + case NetworkManager::WirelessSecurityType::SAE: + m_ui->securityCombo->setCurrentIndex(SAE); + break; default: m_ui->securityCombo->setCurrentIndex(None); } @@ -369,12 +400,18 @@ void WifiSecurity::setWepKey(int keyInde void WifiSecurity::securityChanged(int index) { - if (index == 0) { + if (index == None) { m_ui->stackedWidget->setCurrentIndex(0); - } else if (index == 1 || index == 2) { + } else if (index == WepHex || index == WepPassphrase) { m_ui->stackedWidget->setCurrentIndex(1); - } else { - m_ui->stackedWidget->setCurrentIndex(index-1); + } else if (index == Leap) { + m_ui->stackedWidget->setCurrentIndex(2); + } else if (index == DynamicWep) { + m_ui->stackedWidget->setCurrentIndex(3); + } else if (index == WpaPsk || index == SAE) { + m_ui->stackedWidget->setCurrentIndex(4); + } else if (index == WpaEap) { + m_ui->stackedWidget->setCurrentIndex(5); } KAcceleratorManager::manage(m_ui->stackedWidget->currentWidget());
  39. Download patch libs/editor/connectioneditorbase.cpp

    --- 4:5.17.5-2/libs/editor/connectioneditorbase.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/connectioneditorbase.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -53,9 +53,9 @@ #include <NetworkManagerQt/VpnSetting> #include <NetworkManagerQt/Utils> #include <NetworkManagerQt/WirelessSetting> +#include <NetworkManagerQt/WirelessSecuritySetting> #include <NetworkManagerQt/WirelessDevice> -#include <KIconLoader> #include <KLocalizedString> #include <KNotification> #include <KServiceTypeTrader> @@ -145,6 +145,23 @@ NMVariantMapMap ConnectionEditorBase::se if (securitySetting->keyMgmt() != NetworkManager::WirelessSecuritySetting::WirelessSecuritySetting::Unknown) { wirelessSetting->setSecurity("802-11-wireless-security"); } + + if (securitySetting->keyMgmt() == NetworkManager::WirelessSecuritySetting::SAE && + wirelessSetting->mode() == NetworkManager::WirelessSetting::Adhoc) { + // Ad-Hoc settings as specified by the supplicant + // Proto + QList<NetworkManager::WirelessSecuritySetting::WpaProtocolVersion> protoVersions = securitySetting->proto(); + protoVersions << NetworkManager::WirelessSecuritySetting::Rsn; + securitySetting->setProto(protoVersions); + // Pairwise + QList<NetworkManager::WirelessSecuritySetting::WpaEncryptionCapabilities> pairwiseEncrypts = securitySetting->pairwise(); + pairwiseEncrypts << NetworkManager::WirelessSecuritySetting::Ccmp; + securitySetting->setPairwise(pairwiseEncrypts); + // Group + QList<NetworkManager::WirelessSecuritySetting::WpaEncryptionCapabilities> groupEncrypts = securitySetting->group(); + groupEncrypts << NetworkManager::WirelessSecuritySetting::Ccmp; + securitySetting->setGroup(groupEncrypts); + } } } return connectionSettings->toMap(); @@ -465,7 +482,7 @@ void ConnectionEditorBase::replyFinished notification->setComponentName("networkmanagement"); notification->setTitle(i18n("Failed to get secrets for %1", watcher->property("connection").toString())); notification->setText(reply.error().message()); - notification->setPixmap(QIcon::fromTheme("dialog-warning").pixmap(KIconLoader::SizeHuge)); + notification->setIconName(QStringLiteral("dialog-warning")); notification->sendEvent(); }
  40. Download patch libs/configuration.h

    --- 4:5.17.5-2/libs/configuration.h 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/configuration.h 2020-03-31 14:27:23.000000000 +0000 @@ -30,6 +30,9 @@ class Q_DECL_EXPORT Configuration : publ Q_PROPERTY(bool unlockModemOnDetection READ unlockModemOnDetection WRITE setUnlockModemOnDetection) Q_PROPERTY(bool manageVirtualConnections READ manageVirtualConnections WRITE setManageVirtualConnections) Q_PROPERTY(bool airplaneModeEnabled READ airplaneModeEnabled WRITE setAirplaneModeEnabled) + Q_PROPERTY(QString hotspotName READ hotspotName WRITE setHotspotName) + Q_PROPERTY(QString hotspotPassword READ hotspotPassword WRITE setHotspotPassword) + Q_PROPERTY(QString hotspotConnectionPath READ hotspotConnectionPath WRITE setHotspotConnectionPath) //Readonly constant property, as this value should only be set by the platform Q_PROPERTY(bool showPasswordDialog READ showPasswordDialog CONSTANT) @@ -44,6 +47,15 @@ public: static bool airplaneModeEnabled(); static void setAirplaneModeEnabled(bool enabled); + static QString hotspotName(); + static void setHotspotName(const QString &name); + + static QString hotspotPassword(); + static void setHotspotPassword(const QString &password); + + static QString hotspotConnectionPath(); + static void setHotspotConnectionPath(const QString &path); + static bool showPasswordDialog(); };
  41. Download patch kcm/qml/AddConnectionDialog.qml

    --- 4:5.17.5-2/kcm/qml/AddConnectionDialog.qml 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kcm/qml/AddConnectionDialog.qml 2020-03-31 14:27:23.000000000 +0000 @@ -0,0 +1,192 @@ +/* + Copyright 2016 Jan Grulich <jgrulich@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. +*/ + +import QtQuick 2.3 +import QtQuick.Dialogs 1.2 +import QtQuick.Controls 1.2 as QtControls +import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.extras 2.0 as PlasmaExtras +import org.kde.plasma.networkmanagement 0.2 as PlasmaNM + +Dialog { + id: dialog + title: i18nc("@title:window", "Choose a Connection Type") + + signal requestCreateConnection(int type, string vpnType, string specificType, bool shared) + + contentItem: Item { + implicitHeight: 600 + implicitWidth: 500 + + PlasmaNM.CreatableConnectionsModel { + id: connectionModel + } + + Rectangle { + id: background + anchors.fill: parent + focus: true + color: baseColor + } + + QtControls.ScrollView { + id: scrollView + anchors { + bottom: buttonRow.top + bottomMargin: Math.round(units.gridUnit / 2) + left: parent.left + right: parent.right + top: parent.top + } + + ListView { + id: view + + property int currentlySelectedIndex: -1 + property bool connectionShared + property string connectionSpecificType + property int connectionType + property string connectionVpnType + + anchors.fill: parent + clip: true + model: connectionModel + currentIndex: -1 + boundsBehavior: Flickable.StopAtBounds + section.property: "ConnectionTypeSection" + section.delegate: Header { text: section } + delegate: ListItem { + checked: mouseArea.containsMouse || view.currentlySelectedIndex == index + height: connectionTypeBase.height + + Item { + id: connectionTypeBase + + anchors { + left: parent.left + right: parent.right + top: parent.top + // Reset top margin from PlasmaComponents.ListItem + topMargin: -Math.round(units.gridUnit / 3) + } + height: Math.max(units.iconSizes.medium, connectionNameLabel.height + connectionDescriptionLabel.height) + Math.round(units.gridUnit / 2) + + KQuickControlsAddons.QIconItem { + id: connectionIcon + + anchors { + left: parent.left + verticalCenter: parent.verticalCenter + } + height: units.iconSizes.medium; width: height + icon: ConnectionIcon + } + + Text { + id: connectionNameLabel + + anchors { + bottom: ConnectionType == 11 ? connectionIcon.verticalCenter : undefined + left: connectionIcon.right + leftMargin: Math.round(units.gridUnit / 2) + right: parent.right + verticalCenter: ConnectionType == 11 ? undefined : parent.verticalCenter + } + color: textColor + height: paintedHeight + elide: Text.ElideRight + text: ConnectionTypeName + textFormat: Text.PlainText + } + + Text { + id: connectionDescriptionLabel + + anchors { + left: connectionIcon.right + leftMargin: Math.round(units.gridUnit / 2) + right: parent.right + top: connectionNameLabel.bottom + } + color: textColor + height: visible ? paintedHeight : 0 + elide: Text.ElideRight + font.pointSize: theme.smallestFont.pointSize + opacity: 0.6 + text: ConnectionDescription + visible: ConnectionType == 11 // VPN + } + } + + MouseArea { + id: mouseArea + anchors.fill: parent + hoverEnabled: true + + onClicked: { + createButton.enabled = true + view.currentlySelectedIndex = index + view.connectionSpecificType = ConnectionSpecificType + view.connectionShared = ConnectionShared + view.connectionType = ConnectionType + view.connectionVpnType = ConnectionVpnType + } + + onDoubleClicked: { + dialog.close() + dialog.requestCreateConnection(view.connectionType, view.connectionVpnType, view.connectionSpecificType, view.connectionShared) + } + } + } + } + } + + Row { + id: buttonRow + anchors { + bottom: parent.bottom + right: parent.right + margins: Math.round(units.gridUnit / 2) + } + spacing: Math.round(units.gridUnit / 2) + + QtControls.Button { + id: createButton + enabled: false + text: i18n("Create") + + onClicked: { + dialog.close() + dialog.requestCreateConnection(view.connectionType, view.connectionVpnType, view.connectionSpecificType, view.connectionShared) + } + } + + QtControls.Button { + id: cancelButton + text: i18n("Cancel") + + onClicked: { + dialog.close() + } + } + } + } +}
  42. Download patch libs/models/networkmodel.cpp
  43. Download patch CMakeLists.txt

    --- 4:5.17.5-2/CMakeLists.txt 2020-01-07 15:42:06.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/CMakeLists.txt 2020-03-31 14:28:19.000000000 +0000 @@ -2,11 +2,11 @@ cmake_minimum_required(VERSION 3.0) project(plasma-networkmanagement) -set(PROJECT_VERSION "5.17.5") +set(PROJECT_VERSION "5.18.4") set(PROJECT_VERSION_MAJOR 5) set(QT_MIN_VERSION "5.12.0") -set(KF5_MIN_VERSION "5.62.0") +set(KF5_MIN_VERSION "5.66.0") ################# set KDE specific information ################# @@ -16,6 +16,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PAT include(KDEInstallDirs) include(KDECMakeSettings) include(KDECompilerSettings NO_POLICY_SCOPE) +include(KDEClangFormat) include(ECMQMLModules) include(FeatureSummary) @@ -71,17 +72,17 @@ set_package_properties(NetworkManager PR find_package(MobileBroadbandProviderInfo) set_package_properties(MobileBroadbandProviderInfo PROPERTIES DESCRIPTION "Database of mobile broadband service providers" - URL "http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders" + URL "https://wiki.gnome.org/action/show/Projects/NetworkManager/MobileBroadband/ServiceProviders" TYPE OPTIONAL) find_package(Qca-qt5 2.1.0) set_package_properties(Qca-qt5 PROPERTIES DESCRIPTION "Support for encryption" - URL "http://download.kde.org/stable/qca-qt5/" + URL "https://download.kde.org/stable/qca-qt5/" TYPE REQUIRED) find_package(KF5Prison ${KF5_MIN_VERSION}) set_package_properties(KF5Prison PROPERTIES DESCRIPTION "Prison library" - URL "http://projects.kde.org/prison" + URL "https://commits.kde.org/prison" TYPE RUNTIME PURPOSE "Needed to create mobile barcodes for WiFi networks" ) @@ -125,6 +126,10 @@ if (BUILD_TESTING) add_subdirectory(tests) endif() +# add clang-format target for all our real source files +file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h) +kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) + feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) find_package(KF5I18n CONFIG REQUIRED)
  44. Download patch applet/contents/ui/Toolbar.qml

    --- 4:5.17.5-2/applet/contents/ui/Toolbar.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/contents/ui/Toolbar.qml 2020-03-31 14:27:23.000000000 +0000 @@ -21,6 +21,7 @@ import QtQuick 2.2 import QtQuick.Layouts 1.2 import org.kde.plasma.components 2.0 as PlasmaComponents +import org.kde.plasma.components 3.0 as PlasmaComponents3 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.networkmanagement 0.2 as PlasmaNM import org.kde.kquickcontrolsaddons 2.0 @@ -60,6 +61,10 @@ GridLayout { } } + PlasmaNM.Configuration { + id: configuration + } + Row { Layout.fillWidth: true @@ -124,19 +129,79 @@ GridLayout { Row { Layout.column: 1 - PlasmaComponents.ToolButton { + + PlasmaComponents3.ToolButton { + id: hotspotButton + + icon { + height: units.iconSizes.small + width: units.iconSizes.small + name: "network-wireless-on" + } + checkable: true + text: i18n("Hotspot") + visible: handler.hotspotSupported + + onClicked: { + if (configuration.hotspotConnectionPath) { + checked = false + handler.stopHotspot() + } else { + checked = true + handler.createHotspot() + } + } + + PlasmaComponents3.ToolTip { + id: tooltip + } + + Connections { + target: handler + onHotspotCreated: { + hotspotButton.checked = true + tooltip.text = i18n("Disable Hotspot") + } + + onHotspotDisabled: { + hotspotButton.checked = false + tooltip.text = i18n("Create Hotspot") + } + } + + Component.onCompleted: { + checked = configuration.hotspotConnectionPath + tooltip.text = configuration.hotspotConnectionPath ? i18n("Disable Hotspot") : i18n("Create Hotspot") + } + } + + PlasmaComponents3.ToolButton { id: searchToggleButton - iconSource: "search" - tooltip: i18ndc("plasma-nm", "button tooltip", "Search the connections") + icon { + height: units.iconSizes.small + width: units.iconSizes.small + name: "search" + } checkable: true + + PlasmaComponents3.ToolTip { + text: i18ndc("plasma-nm", "button tooltip", "Search the connections") + } } - PlasmaComponents.ToolButton { + PlasmaComponents3.ToolButton { id: openEditorButton - iconSource: "configure" - tooltip: i18n("Configure network connections...") + icon { + height: units.iconSizes.small + width: units.iconSizes.small + name: "configure" + } visible: mainWindow.kcmAuthorized + PlasmaComponents3.ToolTip { + text: i18n("Configure network connections...") + } + onClicked: { KCMShell.open(mainWindow.kcm) } @@ -158,7 +223,13 @@ GridLayout { placeholderText: i18ndc("plasma-nm", "text field placeholder text", "Search...") visible: searchToggleButton.checked - onVisibleChanged: if (!visible) text = "" + onVisibleChanged: { + if (visible) { + searchTextField.forceActiveFocus() + } else { + text = "" + } + } Keys.onEscapePressed: { //Check if the searchbar is actually visible before accepting the escape key. Otherwise, the escape key cannot dismiss the applet until one interacts with some other element. if (searchToggleButton.checked) {
  45. Download patch mobile/wifi/wifisettings.desktop

    --- 4:5.17.5-2/mobile/wifi/wifisettings.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/wifi/wifisettings.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -8,11 +8,13 @@ Name[da]=Wi-Fi Name[de]=Wi-Fi Name[en_GB]=Wi-Fi Name[es]=Wi-Fi +Name[et]=Wi-Fi Name[eu]=Wi-Fi Name[fi]=Langaton verkko Name[fr]=Wi-Fi Name[gl]=Sen fíos Name[hu]=Wi-Fi +Name[ia]=Wi-Fi Name[id]=Wi-Fi Name[it]=Wi-fi Name[ko]=Wi-Fi @@ -25,6 +27,7 @@ Name[pt_BR]=Wi-Fi Name[ru]=Wi-Fi Name[sk]=Wi-Fi Name[sv]=WIFI +Name[tg]=Wi-Fi Name[uk]=Wi-Fi Name[x-test]=xxWi-Fixx Name[zh_CN]=Wi-Fi @@ -37,6 +40,7 @@ Comment[da]=Opsætning af trådløst net Comment[de]=Einstellungen für drahtloses Netzwerk Comment[en_GB]=Wireless network setting Comment[es]=Preferencias de la red inalámbrica +Comment[et]=Juhtmeta võrgu seadistus Comment[eu]=Haririk gabeko sare ezarpena Comment[fi]=Langattoman verkon asetukset Comment[fr]=Paramètre du réseau sans fil @@ -54,6 +58,7 @@ Comment[pt_BR]=Configurações da rede s Comment[ru]=Параметры беспроводного соединения Comment[sk]=Nastavenia bezdrôtovej siete Comment[sv]=Trådlös nätverksinställning +Comment[tg]=Танзимоти шабакаи бесим Comment[uk]=Налаштовування бездротової мережі Comment[x-test]=xxWireless network settingxx Comment[zh_CN]=无线网络设置 @@ -80,6 +85,7 @@ X-KDE-Keywords[da]=wifi,netværk X-KDE-Keywords[de]=wifi,netzwerk X-KDE-Keywords[en_GB]=wifi,network X-KDE-Keywords[es]=wifi,red +X-KDE-Keywords[et]=wifi,võrk X-KDE-Keywords[eu]=wifi,haririk-gabeko,network,sarea X-KDE-Keywords[fi]=wifi,langaton,verkko X-KDE-Keywords[fr]=wifi,réseau @@ -97,6 +103,7 @@ X-KDE-Keywords[pt_BR]=wifi,sem fio,rede X-KDE-Keywords[ru]=wifi,network,сеть X-KDE-Keywords[sk]=wifi,network X-KDE-Keywords[sv]=wifi,nätverk +X-KDE-Keywords[tg]=wifi,шабака X-KDE-Keywords[uk]=wifi,network,вайфай,мережа X-KDE-Keywords[x-test]=xxwifixx,xxnetworkxx X-KDE-Keywords[zh_CN]=wifi,network,网络,无线
  46. Download patch applet/contents/config/main.xml

    --- 4:5.17.5-2/applet/contents/config/main.xml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/contents/config/main.xml 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 - http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > - <kcfgfile name=""/> - - <group name="General"> - <entry name="unlockModemOnDetection" type="Bool"> - <label>If true request PIN code as soon as modem is detected.</label> - <default>true</default> - </entry> - <entry name="manageVirtualConnections" type="Bool"> - <label>If true plasma-nm will be able to show and configure virtual connections.</label> - <default>false</default> - </entry> - </group> - -</kcfg>
  47. Download patch po/ast/plasmanetworkmanagement_openvpnui.po
  48. Download patch libs/editor/settings/wificonnectionwidget.cpp

    --- 4:5.17.5-2/libs/editor/settings/wificonnectionwidget.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/wificonnectionwidget.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -24,6 +24,7 @@ #include <NetworkManagerQt/Utils> #include <KLocalizedString> +#include <QRandomGenerator> #include "uiutils.h" @@ -31,8 +32,6 @@ WifiConnectionWidget::WifiConnectionWidg SettingWidget(setting, parent, f), m_ui(new Ui::WifiConnectionWidget) { - qsrand(QTime::currentTime().msec()); - m_ui->setupUi(this); connect(m_ui->btnRandomMacAddr, &QPushButton::clicked, this, &WifiConnectionWidget::generateRandomClonedMac); @@ -125,9 +124,10 @@ QVariantMap WifiConnectionWidget::settin void WifiConnectionWidget::generateRandomClonedMac() { QByteArray mac; + auto *generator = QRandomGenerator::global(); mac.resize(6); for (int i = 0; i < 6; i++) { - int random = qrand() % 255; + const int random = generator->bounded(255); mac[i] = random; }
  49. Download patch po/ca/plasmanetworkmanagement_vpncui.po

    --- 4:5.17.5-2/po/ca/plasmanetworkmanagement_vpncui.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ca/plasmanetworkmanagement_vpncui.po 2020-03-31 14:27:39.000000000 +0000 @@ -4,13 +4,13 @@ # version 3 or later versions approved by the membership of KDE e.V. # # Antoni Bella Pérez <antonibella5@yahoo.com>, 2014, 2015. -# Josep Ma. Ferrer <txemaq@gmail.com>, 2015, 2016, 2018. +# Josep Ma. Ferrer <txemaq@gmail.com>, 2015, 2016, 2018, 2020. msgid "" msgstr "" "Project-Id-Version: plasmanetworkmanagement_vpncui\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-05-20 03:25+0200\n" -"PO-Revision-Date: 2018-07-08 11:15+0100\n" +"PO-Revision-Date: 2020-03-30 16:31+0100\n" "Last-Translator: Josep Ma. Ferrer <txemaq@gmail.com>\n" "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" "Language: ca\n" @@ -36,6 +36,7 @@ msgstr "Error" msgid "File %1 could not be opened." msgstr "No s'ha pogut obrir el fitxer %1." +# skip-rule: kct-decrypt #: vpnc.cpp:156 #, kde-format msgid "Needed executable cisco-decrypt could not be found."
  50. Download patch po/ar/plasma_applet_org.kde.plasma.networkmanagement.po

    --- 4:5.17.5-2/po/ar/plasma_applet_org.kde.plasma.networkmanagement.po 2020-01-07 15:41:23.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ar/plasma_applet_org.kde.plasma.networkmanagement.po 2020-03-31 14:27:35.000000000 +0000 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-08-23 03:16+0200\n" +"POT-Creation-Date: 2020-01-16 03:42+0100\n" "PO-Revision-Date: 2017-02-14 20:18+0300\n" "Last-Translator: Safa Alfulaij <safa1996alfulaij@gmail.com>\n" "Language-Team: Arabic <doc@arabeyes.org>\n" @@ -18,22 +18,6 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 2.0\n" -#: contents/config/config.qml:29 -#, kde-format -msgid "General" -msgstr "" - -#: contents/ui/configGeneral.qml:39 -#, kde-format -msgid "Ask for PIN on modem detection" -msgstr "" - -#: contents/ui/configGeneral.qml:47 -#, fuzzy, kde-format -#| msgid "Configure network connections..." -msgid "Show virtual connections" -msgstr "اضبط اتّصالات الشّبكة..." - #: contents/ui/ConnectionItem.qml:116 #, kde-format msgid "Connect" @@ -92,7 +76,7 @@ msgstr "الاتصالات المتوف msgid "Networks" msgstr "الشّبكات" -#: contents/ui/main.qml:59 +#: contents/ui/main.qml:58 #, kde-format msgid "&Configure Network Connections..." msgstr "ا&ضبط اتّصالات الشّبكة..." @@ -107,34 +91,49 @@ msgstr "" msgid "Password..." msgstr "كلمة المرور..." -#: contents/ui/Toolbar.qml:71 +#: contents/ui/Toolbar.qml:76 #, kde-format msgid "Enable wireless" msgstr "" -#: contents/ui/Toolbar.qml:85 +#: contents/ui/Toolbar.qml:90 #, kde-format msgid "Enable mobile network" msgstr "" -#: contents/ui/Toolbar.qml:101 +#: contents/ui/Toolbar.qml:106 #, kde-format msgid "Enable airplane mode" msgstr "" -#: contents/ui/Toolbar.qml:130 +#: contents/ui/Toolbar.qml:142 +#, kde-format +msgid "Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:163 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Disable Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:168 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Create Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:188 #, fuzzy, kde-format #| msgid "Available connections" msgctxt "button tooltip" msgid "Search the connections" msgstr "الاتصالات المتوفّرة" -#: contents/ui/Toolbar.qml:137 +#: contents/ui/Toolbar.qml:202 #, kde-format msgid "Configure network connections..." msgstr "اضبط اتّصالات الشّبكة..." -#: contents/ui/Toolbar.qml:158 +#: contents/ui/Toolbar.qml:223 #, kde-format msgctxt "text field placeholder text" msgid "Search..."
  51. Download patch libs/handler.cpp
  52. Download patch kded/secretagent.cpp

    --- 4:5.17.5-2/kded/secretagent.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/secretagent.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -40,6 +40,7 @@ #include <QDBusConnection> #include <QStringBuilder> #include <QDialog> +#include <QDBusConnection> #include <KLocalizedString> #include <KPluginFactory>
  53. Download patch kded/portalmonitor.h

    --- 4:5.17.5-2/kded/portalmonitor.h 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/portalmonitor.h 2020-03-31 14:27:23.000000000 +0000 @@ -24,7 +24,9 @@ #include <NetworkManagerQt/Manager> +#include <KNotification> #include <QObject> +#include <QPointer> class PortalMonitor : public QObject { @@ -36,6 +38,9 @@ public: private Q_SLOTS: void connectivityChanged(NetworkManager::Connectivity connectivity); void checkConnectivity(); + +private: + QPointer<KNotification> m_notification; }; #endif // PLASMA_NM_PORTAL_MONITOR_H
  54. Download patch libs/editor/settings/wifisecurity.h

    --- 4:5.17.5-2/libs/editor/settings/wifisecurity.h 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/wifisecurity.h 2020-03-31 14:27:23.000000000 +0000 @@ -40,7 +40,7 @@ class Q_DECL_EXPORT WifiSecurity : publi public: // Keep this in sync with NetworkManager::WirelessSecurityType from // NetworkManagerQt. - enum SecurityTypeIndex { None = 0, WepHex, WepPassphrase, Leap, DynamicWep, WpaPsk, WpaEap }; + enum SecurityTypeIndex { None = 0, WepHex, WepPassphrase, Leap, DynamicWep, WpaPsk, WpaEap, SAE }; explicit WifiSecurity(const NetworkManager::Setting::Ptr &setting = NetworkManager::Setting::Ptr(), const NetworkManager::Security8021xSetting::Ptr &setting8021x = NetworkManager::Security8021xSetting::Ptr(),
  55. Download patch mobile/wifi/package/metadata.desktop

    --- 4:5.17.5-2/mobile/wifi/package/metadata.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/wifi/package/metadata.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -8,11 +8,13 @@ Name[da]=Wi-Fi Name[de]=Wi-Fi Name[en_GB]=Wi-Fi Name[es]=Wi-Fi +Name[et]=Wi-Fi Name[eu]=Wi-Fi Name[fi]=Langaton verkko Name[fr]=Wi-Fi Name[gl]=Sen fíos Name[hu]=Wi-Fi +Name[ia]=Wi-Fi Name[id]=Wi-Fi Name[it]=Wi-fi Name[ko]=Wi-Fi @@ -25,6 +27,7 @@ Name[pt_BR]=Wi-Fi Name[ru]=Wi-Fi Name[sk]=Wi-Fi Name[sv]=WIFI +Name[tg]=Wi-Fi Name[uk]=Wi-Fi Name[x-test]=xxWi-Fixx Name[zh_CN]=Wi-Fi @@ -37,6 +40,7 @@ Comment[da]=Opsætning af trådløst net Comment[de]=Einstellungen für drahtloses Netzwerk Comment[en_GB]=Wireless network setting Comment[es]=Preferencias de la red inalámbrica +Comment[et]=Juhtmeta võrgu seadistus Comment[eu]=Haririk gabeko sare ezarpena Comment[fi]=Langattoman verkon asetukset Comment[fr]=Paramètre du réseau sans fil @@ -54,6 +58,7 @@ Comment[pt_BR]=Configurações da rede s Comment[ru]=Параметры беспроводного соединения Comment[sk]=Nastavenia bezdrôtovej siete Comment[sv]=Trådlös nätverksinställning +Comment[tg]=Танзимоти шабакаи бесим Comment[uk]=Налаштовування бездротової мережі Comment[x-test]=xxWireless network settingxx Comment[zh_CN]=无线网络设置
  56. Download patch debian/salsa-ci.yml

    --- 4:5.17.5-2/debian/salsa-ci.yml 2020-01-17 07:44:59.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -include: -- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml -- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml -variables: - SALSA_CI_DISABLE_MISSING_BREAKS: 'no' - SALSA_CI_DISABLE_RC_BUGS: 'no'
  57. Download patch libs/editor/mobileproviders.cpp

    --- 4:5.17.5-2/libs/editor/mobileproviders.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/mobileproviders.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -89,7 +89,7 @@ MobileProviders::~MobileProviders() QStringList MobileProviders::getCountryList() const { QStringList temp = mCountries.values(); - qSort(temp.begin(), temp.end(), localeAwareCompare); + std::sort(temp.begin(), temp.end(), localeAwareCompare); return temp; }
  58. Download patch libs/configuration.cpp

    --- 4:5.17.5-2/libs/configuration.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/configuration.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -22,12 +22,15 @@ #include <KConfigGroup> #include <KSharedConfig> +#include <KUser> -Q_GLOBAL_STATIC_WITH_ARGS(KSharedConfigPtr, config, (KSharedConfig::openConfig(QLatin1String("plasma-nm")))) +static bool propManageVirtualConnectionsInitialized = false; +static bool propManageVirtualConnections = false; bool Configuration::unlockModemOnDetection() { - KConfigGroup grp(*config, QLatin1String("General")); + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); if (grp.isValid()) { return grp.readEntry(QLatin1String("UnlockModemOnDetection"), true); @@ -38,7 +41,8 @@ bool Configuration::unlockModemOnDetecti void Configuration::setUnlockModemOnDetection(bool unlock) { - KConfigGroup grp(*config, QLatin1String("General")); + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); if (grp.isValid()) { grp.writeEntry(QLatin1String("UnlockModemOnDetection"), unlock); @@ -47,10 +51,19 @@ void Configuration::setUnlockModemOnDete bool Configuration::manageVirtualConnections() { - KConfigGroup grp(*config, QLatin1String("General")); + // Avoid reading from the config file over and over + if (propManageVirtualConnectionsInitialized) { + return propManageVirtualConnections; + } + + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); if (grp.isValid()) { - return grp.readEntry(QLatin1String("ManageVirtualConnections"), false); + propManageVirtualConnections = grp.readEntry(QLatin1String("ManageVirtualConnections"), false); + propManageVirtualConnectionsInitialized = true; + + return propManageVirtualConnections; } return true; @@ -58,10 +71,12 @@ bool Configuration::manageVirtualConnect void Configuration::setManageVirtualConnections(bool manage) { - KConfigGroup grp(*config, QLatin1String("General")); + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); if (grp.isValid()) { grp.writeEntry(QLatin1String("ManageVirtualConnections"), manage); + propManageVirtualConnections = manage; } } @@ -72,7 +87,8 @@ bool Configuration::airplaneModeEnabled( const bool isWifiDisabled = !NetworkManager::isWirelessEnabled() || !NetworkManager::isWirelessHardwareEnabled(); const bool isWwanDisabled = !NetworkManager::isWwanEnabled() || !NetworkManager::isWwanHardwareEnabled(); - KConfigGroup grp(*config, QLatin1String("General")); + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); if (grp.isValid()) { if (grp.readEntry(QLatin1String("AirplaneModeEnabled"), false)) { @@ -90,16 +106,87 @@ bool Configuration::airplaneModeEnabled( void Configuration::setAirplaneModeEnabled(bool enabled) { - KConfigGroup grp(*config, QLatin1String("General")); + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); if (grp.isValid()) { grp.writeEntry(QLatin1String("AirplaneModeEnabled"), enabled); } } +QString Configuration::hotspotName() +{ + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); + KUser currentUser; + + const QString defaultName = currentUser.loginName() + QLatin1String("-hotspot"); + + if (grp.isValid()) { + return grp.readEntry(QLatin1String("HotspotName"), defaultName); + } + + return defaultName; +} + +void Configuration::setHotspotName(const QString &name) +{ + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); + + if (grp.isValid()) { + grp.writeEntry(QLatin1String("HotspotName"), name); + } +} + +QString Configuration::hotspotPassword() +{ + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); + + if (grp.isValid()) { + return grp.readEntry(QLatin1String("HotspotPassword"), QString()); + } + + return QString(); +} + +void Configuration::setHotspotPassword(const QString &password) +{ + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); + + if (grp.isValid()) { + grp.writeEntry(QLatin1String("HotspotPassword"), password); + } +} + +QString Configuration::hotspotConnectionPath() +{ + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); + + if (grp.isValid()) { + return grp.readEntry(QLatin1String("HotspotConnectionPath"), QString()); + } + + return QString(); +} + +void Configuration::setHotspotConnectionPath(const QString &path) +{ + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); + + if (grp.isValid()) { + grp.writeEntry(QLatin1String("HotspotConnectionPath"), path); + } +} + bool Configuration::showPasswordDialog() { - KConfigGroup grp(*config, QLatin1String("General")); + KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("plasma-nm")); + KConfigGroup grp(config, QLatin1String("General")); if (grp.isValid()) { return grp.readEntry(QLatin1String("ShowPasswordDialog"), true);
  59. Download patch po/ca/plasmanetworkmanagement-kded.po
  60. Download patch libs/editor/widgets/ssidcombobox.cpp

    --- 4:5.17.5-2/libs/editor/widgets/ssidcombobox.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/widgets/ssidcombobox.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -95,7 +95,7 @@ void SsidComboBox::init(const QString &s } } - qSort(networks.begin(), networks.end(), signalCompare); + std::sort(networks.begin(), networks.end(), signalCompare); addSsidsToCombo(networks); int index = findData(m_initialSsid);
  61. Download patch mobile/broadband/package/metadata.desktop

    --- 4:5.17.5-2/mobile/broadband/package/metadata.desktop 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/broadband/package/metadata.desktop 2020-03-31 14:27:23.000000000 +0000 @@ -8,11 +8,13 @@ Name[da]=Mobilt bredbånd Name[de]=Mobiles Breitband Name[en_GB]=Mobile Broadband Name[es]=Banda ancha móvil +Name[et]=Mobiilandmeside Name[eu]=Mugikorreko banda-zabala Name[fi]=Mobiililaajakaista Name[fr]=Haut débit mobile Name[gl]=Banda larga móbil Name[hu]=Mobil szélessáv +Name[ia]=Banda large mobile Name[id]=Mobile Broadband Name[it]=Banda larga mobile Name[ko]=모바일 광대역 @@ -37,6 +39,7 @@ Comment[da]=Opsætning af mobilt bredbå Comment[de]=Einstellungen für Mobiles Breitband Comment[en_GB]=Mobile broadband setting Comment[es]=Preferencias de banda ancha móvil +Comment[et]=Mobiilandmeside seadistus Comment[eu]=Mugikorreko banda-zabaleko ezarpena Comment[fi]=Mobiililaajakaista-asetukset Comment[fr]=Paramètre haut débit mobile @@ -52,7 +55,7 @@ Comment[pl]=Ustawienia sieci komórkowej Comment[pt]=Configuração da banda larga móvel Comment[pt_BR]=Configurações da banda larga móvel Comment[ru]=Параметры мобильного интернета -Comment[sk]=Nastavenia mobilného širokopásmového pripojenia +Comment[sk]=Nastavenie mobilného širokopásmového pripojenia Comment[sv]=Inställning av mobilt bredband Comment[uk]=Налаштовування мобільної радіомережі Comment[x-test]=xxMobile broadband settingxx
  62. Download patch po/bg/plasmanetworkmanagement-libs.po
  63. Download patch libs/editor/settings/ipv6widget.cpp

    --- 4:5.17.5-2/libs/editor/settings/ipv6widget.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/ipv6widget.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -69,7 +69,7 @@ IPv6Widget::IPv6Widget(const NetworkMana m_ui->setupUi(this); m_ui->tableViewAddresses->setModel(&d->model); - m_ui->tableViewAddresses->horizontalHeader()->setResizeMode(QHeaderView::Interactive); + m_ui->tableViewAddresses->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); m_ui->tableViewAddresses->horizontalHeader()->setStretchLastSection(true); IpV6Delegate *ipDelegate = new IpV6Delegate(this);
  64. Download patch po/ca@valencia/plasmanetworkmanagement-libs.po
  65. Download patch kcm/qml/Dialog.qml

    --- 4:5.17.5-2/kcm/qml/Dialog.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kcm/qml/Dialog.qml 1970-01-01 00:00:00.000000000 +0000 @@ -1,192 +0,0 @@ -/* - Copyright 2016 Jan Grulich <jgrulich@redhat.com> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see <http://www.gnu.org/licenses/>. -*/ - -import QtQuick 2.3 -import QtQuick.Dialogs 1.2 -import QtQuick.Controls 1.2 as QtControls -import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons -import org.kde.plasma.core 2.0 as PlasmaCore -import org.kde.plasma.extras 2.0 as PlasmaExtras -import org.kde.plasma.networkmanagement 0.2 as PlasmaNM - -Dialog { - id: dialog - title: i18nc("@title:window", "Choose a Connection Type") - - signal requestCreateConnection(int type, string vpnType, string specificType, bool shared) - - contentItem: Item { - implicitHeight: 600 - implicitWidth: 500 - - PlasmaNM.CreatableConnectionsModel { - id: connectionModel - } - - Rectangle { - id: background - anchors.fill: parent - focus: true - color: baseColor - } - - QtControls.ScrollView { - id: scrollView - anchors { - bottom: buttonRow.top - bottomMargin: Math.round(units.gridUnit / 2) - left: parent.left - right: parent.right - top: parent.top - } - - ListView { - id: view - - property int currentlySelectedIndex: -1 - property bool connectionShared - property string connectionSpecificType - property int connectionType - property string connectionVpnType - - anchors.fill: parent - clip: true - model: connectionModel - currentIndex: -1 - boundsBehavior: Flickable.StopAtBounds - section.property: "ConnectionTypeSection" - section.delegate: Header { text: section } - delegate: ListItem { - checked: mouseArea.containsMouse || view.currentlySelectedIndex == index - height: connectionTypeBase.height - - Item { - id: connectionTypeBase - - anchors { - left: parent.left - right: parent.right - top: parent.top - // Reset top margin from PlasmaComponents.ListItem - topMargin: -Math.round(units.gridUnit / 3) - } - height: Math.max(units.iconSizes.medium, connectionNameLabel.height + connectionDescriptionLabel.height) + Math.round(units.gridUnit / 2) - - KQuickControlsAddons.QIconItem { - id: connectionIcon - - anchors { - left: parent.left - verticalCenter: parent.verticalCenter - } - height: units.iconSizes.medium; width: height - icon: ConnectionIcon - } - - Text { - id: connectionNameLabel - - anchors { - bottom: ConnectionType == 11 ? connectionIcon.verticalCenter : undefined - left: connectionIcon.right - leftMargin: Math.round(units.gridUnit / 2) - right: parent.right - verticalCenter: ConnectionType == 11 ? undefined : parent.verticalCenter - } - color: textColor - height: paintedHeight - elide: Text.ElideRight - text: ConnectionTypeName - textFormat: Text.PlainText - } - - Text { - id: connectionDescriptionLabel - - anchors { - left: connectionIcon.right - leftMargin: Math.round(units.gridUnit / 2) - right: parent.right - top: connectionNameLabel.bottom - } - color: textColor - height: visible ? paintedHeight : 0 - elide: Text.ElideRight - font.pointSize: theme.smallestFont.pointSize - opacity: 0.6 - text: ConnectionDescription - visible: ConnectionType == 11 // VPN - } - } - - MouseArea { - id: mouseArea - anchors.fill: parent - hoverEnabled: true - - onClicked: { - createButton.enabled = true - view.currentlySelectedIndex = index - view.connectionSpecificType = ConnectionSpecificType - view.connectionShared = ConnectionShared - view.connectionType = ConnectionType - view.connectionVpnType = ConnectionVpnType - } - - onDoubleClicked: { - dialog.close() - dialog.requestCreateConnection(view.connectionType, view.connectionVpnType, view.connectionSpecificType, view.connectionShared) - } - } - } - } - } - - Row { - id: buttonRow - anchors { - bottom: parent.bottom - right: parent.right - margins: Math.round(units.gridUnit / 2) - } - spacing: Math.round(units.gridUnit / 2) - - QtControls.Button { - id: createButton - enabled: false - text: i18n("Create") - - onClicked: { - dialog.close() - dialog.requestCreateConnection(view.connectionType, view.connectionVpnType, view.connectionSpecificType, view.connectionShared) - } - } - - QtControls.Button { - id: cancelButton - text: i18n("Cancel") - - onClicked: { - dialog.close() - } - } - } - } -}
  66. Download patch applet/contents/ui/main.qml

    --- 4:5.17.5-2/applet/contents/ui/main.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/contents/ui/main.qml 2020-03-31 14:27:23.000000000 +0000 @@ -47,9 +47,8 @@ Item { function action_openKCM() { KCMShell.open(kcm) - - } + function action_showPortal() { Qt.openUrlExternally("http://networkcheck.kde.org") } @@ -58,6 +57,7 @@ Item { if (kcmAuthorized) { plasmoid.setAction("openKCM", i18n("&Configure Network Connections..."), "preferences-system-network"); } + plasmoid.removeAction("configure"); plasmoid.setAction("showPortal", i18n("Open Network Login Page..."), "internet-services"); var action = plasmoid.action("showPortal"); @@ -74,27 +74,14 @@ Item { PlasmaNM.Handler { id: handler - onWirelessScanTimerEnabled: { - if (enabled) { - scanTimer.restart() - } else { - scanTimer.stop() - } - } } Timer { id: scanTimer - interval: 15000 + interval: 10200 repeat: true running: plasmoid.expanded && !connectionIconProvider.airplaneMode onTriggered: handler.requestScan() } - - PlasmaNM.Configuration { - id: configuration - unlockModemOnDetection: plasmoid.configuration.unlockModemOnDetection - manageVirtualConnections: plasmoid.configuration.manageVirtualConnections - } }
  67. Download patch kded/passworddialog.ui

    --- 4:5.17.5-2/kded/passworddialog.ui 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/passworddialog.ui 2020-03-31 14:27:23.000000000 +0000 @@ -52,6 +52,9 @@ <property name="text"> <string notr="true">TextLabel</string> </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> </widget> </item> <item> @@ -71,6 +74,9 @@ <property name="text"> <string notr="true">TextLabel</string> </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> <property name="wordWrap"> <bool>true</bool> </property>
  68. Download patch mobile/wifi/package/contents/ui/ConnectionItemDelegate.qml

    --- 4:5.17.5-2/mobile/wifi/package/contents/ui/ConnectionItemDelegate.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/wifi/package/contents/ui/ConnectionItemDelegate.qml 2020-03-31 14:27:23.000000000 +0000 @@ -27,7 +27,6 @@ import org.kde.kirigami 2.2 as Kirigami Kirigami.SwipeListItem { enabled: true - //backgroundColor: theme.backgroundColor property var map : [] property bool predictableWirelessPassword: !Uuid && Type == PlasmaNM.Enums.Wireless && @@ -73,8 +72,6 @@ Kirigami.SwipeListItem { Layout.fillWidth: true visible: !connectionPasswordField.visible elide: Text.ElideRight - font.weight: ConnectionState == PlasmaNM.Enums.Activated ? Font.DemiBold : Font.Normal - font.italic: ConnectionState == PlasmaNM.Enums.Activating ? true : false text: ItemUniqueName textFormat: Text.PlainText } @@ -117,7 +114,7 @@ Kirigami.SwipeListItem { Kirigami.Action { iconName: "entry-delete" visible: (Uuid != "")? true : false - onTriggered: forgetNetwork() + onTriggered: handler.removeConnection(ConnectionPath) } ] @@ -149,10 +146,4 @@ Kirigami.SwipeListItem { connectionPasswordField.visible = true; } } - - function forgetNetwork() { - deleteConnectionDialog.name = ItemUniqueName - deleteConnectionDialog.dbusPath = ConnectionPath - deleteConnectionDialog.open() - } }
  69. Download patch po/ca@valencia/plasma_applet_org.kde.plasma.networkmanagement.po

    --- 4:5.17.5-2/po/ca@valencia/plasma_applet_org.kde.plasma.networkmanagement.po 2020-01-07 15:41:27.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ca@valencia/plasma_applet_org.kde.plasma.networkmanagement.po 2020-03-31 14:27:39.000000000 +0000 @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: plasma_applet_org.kde.plasma.networkmanagement\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-08-23 03:16+0200\n" +"POT-Creation-Date: 2020-01-16 03:42+0100\n" "PO-Revision-Date: 2019-07-18 10:57+0200\n" "Last-Translator: Empar Montoro Martín <montoro_mde@gva.es>\n" "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" @@ -23,21 +23,6 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Accelerator-Marker: &\n" -#: contents/config/config.qml:29 -#, kde-format -msgid "General" -msgstr "General" - -#: contents/ui/configGeneral.qml:39 -#, kde-format -msgid "Ask for PIN on modem detection" -msgstr "Demana un PIN en detectar un mòdem" - -#: contents/ui/configGeneral.qml:47 -#, kde-format -msgid "Show virtual connections" -msgstr "Mostra les connexions virtuals" - #: contents/ui/ConnectionItem.qml:116 #, kde-format msgid "Connect" @@ -95,7 +80,7 @@ msgstr "Connexions disponibles" msgid "Networks" msgstr "Xarxes" -#: contents/ui/main.qml:59 +#: contents/ui/main.qml:58 #, kde-format msgid "&Configure Network Connections..." msgstr "&Configura les connexions de xarxa..." @@ -110,33 +95,48 @@ msgstr "Obri la pàgina de connexió a l msgid "Password..." msgstr "Contrasenya..." -#: contents/ui/Toolbar.qml:71 +#: contents/ui/Toolbar.qml:76 #, kde-format msgid "Enable wireless" msgstr "Activa la xarxa sense fil" -#: contents/ui/Toolbar.qml:85 +#: contents/ui/Toolbar.qml:90 #, kde-format msgid "Enable mobile network" msgstr "Activa la xarxa mòbil" -#: contents/ui/Toolbar.qml:101 +#: contents/ui/Toolbar.qml:106 #, kde-format msgid "Enable airplane mode" msgstr "Activa el mode avió" -#: contents/ui/Toolbar.qml:130 +#: contents/ui/Toolbar.qml:142 +#, kde-format +msgid "Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:163 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Disable Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:168 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Create Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:188 #, kde-format msgctxt "button tooltip" msgid "Search the connections" msgstr "Busca les connexions" -#: contents/ui/Toolbar.qml:137 +#: contents/ui/Toolbar.qml:202 #, kde-format msgid "Configure network connections..." msgstr "Configura les connexions de xarxa..." -#: contents/ui/Toolbar.qml:158 +#: contents/ui/Toolbar.qml:223 #, kde-format msgctxt "text field placeholder text" msgid "Search..."
  70. Download patch libs/models/mobileproxymodel.cpp

    --- 4:5.17.5-2/libs/models/mobileproxymodel.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/models/mobileproxymodel.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -64,7 +64,7 @@ bool MobileProxyModel::filterAcceptsRow( return itemType == NetworkModelItem::UnavailableConnection; } else { if (sourceModel()->data(index,NetworkModel::SignalRole).toUInt() == 0) - return false; // if signal is 0 yet we still have connection, it means local access point -> we dont want to show that + return false; // if signal is 0 yet we still have connection, it means local access point -> we don't want to show that return itemType >= NetworkModelItem::AvailableConnection; } }
  71. Download patch kded/service.cpp

    --- 4:5.17.5-2/kded/service.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/service.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -53,6 +53,9 @@ NetworkManagementService::NetworkManagem Q_D(NetworkManagementService); connect(this, &KDEDModule::moduleRegistered, this, &NetworkManagementService::slotRegistered); + + d->agent = new SecretAgent(this); + connect(d->agent, &SecretAgent::secretsError, this, &NetworkManagementService::secretsError); } NetworkManagementService::~NetworkManagementService() @@ -64,11 +67,6 @@ void NetworkManagementService::init() { Q_D(NetworkManagementService); - if (!d->agent) { - d->agent = new SecretAgent(this); - connect(d->agent, &SecretAgent::secretsError, this, &NetworkManagementService::secretsError); - } - if (!d->notification) { d->notification = new Notification(this); }
  72. Download patch libs/handler.h

    --- 4:5.17.5-2/libs/handler.h 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/handler.h 2020-03-31 14:27:23.000000000 +0000 @@ -45,12 +45,17 @@ public: DeactivateConnection, RemoveConnection, RequestScan, - UpdateConnection + UpdateConnection, + CreateHotspot, }; explicit Handler(QObject* parent = nullptr); ~Handler() override; + Q_PROPERTY(bool hotspotSupported READ hotspotSupported NOTIFY hotspotSupportedChanged); +public: + bool hotspotSupported() const { return m_hotspotSupported; }; + public Q_SLOTS: /** * Activates given connection @@ -116,18 +121,26 @@ public Q_SLOTS: void updateConnection(const NetworkManager::Connection::Ptr &connection, const NMVariantMapMap &map); void requestScan(const QString &interface = QString()); + void createHotspot(); + void stopHotspot(); + private Q_SLOTS: void initKdedModule(); void secretAgentError(const QString &connectionPath, const QString &message); void replyFinished(QDBusPendingCallWatcher *watcher); + void hotspotCreated(QDBusPendingCallWatcher *watcher); + void primaryConnectionTypeChanged(NetworkManager::ConnectionSettings::ConnectionType type); #if WITH_MODEMMANAGER_SUPPORT void unlockRequiredChanged(MMModemLock modemLock); #endif Q_SIGNALS: - void wirelessScanTimerEnabled(bool enable); void connectionActivationFailed(const QString &connectionPath, const QString &message); + void hotspotCreated(); + void hotspotDisabled(); + void hotspotSupportedChanged(bool hotspotSupported); private: + bool m_hotspotSupported; bool m_tmpWirelessEnabled; bool m_tmpWwanEnabled; #if WITH_MODEMMANAGER_SUPPORT @@ -137,11 +150,13 @@ private: QString m_tmpDevicePath; QString m_tmpSpecificPath; QMap<QString, bool> m_bluetoothAdapters; - QTimer m_wirelessScanRetryTimer; + QMap<QString, QTimer*> m_wirelessScanRetryTimer; void enableBluetooth(bool enable); void scanRequestFailed(const QString &interface); - + bool checkRequestScanRateLimit(const NetworkManager::WirelessDevice::Ptr &wifiDevice); + bool checkHotspotSupported(); + void scheduleRequestScan(const QString &interface, int timeout); }; #endif // PLASMA_NM_HANDLER_H
  73. Download patch kcm/CMakeLists.txt

    --- 4:5.17.5-2/kcm/CMakeLists.txt 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kcm/CMakeLists.txt 2020-03-31 14:27:23.000000000 +0000 @@ -30,8 +30,9 @@ install(TARGETS kcm_networkmanagement D install( FILES kcm_networkmanagement.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) install( FILES + qml/AddConnectionDialog.qml + qml/ConfigurationDialog.qml qml/ConnectionItem.qml - qml/Dialog.qml qml/Header.qml qml/ListItem.qml qml/main.qml
  74. Download patch applet/contents/ui/configGeneral.qml

    --- 4:5.17.5-2/applet/contents/ui/configGeneral.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/contents/ui/configGeneral.qml 1970-01-01 00:00:00.000000000 +0000 @@ -1,52 +0,0 @@ -/* - Copyright 2017 Jan Grulich <jgrulich@redhat.com> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see <http://www.gnu.org/licenses/>. -*/ - -import QtQuick 2.5 -import QtQuick.Controls 2.5 as QQC2 - -import org.kde.kirigami 2.5 as Kirigami - -Kirigami.FormLayout { - id: generalPage - - anchors.left: parent.left - anchors.right: parent.right - - signal configurationChanged - - property alias cfg_unlockModemOnDetection: unlockModem.checked - property alias cfg_manageVirtualConnections: manageVirtualConnections.checked - - QQC2.CheckBox { - id: unlockModem - text: i18n("Ask for PIN on modem detection") - onClicked: { - generalPage.configurationChanged() - } - } - - QQC2.CheckBox { - id: manageVirtualConnections - text: i18n("Show virtual connections") - onClicked: { - generalPage.configurationChanged() - } - } -}
  75. Download patch applet/contents/ui/DetailsText.qml

    --- 4:5.17.5-2/applet/contents/ui/DetailsText.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/applet/contents/ui/DetailsText.qml 2020-03-31 14:27:23.000000000 +0000 @@ -79,8 +79,7 @@ Item { height: paintedHeight font.pointSize: theme.smallestFont.pointSize horizontalAlignment: Text.AlignRight - opacity: 0.6 - text: "<b>" + details[index*2] + "</b>: &nbsp" + text: details[index*2] + ": " Component.onCompleted: { if (paintedWidth > repeater.longestString) { @@ -100,7 +99,6 @@ Item { height: paintedHeight elide: Text.ElideRight font.pointSize: theme.smallestFont.pointSize - opacity: 0.6 text: details[(index*2)+1] textFormat: Text.PlainText
  76. Download patch po/ca/plasmanetworkmanagement-kcm.po

    --- 4:5.17.5-2/po/ca/plasmanetworkmanagement-kcm.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ca/plasmanetworkmanagement-kcm.po 2020-03-31 14:27:39.000000000 +0000 @@ -1,15 +1,15 @@ # Translation of plasmanetworkmanagement-kcm.po to Catalan -# Copyright (C) 2017-2019 This_file_is_part_of_KDE +# Copyright (C) 2017-2020 This_file_is_part_of_KDE # This file is distributed under the license LGPL version 2.1 or # version 3 or later versions approved by the membership of KDE e.V. # -# Josep Ma. Ferrer <txemaq@gmail.com>, 2017, 2019. +# Josep Ma. Ferrer <txemaq@gmail.com>, 2017, 2019, 2020. msgid "" msgstr "" "Project-Id-Version: plasmanetworkmanagement-kcm\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2020-01-04 08:51+0100\n" -"PO-Revision-Date: 2019-01-12 10:48+0100\n" +"POT-Creation-Date: 2020-02-22 08:22+0100\n" +"PO-Revision-Date: 2020-01-16 20:53+0100\n" "Last-Translator: Josep Ma. Ferrer <txemaq@gmail.com>\n" "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" "Language: ca\n" @@ -20,32 +20,78 @@ msgstr "" "X-Accelerator-Marker: &\n" "X-Generator: Lokalize 2.0\n" -#: kcm.cpp:330 +#: kcm.cpp:362 #, kde-format msgid "my_shared_connection" msgstr "la_meva_connexió_compartida" -#: kcm.cpp:392 +#: kcm.cpp:424 #, kde-format msgid "Export VPN Connection" msgstr "Exportació de la connexió VPN" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgid "Do you want to save changes made to the connection '%1'?" msgstr "Voleu desar els canvis efectuats a la connexió «%1»?" -#: kcm.cpp:412 +#: kcm.cpp:444 #, kde-format msgctxt "@title:window" msgid "Save Changes" msgstr "Desa els canvis" -#: kcm.cpp:501 +#: kcm.cpp:533 #, kde-format msgid "Import VPN Connection" msgstr "Importació d'una connexió VPN" +#: qml/AddConnectionDialog.qml:31 +msgctxt "@title:window" +msgid "Choose a Connection Type" +msgstr "Trieu un tipus de connexió" + +#: qml/AddConnectionDialog.qml:174 +msgid "Create" +msgstr "Crea" + +#: qml/AddConnectionDialog.qml:184 qml/ConfigurationDialog.qml:130 +msgid "Cancel" +msgstr "Cancel·la" + +#: qml/ConfigurationDialog.qml:30 +msgctxt "@title:window" +msgid "Configuration" +msgstr "Configuració" + +#: qml/ConfigurationDialog.qml:55 +msgid "General" +msgstr "General" + +#: qml/ConfigurationDialog.qml:60 +msgid "Ask for PIN on modem detection" +msgstr "Demana un PIN en detectar un mòdem" + +#: qml/ConfigurationDialog.qml:67 +msgid "Show virtual connections" +msgstr "Mostra les connexions virtuals" + +#: qml/ConfigurationDialog.qml:75 +msgid "Hotspot" +msgstr "Punt d'accés" + +#: qml/ConfigurationDialog.qml:81 +msgid "Hotspot name:" +msgstr "Nom del punt d'accés:" + +#: qml/ConfigurationDialog.qml:91 +msgid "Hotspot password:" +msgstr "Contrasenya del punt d'accés:" + +#: qml/ConfigurationDialog.qml:121 +msgid "Ok" +msgstr "D'acord" + #: qml/ConnectionItem.qml:112 msgid "Connect" msgstr "Connecta" @@ -70,40 +116,31 @@ msgstr "Connectat" msgid "Connecting" msgstr "Connectant" -#: qml/Dialog.qml:31 -msgctxt "@title:window" -msgid "Choose a Connection Type" -msgstr "Trieu un tipus de connexió" - -#: qml/Dialog.qml:174 -msgid "Create" -msgstr "Crea" - -#: qml/Dialog.qml:184 -msgid "Cancel" -msgstr "Cancel·la" - -#: qml/main.qml:68 +#: qml/main.qml:72 msgid "Search..." msgstr "Cerca..." -#: qml/main.qml:143 +#: qml/main.qml:151 msgid "Add new connection" msgstr "Afegeix una connexió nova" -#: qml/main.qml:155 +#: qml/main.qml:165 msgid "Remove selected connection" msgstr "Elimina la connexió seleccionada" -#: qml/main.qml:169 +#: qml/main.qml:181 msgid "Export selected connection" msgstr "Exporta la connexió seleccionada" -#: qml/main.qml:185 +#: qml/main.qml:205 +msgid "Configuration" +msgstr "Configuració" + +#: qml/main.qml:233 msgctxt "@title:window" msgid "Remove Connection" msgstr "Elimina la connexió" -#: qml/main.qml:186 +#: qml/main.qml:234 msgid "Do you want to remove the connection '%1'?" msgstr "Voleu eliminar la connexió «%1»?" \ No newline at end of file
  77. Download patch kcm/qml/ConfigurationDialog.qml

    --- 4:5.17.5-2/kcm/qml/ConfigurationDialog.qml 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kcm/qml/ConfigurationDialog.qml 2020-03-31 14:27:23.000000000 +0000 @@ -0,0 +1,163 @@ +/* + Copyright 2019 Jan Grulich <jgrulich@redhat.com> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. +*/ + +import QtQuick 2.5 +import QtQuick.Dialogs 1.2 +import QtQuick.Controls 2.5 as QQC2 +import org.kde.kirigami 2.5 as Kirigami +import org.kde.plasma.networkmanagement 0.2 as PlasmaNM + +Dialog { + id: configurationDialog + standardButtons: Dialog.Ok | Dialog.Cancel + title: i18nc("@title:window", "Configuration") + + PlasmaNM.Configuration { + id: configuration + } + + contentItem: Item { + implicitHeight: 200 + implicitWidth: 400 + + Rectangle { + id: background + anchors.fill: parent + focus: true + color: baseColor + } + + Kirigami.FormLayout { + anchors.left: parent.left + anchors.right: parent.right + anchors.topMargin: units.gridUnit + + Kirigami.Heading { + id: generalLabel + level: 2 + text: i18n("General") + } + + QQC2.CheckBox { + id: unlockModem + text: i18n("Ask for PIN on modem detection") + onClicked: configurationChanged() + Component.onCompleted: checked = configuration.unlockModemOnDetection + } + + QQC2.CheckBox { + id: manageVirtualConnections + text: i18n("Show virtual connections") + onClicked: configurationChanged() + Component.onCompleted: checked = configuration.manageVirtualConnections + } + + Kirigami.Heading { + id: hotspotLabel + level: 2 + text: i18n("Hotspot") + Component.onCompleted: visible = handler.hotspotSupported + } + + QQC2.TextField { + id: hotspotName + Kirigami.FormData.label: i18n("Hotspot name:") + onTextChanged: configurationChanged() + Component.onCompleted: { + text = configuration.hotspotName + visible = handler.hotspotSupported + } + } + + QQC2.TextField { + id: hotspotPassword + Kirigami.FormData.label: i18n("Hotspot password:") + validator: RegExpValidator { + regExp: if (useApMode) { + /^$|^(?:.{8,64}){1}$/ + } else { + /^$|^(?:.{5}|[0-9a-fA-F]{10}|.{13}|[0-9a-fA-F]{26}){1}$/ + } + } + + onAcceptableInputChanged: configurationChanged() + + Component.onCompleted: { + text = configuration.hotspotPassword + visible = handler.hotspotSupported + } + } + } + + Row { + id: buttonRow + anchors { + bottom: parent.bottom + right: parent.right + margins: units.smallSpacing + } + spacing: units.smallSpacing + + QQC2.Button { + id: okButton + enabled: false + text: i18n("Ok") + + onClicked: { + configurationDialog.accept() + } + } + + QQC2.Button { + id: cancelButton + text: i18n("Cancel") + + onClicked: { + configurationDialog.close() + } + } + } + } + + function configurationChanged() { + if (handler.hotspotSupported) { + okButton.enabled = hotspotPassword.acceptableInput && hotspotName.text + } else { + okButton.enabled = true + } + } + + onVisibleChanged: { + if (visible) { + unlockModem.checked = configuration.unlockModemOnDetection + manageVirtualConnections.checked = configuration.manageVirtualConnections + hotspotName.text = configuration.hotspotName + hotspotPassword.text = configuration.hotspotPassword + } + } + + onAccepted: { + configuration.unlockModemOnDetection = unlockModem.checked + configuration.manageVirtualConnections = manageVirtualConnections.checked + configuration.hotspotName = hotspotName.text + configuration.hotspotPassword = hotspotPassword.text + } +} +
  78. Download patch po/bg/plasma_applet_org.kde.plasma.networkmanagement.po

    --- 4:5.17.5-2/po/bg/plasma_applet_org.kde.plasma.networkmanagement.po 2020-01-07 15:41:24.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/bg/plasma_applet_org.kde.plasma.networkmanagement.po 2020-03-31 14:27:37.000000000 +0000 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: plasma_applet_org.kde.networkmanagement\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-08-23 03:16+0200\n" +"POT-Creation-Date: 2020-01-16 03:42+0100\n" "PO-Revision-Date: 2014-05-11 15:08+0200\n" "Last-Translator: Svetoslav Stefanov <svetlisashkov@yahoo.com>\n" "Language-Team: BULGARIAN <svetlisashkov@yahoo.com>\n" @@ -18,22 +18,6 @@ msgstr "" "X-Generator: Poedit 1.5.4\n" "X-Poedit-SourceCharset: UTF-8\n" -#: contents/config/config.qml:29 -#, kde-format -msgid "General" -msgstr "" - -#: contents/ui/configGeneral.qml:39 -#, kde-format -msgid "Ask for PIN on modem detection" -msgstr "" - -#: contents/ui/configGeneral.qml:47 -#, fuzzy, kde-format -#| msgid "Available connections" -msgid "Show virtual connections" -msgstr "Налични връзки" - #: contents/ui/ConnectionItem.qml:116 #, kde-format msgid "Connect" @@ -92,7 +76,7 @@ msgstr "Налични връзки" msgid "Networks" msgstr "Мрежов ИД:" -#: contents/ui/main.qml:59 +#: contents/ui/main.qml:58 #, kde-format msgid "&Configure Network Connections..." msgstr "" @@ -107,35 +91,50 @@ msgstr "" msgid "Password..." msgstr "Парола..." -#: contents/ui/Toolbar.qml:71 +#: contents/ui/Toolbar.qml:76 #, fuzzy, kde-format #| msgid "Wireless" msgid "Enable wireless" msgstr "Безжична" -#: contents/ui/Toolbar.qml:85 +#: contents/ui/Toolbar.qml:90 #, kde-format msgid "Enable mobile network" msgstr "" -#: contents/ui/Toolbar.qml:101 +#: contents/ui/Toolbar.qml:106 #, kde-format msgid "Enable airplane mode" msgstr "" -#: contents/ui/Toolbar.qml:130 +#: contents/ui/Toolbar.qml:142 +#, kde-format +msgid "Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:163 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Disable Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:168 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Create Hotspot" +msgstr "" + +#: contents/ui/Toolbar.qml:188 #, fuzzy, kde-format #| msgid "Active connections" msgctxt "button tooltip" msgid "Search the connections" msgstr "Активни връзки" -#: contents/ui/Toolbar.qml:137 +#: contents/ui/Toolbar.qml:202 #, kde-format msgid "Configure network connections..." msgstr "" -#: contents/ui/Toolbar.qml:158 +#: contents/ui/Toolbar.qml:223 #, kde-format msgctxt "text field placeholder text" msgid "Search..."
  79. Download patch mobile/wifi/package/contents/ui/main.qml

    --- 4:5.17.5-2/mobile/wifi/package/contents/ui/main.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/wifi/package/contents/ui/main.qml 2020-03-31 14:27:23.000000000 +0000 @@ -29,13 +29,6 @@ SimpleKCM { PlasmaNM.Handler { id: handler - onWirelessScanTimerEnabled: { - if (enabled) { - scanTimer.restart() - } else { - scanTimer.stop() - } - } } PlasmaNM.EnabledConnections { @@ -60,7 +53,7 @@ SimpleKCM { Timer { id: scanTimer - interval: 15000 + interval: 10200 repeat: true running: parent.visible @@ -93,8 +86,9 @@ SimpleKCM { currentIndex: -1 boundsBehavior: Flickable.StopAtBounds - header: Kirigami.ListSectionHeader { - text: mobileProxyModel.showSavedMode ? i18n("Saved networks") : i18n("Available networks") + section.property: "Section" + section.delegate: Kirigami.ListSectionHeader { + text: section } model: mobileProxyModel @@ -136,70 +130,4 @@ SimpleKCM { } } ] -/* - footer: Controls.Button { - width: parent.width - text: "ContextualActions" - iconName: "edit" - onClicked: bottomDrawer.open() - } - - Kirigami.OverlayDrawer { - id: bottomDrawer - edge: Qt.BottomEdge - contentItem: Item { - implicitHeight: childrenRect.height + Kirigami.Units.gridUnit - ColumnLayout{ - anchors.centerIn: parent - Controls.Button { - text: "Add custom connection" - onClicked: applicationWindow().pageStack.push(connectionEditorDialogComponent) - } - Controls.Button { - text: "Create Hotspot" - onClicked: showPassiveNotification("Open tethering") - } - Item { - Layout.minimumHeight: Units.gridUnit * 4 - } - } - } - } -*/ - Kirigami.OverlayDrawer { - id: deleteConnectionDialog - property var name - property var dbusPath - edge: Qt.BottomEdge - - contentItem: Column { - anchors.centerIn: parent - spacing: Kirigami.Units.largeSpacing - bottomPadding: Kirigami.Units.largeSpacing - - Controls.Label { - anchors.horizontalCenter: parent.horizontalCenter - text: i18n("Delete connection %1 from device?", deleteConnectionDialog.name) - } - Controls.Button { - text: i18n("Delete") - anchors.horizontalCenter: parent.horizontalCenter - onClicked: { - handler.removeConnection(deleteConnectionDialog.dbusPath) - deleteConnectionDialog.close() - } - } - Controls.Button { - text: i18n("Cancel") - anchors.horizontalCenter: parent.horizontalCenter - onClicked: deleteConnectionDialog.close() - } - } - onVisibleChanged: { - if (!visible) { - deleteConnectionDialog.name = "" - deleteConnectionDialog.dbusPath = "" - } - } - } }
  80. Download patch libs/editor/settings/wireguardpeerwidget.cpp

    --- 4:5.17.5-2/libs/editor/settings/wireguardpeerwidget.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/wireguardpeerwidget.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -238,7 +238,7 @@ void WireGuardPeerWidget::checkEndpointV setBackground(portWidget, WireGuardPeerWidget::BothValid == valid || WireGuardPeerWidget::PortValid == valid); // If there is a ':' in the address string then it is an IPv6 address and - // the output needs to be formatted as '[1:2:3:4:5:6:7:8]:123' otherwhise + // the output needs to be formatted as '[1:2:3:4:5:6:7:8]:123' otherwise // it is formatted as '1.2.3.4:123' or 'ab.com:123' QString stringToStore; if (addressString.contains(":"))
  81. Download patch po/ca@valencia/plasmanetworkmanagement-kded.po
  82. Download patch debian/meta/cmake-ignore

    --- 4:5.17.5-2/debian/meta/cmake-ignore 1970-01-01 00:00:00.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/debian/meta/cmake-ignore 2020-04-02 18:47:30.000000000 +0000 @@ -0,0 +1 @@ +org.kde.prison-QMLModule
  83. Download patch libs/editor/settings/ui/wifisecurity.ui

    --- 4:5.17.5-2/libs/editor/settings/ui/wifisecurity.ui 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/ui/wifisecurity.ui 2020-03-31 14:27:23.000000000 +0000 @@ -58,6 +58,11 @@ <string>WPA/WPA2 Enterprise</string> </property> </item> + <item> + <property name="text"> + <string>WPA3 Personal</string> + </property> + </item> </widget> </item> <item row="0" column="0"> @@ -96,7 +101,7 @@ <property name="maxLength"> <number>26</number> </property> - <property name="passwordModeEnabled"> + <property name="passwordModeEnabled" stdset="0"> <bool>true</bool> </property> </widget> @@ -203,7 +208,7 @@ </item> <item row="1" column="1"> <widget class="PasswordField" name="leapPassword"> - <property name="passwordModeEnabled"> + <property name="passwordModeEnabled" stdset="0"> <bool>true</bool> </property> </widget> @@ -227,7 +232,7 @@ </item> <item row="0" column="1"> <widget class="PasswordField" name="psk"> - <property name="passwordModeEnabled"> + <property name="passwordModeEnabled" stdset="0"> <bool>true</bool> </property> </widget>
  84. Download patch kded/notification.cpp

    --- 4:5.17.5-2/kded/notification.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/notification.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -30,7 +30,6 @@ #include <KLocalizedString> #include <KNotification> -#include <KIconLoader> #include <QDBusConnection> #include <QIcon> @@ -329,16 +328,16 @@ void Notification::stateChanged(NetworkM if (m_notifications.contains(device->uni())) { KNotification *notify = m_notifications.value(device->uni()); - notify->setText(text); + notify->setText(text.toHtmlEscaped()); notify->update(); } else { KNotification *notify = new KNotification(QStringLiteral("DeviceFailed"), KNotification::CloseOnTimeout, this); connect(notify, &KNotification::closed, this, &Notification::notificationClosed); notify->setProperty("uni", device->uni()); notify->setComponentName(QStringLiteral("networkmanagement")); - notify->setPixmap(QIcon::fromTheme(QStringLiteral("dialog-warning")).pixmap(KIconLoader::SizeHuge)); + notify->setIconName(QStringLiteral("dialog-warning")); notify->setTitle(identifier); - notify->setText(text); + notify->setText(text.toHtmlEscaped()); notify->sendEvent(); if (notify->id() != -1) { m_notifications[device->uni()] = notify; @@ -444,7 +443,7 @@ void Notification::onActiveConnectionSta } } notify->setTitle(acName); - notify->setText(text); + notify->setText(text.toHtmlEscaped()); notify->sendEvent(); if (notify->id() != -1) { m_notifications[connectionId] = notify; @@ -520,7 +519,7 @@ void Notification::onVpnConnectionStateC notify->setIconName(QStringLiteral("dialog-warning")); } notify->setTitle(vpnName); - notify->setText(text); + notify->setText(text.toHtmlEscaped()); notify->sendEvent(); if (notify->id() != -1) { m_notifications[connectionId] = notify;
  85. Download patch po/bs/plasmanetworkmanagement-libs.po
  86. Download patch libs/editor/settings/teamwidget.cpp

    --- 4:5.17.5-2/libs/editor/settings/teamwidget.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/teamwidget.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -233,7 +233,7 @@ void TeamWidget::populateTeams() void TeamWidget::importConfig() { - const QString filename = QFileDialog::getOpenFileName(this, i18n("Select file to import"), QDesktopServices::storageLocation(QDesktopServices::HomeLocation), + const QString filename = QFileDialog::getOpenFileName(this, i18n("Select file to import"), QStandardPaths::writableLocation(QStandardPaths::HomeLocation), "text/plain"); if (!filename.isEmpty()) { //qCDebug(PLASMA_NM) << "Importing" << filename;
  87. Download patch libs/declarative/enabledconnections.h

    --- 4:5.17.5-2/libs/declarative/enabledconnections.h 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/declarative/enabledconnections.h 2020-03-31 14:27:23.000000000 +0000 @@ -47,6 +47,7 @@ Q_PROPERTY(bool wwanEnabled READ isWwanE * Indicates if the mobile broadband hardware is currently enabled, i.e. the state of the RF kill switch. */ Q_PROPERTY(bool wwanHwEnabled READ isWwanHwEnabled NOTIFY wwanHwEnabled) + Q_OBJECT public: explicit EnabledConnections(QObject* parent = nullptr);
  88. Download patch po/cs/kcm_mobile_wifi.po
  89. Download patch kcm/qml/main.qml

    --- 4:5.17.5-2/kcm/qml/main.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kcm/qml/main.qml 2020-03-31 14:27:23.000000000 +0000 @@ -20,7 +20,7 @@ import QtQuick 2.1 import QtQuick.Dialogs 1.1 -import QtQuick.Controls 1.2 as QtControls +import QtQuick.Controls 2.5 as QQC2 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.extras 2.0 as PlasmaExtras import org.kde.plasma.networkmanagement 0.2 as PlasmaNM @@ -39,7 +39,7 @@ Item { id: background anchors.fill: parent focus: true - color: baseColor + color: theme.backgroundColor } PlasmaNM.Handler { @@ -56,7 +56,11 @@ Item { sourceModel: connectionModel } - QtControls.TextField { + PlasmaNM.Configuration { + id: configuration + } + + QQC2.TextField { id: searchField anchors { @@ -72,12 +76,14 @@ Item { } } - QtControls.ScrollView { + QQC2.ScrollView { id: scrollView + Component.onCompleted: scrollView.background.visible = true // show frame + anchors { - bottom: buttonRow.top - bottomMargin: Math.round(units.gridUnit / 3) + bottom: rightButtonRow.top + bottomMargin: units.smallSpacing left: parent.left right: parent.right top: searchField.bottom @@ -90,8 +96,9 @@ Item { property string currentConnectionName property string currentConnectionPath - anchors.fill: parent clip: true + focus: true + activeFocusOnTab: true model: editorProxyModel currentIndex: -1 boundsBehavior: Flickable.StopAtBounds @@ -127,32 +134,36 @@ Item { } Row { - id: buttonRow + id: rightButtonRow anchors { bottom: parent.bottom right: parent.right - margins: Math.round(units.gridUnit / 3) + margins: units.smallSpacing } - spacing: Math.round(units.gridUnit / 2) + spacing: units.smallSpacing - QtControls.ToolButton { + QQC2.ToolButton { id: addConnectionButton - iconName: "list-add" - tooltip: i18n("Add new connection") + icon.name: "list-add" + + QQC2.ToolTip.text: i18n("Add new connection") + QQC2.ToolTip.visible: hovered onClicked: { addNewConnectionDialog.open() } } - QtControls.ToolButton { + QQC2.ToolButton { id: removeConnectionButton enabled: connectionView.currentConnectionPath && connectionView.currentConnectionPath.length - iconName: "list-remove" - tooltip: i18n("Remove selected connection") + icon.name: "list-remove" + + QQC2.ToolTip.text: i18n("Remove selected connection") + QQC2.ToolTip.visible: hovered onClicked: { deleteConfirmationDialog.connectionName = connectionView.currentConnectionName @@ -161,12 +172,14 @@ Item { } } - QtControls.ToolButton { + QQC2.ToolButton { id: exportConnectionButton enabled: connectionView.currentConnectionExportable - iconName: "document-export" - tooltip: i18n("Export selected connection") + icon.name: "document-export" + + QQC2.ToolTip.text: i18n("Export selected connection") + QQC2.ToolTip.visible: hovered onClicked: { root.requestExportConnection(connectionView.currentConnectionPath) @@ -174,16 +187,51 @@ Item { } } + Row { + id: leftButtonRow + + anchors { + bottom: parent.bottom + left: parent.left + margins: units.smallSpacing + } + spacing: units.smallSpacing + + QQC2.ToolButton { + id: configureButton + + icon.name: "configure" + + QQC2.ToolTip.text: i18n("Configuration") + QQC2.ToolTip.visible: hovered + + onClicked: { + configurationDialog.open() + } + } + } + MessageDialog { id: deleteConfirmationDialog property string connectionName property string connectionPath + /* Like QString::toHtmlEscaped */ + function toHtmlEscaped(s) { + return s.replace(/[&<>]/g, function (tag) { + return { + '&': '&amp;', + '<': '&lt;', + '>': '&gt;' + }[tag] || tag + }); + } + icon: StandardIcon.Question standardButtons: StandardButton.Ok | StandardButton.Cancel title: i18nc("@title:window", "Remove Connection") - text: i18n("Do you want to remove the connection '%1'?", connectionName) + text: i18n("Do you want to remove the connection '%1'?", toHtmlEscaped(connectionName)) onAccepted: { if (connectionPath == connectionView.currentConnectionPath) { @@ -194,7 +242,7 @@ Item { } } - Dialog { + AddConnectionDialog { id: addNewConnectionDialog onRequestCreateConnection: { @@ -202,6 +250,10 @@ Item { } } + ConfigurationDialog { + id: configurationDialog + } + function deselectConnections() { connectionView.currentConnectionPath = "" }
  90. Download patch po/ast/plasmanetworkmanagement-libs.po
  91. Download patch debian/copyright
  92. Download patch po/cs/plasma_applet_org.kde.plasma.networkmanagement.po

    --- 4:5.17.5-2/po/cs/plasma_applet_org.kde.plasma.networkmanagement.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/cs/plasma_applet_org.kde.plasma.networkmanagement.po 2020-03-31 14:27:40.000000000 +0000 @@ -1,13 +1,13 @@ # Copyright (C) YEAR This_file_is_part_of_KDE # This file is distributed under the same license as the PACKAGE package. -# Vít Pelčák <vit@pelcak.org>, 2014, 2015, 2017, 2018, 2019. +# Vít Pelčák <vit@pelcak.org>, 2014, 2015, 2017, 2018, 2019, 2020. # msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-08-23 03:16+0200\n" -"PO-Revision-Date: 2019-08-21 14:20+0200\n" +"POT-Creation-Date: 2020-01-16 03:42+0100\n" +"PO-Revision-Date: 2020-03-25 18:02+0100\n" "Last-Translator: Vit Pelcak <vit@pelcak.org>\n" "Language-Team: Czech <kde-i18n-doc@kde.org>\n" "Language: cs\n" @@ -15,25 +15,10 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Lokalize 19.04.3\n" +"X-Generator: Lokalize 19.12.3\n" "X-Language: cs_CZ\n" "X-Source-Language: en_US\n" -#: contents/config/config.qml:29 -#, kde-format -msgid "General" -msgstr "Obecné" - -#: contents/ui/configGeneral.qml:39 -#, kde-format -msgid "Ask for PIN on modem detection" -msgstr "Při detekci modemu požádat o PIN" - -#: contents/ui/configGeneral.qml:47 -#, kde-format -msgid "Show virtual connections" -msgstr "Zobrazit virtuální připojení" - #: contents/ui/ConnectionItem.qml:116 #, kde-format msgid "Connect" @@ -91,7 +76,7 @@ msgstr "Dostupná spojení" msgid "Networks" msgstr "Sítě" -#: contents/ui/main.qml:59 +#: contents/ui/main.qml:58 #, kde-format msgid "&Configure Network Connections..." msgstr "&Nastavit síťová spojení..." @@ -106,33 +91,48 @@ msgstr "Otevřít přihlašovací strán msgid "Password..." msgstr "Heslo..." -#: contents/ui/Toolbar.qml:71 +#: contents/ui/Toolbar.qml:76 #, kde-format msgid "Enable wireless" msgstr "Zapnout bezdrátové sítě" -#: contents/ui/Toolbar.qml:85 +#: contents/ui/Toolbar.qml:90 #, kde-format msgid "Enable mobile network" msgstr "Zapnout mobilní síť" -#: contents/ui/Toolbar.qml:101 +#: contents/ui/Toolbar.qml:106 #, kde-format msgid "Enable airplane mode" msgstr "Zapnout režim v Letadle" -#: contents/ui/Toolbar.qml:130 +#: contents/ui/Toolbar.qml:142 +#, kde-format +msgid "Hotspot" +msgstr "Hotspot" + +#: contents/ui/Toolbar.qml:163 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Disable Hotspot" +msgstr "Zakázat hotspot" + +#: contents/ui/Toolbar.qml:168 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Create Hotspot" +msgstr "Vytvořit hotspot" + +#: contents/ui/Toolbar.qml:188 #, kde-format msgctxt "button tooltip" msgid "Search the connections" msgstr "Hledat spojení" -#: contents/ui/Toolbar.qml:137 +#: contents/ui/Toolbar.qml:202 #, kde-format msgid "Configure network connections..." msgstr "Nastavit síťová spojení..." -#: contents/ui/Toolbar.qml:158 +#: contents/ui/Toolbar.qml:223 #, kde-format msgctxt "text field placeholder text" msgid "Search..."
  93. Download patch kded/portalmonitor.cpp

    --- 4:5.17.5-2/kded/portalmonitor.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/portalmonitor.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -40,26 +40,45 @@ PortalMonitor::PortalMonitor(QObject *pa PortalMonitor::~PortalMonitor() { + if (m_notification) { + m_notification->close(); + } } void PortalMonitor::connectivityChanged(NetworkManager::Connectivity connectivity) { if (connectivity == NetworkManager::Portal) { + bool updateOnly = true; NetworkManager::ActiveConnection::Ptr primaryConnection = NetworkManager::primaryConnection(); - KNotification *notification = new KNotification(QStringLiteral("CaptivePortal"), KNotification::Persistent, this); - notification->setActions(QStringList{i18n("Log in")}); - notification->setComponentName(QStringLiteral("networkmanagement")); + + if (!m_notification) { + updateOnly = false; + m_notification = new KNotification(QStringLiteral("CaptivePortal"), KNotification::Persistent, this); + m_notification->setActions(QStringList{i18n("Log in")}); + m_notification->setComponentName(QStringLiteral("networkmanagement")); + m_notification->setText(i18n("You need to log in to this network")); + + connect(m_notification, &KNotification::action1Activated, this, [this] () { + QDesktopServices::openUrl(QUrl("http://networkcheck.kde.org")); + }); + } + if (primaryConnection) { - notification->setTitle(primaryConnection->id()); + m_notification->setTitle(primaryConnection->id()); } else { - notification->setTitle(i18n("Network authentication")); + m_notification->setTitle(i18n("Network authentication")); + } + + if (updateOnly) { + m_notification->update(); + } else { + m_notification->sendEvent(); + } + + } else { + if (m_notification) { + m_notification->close(); } - notification->setText(i18n("You need to log in to this network")); - notification->sendEvent(); - connect(notification, &KNotification::action1Activated, this, [notification] () { - QDesktopServices::openUrl(QUrl("http://networkcheck.kde.org")); - notification->close(); - }); } }
  94. Download patch kded/modemmonitor.cpp

    --- 4:5.17.5-2/kded/modemmonitor.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/modemmonitor.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -45,7 +45,7 @@ class ModemMonitorPrivate { public: - QWeakPointer<PinDialog> dialog; + QPointer<PinDialog> dialog; }; ModemMonitor::ModemMonitor(QObject * parent) @@ -117,35 +117,35 @@ void ModemMonitor::requestPin(MMModemLoc } if (lock == MM_MODEM_LOCK_SIM_PIN) { - d->dialog = new PinDialog(modem, PinDialog::SimPin); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::SimPin)); } else if (lock == MM_MODEM_LOCK_SIM_PIN2) { - d->dialog = new PinDialog(modem, PinDialog::SimPin2); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::SimPin2)); } else if (lock == MM_MODEM_LOCK_SIM_PUK) { - d->dialog = new PinDialog(modem, PinDialog::SimPuk); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::SimPuk)); } else if (lock == MM_MODEM_LOCK_SIM_PUK2 ) { - d->dialog = new PinDialog(modem, PinDialog::SimPuk); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::SimPuk)); } else if (lock == MM_MODEM_LOCK_PH_SP_PIN) { - d->dialog = new PinDialog(modem, PinDialog::ModemServiceProviderPin); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemServiceProviderPin)); } else if (lock == MM_MODEM_LOCK_PH_SP_PUK) { - d->dialog = new PinDialog(modem, PinDialog::ModemServiceProviderPuk); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemServiceProviderPuk)); } else if (lock == MM_MODEM_LOCK_PH_NET_PIN) { - d->dialog = new PinDialog(modem, PinDialog::ModemNetworkPin); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemNetworkPin)); } else if (lock == MM_MODEM_LOCK_PH_NET_PUK) { - d->dialog = new PinDialog(modem, PinDialog::ModemNetworkPuk); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemNetworkPuk)); } else if (lock == MM_MODEM_LOCK_PH_SIM_PIN) { - d->dialog = new PinDialog(modem, PinDialog::ModemPin); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemPin)); } else if (lock == MM_MODEM_LOCK_PH_CORP_PIN) { - d->dialog = new PinDialog(modem, PinDialog::ModemCorporatePin); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemCorporatePin)); } else if (lock == MM_MODEM_LOCK_PH_CORP_PUK) { - d->dialog = new PinDialog(modem, PinDialog::ModemCorporatePuk); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemCorporatePuk)); } else if (lock == MM_MODEM_LOCK_PH_FSIM_PIN) { - d->dialog = new PinDialog(modem, PinDialog::ModemPhFsimPin); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemPhFsimPin)); } else if (lock == MM_MODEM_LOCK_PH_FSIM_PUK) { - d->dialog = new PinDialog(modem, PinDialog::ModemPhFsimPuk); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemPhFsimPuk)); } else if (lock == MM_MODEM_LOCK_PH_NETSUB_PIN) { - d->dialog = new PinDialog(modem, PinDialog::ModemNetworkSubsetPin); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemNetworkSubsetPin)); } else if (lock == MM_MODEM_LOCK_PH_NETSUB_PUK) { - d->dialog = new PinDialog(modem, PinDialog::ModemNetworkSubsetPuk); + d->dialog = QPointer<PinDialog>(new PinDialog(modem, PinDialog::ModemNetworkSubsetPuk)); } if (d->dialog.data()->exec() != QDialog::Accepted) {
  95. Download patch libs/editor/settings/wiredconnectionwidget.h

    --- 4:5.17.5-2/libs/editor/settings/wiredconnectionwidget.h 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/wiredconnectionwidget.h 2020-03-31 14:27:23.000000000 +0000 @@ -35,6 +35,17 @@ class Q_DECL_EXPORT WiredConnectionWidge Q_OBJECT public: + enum LinkNegotiation { + Ignore = 0, + Automatic, + Manual + }; + + enum Duplex { + Half = 0, + Full + }; + explicit WiredConnectionWidget(const NetworkManager::Setting::Ptr &setting, QWidget* parent = nullptr, Qt::WindowFlags f = {}); ~WiredConnectionWidget() override;
  96. Download patch libs/editor/settings/wiredconnectionwidget.cpp

    --- 4:5.17.5-2/libs/editor/settings/wiredconnectionwidget.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/settings/wiredconnectionwidget.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -25,17 +25,13 @@ #include <NetworkManagerQt/Utils> #include <NetworkManagerQt/WiredSetting> +#include <QRandomGenerator> + WiredConnectionWidget::WiredConnectionWidget(const NetworkManager::Setting::Ptr &setting, QWidget* parent, Qt::WindowFlags f): SettingWidget(setting, parent, f), m_widget(new Ui::WiredConnectionWidget) { - qsrand(QTime::currentTime().msec()); - m_widget->setupUi(this); - m_widget->speedLabel->setHidden(true); - m_widget->speed->setHidden(true); - m_widget->duplexLabel->setHidden(true); - m_widget->duplex->setHidden(true); connect(m_widget->btnRandomMacAddr, &QPushButton::clicked, this, &WiredConnectionWidget::generateRandomClonedMac); @@ -43,10 +39,12 @@ WiredConnectionWidget::WiredConnectionWi watchChangedSetting(); // Connect for validity check - connect(m_widget->autonegotiate, &QCheckBox::stateChanged, this, &WiredConnectionWidget::slotWidgetChanged); connect(m_widget->clonedMacAddress, &KLineEdit::textChanged, this, &WiredConnectionWidget::slotWidgetChanged); connect(m_widget->macAddress, &HwAddrComboBox::hwAddressChanged, this, &WiredConnectionWidget::slotWidgetChanged); - connect(m_widget->speed, QOverload<int>::of(&QSpinBox::valueChanged), this, &WiredConnectionWidget::slotWidgetChanged); + connect(m_widget->linkNegotiation, QOverload<int>::of(&QComboBox::currentIndexChanged), this, [this] (int index) { + m_widget->duplex->setEnabled(index == LinkNegotiation::Manual); + m_widget->speed->setEnabled(index == LinkNegotiation::Manual); + }); KAcceleratorManager::manage(this); @@ -74,19 +72,33 @@ void WiredConnectionWidget::loadConfig(c m_widget->mtu->setValue(wiredSetting->mtu()); } - if (!wiredSetting->autoNegotiate()) { - m_widget->autonegotiate->setChecked(false); - - if (wiredSetting->speed()) { - m_widget->speed->setValue(wiredSetting->speed()); + if (wiredSetting->autoNegotiate()) { + m_widget->linkNegotiation->setCurrentIndex(LinkNegotiation::Automatic); + } else if (wiredSetting->speed() && wiredSetting->duplexType() != NetworkManager::WiredSetting::UnknownDuplexType) { + m_widget->linkNegotiation->setCurrentIndex(LinkNegotiation::Manual); + } + + if (wiredSetting->speed()) { + switch(wiredSetting->speed()) { + case 10: + m_widget->speed->setCurrentIndex(0); + break; + case 100: + m_widget->speed->setCurrentIndex(1); + break; + case 1000: + m_widget->speed->setCurrentIndex(2); + break; + case 10000: + m_widget->speed->setCurrentIndex(3); + break; } + } - // Default to "Full" duplex when duplex type is not set - if (wiredSetting->duplexType() == NetworkManager::WiredSetting::Full || wiredSetting->duplexType() == NetworkManager::WiredSetting::UnknownDuplexType) { - m_widget->duplex->setCurrentIndex(0); - } else { - m_widget->duplex->setCurrentIndex(1); - } + if (wiredSetting->duplexType() != NetworkManager::WiredSetting::Half) { + m_widget->duplex->setCurrentIndex(Duplex::Full); + } else { + m_widget->duplex->setCurrentIndex(Duplex::Half); } } @@ -104,30 +116,45 @@ QVariantMap WiredConnectionWidget::setti wiredSetting.setMtu(m_widget->mtu->value()); } - if (m_widget->autonegotiate->isChecked()) { - wiredSetting.setAutoNegotiate(true); + if (m_widget->linkNegotiation->currentIndex() == LinkNegotiation::Automatic || m_widget->linkNegotiation->currentIndex() == LinkNegotiation::Ignore) { wiredSetting.setDuplexType(NetworkManager::WiredSetting::UnknownDuplexType); wiredSetting.setSpeed(0); } else { - wiredSetting.setAutoNegotiate(false); - wiredSetting.setSpeed(m_widget->speed->value()); + switch (m_widget->speed->currentIndex()) { + case 0: + wiredSetting.setSpeed(10); + break; + case 1: + wiredSetting.setSpeed(100); + break; + case 2: + wiredSetting.setSpeed(1000); + break; + case 3: + wiredSetting.setSpeed(10000); + break; + } - if (m_widget->duplex->currentIndex() == 0) { + if (m_widget->duplex->currentIndex() == Duplex::Full) { wiredSetting.setDuplexType(NetworkManager::WiredSetting::Full); } else { wiredSetting.setDuplexType(NetworkManager::WiredSetting::Half); } } + wiredSetting.setAutoNegotiate(m_widget->linkNegotiation->currentIndex() == LinkNegotiation::Automatic); + + return wiredSetting.toMap(); } void WiredConnectionWidget::generateRandomClonedMac() { + auto *generator = QRandomGenerator::global(); QByteArray mac; mac.resize(6); for (int i = 0; i < 6; i++) { - int random = qrand() % 255; + const int random = generator->bounded(255); mac[i] = random; } @@ -149,12 +176,6 @@ bool WiredConnectionWidget::isValid() co return false; } } - - if (!m_widget->autonegotiate->isChecked()) { - if (!m_widget->speed->value()) { - return false; - } - } return true; }
  97. Download patch kded/networkmanagement.notifyrc

    --- 4:5.17.5-2/kded/networkmanagement.notifyrc 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/kded/networkmanagement.notifyrc 2020-03-31 14:27:23.000000000 +0000 @@ -2,6 +2,7 @@ IconName=applications-internet Name=Network management Name[ar]=إدارة الشّبكات +Name[ast]=Xestión de redes Name[bs]=Upravljanje mrežom Name[ca]=Gestió de la xarxa Name[ca@valencia]=Gestió de la xarxa @@ -24,6 +25,7 @@ Name[it]=Gestione della rete Name[ja]=ネットワーク管理 Name[ko]=네트워크 관리 Name[lt]=Tinklo valdymas +Name[ml]=ശൃംഖല നടത്തിപ്പ്‌ Name[nb]=Nettverksstyring Name[nds]=Nettwarkpleeg Name[nl]=Netwerkbeheer @@ -40,6 +42,7 @@ Name[sr@ijekavian]=Управљање м Name[sr@ijekavianlatin]=Upravljanje mrežom Name[sr@latin]=Upravljanje mrežom Name[sv]=Nätverkshantering +Name[tg]=Идоракунии шабака Name[tr]=Ağ yönetimi Name[uk]=Керування мережею Name[x-test]=xxNetwork managementxx @@ -47,6 +50,7 @@ Name[zh_CN]=网络管理 Name[zh_TW]=網路管理 Comment=Network management Comment[ar]=إدارة الشّبكات +Comment[ast]=Xestión de redes Comment[bs]=Upravljanje mrežom Comment[ca]=Gestió de la xarxa Comment[ca@valencia]=Gestió de la xarxa @@ -69,6 +73,7 @@ Comment[it]=Gestione della rete Comment[ja]=ネットワーク管理 Comment[ko]=네트워크 관리 Comment[lt]=Tinklo valdymas +Comment[ml]=ശൃംഖല നടത്തിപ്പ്‌ Comment[nb]=Nettverksstyring Comment[nds]=Nettwarkpleeg Comment[nl]=Netwerkbeheer @@ -85,6 +90,7 @@ Comment[sr@ijekavian]=Управљање Comment[sr@ijekavianlatin]=Upravljanje mrežom Comment[sr@latin]=Upravljanje mrežom Comment[sv]=Nätverkshantering +Comment[tg]=Идоракунии шабака Comment[tr]=Ağ yönetimi Comment[uk]=Керування мережею Comment[x-test]=xxNetwork managementxx @@ -117,6 +123,7 @@ Name[it]=Connessione attivata Name[ja]=接続が有効化されました Name[ko]=연결 활성화됨 Name[lt]=Ryšys aktyvuotas +Name[ml]=ബന്ധം സജീവമാക്കി Name[nb]=Tilkobling aktivert Name[nds]=Verbinnen anmaakt Name[nl]=Verbinding geactiveerd @@ -168,6 +175,7 @@ Name[it]=Connessione disattivata Name[ja]=接続が無効化されました Name[ko]=연결 비활성화됨 Name[lt]=Ryšys išjungtas +Name[ml]=ബന്ധം നിർജ്ജീവമാക്കി Name[nb]=Tilkobling deaktivert Name[nds]=Verbinnen utmaakt Name[nl]=Verbinding gedeactiveerd @@ -219,6 +227,7 @@ Name[it]=Connessione aggiunta Name[ja]=接続が追加されました Name[ko]=연결 추가됨 Name[lt]=Ryšys pridėtas +Name[ml]=ബന്ധം ചേർത്തു Name[nb]=Tilkobling lagt til Name[nds]=Verbinnen toföögt Name[nl]=Verbinding toegevoegd @@ -269,6 +278,7 @@ Name[it]=Connessione rimossa Name[ja]=接続が削除されました Name[ko]=연결 삭제됨 Name[lt]=Ryšys pašalintas +Name[ml]=ബന്ധം നീക്കംചെയ്‌തു Name[nb]=Tilkobling fjernet Name[nds]=Verbinnen wegmaakt Name[nl]=Verbinding verwijderd @@ -319,6 +329,7 @@ Name[it]=Connessione aggiornata Name[ja]=接続が更新されました Name[ko]=연결 업데이트됨 Name[lt]=Ryšys atnaujintas +Name[ml]=ബന്ധം പുതുക്കി Name[nb]=Tilkobling oppdatert Name[nds]=Verbinnen opfrischt Name[nl]=Verbinding bijgewerkt @@ -346,7 +357,7 @@ Action=None [Event/DeviceFailed] Name=Device failed Name[ar]=فشل الجهاز -Name[ast]=El preséu falló +Name[ast]=Falló'l preséu Name[bs]=Uređaj pao Name[ca]=El dispositiu ha fallat Name[ca@valencia]=El dispositiu ha fallat @@ -627,7 +638,7 @@ Name[pl]=Nieudane uzyskiwanie danych pou Name[pt]=Não foi possível obter as senhas Name[pt_BR]=Falha ao obter as senhas Name[ru]=Не удалось получить пароли и ключи -Name[sk]=Zlyhalo získanie secrets +Name[sk]=Zlyhalo získanie tajností Name[sl]=Ni bilo mogoče dobiti skrivnosti Name[sr]=Пропало добављање тајни Name[sr@ijekavian]=Пропало добављање тајни @@ -727,7 +738,7 @@ Name[pl]=Brak wtyczki VPN Name[pt]='Plugin' de VPN em falta Name[pt_BR]=Plugin de VPN ausente Name[ru]=Отсутствует модуль VPN -Name[sk]=Chýba VPN plugin +Name[sk]=Chýba zásuvný modul pre VPN Name[sl]=Manjka vstavek VPN Name[sr]=Недостаје ВПН прикључак Name[sr@ijekavian]=Недостаје ВПН прикључак @@ -827,3 +838,34 @@ Name[zh_TW]=偵測到強制入口 Urgency=Low IconName=dialog-password Action=Popup + +[Event/FailedToCreateHotspot] +Name=Failed to create hotspot +Name[ca]=Ha fallat en crear el punt d'accés +Name[cs]=Nepovedlo se vytvořit hotspot +Name[da]=Kunne ikke aktivere internetdeling +Name[de]=Hotspot kann nicht erstellt werden +Name[es]=No se ha podido crear el punto de acceso +Name[et]=Pääsupunkti loomine nurjus +Name[eu]=Berogunea sortzea huts egin du +Name[fi]=Tukiaseman luonti epäonnistui +Name[fr]=Impossible de créer le point d'accès +Name[ia]=Il falleva a crear hotspot +Name[id]=Gagal menciptakan hotspot +Name[it]=Creazione hotspot non riuscita +Name[ko]=핫스팟을 만들 수 없음 +Name[lt]=Nepavyko sukurti viešosios prieigos taško +Name[nl]=Hotspot aanmaken is mislukt +Name[nn]=Klarte ikkje oppretta trådlaussone +Name[pt]=Não foi possível criar o ponto de acesso +Name[pt_BR]=Falha ao criar o ponto de acesso +Name[ru]=Не удалось создать точку доступа +Name[sk]=Zlyhalo vytvorenie aktívneho bodu +Name[sv]=Misslyckade skapa accesspunkt +Name[uk]=Не вдалося створити хот-спот +Name[x-test]=xxFailed to create hotspotxx +Name[zh_CN]=创建热点失败 +Name[zh_TW]=無法建立熱點 +Urgency=Low +IconName=applications-internet +Action=Popup
  98. Download patch po/ca/plasma_applet_org.kde.plasma.networkmanagement.po

    --- 4:5.17.5-2/po/ca/plasma_applet_org.kde.plasma.networkmanagement.po 2020-01-07 15:41:26.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/po/ca/plasma_applet_org.kde.plasma.networkmanagement.po 2020-03-31 14:27:39.000000000 +0000 @@ -1,17 +1,17 @@ # Translation of plasma_applet_org.kde.plasma.networkmanagement.po to Catalan -# Copyright (C) 2009-2019 This_file_is_part_of_KDE +# Copyright (C) 2009-2020 This_file_is_part_of_KDE # This file is distributed under the license LGPL version 2 or later. # # Joan Maspons <joanmaspons@gmail.com>, 2009, 2010, 2011. -# Josep Ma. Ferrer <txemaq@gmail.com>, 2010, 2011, 2012, 2013, 2015, 2016, 2017, 2018, 2019. +# Josep Ma. Ferrer <txemaq@gmail.com>, 2010, 2011, 2012, 2013, 2015, 2016, 2017, 2018, 2019, 2020. # Manuel Tortosa <manutortosa@chakra-project.org>, 2010. # Antoni Bella Pérez <antonibella5@yahoo.com>, 2012, 2014, 2015. msgid "" msgstr "" "Project-Id-Version: plasma_applet_org.kde.plasma.networkmanagement\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" -"POT-Creation-Date: 2019-08-23 03:16+0200\n" -"PO-Revision-Date: 2019-07-20 13:47+0100\n" +"POT-Creation-Date: 2020-01-16 03:42+0100\n" +"PO-Revision-Date: 2020-01-16 20:50+0100\n" "Last-Translator: Josep Ma. Ferrer <txemaq@gmail.com>\n" "Language-Team: Catalan <kde-i18n-ca@kde.org>\n" "Language: ca\n" @@ -22,21 +22,6 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Accelerator-Marker: &\n" -#: contents/config/config.qml:29 -#, kde-format -msgid "General" -msgstr "General" - -#: contents/ui/configGeneral.qml:39 -#, kde-format -msgid "Ask for PIN on modem detection" -msgstr "Demana un PIN en detectar un mòdem" - -#: contents/ui/configGeneral.qml:47 -#, kde-format -msgid "Show virtual connections" -msgstr "Mostra les connexions virtuals" - #: contents/ui/ConnectionItem.qml:116 #, kde-format msgid "Connect" @@ -94,7 +79,7 @@ msgstr "Connexions disponibles" msgid "Networks" msgstr "Xarxes" -#: contents/ui/main.qml:59 +#: contents/ui/main.qml:58 #, kde-format msgid "&Configure Network Connections..." msgstr "&Configura les connexions de xarxa..." @@ -109,33 +94,48 @@ msgstr "Obre la pàgina de connexió a l msgid "Password..." msgstr "Contrasenya..." -#: contents/ui/Toolbar.qml:71 +#: contents/ui/Toolbar.qml:76 #, kde-format msgid "Enable wireless" msgstr "Activa la xarxa sense fil" -#: contents/ui/Toolbar.qml:85 +#: contents/ui/Toolbar.qml:90 #, kde-format msgid "Enable mobile network" msgstr "Activa la xarxa mòbil" -#: contents/ui/Toolbar.qml:101 +#: contents/ui/Toolbar.qml:106 #, kde-format msgid "Enable airplane mode" msgstr "Activa el mode avió" -#: contents/ui/Toolbar.qml:130 +#: contents/ui/Toolbar.qml:142 +#, kde-format +msgid "Hotspot" +msgstr "Punt d'accés" + +#: contents/ui/Toolbar.qml:163 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Disable Hotspot" +msgstr "Desactiva el punt d'accés" + +#: contents/ui/Toolbar.qml:168 contents/ui/Toolbar.qml:174 +#, kde-format +msgid "Create Hotspot" +msgstr "Crea un punt d'accés" + +#: contents/ui/Toolbar.qml:188 #, kde-format msgctxt "button tooltip" msgid "Search the connections" msgstr "Cerca les connexions" -#: contents/ui/Toolbar.qml:137 +#: contents/ui/Toolbar.qml:202 #, kde-format msgid "Configure network connections..." msgstr "Configura les connexions de xarxa..." -#: contents/ui/Toolbar.qml:158 +#: contents/ui/Toolbar.qml:223 #, kde-format msgctxt "text field placeholder text" msgid "Search..."
  99. Download patch mobile/wifi/package/contents/ui/NetworkSettings.qml

    --- 4:5.17.5-2/mobile/wifi/package/contents/ui/NetworkSettings.qml 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/mobile/wifi/package/contents/ui/NetworkSettings.qml 2020-03-31 14:27:23.000000000 +0000 @@ -53,25 +53,11 @@ SimpleKCM { } } - header: ColumnLayout { - width: parent.width - anchors.leftMargin: Kirigami.Units.largeSpacing * 2 - Kirigami.Separator {} - RowLayout{ - Kirigami.Separator {} - Controls.Label { - id: detailsName - anchors.leftMargin: Kirigami.Units.largeSpacing * 2 - text: i18n("Connection Name") - font.weight: Font.Bold - } - } - Kirigami.Separator {} - Rectangle{ - height: 1 - Layout.fillWidth: true - color: "black" - } + header: Kirigami.Heading { + id: detailsName + text: i18n("Connection Name") + level: 2 + leftPadding: Kirigami.Units.smallSpacing } Kirigami.FormLayout { @@ -125,7 +111,7 @@ SimpleKCM { } Kirigami.Separator { - Kirigami.FormData.label: "IP settings" + Kirigami.FormData.label: i18n("IP settings") Kirigami.FormData.isSection: true }
  100. Download patch libs/editor/widgets/ipv4routeswidget.cpp

    --- 4:5.17.5-2/libs/editor/widgets/ipv4routeswidget.cpp 2020-01-07 15:41:09.000000000 +0000 +++ 4:5.18.4.1-0ubuntu1/libs/editor/widgets/ipv4routeswidget.cpp 2020-03-31 14:27:23.000000000 +0000 @@ -53,7 +53,7 @@ IpV4RoutesWidget::IpV4RoutesWidget(QWidg { d->ui.setupUi(this); d->ui.tableViewAddresses->setModel(&d->model); - d->ui.tableViewAddresses->horizontalHeader()->setResizeMode(QHeaderView::Interactive); + d->ui.tableViewAddresses->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); IpV4Delegate *ipDelegate = new IpV4Delegate(this); IntDelegate *metricDelegate = new IntDelegate(this);
  101. ...
  1. plasma-nm