802 Commits

Author SHA1 Message Date
Fred Gleason
bb577beb76 2020-11-05 Fred Gleason <fredg@paravelsystems.com>
* Added logging for failed PAM authentication in
	'RDPam::authenticate()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-05 09:56:18 -05:00
Fred Gleason
2aa5aea4f9 2020-10-31 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDApplication::ExitCode'.
	* Implemented 'RDApplication::ExitCode' in rdimport(1).
	* Implemented 'RDApplication::ExitCode' in rdlogmanager(1).
	* Implemented 'RDApplication::ExitCode' in rdservice(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-31 16:47:41 -04:00
Fred Gleason
b7702a9c79 2020-10-31 Fred Gleason <fredg@paravelsystems.com>
* Added an '--output-pattern' switch to rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-31 12:18:02 -04:00
Fred Gleason
0904c2cbe3 2020-10-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'RDFormPost' that broke file control
	processing.
	* Added a 'put' section to the WebGet interface.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-30 20:13:27 -04:00
Fred Gleason
169e0e9baa 2020-10-29 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDFormPost::authenticate()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-29 16:05:09 -04:00
Fred Gleason
7daa4fc419 2020-10-27 Fred Gleason <fredg@paravelsystems.com>
* Removed the runuser(1) dependency.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-27 15:03:17 -04:00
Fred Gleason
f6b4be8e29 2020-10-23 Fred Gleason <fredg@paravelsystems.com>
* Added generation of an 'RDLogManager Error Report' when errors
	are detected when importing voice track markers from an external
	scheduler file in rdlogmanager(1).
	* Restored operation of Label/Note carts in rdlogmanager(1).
	* Fixed a bug in rdlogmanager(1) that caused inline events
	without explicit start time/length data to fail to be placed.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-23 09:58:12 -04:00
Fred Gleason
b632717817 2020-10-15 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDSettings::defaultExtension()' method containing the
	'stationname' parameter.
	* Removed the 'stationname' parameter from the
	'RDSettings::pathName()' method.
	* Removed the 'RDSettings::bytesPerSec()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-15 18:07:02 -04:00
Fred Gleason
d61f3ad32a 2020-10-15 Fred Gleason <fredg@paravelsystems.com>
* Modified 'RDFormPost' to use 'QMap' instead of 'std::map'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-15 10:51:11 -04:00
Fred Gleason
4bc6a54052 2020-10-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDApplication::logAuthenticationFailure()' method.
	* Added a sample Fail2Ban jail filter for the WebAPI in
	'conf/rivendell-webapi.conf'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-15 09:41:02 -04:00
Fred Gleason
f5905315eb 2020-10-13 Fred Gleason <fredg@paravelsystems.com>
* Added an 'ENCODER_PRESETS' table to the database.
	* Incremented the database verssion to 343.
	* Added an 'Encoder Profiles' dialog to rdadmin(1).
	* Removed static content dependencies from the WebGet service.
	* Refactored the WebGet service to use Encoder Profiles.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-13 14:41:44 -04:00
Fred Gleason
d2075b2502 2020-10-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed gcc(1) format-string warnings in 'lib/rdmulticaster.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-11 13:44:20 -04:00
Fred Gleason
410de24139 2020-10-09 Fred Gleason <fredg@paravelsystems.com>
* Added an index to the 'GPIO_EVENTS.EVENT_DATETIME' field.
	* Incremented the database version to 342.
	* Implemented the '--verbose' switch for rdmaint(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-09 15:43:45 -04:00
Fred Gleason
998e0124f6 2020-10-09 Fred Gleason <fredg@paravelsystems.com>
* Defined a set of standard exit code defines starting with
	'RD_EXIT_' in 'lib/rd.h'.
	* Regularized the exit codes returned by rdlogmanager(1).
	* Cleaned up error handling when using rdlogmanager(1) in
	command line mode.
	* Fixed a bug in rdlogmanager(1) that could leave a log lock
	asserted after exiting when handling schedule import errors.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-09 13:48:44 -04:00
Fred Gleason
b9f84fca37 2020-10-08 Fred Gleason <fredg@paravelsystems.com>
* Added an 'IMPORTER_LINES.FILE_LINE' field to the database.
	* Added an 'IMPORTER_LINES.LINK_START_TIME' field to the database.
	* Added an 'IMPORTER_LINES.LINK_LENGTH' field to the database.
	* Incremented the database version to 341.
	* Reimplemented the 'RDSvc::linkLog()' and 'RDEventLine::linkLog()'
	methods to use the updated 'IMPORTER_LINES' table schema.
	* Added generation of an 'RDLogManager Error Report' when errors
	are detected when importing an external scheduler file in
	rdlogmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-08 20:08:57 -04:00
Fred Gleason
050ef6b500 2020-10-07 Fred Gleason <fredg@paravelsystems.com>
* Added an 'IMPORTER_LINES.TYPE' field to the database.
	* Removed the 'not null' attribute from the
	'IMPORTER_LINES.START_HOUR' field in the database.
	* Removed the 'not null' attribute from the
	'IMPORTER_LINES.START_SECS' field in the database.
	* Removed the 'IMPORTER_LINES.LINK_LENGTH' field from the database.
	* Removed the 'IMPORTER_LINES.INSERT_TRACK' field from the database.
	* Removed the 'IMPORTER_LINES.INSERT_FIRST' field from the database.
	* Removed the 'IMPORTER_LINES.TRACK_STRING' field from the database.
	* Removed the 'IMPORTER_LINES.LINK_START_TIME' field from the database.
	* Removed the 'IMPORTER_LINES.LINK_LENGTH' field from the database.
	* Incremented the database version to 340.
	* Added type icons to the 'Imported Events' list in the 'Test Import'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-07 19:05:32 -04:00
Fred Gleason
2e60ea8f0b 2020-10-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.SUB_EVENT_INHERITANCE' field to the
	database.
	* Incremented the database version to 339.
	* Added 'RDSvc::subEventInheritance()' and
	'RDSvc::setSubEventInheritance()' methods.
	* Added an 'Inline Traffic Inheritance' control to the 'Edit Service'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-07 14:01:11 -04:00
Fred Gleason
ca1f69d94d Merged branch 'rss'
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-07 11:55:46 -04:00
Fred Gleason
13d97e8955 2020-09-30 Fred Gleason <fredg@paravelsystems.com>
* Changed the 'FEEDS.CHANNEL_LANGUAGE' database field from
	'varchar(5)' to' 'varchar(8)'.
	* Incremented the database version to 338.
	* Increased the 5 character length limitation of the
	'Channel Language' field for podcasts to 8.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-30 14:18:48 -04:00
Fred Gleason
5e22f2ead1 2020-09-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDFeed::postCut()' that could throw an intermittent
	'Unknown Error' message.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-29 21:17:07 -04:00
Fred Gleason
929ab22613 2020-09-29 Fred Gleason <fredg@paravelsystems.com>
* Added the name of the Rivendell library component to 'Unknown Error'
	messages.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-29 20:46:07 -04:00
Fred Gleason
944e14bb6d 2020-09-29 Fred Gleason <fredg@paravelsystems.com>
* Added debugging messages to syslog for the podcasting subsystem.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-29 13:43:33 -04:00
Fred Gleason
ce8dcbd4f0 2020-09-23 Fred Gleason <fredg@paravelsystems.com>
* Added 'RD_PostImage()' and 'RD_RemoveImage()' calls to the
	rivwebcapi API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-24 10:45:20 -04:00
Fred Gleason
c1fce3006e 2020-09-22 Fred Gleason <fredg@paravelsystems.com>
* Implemented the 'Repost' button on the 'Rivendell Feed List'
	dialog in rdadmin(1).
	* Added an 'Unpost' button to the 'Rivendell Feed List' dialog
	in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-23 16:41:13 -04:00
Fred Gleason
26bcbcb86b 2020-09-22 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'RDFeed::deleteImages()' method to
	'RDFeed::removeAllImages()'.
2020-09-23 14:34:37 -04:00
Fred Gleason
2cc77de8de 2020-09-22 Fred Gleason <fredg@paravelsystems.com>
* Added 'FEEDS.CHANNEL_IMAGE_ID_IDX', 'FEEDS.DEFAULT_ITEM_IMAGE_ID_IDX'
	and 'PODCASTS.ITEM_IMAGE_ID_IDX' indexes to the database.
	* Incremented the database version to 337.
	* Added a sanity check to the 'Image Manager' dialog in
	rdadmin(1) to prevent deletion of in-use images.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-23 14:06:27 -04:00
Fred Gleason
9ae7f909cb 2020-09-22 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostImage' method to the Web API.
	* Added a 'RemoveImage' method to the Web API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-23 13:11:11 -04:00
Fred Gleason
d534aacfd1 2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Modified the type of the 'FEED_IMAGES.DATA' database field
	to 'longblob'.
	* Incremented the database version to 336.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-22 15:44:51 -04:00
Fred Gleason
5a549b7866 2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostPodcast' method to the Web API.
	* Added a 'RemovePodcast' method to the Web API.
	* Added a 'PostRss' method to the Web API.
	* Added a 'RemoveRss' method to the Web API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-22 15:20:01 -04:00
Fred Gleason
6d3a60d174 2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PODCASTS.SHA1_HASH' field to the database.
	* Incremented the database version to 335.
	* Added 'RDPodcast::sha1Hash()' and 'RDPodcast::setSha1Hash()'
	methods.
	* Implemented audio relinking for podcast media files.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-21 10:24:00 -04:00
Fred Gleason
6516c20ff6 2020-09-17 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDUser::feedAuthorized()' method.
	* Added a 'SavePodcast' method to the Web API.
	* Added a 'GetPodcast' method to the Web API.
	* Added a 'DeletePodcast' method to the Web API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-17 16:19:26 -04:00
Fred Gleason
288b7a9826 2020-08-28 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDNotification::FeedType' value to the
	'RDNotification::Type' enumeration.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-28 13:40:11 -04:00
Fred Gleason
182b0372d0 Fixed conflicts in 'ChangeLog'
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-19 16:53:24 -04:00
Fred Gleason
e331f2bf38 2020-08-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed compiler warnings in 'lib/rdsettings.cpp' and
	'lib/rdstation.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-19 14:31:35 -04:00
Fred Gleason
c5de016536 2020-08-19 Fred Gleason <fredg@paravelsystems.com>
* Changed the database field 'FEEDS.PURGE_PASSWORD' from
	'varchar(64)' to 'text'.
	* Changed the contents of the 'FEEDS.PURGE_PASSWORD' database
	field from plaintext to Base64 encoding.
	* Incremented the database version to 334.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-19 13:28:13 -04:00
Fred Gleason
ecd2a2d427 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>
2020-08-19 10:44:41 -04:00
David Klann
7d60274573
Add support for FTPS upload and download in RDCatch.
cURL supports 'ftps://' URLs so this change was trivial.
2020-08-15 21:11:41 -05:00
Fred Gleason
783ce2fc9a 2020-08-13 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Unly Show Unexpired Items' checkbox from the
	'Podcast Feed Item List' dialog in rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-13 18:14:32 -04:00
Fred Gleason
ad028fd7c5 2020-08-12 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDFontEngine::bigLabelFont()' and
	'RDFontEngine::bigLabelFontMetrics()' methods.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-12 12:22:35 -04:00
Fred Gleason
88e0544874 2020-08-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CHANNEL_AUTHOR_IS_DEFAULT' field to the database.
	* Incremented the database version to 332.
	* Added 'RDFeed::channelAuthorIsDefault()' and
	'RDFeed::setChannelAuthorIsDefault()' methods.
	* Added a 'Use as default Item Author' checkbox to the 'Edit Feed'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-11 18:51:13 -04:00
Fred Gleason
d80e72152d 2020-08-11 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDRssSchemas::itemLinksSupported()' and
	'RDRssSchemas::itemCommentsSupported()' methods.
	* Modified the 'Editing Item' dialog in rdcastmanager(1) to
	conditionally display the 'Link' and 'Comments' controls.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-11 16:25:48 -04:00
Fred Gleason
8ada6c0812 2020-08-11 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'ENCODERS', 'ENCODER_BITRATES', 'ENCODER_BITRATES'
	and 'ENCODER_CHANNELS' tables from the database.
	* Incremented the database version to 331.
	* Removed the 'RDSettings::customCommandLine()',
	'RDSettings::setCustomCommandLine()' and
	' RDSettings::resolvedCustomCommandLine()' methods.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-11 15:53:33 -04:00
Fred Gleason
d433e3c631 2020-08-10 Fred Gleason <fredg@paravelsystems.com>
* Added a check in 'RDSvc::create()' to disallow creation of a
	service with a name containing whitespace.
	* Added whitespace to the set of banned characters for service names
	in the 'Add Service' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-10 13:17:27 -04:00
Fred Gleason
b4cd2117ec 2020-08-08 Fred Gleason <fredg@paravelsystems.com>
* Implemented multicast notifications for RSS feed items.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-08 17:38:16 -04:00
Fred Gleason
9a428ad855 2020-08-08 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PODCASTS.ORIGIN_LOGIN_NAME' field to the database.
	* Added a 'PODCASTS.ORIGIN_STATION' field to the database.
	* Incremented the database version to 330.
	* Changed the 'Origin' column to 'Start' in the 'Podcast Item List'
	dialog in rdcastmanager(1).
	* Added a 'Posted By' column to the 'Podcast Item List'	dialog in
	rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-08 14:37:48 -04:00
Fred Gleason
a16e1b0dcc 2020-08-08 Fred Gleason <fredg@paravelsystems.com>
* Modified rdcastmanager(1) to apply the cart title as the default
	item title when posting from a cart/cut.
	* Modified rdcastmanager(1) to apply the file metadata or filename
	as the default item title when posting from a file.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-08 12:25:52 -04:00
Fred Gleason
e0af63d3e1 2020-08-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SYSTEM.RSS_PROCESSOR_STATION' field to the database.
	* Added a 'PODCASTS.EXPIRATION_DATETIME' field to the database.
	* Dropped the 'PODCASTS.SHELF_LIFE' field from the database.
	* Incremented the database version to 329.
	* Modified convention to use local system time for all podcast
	components.
	* Added 'RDPodcast::expirationDateTime()' and
	'RDPodcast::setExpirationDateTime()' methods.
	* Removed 'RDPodcast::shelfLife()' and 'RDPodcast::setShelfLife()'
	methods.
	* Added an rdrssd(8) daemon.
	* Removed the rdpurgecasts(8) utility.
	* Added 'RDSystem::rssProcessorStation()' and
	'RDSystem::setRssProcessorStation()' methods.
	* Added a 'Process RSS Updates' control to the 'System-Wide Settings'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-07 17:06:50 -04:00
Fred Gleason
50a80d0a61 2020-08-05 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDDataPacer' class.
	* Modified the GVC7000 switcher driver to insert 50 mS pauses
	between protocol commands.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-05 12:04:09 -04:00
Fred Gleason
7d62e200ba 2020-08-04 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Log Render Options' dialog to rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-04 16:07:45 -04:00
Fred Gleason
f76642d44e 2020-08-04 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDLogIcons' class.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-04 13:15:26 -04:00