2020-08-19 Fred Gleason <fredg@paravelsystems.com>

* Added a 'STATIONS.SSH_IDENTITY_FILE' field to the database.
	* Added a 'RECORDINGS.URL_USE_ID_FILE' field to the database.
	* Added a 'FEEDS.PURGE_USE_ID_FILE' field to the database.
	* Incremented the database version to 333.
	* Added 'RDStation::sshIdentityFile()' and
	'RDStation::setSshIdentityFile()' methods.
	* Added 'RDRecording::urlUseIdFile()' and
	'RDRecording::setUrlUseIdFile()' methods.
	* Added 'RDFeed::purgeUseIdFile()' and 'RDFeed::setPurgeUseIdFile()'
	methods.
	* Added a 'SSH Ident. File' control to the 'Host' dialog in
	rdadmin(1).
	* Added an 'Authenticate with local identity file' checkbox to
	the 'Feed' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-08-19 10:44:41 -04:00
parent afb3832f72
commit ecd2a2d427
42 changed files with 495 additions and 149 deletions

View File

@@ -2,7 +2,7 @@
//
// Abstract a Rivendell Netcatch Recording.
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -616,6 +616,18 @@ void RDRecording::setUrlPassword(QString passwd) const
}
bool RDRecording::urlUseIdFile() const
{
return RDBool(GetStringValue("URL_PASSWORD"));
}
void RDRecording::setUrlUseIdFile(bool state) const
{
SetRow("URL_USE_ID_FILE",RDYesNo(state));
}
bool RDRecording::enableMetadata() const
{
return GetBoolValue("ENABLE_METADATA");