mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2026-04-16 15:44:08 +02:00
Compare commits
3 Commits
v1.6.3-rc1
...
v1.6.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc1121ef00 | ||
|
|
6f9938a2b2 | ||
|
|
a650dce17f |
@@ -1,6 +1,6 @@
|
|||||||
ChangeLog
|
ChangeLog
|
||||||
=========
|
=========
|
||||||
version 1.6.3 (release 2014-09-xx)
|
version 1.6.3 (release 2014-09-03)
|
||||||
* Fixed updater on OS X
|
* Fixed updater on OS X
|
||||||
* Fixed memory leak in SSL button that could lead to quick memory draining
|
* Fixed memory leak in SSL button that could lead to quick memory draining
|
||||||
* Fixed upload problem with files >4 GB
|
* Fixed upload problem with files >4 GB
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set( MIRALL_VERSION_PATCH 3 )
|
|||||||
set( MIRALL_SOVERSION 0 )
|
set( MIRALL_SOVERSION 0 )
|
||||||
|
|
||||||
if ( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
if ( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
||||||
set( MIRALL_VERSION_SUFFIX "rc1") #e.g. beta1, beta2, rc1
|
set( MIRALL_VERSION_SUFFIX "") #e.g. beta1, beta2, rc1
|
||||||
endif( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
endif( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
||||||
|
|
||||||
if( NOT DEFINED MIRALL_VERSION_BUILD )
|
if( NOT DEFINED MIRALL_VERSION_BUILD )
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ static const char urlC[] = "url";
|
|||||||
static const char authTypeC[] = "authType";
|
static const char authTypeC[] = "authType";
|
||||||
static const char userC[] = "user";
|
static const char userC[] = "user";
|
||||||
static const char httpUserC[] = "http_user";
|
static const char httpUserC[] = "http_user";
|
||||||
|
static const char caCertsKeyC[] = "CaCertificates";
|
||||||
|
|
||||||
AccountManager *AccountManager::_instance = 0;
|
AccountManager *AccountManager::_instance = 0;
|
||||||
|
|
||||||
@@ -102,15 +103,15 @@ void Account::save()
|
|||||||
}
|
}
|
||||||
settings->sync();
|
settings->sync();
|
||||||
|
|
||||||
// ### TODO port away from MirallConfigFile
|
// Save accepted certificates.
|
||||||
MirallConfigFile cfg;
|
settings->beginGroup(QLatin1String("General"));
|
||||||
qDebug() << "Saving " << approvedCerts().count() << " unknown certs.";
|
qDebug() << "Saving " << approvedCerts().count() << " unknown certs.";
|
||||||
QByteArray certs;
|
QByteArray certs;
|
||||||
Q_FOREACH( const QSslCertificate& cert, approvedCerts() ) {
|
Q_FOREACH( const QSslCertificate& cert, approvedCerts() ) {
|
||||||
certs += cert.toPem() + '\n';
|
certs += cert.toPem() + '\n';
|
||||||
}
|
}
|
||||||
if (!certs.isEmpty()) {
|
if (!certs.isEmpty()) {
|
||||||
cfg.setCaCerts( certs );
|
settings->setValue( QLatin1String(caCertsKeyC), certs );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,7 +177,7 @@ Account* Account::restore()
|
|||||||
|
|
||||||
// now the cert, it is in the general group
|
// now the cert, it is in the general group
|
||||||
settings->beginGroup(QLatin1String("General"));
|
settings->beginGroup(QLatin1String("General"));
|
||||||
acc->setApprovedCerts(QSslCertificate::fromData(settings->value(QLatin1String("CaCertificates")).toByteArray()));
|
acc->setApprovedCerts(QSslCertificate::fromData(settings->value(caCertsKeyC).toByteArray()));
|
||||||
acc->setMigrated(migratedCreds);
|
acc->setMigrated(migratedCreds);
|
||||||
return acc;
|
return acc;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ QPixmap ownCloudTheme::wizardHeaderLogo() const
|
|||||||
|
|
||||||
QString ownCloudTheme::appName() const
|
QString ownCloudTheme::appName() const
|
||||||
{
|
{
|
||||||
return QLatin1String("owncloud");
|
return QLatin1String("ownCloud");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ownCloudTheme::appNameGUI() const
|
QString ownCloudTheme::appNameGUI() const
|
||||||
|
|||||||
Reference in New Issue
Block a user