72 Commits

Author SHA1 Message Date
Fred Gleason
7beec8dba1 2022-11-16 Fred Gleason <fredg@paravelsystems.com>
* Added a 'QString *err_msg' argument to 'RDDownload::runDownload()'.
	* Added a 'QString *err_msg' argument to 'RDDownload::runUpload()'.
	* Fixed regression in rdcatch(1) that caused upload and download
	events to fail to show exit status correctly.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-16 15:31:40 -05:00
Fred Gleason
c266b9a4f6 2022-11-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that caused conflicting record
	events to deadlock.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-15 12:06:29 -05:00
Fred Gleason
2f1e57f3f4 2022-11-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that caused conflicting play-out
	events to deadlock.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-14 17:19:23 -05:00
Fred Gleason
b94dee3e64 2022-11-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a race condition with calculating the effect start time
	of events in rdcatchd(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-14 14:54:17 -05:00
Fred Gleason
9e1c0a9884 2022-11-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a fencepost bug in rdcatchd(8) that caused meter level
	updates to sent to the incorrect deck channel.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-11 11:48:22 -05:00
Fred Gleason
4122764e9d 2022-11-05 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatch(1) that broke record and play-out
	metering.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-05 09:04:53 -04:00
Fred Gleason
9161d9014e 2022-11-03 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal code for RDCatch control via TCP connection.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-03 12:44:29 -04:00
Fred Gleason
ae3542f9a4 2022-11-02 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdcatch(1) and rdcatchd(8) to use the notification
	mechanism instead for distributing meter updates instead of the
	'Enable Metering' catch command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-02 13:10:11 -04:00
Fred Gleason
54d8bd4a10 2022-11-01 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Reload Decks' operation to 'RDCatchEvent'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-01 16:46:02 -04:00
Fred Gleason
47b6105b4b 2022-11-01 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdcatchd(1) to eliminate the need for the 'Set Exit Code'
	catch command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-01 16:19:33 -04:00
Fred Gleason
8e7df3585d 2022-11-01 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdcatch(1) to use the notification mechanism instead of
	the 'Input Monitor State' catch command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-01 12:26:05 -04:00
Fred Gleason
eb060e37c9 2022-10-31 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdcatch(1) to use the notification mechanism instead of
	the 'StopDeck' catch command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-31 11:49:29 -04:00
Fred Gleason
47cf0d34e4 2022-10-31 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal support for the 'Reload Heartbeat Configuration'
	catch protocol command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-31 09:49:19 -04:00
Fred Gleason
05ec302fc4 2022-10-31 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal support for the 'Reload Deck List' catch
	protocol command.
	* Removed vestigal support for the 'Reload Event List' catch
	protocol command.
	* Removed vestigal support for the 'Reload Event List' catch
	protocol command.
	* Removed vestigal support for the 'Reload Time Offset' catch
	protocol command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-31 09:41:46 -04:00
Fred Gleason
96dc57685c 2022-10-30 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdcatch(1) to use the notification mechanism instead of
	the 'PurgeEvent' command.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-30 16:52:44 -04:00
Fred Gleason
6bc518b515 2022-10-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatch(1) that caused status indication
	to break for record events.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-30 16:36:25 -04:00
Fred Gleason
de49ba6cd9 2022-10-30 Fred Gleason <fredg@paravelsystems.com>
* Reimplemented the 'PurgeEvent' command using 'RDCatchEvent'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-30 16:02:46 -04:00
Fred Gleason
d65517215b 2022-10-30 Fred Gleason <fredg@paravelsystems.com>
* Reimplemented the 'Request Deck Status' command using
	'RDCatchEvent'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-30 14:54:29 -04:00
Fred Gleason
d38349cf39 2022-10-28 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDCatchEvent' class.
	* Reimplemented the 'Deck Event Processed' command using
	'RDCatchEvent'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-28 09:26:37 -04:00
Fred Gleason
de1908cb53 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>
2022-09-20 10:18:23 -04:00
Fred Gleason
19370379b4 2022-09-19 Fred Gleason <fredg@paravelsystems.com>
* Added support for using a ssh(1) identity file for authentication
	to the 'Upload' and 'Download' event types in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-09-19 13:07:48 -04:00
Fred Gleason
d44e932fe3 2022-04-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed bug in the RDCatch subsystem that caused audio format
	parameters to be confounded between uploaded and audio store
	files.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-04-21 13:19:24 -04:00
Fred Gleason
49d6b2a528 2021-09-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a 'no such signal' error in 'rdcatchd/rdcatchd.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-10 17:16:11 -04:00
Fred Gleason
ac594cc68b 2021-09-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up deprecation warnings for 'QString::sprintf()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-01 19:59:37 -04:00
Fred Gleason
338465531c 2021-08-13 Fred Gleason <fredg@paravelsystems.com>
* Replaced hard-coded date/time formats with standard formats in
	all reports and GUI modules.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-13 10:02:26 -04:00
Fred Gleason
ad9e466df9 2021-07-14 Fred Gleason <fredg@paravelsystems.com>
* Restored the ability to post to RSS feeds in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-14 17:36:26 -04:00
Fred Gleason
8c3e303725 2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rdcatchd(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-06-02 14:45:57 -04:00
Fred Gleason
9a65658267 2021-04-27 Fred Gleason <fredg@paravelsystems.com>
* Changed the 'RDAIRPLAY_EXIT_PASSWORD' field from 'varchar(41)'
	to 'varchar(48)'.
	* Incremented the database version to 349.
	* Renamed the 'RDSha1Hash()' function to 'RDSha1HashFile()'.
	* Added 'RDSha1HashPassword()' function in 'lib/rdhash.[cpp|h]'.
	* Added 'RDSha1HashCheckPassword()' function in 'lib/rdhash.[cpp|h]'.
	* Changed the hashing algorithm used for the Exit Password for
	rdairplay(1) to salted SHA1.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-27 16:52:26 -04:00
Fred Gleason
65d249a9e1 2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions caused by changes in behavior in the null
	constructor of 'QTime' between Qt4 and Qt5.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-26 11:28:14 -04:00
Fred Gleason
220ead0ccd 2021-04-19 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'rdcatchd/'.
	* Replaced " with ' delimiters in all SQL literal strings in
	'rdcatchd/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-19 19:51:47 -04:00
Fred Gleason
77f3035ed9 2021-02-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that caused it to fail to
	start properly.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-25 13:09:52 -05:00
Fred Gleason
57abeada3c 2021-02-24 Fred Gleason <fredg@paravelsystems.com>
* Updated build system to use Qt5 instead of Qt4.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-24 16:12:22 -05:00
Fred Gleason
89a0d72439 2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-23 18:07:21 -05:00
Fred Gleason
3fee601766 2021-02-12 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that caused segfaults upon
	startup.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-12 15:11:14 -05:00
Fred Gleason
c7efd9245c 2019-12-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcatchd(8) that failed to send a MODIFY
	notification at the end of a Record or Download event.
2019-12-09 03:01:03 -05:00
Fred Gleason
e8754d8377 2019-11-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that broke audio metering.
2019-11-27 10:22:16 -05:00
Fred Gleason
ac4d9305bc 2019-06-25 Fred Gleason <fredg@paravelsystems.com>
* Adjusted to priority of 'operations' system events to use
	LOG_INFO priority.
2019-06-25 15:08:12 -04:00
Fred Gleason
f50447eb8b 2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDApplication::syslog()' methods.
2019-06-24 16:40:18 -04:00
Fred Gleason
a094fbc788 2019-06-17 Fred Gleason <fredg@paravelsystems.com>
* Refactored logging system to use syslog(3) exclusively.
	* Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory='
	and 'LogPattern=' directives from rd.conf(5).
2019-06-17 17:46:26 -04:00
Fred Gleason
e5b6a7ec0a 2019-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added a startup check for the 'rivendell' service.
2019-03-21 17:13:46 -04:00
Fred Gleason
188d134d70 2019-02-11 Fred Gleason <fredg@paravelsystems.com>
Fixed a bug in rdcatchd(8) that could cause invalid filenames
	to be generated for temporary files.
2019-02-11 07:25:26 -05:00
Fred Gleason
06dd4c336b 2019-02-07 Fred Gleason <fredg@paravelsystems.com>
* Replaced the 'Add Event', 'Delete Event' and 'Modify Event'
	commands in the RDCatch Monitor Protocol with multicast update
	events.
2019-02-07 13:35:14 -05:00
Fred Gleason
9e93dddb02 2019-01-10 Fred Gleason <fredg@paravelsystems.com>
* Refactored dropbox instance management to use multicast
	notifications.
2019-01-10 18:11:18 -05:00
Patrick Linstruth
c58c284784 Moved mixer initialization to caed(8). 2018-11-26 12:02:36 -08:00
Patrick Linstruth
644ebae7d7 2018-08-25 Patrick Linstruth <patrick@deltecent.com>
* Fixed a regression in rdcatchd(1) to change location
	of rdcatchd(1) from 'bin/rdcatchd' to 'sbin/rdcatchd'.
2018-08-25 12:52:36 -07:00
Fred Gleason
223bdc2f84 2018-08-10 Fred Gleason <fredg@paravelsystems.com>
* Changed installation location of caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8) from '@prefix@/bin' to '@prefix@/sbin'.
	* Removed code to detach from controlling terminal after startup
	from caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8).
	* Removed code to manage dropbox instances from rdcatchd(8).
	* Removed code to start service daemons automatically from
	user modules.
	* Added rdservice(8).
2018-08-10 06:09:16 -04:00
Fred Gleason
e3bb963c3f 2018-08-08 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdcatchd(8) to remove arbitrary limits on number of
	control connections.
	* Removed Qt3 support classes from rdcatchd(8).
2018-08-08 16:03:36 -04:00
Fred Gleason
796e1bebc3 2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in.
	* Removed rdchunk(1).
	* Upgraded Qt3 to Qt4.
2018-08-07 10:09:49 -04:00
Fred Gleason
26c29e1d4e 2018-07-31 Fred Gleason <fredg@paravelsystems.com>
* Refactored 'RDMacro' to handle UTF-8 strings correctly.
2018-07-31 12:54:08 -04:00
Fred Gleason
a3e23f24fb 2018-07-17 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'rdcatchd/' ensure UTF-8
	compatibility.
2018-07-17 19:29:20 +00:00