mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-15 23:21:14 +02:00
2022-09-20 Fred Gleason <fredg@paravelsystems.com>
* Changed the 'RECORDINGS.URL_PASSWORD' from 'varchar(64)' to 'text'. * Base64 encoded the contents of the 'RECORDINGS.URL_PASSWORD' field. * Incremented the database version to 358. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
/*
|
||||
* Current Database Version
|
||||
*/
|
||||
#define RD_VERSION_DATABASE 357
|
||||
#define RD_VERSION_DATABASE 358
|
||||
|
||||
|
||||
#endif // DBVERSION_H
|
||||
|
@@ -603,13 +603,13 @@ void RDRecording::setUrlUsername(QString name) const
|
||||
|
||||
QString RDRecording::urlPassword() const
|
||||
{
|
||||
return GetStringValue("URL_PASSWORD");
|
||||
return QByteArray::fromBase64(GetStringValue("URL_PASSWORD").toUtf8());
|
||||
}
|
||||
|
||||
|
||||
void RDRecording::setUrlPassword(QString passwd) const
|
||||
{
|
||||
SetRow("URL_PASSWORD",passwd);
|
||||
SetRow("URL_PASSWORD",QString(passwd.toUtf8().toBase64()));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user