Cherry-picking upstream release 0.11.0
* Sync debian foo with experimental * Bumped compat to 10 * Removed --parallel from rules, standard in compat 10 * Bumped minimum version debhelper (>= 10) * Bumped minimum version liblxqt-dev (>= 0.11.0) * Bumped minimum version libqtxdg-dev (>= 2.0.0) * Added build dependency libqt5svg5-dev * Added build dependency libqt5xdgiconloader-dev (>= 2.0.0) * Added Recommends lxqt-policykit-l10n * Bumped copyright years * Added translation control to rules * Set CMAKE_BUILD_TYPE=RelWithDebInfo * Added README.md to docs * Added manpages
This commit is contained in:
parent
3bbc190e69
commit
5875e4ac1e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
build
|
||||
translations/lxqt-policykit
|
||||
|
2
AUTHORS
2
AUTHORS
@ -4,7 +4,7 @@ Upstream Authors:
|
||||
|
||||
Copyright:
|
||||
Copyright (c) 2010-2012 Razor team
|
||||
Copyright (c) 2012-2014 LXQt team
|
||||
Copyright (c) 2012-2016 LXQt team
|
||||
|
||||
License: LGPL-2.1+
|
||||
The full text of the licenses can be found in the 'COPYING' file.
|
||||
|
80
CHANGELOG
Normal file
80
CHANGELOG
Normal file
@ -0,0 +1,80 @@
|
||||
|
||||
lxqt-policykit-0.11.0 / 2016-09-24
|
||||
==================================
|
||||
|
||||
* agentGui: Use default icon
|
||||
* agentGui: Choose current user in identities combo
|
||||
* agentGui: Handle setting the prompt correctly
|
||||
* agent: Handle multiple identities correctly
|
||||
* Update README.md
|
||||
* Fixed typo prefered -> preferred
|
||||
* Add README.md
|
||||
* build: Use external translations
|
||||
* ts-files removal (#21)
|
||||
* Bump year in AUTHORS
|
||||
* Italian translation update
|
||||
* Updated Russian translation Removed ru_RU file
|
||||
* update: lxqt-policykit-agent_hu.ts
|
||||
|
||||
0.10.0 / 2015-10-31
|
||||
===================
|
||||
|
||||
* Update translations
|
||||
* Fix license file
|
||||
* GPL2 not used - removed in AUTHORS Fixed link to Github LXQt issues Fix wording in manpage - 'can be used by others' was nuts for a file under LGPL root license
|
||||
* Add Greek (el) translation
|
||||
* Rename LxQt to LXQt everywhere
|
||||
* Added german translation.
|
||||
* Added missing tr() call.
|
||||
* Handles CMake policy CMP0063
|
||||
* Use the LXQtCompilerSettings CMake module
|
||||
* Adds Runtime install COMPONENT
|
||||
* Use GNUInstallDirs
|
||||
* Removes unneede entries from include_directories()
|
||||
* Uses CMAKE_AUTOUIC
|
||||
* Updates the build system to use the Targets infrastructure
|
||||
* Remove trailing whitespaces
|
||||
* Fix naming and links
|
||||
* Hungarian translation
|
||||
* - Add a choice option for install binary. Some distributions use libexec instead os default usr/bin installs. It defauls to bin
|
||||
|
||||
0.9.0 / 2015-01-19
|
||||
==================
|
||||
|
||||
* File name was ok but language name wasn´t. My mistake.
|
||||
* Makes filename match translation language
|
||||
* Portuguese update
|
||||
* - Unify naming for a unique lxqt. No more suffixes
|
||||
* CMakeLists.txt maintenance.
|
||||
* Uses the new translations cmake modules
|
||||
* Add Russian translation
|
||||
* CMakeLists.txt cleanups
|
||||
|
||||
0.8.0 / 2014-06-28
|
||||
==================
|
||||
|
||||
* Use portable Polkit headers
|
||||
* Deal with a bug in polkit-qt1 cmake file
|
||||
* Choose Qt5 version of PolkitQt when build with Qt5.
|
||||
* Add initial Qt5 support.
|
||||
* Use new LXQt header files.
|
||||
|
||||
0.7.0 / 2014-05-01
|
||||
==================
|
||||
|
||||
* Update AUTHORS and COPYING files
|
||||
* Add CPack rules for creating tarball
|
||||
* Removed CMAKE_SOURCE_DIR usage from CMakeLists.txt
|
||||
* Fix renaming bugs, replacing lxqt-qt with lxde-qt
|
||||
* Finish the crazy razor=>lxqt renaming tasks.
|
||||
* Rename binary to lxqt-policykit-agent and migrate to the latest liblxqt.
|
||||
* Add COPYING and AUTHORS
|
||||
* Fix authentization->authentication misspelling
|
||||
* Trtanslations
|
||||
* Translation support for policykit agent
|
||||
* preliminary manpages primary for razorqt and usefully in venenux
|
||||
* Add build option to make policykit optional, even if installed.
|
||||
* RazorApplication class implemented; all modules ported to this class
|
||||
* Relicense
|
||||
* initial but finally working policykit integration (agent)
|
||||
* initial revision of the policykit integration (non-functional)
|
@ -68,6 +68,16 @@ lxqt_translate_ts(lxqt-policykit-agent_QM_FILES
|
||||
${lxqt-policykit-agent_UI}
|
||||
INSTALL_DIR
|
||||
"${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
|
||||
PULL_TRANSLATIONS
|
||||
${PULL_TRANSLATIONS}
|
||||
CLEAN_TRANSLATIONS
|
||||
${CLEAN_TRANSLATIONS}
|
||||
TRANSLATIONS_REPO
|
||||
${TRANSLATIONS_REPO}
|
||||
TRANSLATIONS_REFSPEC
|
||||
${TRANSLATIONS_REFSPEC}
|
||||
REPO_SUBDIR
|
||||
"lxqt-policykit/${PROJECT_NAME}"
|
||||
)
|
||||
|
||||
lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME})
|
||||
|
55
README.md
Normal file
55
README.md
Normal file
@ -0,0 +1,55 @@
|
||||
# lxqt-policykit
|
||||
|
||||
## Overview
|
||||
|
||||
lxqt-policykit is the polkit authentification agent of LXQt.
|
||||
|
||||
[polkit](https://www.freedesktop.org/wiki/Software/polkit/) is a software framework to handle privileges of processes.
|
||||
In LXQt it is e. g. used to extend the privileges of the GUI tools of [lxqt-admin](https://github.com/lxde/lxqt-admin/). These are launched by a regular user. But in order to apply the settings they deal with root privileges are needed and acquired via polkit.
|
||||
Among the various components of polkit the authentication agent is the one to query the user for credentials by dialogue windows like this one of lxqt-policykit.
|
||||
![lxqt-policykit: GUI](lxqt-policykit_gui.png)
|
||||
While there's only a single implementation of all other polkit components various different authentication agents are provided by the various desktop environments. Basically these can be used interchangeably, that is lxqt-policykit can be used in an LXDE session or lxpolkit, the authentication agent of LXDE, can be used in an Xfce session. Most of the time it's better to use the implementation provided by a distinct desktop environment as it integrates better, though.
|
||||
|
||||
Technically, lxqt-policykit is just a single binary `lxqt-policykit-agent` which is running as [LXQt Module](https://github.com/lxde/lxqt-session#lxqt-modules) and launching the GUI on demand.
|
||||
|
||||
Note that the naming lxqt-policykit is strictly speaking an anachronism. It refers to Policykit which was the predecessor
|
||||
of polkit. The name wasn't changed when Policykit was replaced by polkit as both provide roughly the same features albeit
|
||||
they are technically different.
|
||||
|
||||
## Installing
|
||||
|
||||
### Compiling sources
|
||||
|
||||
Runtime dependencies are polkit-qt5 and [liblxqt](https://github.com/lxde/liblxqt).
|
||||
Additional build dependencies are CMake and optionally Git to pull latest VCS checkouts. The localization files were outsourced to repository [lxqt-l10n](https://github.com/lxde/lxqt-l10n) so the corresponding dependencies are needed, too. Please refer to this repository's `README.md` for further information.
|
||||
|
||||
Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems.
|
||||
|
||||
To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual.
|
||||
|
||||
### Binary packages
|
||||
|
||||
#### Arch Linux
|
||||
|
||||
The latest release is provided by package `lxqt-policykit` in repository community, the actual master checkout can be
|
||||
compiled by packages `lxqt-policykit-git` from the [AUR](https://aur.archlinux.org).
|
||||
|
||||
#### Debian
|
||||
|
||||
Package `lxqt-policykit` is available in the official repositories as of Debian stretch. For now it is comprising the
|
||||
translations as well but these will probably be outsourced in package `lxqt-policykit-l10n` one day.
|
||||
|
||||
#### Fedora
|
||||
|
||||
Package `lxqt-policykit` is available as of Fedora 22.
|
||||
|
||||
#### openSUSE
|
||||
|
||||
Package `lxqt-policykit` is providing the binary, `lxqt-policykit-lang` the translations. Both are available as of
|
||||
openSUSE Leap 42.1.
|
||||
|
||||
## Configuration, Usage
|
||||
|
||||
Like all LXQt Modules `lxqt-policykit-agent` can be adjusted from section "Basic Settings" in configuration dialogue [LXQt Session Settings](https://github.com/lxde/lxqt-session#lxqt-session-settings) of [lxqt-session](https://github.com/lxde/lxqt-session).
|
||||
|
||||
From a user's point of view the usage is limited to interacting with the GUI as seen above.
|
20
debian/changelog
vendored
20
debian/changelog
vendored
@ -1,3 +1,23 @@
|
||||
lxqt-policykit (0.11.0-3) unstable; urgency=medium
|
||||
|
||||
* Cherry-picking upstream release 0.11.0
|
||||
* Sync debian foo with experimental
|
||||
* Bumped compat to 10
|
||||
* Removed --parallel from rules, standard in compat 10
|
||||
* Bumped minimum version debhelper (>= 10)
|
||||
* Bumped minimum version liblxqt-dev (>= 0.11.0)
|
||||
* Bumped minimum version libqtxdg-dev (>= 2.0.0)
|
||||
* Added build dependency libqt5svg5-dev
|
||||
* Added build dependency libqt5xdgiconloader-dev (>= 2.0.0)
|
||||
* Added Recommends lxqt-policykit-l10n
|
||||
* Bumped copyright years
|
||||
* Added translation control to rules
|
||||
* Set CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
* Added README.md to docs
|
||||
* Added manpages
|
||||
|
||||
-- Alf Gaida <agaida@siduction.org> Tue, 18 Oct 2016 17:04:36 +0200
|
||||
|
||||
lxqt-policykit (0.10.0-4) unstable; urgency=medium
|
||||
|
||||
* Bump Standards to 3.9.8, no changes needed
|
||||
|
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
||||
9
|
||||
10
|
||||
|
15
debian/control
vendored
15
debian/control
vendored
@ -6,20 +6,22 @@ Uploaders: Alf Gaida <agaida@siduction.org>,
|
||||
Yukiharu YABUKI <yyabuki@debian.org>
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>= 9),
|
||||
Build-Depends: debhelper (>= 10),
|
||||
cmake (>= 3.0.2),
|
||||
libpolkit-agent-1-dev,
|
||||
libx11-dev,
|
||||
libkf5windowsystem-dev,
|
||||
liblxqt0-dev (>= 0.10.0),
|
||||
liblxqt0-dev (>= 0.11.0),
|
||||
libpolkit-agent-1-dev,
|
||||
libpolkit-qt5-1-dev,
|
||||
libqt5svg5-dev,
|
||||
libqt5x11extras5-dev,
|
||||
libqt5xdg-dev (>= 1.3.0),
|
||||
libqt5xdg-dev (>= 2.0.0),
|
||||
libqt5xdgiconloader-dev (>= 2.0.0),
|
||||
libx11-dev,
|
||||
pkg-config,
|
||||
qttools5-dev,
|
||||
qttools5-dev-tools
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Browser: http://anonscm.debian.org/git/pkg-lxqt/lxqt-policykit.git/?h=debian/sid
|
||||
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lxqt/lxqt-policykit.git/?h=debian/sid
|
||||
Vcs-Git: https://anonscm.debian.org/git/pkg-lxqt/lxqt-policykit.git -b debian/sid
|
||||
Homepage: https://github.com/lxde/lxqt-policykit
|
||||
|
||||
@ -27,6 +29,7 @@ Package: lxqt-policykit
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Recommends: lxqt-policykit-l10n
|
||||
Description: LXQt authentication agent for PolicyKit
|
||||
The lxqt-policykit D-Bus session bus service that is used to
|
||||
bring up authentication dialogs used for obtaining privileges.
|
||||
|
2
debian/copyright
vendored
2
debian/copyright
vendored
@ -3,7 +3,7 @@ Upstream-Name: lxqt-policykit
|
||||
Source: https://github.com/lxde/lxqt-policykit
|
||||
|
||||
Files: *
|
||||
Copyright: 2012-2015 LXQt team
|
||||
Copyright: 2012-2016 LXQt team
|
||||
2010-2012 Razor team
|
||||
License: LGPL-2.1+
|
||||
|
||||
|
1
debian/docs
vendored
1
debian/docs
vendored
@ -1 +1,2 @@
|
||||
AUTHORS
|
||||
README.md
|
||||
|
3
debian/lintian-overrides
vendored
3
debian/lintian-overrides
vendored
@ -1,3 +0,0 @@
|
||||
# there will be no manpage in a foreseable future
|
||||
lxqt-policykit: binary-without-manpage usr/bin/lxqt-policykit-agent
|
||||
|
1
debian/manpages
vendored
Normal file
1
debian/manpages
vendored
Normal file
@ -0,0 +1 @@
|
||||
man/lxqt-policykit-agent.1
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -6,5 +6,10 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
%:
|
||||
dh ${@} --buildsystem cmake\
|
||||
--parallel
|
||||
dh ${@} --buildsystem cmake
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
-DPULL_TRANSLATIONS=OFF\
|
||||
-DUPDATE_TRANSLATIONS=OFF\
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
|
107
debian/upstream/signing-key.asc
vendored
107
debian/upstream/signing-key.asc
vendored
@ -1,63 +1,50 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
mQINBFJevCYBEACx+Hvy+Vsuf+V5jeLUnzjAmHoy8DfTeGWr3ts30IapLHrfi0+U
|
||||
WpzNnISO77yTr4VNboVZH+GHM/rnPfieODfB4ZW6CZLlInMSKUXcgQsEqXpyBZhA
|
||||
Ib/SPy2bOfHly1uRJes0uRDsH5+v/hD74sByfnjQlrvI68O6wvGZmDFMNNPVO8+/
|
||||
OWBSBNkBuVrrZOMSPsLwQGJ4UtUQ4whburaPJG4VZJc5DLbzJGbEuACc0IAEYJS3
|
||||
7AfXVXn4j4Gc9F3o1xTUnbOBnwGPquWwUIm3FM7Ec2OdkvMt3EwvnkMAfeVrq3iE
|
||||
FDD/KZTxdL0BZH3QD8gB7Jm4v4f3Nkobg6JCvCbcH3wBdZW4mASbwWzfRaDC2zHb
|
||||
ErTglD7PpShLKZZ0pr9okWZEGw4Ku3q8ALi1JXK/ePTmsBlvkVskOJ3Nnd0avgH4
|
||||
+Q/vZoKfH8EhNY745rI+8CE9iv6V9XiSUt4CKEWAENt4A8hq6U2vV+jZv3B6AgD7
|
||||
ZjiI59yD4YuYubu8rCnNizTgh1voVw3ietknn/x2H5yH8fByWZ5uL87C0ky/uma6
|
||||
ZGbiiAtM4kdkyDMrfRV5nlEG9EKAGPVu5mjeSCrfkETwZ9OFPz1AuDye4ZEXrrcC
|
||||
iRQ7RX6/GtW18aHER0kzGnfwx5KJzkDrRBY8A2PdXLBcrsN4WpK9EX01PQAR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aWmcDjdI55dw3jIq8kK9SdgORGq9/S3g7KJNRjme+6GjqQfk=
|
||||
=h7ww
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
4
debian/watch
vendored
4
debian/watch
vendored
@ -1,3 +1,3 @@
|
||||
version=3
|
||||
version=4
|
||||
opts="pgpsigurlmangle=s/$/.asc/" \
|
||||
https://github.com/lxde/lxqt-policykit/releases .*/([\d\.]+).tar.gz
|
||||
https://github.com/lxde/lxqt-policykit/releases .*/lxqt-policykit-([\d\.]+).tar.xz
|
||||
|
BIN
lxqt-policykit_gui.png
Normal file
BIN
lxqt-policykit_gui.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -32,7 +32,7 @@ The module detected on shares privilege escalation, and maintain a security dial
|
||||
that ask for the user's key need for action.
|
||||
.SH AUTOSTART
|
||||
The module only are showed on \fBLXQt\fR desktop, but u can create an autostart action
|
||||
for u prefered desktop environment.
|
||||
for u preferred desktop environment.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to https://github.com/lxde/lxqt/issues
|
||||
.SH "SEE ALSO"
|
||||
|
@ -116,27 +116,36 @@ void PolicykitAgent::request(const QString &request, bool echo)
|
||||
|
||||
PolkitQt1::Identity identity = m_SessionIdentity[session];
|
||||
m_gui->setPrompt(identity, request, echo);
|
||||
if (m_gui->exec())
|
||||
session->setResponse(m_gui->response());
|
||||
else
|
||||
session->setResponse("");
|
||||
connect(m_gui, &QDialog::finished, [this, session] (int result)
|
||||
{
|
||||
if (result == QDialog::Accepted && m_gui->identity() == m_SessionIdentity[session].toString())
|
||||
session->setResponse(m_gui->response());
|
||||
else
|
||||
session->cancel();
|
||||
});
|
||||
m_gui->show();
|
||||
}
|
||||
|
||||
void PolicykitAgent::completed(bool gainedAuthorization)
|
||||
{
|
||||
PolkitQt1::Agent::Session * session = qobject_cast<PolkitQt1::Agent::Session *>(sender());
|
||||
Q_ASSERT(session);
|
||||
Q_ASSERT(m_gui);
|
||||
|
||||
if (!gainedAuthorization)
|
||||
if (m_gui->identity() == m_SessionIdentity[session].toString())
|
||||
{
|
||||
QMessageBox::information(0, tr("Authorization Failed"), tr("Authorization failed for some reason"));
|
||||
if (!gainedAuthorization)
|
||||
{
|
||||
QMessageBox::information(0, tr("Authorization Failed"), tr("Authorization failed for some reason"));
|
||||
}
|
||||
|
||||
// Note: the setCompleted() must be called exacly once (as the
|
||||
// AsyncResult is shared by all the sessions)
|
||||
session->result()->setCompleted();
|
||||
m_inProgress = false;
|
||||
}
|
||||
|
||||
session->result()->setCompleted();
|
||||
|
||||
delete session;
|
||||
|
||||
m_inProgress = false;
|
||||
}
|
||||
|
||||
void PolicykitAgent::showError(const QString &text)
|
||||
|
@ -25,8 +25,9 @@
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include <XdgIcon>
|
||||
#include <QIcon>
|
||||
#include "policykitagentgui.h"
|
||||
#include <unistd.h>
|
||||
|
||||
namespace LXQtPolicykit
|
||||
{
|
||||
@ -44,30 +45,47 @@ PolicykitAgentGUI::PolicykitAgentGUI(const QString &actionId,
|
||||
Q_UNUSED(details); // it seems too confusing for end user (=me)
|
||||
|
||||
messageLabel->setText(message);
|
||||
iconLabel->setPixmap(XdgIcon::fromTheme(iconName).pixmap(64, 64));
|
||||
QIcon icon = QIcon::fromTheme(iconName);
|
||||
if (icon.isNull())
|
||||
icon = QIcon::fromTheme(QLatin1String("dialog-question"));
|
||||
iconLabel->setPixmap(icon.pixmap(64, 64));
|
||||
|
||||
const uid_t current_uid = getuid();
|
||||
int current_user_index = -1;
|
||||
foreach (PolkitQt1::Identity identity, identities)
|
||||
{
|
||||
m_identityMap[identity.toString()] = identity;
|
||||
const int i = identityComboBox->count(); // index of the added item
|
||||
identityComboBox->addItem(identity.toString());
|
||||
PolkitQt1::UnixUserIdentity const * const u_id = static_cast<PolkitQt1::UnixUserIdentity *>(&identity);
|
||||
if (u_id != nullptr && u_id->uid() == current_uid)
|
||||
current_user_index = i;
|
||||
}
|
||||
if (current_user_index != -1)
|
||||
identityComboBox->setCurrentIndex(current_user_index);
|
||||
connect(identityComboBox, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &PolicykitAgentGUI::onIdentityChanged);
|
||||
passwordEdit->setFocus(Qt::OtherFocusReason);
|
||||
}
|
||||
|
||||
void PolicykitAgentGUI::setPrompt(const PolkitQt1::Identity &identity, const QString &text, bool echo)
|
||||
{
|
||||
int ix = identityComboBox->findText(identity.toString());
|
||||
const int ix = identityComboBox->findText(identity.toString());
|
||||
if (ix != -1)
|
||||
{
|
||||
identityComboBox->setCurrentIndex(ix);
|
||||
passwordEdit->setFocus(Qt::OtherFocusReason);
|
||||
identityComboBox->setItemData(ix, text, RolePromptText);
|
||||
identityComboBox->setItemData(ix, echo, RolePromptEcho);
|
||||
|
||||
if (ix == identityComboBox->currentIndex())
|
||||
{
|
||||
promptLabel->setText(text);
|
||||
passwordEdit->setEchoMode(echo ? QLineEdit::Normal : QLineEdit::Password);
|
||||
}
|
||||
}
|
||||
promptLabel->setText(text);
|
||||
passwordEdit->setEchoMode(echo ? QLineEdit::Normal : QLineEdit::Password);
|
||||
}
|
||||
|
||||
PolkitQt1::Identity PolicykitAgentGUI::identity()
|
||||
QString PolicykitAgentGUI::identity()
|
||||
{
|
||||
return m_identityMap[identityComboBox->currentText()];
|
||||
Q_ASSERT(identityComboBox->currentIndex() != -1);
|
||||
return identityComboBox->currentText();
|
||||
}
|
||||
|
||||
QString PolicykitAgentGUI::response()
|
||||
@ -75,4 +93,14 @@ QString PolicykitAgentGUI::response()
|
||||
return passwordEdit->text();
|
||||
}
|
||||
|
||||
void PolicykitAgentGUI::onIdentityChanged(int index)
|
||||
{
|
||||
QVariant text = identityComboBox->itemData(index, RolePromptText);
|
||||
QVariant echo = identityComboBox->itemData(index, RolePromptEcho);
|
||||
if (text != QVariant{})
|
||||
promptLabel->setText(text.toString());
|
||||
if (echo != QVariant{})
|
||||
passwordEdit->setEchoMode(echo.toBool() ? QLineEdit::Normal : QLineEdit::Password);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
@ -40,6 +40,13 @@ class PolicykitAgentGUI : public QDialog, public Ui::PolicykitAgentGUI
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
enum DataRoles
|
||||
{
|
||||
RolePromptText = Qt::UserRole
|
||||
, RolePromptEcho
|
||||
};
|
||||
|
||||
public:
|
||||
PolicykitAgentGUI(const QString &actionId,
|
||||
const QString &message,
|
||||
@ -48,11 +55,14 @@ public:
|
||||
const PolkitQt1::Identity::List &identities);
|
||||
|
||||
void setPrompt(const PolkitQt1::Identity &identity, const QString &text, bool echo);
|
||||
PolkitQt1::Identity identity();
|
||||
/*! \brief Returns currently selected identity (serialized by toString())
|
||||
*/
|
||||
QString identity();
|
||||
QString response();
|
||||
|
||||
private:
|
||||
QHash<QString,PolkitQt1::Identity> m_identityMap;
|
||||
public slots:
|
||||
void onIdentityChanged(int index);
|
||||
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
<context>
|
||||
<name>LXQtPolicykit::PolicykitAgent</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<location filename="../src/policykitagent.cpp" line="149"/>
|
||||
<source>PolicyKit Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<source>Another authentization in progress. Please try it again later.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization failed for some reason</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="144"/>
|
||||
<source>PolicyKit Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PolicykitAgentGUI</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="14"/>
|
||||
<source>Authentication Required</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="55"/>
|
||||
<source>Identity:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="65"/>
|
||||
<source>Password:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de">
|
||||
<context>
|
||||
<name>LXQtPolicykit::PolicykitAgent</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<location filename="../src/policykitagent.cpp" line="149"/>
|
||||
<source>PolicyKit Information</source>
|
||||
<translation>PolicyKit Information</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<source>Another authentization in progress. Please try it again later.</source>
|
||||
<translation>Eine andere Authentisierung wird gerade durchgeführt. Bitte später noch einmal versuchen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization Failed</source>
|
||||
<translation>Autorisierung fehlgeschlagen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization failed for some reason</source>
|
||||
<translation>Autorisierung aus irgendeinem Grund fehlgeschlagen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="144"/>
|
||||
<source>PolicyKit Error</source>
|
||||
<translation>PolicyKit Fehler</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PolicykitAgentGUI</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="14"/>
|
||||
<source>Authentication Required</source>
|
||||
<translation>Authentisierung benötigt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="55"/>
|
||||
<source>Identity:</source>
|
||||
<translation>Identität:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="65"/>
|
||||
<source>Password:</source>
|
||||
<translation>Kennwort:</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="el">
|
||||
<context>
|
||||
<name>LXQtPolicykit::PolicykitAgent</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<location filename="../src/policykitagent.cpp" line="149"/>
|
||||
<source>PolicyKit Information</source>
|
||||
<translation>Πληροφορίες PolicyKit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<source>Another authentization in progress. Please try it again later.</source>
|
||||
<translation>Μια άλλη ταυτοποίηση είναι σε εξέλιξη. Παρακαλώ προσπαθήστε ξανά αργότερα.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization Failed</source>
|
||||
<translation>Η ταυτοποίηση απέτυχε</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization failed for some reason</source>
|
||||
<translation>Η ταυτοποίηση για κάποια αιτία απέτυχε</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="144"/>
|
||||
<source>PolicyKit Error</source>
|
||||
<translation>Σφάλμα PolicyKit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PolicykitAgentGUI</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="14"/>
|
||||
<source>Authentication Required</source>
|
||||
<translation>Απαιτείται ταυτοποίηση</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="55"/>
|
||||
<source>Identity:</source>
|
||||
<translation>Ταυτότητα:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="65"/>
|
||||
<source>Password:</source>
|
||||
<translation>Κωδικός πρόσβασης:</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>LXQtPolicykit::PolicykitAgent</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<location filename="../src/policykitagent.cpp" line="149"/>
|
||||
<source>PolicyKit Information</source>
|
||||
<translation>Policykit információ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<source>Another authentization in progress. Please try it again later.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization Failed</source>
|
||||
<translation>Hitelesítés sikertelen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization failed for some reason</source>
|
||||
<translation>Hitelesítés valami miatt sikertelen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="144"/>
|
||||
<source>PolicyKit Error</source>
|
||||
<translation>Policykit hiba</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PolicykitAgentGUI</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="14"/>
|
||||
<source>Authentication Required</source>
|
||||
<translation>Hitelesítés kell</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="55"/>
|
||||
<source>Identity:</source>
|
||||
<translation>Név:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="65"/>
|
||||
<source>Password:</source>
|
||||
<translation>Jelszó:</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pt">
|
||||
<context>
|
||||
<name>LXQtPolicykit::PolicykitAgent</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<location filename="../src/policykitagent.cpp" line="149"/>
|
||||
<source>PolicyKit Information</source>
|
||||
<translation>Informaçoes PolicyKit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<source>Another authentization in progress. Please try it again later.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization Failed</source>
|
||||
<translation>Falha de autenticação</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization failed for some reason</source>
|
||||
<translation>A autenticação falhou por alguma razão</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="144"/>
|
||||
<source>PolicyKit Error</source>
|
||||
<translation>Erro PolicyKit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PolicykitAgentGUI</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="14"/>
|
||||
<source>Authentication Required</source>
|
||||
<translation>Requer autenticação</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="55"/>
|
||||
<source>Identity:</source>
|
||||
<translation>Identidade:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="65"/>
|
||||
<source>Password:</source>
|
||||
<translation>Senha:</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ru">
|
||||
<context>
|
||||
<name>LXQtPolicykit::PolicykitAgent</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<location filename="../src/policykitagent.cpp" line="149"/>
|
||||
<source>PolicyKit Information</source>
|
||||
<translation>Информация PolicyKit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<source>Another authentization in progress. Please try it again later.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization Failed</source>
|
||||
<translation>Авторизация не удалась</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization failed for some reason</source>
|
||||
<translation>Авторизация не удалась по какой-то причине</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="144"/>
|
||||
<source>PolicyKit Error</source>
|
||||
<translation>Ошибка PolicyKit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PolicykitAgentGUI</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="14"/>
|
||||
<source>Authentication Required</source>
|
||||
<translation>Требуется аутентификация</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="55"/>
|
||||
<source>Identity:</source>
|
||||
<translation>Идентификация:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="65"/>
|
||||
<source>Password:</source>
|
||||
<translation>Пароль:</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ru_RU">
|
||||
<context>
|
||||
<name>LXQtPolicykit::PolicykitAgent</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<location filename="../src/policykitagent.cpp" line="149"/>
|
||||
<source>PolicyKit Information</source>
|
||||
<translation>Информация PolicyKit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="71"/>
|
||||
<source>Another authentization in progress. Please try it again later.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization Failed</source>
|
||||
<translation>Авторизация не удалась</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="132"/>
|
||||
<source>Authorization failed for some reason</source>
|
||||
<translation>Авторизация не удалась по какой-то причине</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagent.cpp" line="144"/>
|
||||
<source>PolicyKit Error</source>
|
||||
<translation>Ошибка PolicyKit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PolicykitAgentGUI</name>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="14"/>
|
||||
<source>Authentication Required</source>
|
||||
<translation>Требуется аутентификация</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="55"/>
|
||||
<source>Identity:</source>
|
||||
<translation>Идентификация:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/policykitagentgui.ui" line="65"/>
|
||||
<source>Password:</source>
|
||||
<translation>Пароль:</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
Loading…
x
Reference in New Issue
Block a user