diff --git a/debian/python3-qgis-common.install b/debian/python3-qgis-common.install index 014be6be57c6..7e97fec33e64 100644 --- a/debian/python3-qgis-common.install +++ b/debian/python3-qgis-common.install @@ -3,6 +3,7 @@ usr/lib/python*/*-packages/qgis/*.py* usr/lib/python*/*-packages/qgis/PyQt/* usr/lib/python*/*-packages/qgis/processing/* usr/lib/python*/*-packages/qgis/testing/* +usr/lib/python*/*-packages/qgis/gui/additions/* usr/lib/python*/*-packages/qgis/core/additions/* usr/lib/python*/*-packages/qgis/core/contextmanagers.py usr/lib/python*/*-packages/qgis/*/*.yaml diff --git a/src/core/auth/qgsauthconfigurationstoragedb.cpp b/src/core/auth/qgsauthconfigurationstoragedb.cpp index 6147d837821d..4d6c5c85e2d0 100644 --- a/src/core/auth/qgsauthconfigurationstoragedb.cpp +++ b/src/core/auth/qgsauthconfigurationstoragedb.cpp @@ -176,7 +176,7 @@ bool QgsAuthConfigurationStorageDb::authDbQuery( QSqlQuery *query, const QString const QStringList keys = query->boundValueNames(); const QVariantList values = query->boundValues(); QMap boundValues; - for ( int i=0; i QgsAuthConfigurationStorage { return { - { QStringLiteral( "driver" ), tr( "SQL Driver (see https://doc.qt.io/qt-6/sql-driver.html)" ), QVariant::String }, + { QStringLiteral( "driver" ), tr( "SQL Driver (see https://doc.qt.io/qt/sql-driver.html)" ), QVariant::String }, { QStringLiteral( "database" ), tr( "Database" ), QVariant::String }, { QStringLiteral( "schema" ), tr( "Schema for all tables" ), QVariant::String }, { QStringLiteral( "host" ), tr( "Host" ), QVariant::String }, @@ -448,7 +448,7 @@ const QPair QgsAuthConfigurationStorageDb::loadCertIde } if ( query.next() ) { - const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Select contains more than one certificate identity for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); + const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Retrieved more than one certificate identity for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); return bundle; } bundle = qMakePair( cert, key ); @@ -715,7 +715,7 @@ const QgsAuthConfigSslServer QgsAuthConfigurationStorageDb::loadSslCertCustomCon } if ( query.next() ) { - const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Select contains more than one SSL cert custom config for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); + const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Retrieved more than one SSL cert custom config for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); return QgsAuthConfigSslServer(); } } @@ -838,7 +838,7 @@ bool QgsAuthConfigurationStorageDb::sslCertCustomConfigExists( const QString &id } if ( query.next() ) { - QgsDebugError( QStringLiteral( "Select contains more than one SSL cert custom config for host:port, id: %1, %2" ).arg( hostport, id ) ); + QgsDebugError( QStringLiteral( "Retrieved more than one SSL cert custom config for host:port, id: %1, %2" ).arg( hostport, id ) ); emit messageLog( tr( "Authentication database contains more than one SSL cert custom configs for host:port, id: %1, %2" ) .arg( hostport, id ), loggerTag(), Qgis::MessageLevel::Warning ); return false; @@ -1003,7 +1003,7 @@ const QSslCertificate QgsAuthConfigurationStorageDb::loadCertAuthority( const QS } if ( query.next() ) { - const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Select contains more than one certificate authority for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); + const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Retrieved more than one certificate authority for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); return emptycert; } } @@ -1048,7 +1048,7 @@ bool QgsAuthConfigurationStorageDb::certAuthorityExists( const QSslCertificate & } if ( query.next() ) { - const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Select contains more than one certificate authority for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); + const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Retrieved more than one certificate authority for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); // TODO: check whether it makes sense to return false here (and in other similar cases) return false; } @@ -1286,7 +1286,7 @@ QgsAuthCertUtils::CertTrustPolicy QgsAuthConfigurationStorageDb::loadCertTrustPo } if ( query.next() ) { - const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Select contains more than one certificate trust policy for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); + const_cast< QgsAuthConfigurationStorageDb * >( this )->setError( tr( "Retrieved more than one certificate trust policy for id: %1" ).arg( id ), Qgis::MessageLevel::Warning ); return QgsAuthCertUtils::DefaultTrust; } }