834 Commits

Author SHA1 Message Date
Fred Gleason
e15c96481a 2021-07-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogedit(1) that could cause a segfault when
	attempting to play a non-audio event in the 'Voice Tracker' dialog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-20 16:28:53 -04:00
Fred Gleason
3186005094 2021-05-28 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::prettyCommandString()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-05-28 13:42:35 -04:00
Fred Gleason
7ea4068654 2021-05-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) where clicking the 'OK' button
	in the 'Edit Switcher' dialog would cause an error dialog to appear
	with a 'primary serial device not active' warning. The following
	devices are affected: 'Local GPIO', 'Local Audio Adapter',
	'Logitek vGuest', 'Livewire LWRP Audio', and 'Kernel GPIO'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-05-07 11:26:41 -04:00
David Klann
f43530a1d1 VU Meters update.
Parameterize values used for allocating the UDP port number for VU meters.

Signed-off-by: David Klann <dklann@broadcasttool.com>
2021-04-12 16:09:53 -05:00
Fred Gleason
e6495d9363 2021-04-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDFlacDecode' that caused conversion of files
	with names containing non-ASCII characters to fail.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-08 12:38:33 -04:00
Fred Gleason
8933a074b9 2021-04-06 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'RadioTraffic.com Traffic Reconciliation' to
	'Original RadioTraffic.com Traffic Reconciliation (DEPRECATED)'
	in rdadmin(1).
	* Added a new 'RadioTraffic.com Traffic Reconciliation' report.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-06 13:44:43 -04:00
Fred Gleason
26e323f672 2021-04-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) where the title of an existing cart
	would be overwritten with a default title even when no title
	was found in the file metadata.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-06 11:58:16 -04:00
Fred Gleason
fba2da0ab0 2021-04-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the Cart Selector Dialog that made it impossible
	to enter an apostrophe character in the filter search line.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-06 09:39:35 -04:00
Fred Gleason
45a052edcf 2021-04-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that caused the Talk Timer to
	fail to be populated when adding new carts to a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-06 09:20:44 -04:00
David Klann
d0ab62a5bf
Be less 'greedy' copying CartChunk Cut ID data.
QStrings, like C strings end with "0", so
stop when reaching the first instance of 0.

Signed-off-by: David Klann <dklann@broadcasttool.com>
2021-01-17 15:55:29 -06:00
Patrick Linstruth
828d761f9c Fixed title separation in rdlogmanager(1) scheduler.
Added a 'STACK_LINES.TITLE' field to the database.
Incremented the database version to 347.
2020-12-22 12:07:16 -08:00
Fred Gleason
c89feb5ad1 2020-12-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a typo in 'lib/rdcart.h' that broke the build.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-09 12:53:15 -05:00
Fred Gleason
ea4852fa3d 2020-12-09 Fred Gleason <fredg@paravelsystems.com>
* Reverted changed from 2020-12-09.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-09 11:42:38 -05:00
Fred Gleason
e8fcadbac8 2020-12-09 Fred Gleason <fredg@paravelsystems.com>
* Reverted changed from 2020-12-09.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-09 11:39:58 -05:00
Fred Gleason
503de8000d 2020-12-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDCart::ensureTitleIsUnique()' static method.
	* Removed code to make cart titles automatically unique from
	'RDCart::setTitle()'.
	* Refactored rdimport(1) to allow detection of duplicate titles.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-07 15:44:06 -05:00
Fred Gleason
93d9ab14f7 2020-11-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused new passwords to be
	truncated to 16 characters.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-29 19:42:02 -05:00
Fred Gleason
57f2917ceb 2020-11-24 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'USERS.ADMIN_USERS_PRIV' field from the database.
	* Added a 'USERS.ADMIN_RSS_PRIV' field to the database.
	* Incremented the database version to 346.
	* Added 'RDUser:adminRss()' and 'RDUser::setAdminRss()' methods.
	* Added an 'Administer RSS Feeds' checkbox to the 'Administrative
	Rights' section of the 'User' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-24 18:57:20 -05:00
Fred Gleason
50a06191d9 2020-11-23 Fred Gleason <fredg@paravelsystems.com>
* Added a '--ticket=' option to rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-23 16:22:20 -05:00
Fred Gleason
0a0e73771a 2020-11-23 Fred Gleason <fredg@paravelsystems.com>
* Added a 'DROPBOXES.SEND_EMAIL' field to the database.
	* Incremented the database version to 345.
	* Added 'RDDropbox::sendEmail()' and 'RDDropbox::setSendEmail()'
	methods.
	* Added a 'Send e-mail reports' checkbox to the 'Dropbox
	Configuration' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-23 12:48:47 -05:00
Fred Gleason
deb363f6eb 2020-11-22 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SYSTEM.ORIGIN_EMAIL_ADDRESS' field to the database.
	* Added a 'GROUPS.NOTIFY_EMAIL_ADDRESS' field to the database.
	* Incremented the database version to 344.
	* Added an 'Origin E-Mail Address' control to the 'System-Wide
	Settings' dialog in rdadmin(1).
	* Added a 'Notification E-Mail Addresses' control to the 'Group'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-22 13:58:59 -05:00
Fred Gleason
5386947984 2020-11-18 Fred Gleason <fredg@paravelsystems.com>
* Added a '--body-file' switch to the 'sendmail_test' test harness.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-19 18:57:03 -05:00
Fred Gleason
55db0e4dd9 2020-11-18 Fred Gleason <fredg@paravelsystems.com>
* Added a '--dry-run' switch to the 'sendmail_test' test harness.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-19 12:14:30 -05:00
Fred Gleason
aba286e097 2020-11-18 Fred Gleason <fredg@paravelsystems.com>
* Implemented support for multi-byte UTF-8 characters for the
	display-name component of e-mail addresses in 'RDSendMail()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-19 11:37:22 -05:00
Fred Gleason
365a302c96 2020-11-18 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDSendMail()' function in 'lib/rdsendmail.[cpp|h]'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-19 08:52:51 -05:00
Fred Gleason
5f55a3438d 2020-11-15 Fred Gleason <fredg@paravelsystems.com>
* Added the name of the import file to schedule import failure
	reports.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-15 14:58:25 -05:00
Fred Gleason
b9e63c6e7c 2020-11-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that, after detection of a
	linker error, caused subsequent linker errors to fail to be
	appended to the error report.
	* Fixed a bug in rdlogmanager(1) that caused second and subsequent
	inline Track Markers or Markers within an Event to fail to be
	inserted Relative Position mode.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-15 14:28:02 -05:00
Fred Gleason
622e2b670d 2020-11-14 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::setProcessEnvironment()' method.
	* Fixed a bug in 'RDSvc::create()' that failed to propagate
	the 'SERVICES.SUB_EVENT_INHERITANCE', 'SERVICES.TFC_PREIMPORT_CMD',
	'SERVICES.TFC_LABEL_CART', 'SERVICES.TFC_TRACK_CART',
	'SERVICES.TFC_BREAK_STRING', 'SERVICES.TFC_TRACK_STRING',
	'SERVICES.MUS_PREIMPORT_CMD, 'SERVICES.MUS_LABEL_CART',
	'SERVICES.MUS_TRACK_CART', 'SERVICES.MUS_BREAK_STRING',
	'SERVICES.MUS_TRACK_STRING', 'SERVICES.PROGRAM_CODE' and
	'SERVICES.DESCRIPTION' fields when using an exemplar.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-15 11:33:57 -05:00
Fred Gleason
9cd09bacad 2020-11-14 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::setProcessEnvironment()' method.
	* Fixed a bug in 'RDSvc::create()' that failed to propagate
	the 'SERVICES.SUB_EVENT_INHERITANCE', 'SERVICES.TFC_PREIMPORT_CMD',
	'SERVICES.TFC_LABEL_CART', 'SERVICES.TFC_TRACK_CART',
	'SERVICES.TFC_BREAK_STRING', 'SERVICES.TFC_TRACK_STRING',
	'SERVICES.MUS_PREIMPORT_CMD, 'SERVICES.MUS_LABEL_CART',
	'SERVICES.MUS_TRACK_CART', 'SERVICES.MUS_BREAK_STRING',
	'SERVICES.MUS_TRACK_STRING', 'SERVICES.PROGRAM_CODE' and
	'SERVICES.DESCRIPTION' fields when using an exemplar.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-14 21:18:38 -05:00
Fred Gleason
b58831ec01 2020-11-14 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::setProcessEnvironment()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-14 18:58:15 -05:00
Fred Gleason
2a01ee4e1f 2020-11-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdmonitor(1) that caused false indications of
	a failed audio store when used with autofs(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-14 17:45:36 -05:00
Fred Gleason
0385548139 2020-11-06 Fred Gleason <fredg@paravelsystems.com>
* Modified Webget to use tickets for authenticating media transfer
	requests.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-06 18:34:53 -05:00
Fred Gleason
b4002b2357 2020-11-06 Fred Gleason <fredg@paravelsystems.com>
* Consolidated ticket processing operations in new
	'RDUser::createTicket()' and 'RDUser::ticketIsValid()' methods.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-06 16:42:10 -05:00
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