152 Commits

Author SHA1 Message Date
Fred Gleason
61b9a08f2a 2022-12-21 Fred Gleason <fredg@paravelsystems.com>
* Added a test for duplicate log line IDs to rddbmgr(8).
	* Added a '--check-log-line-ids' switch to rddbmgr(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-12-21 12:32:10 -05:00
Fred Gleason
030bc6acae 2022-11-10 Fred Gleason <fredg@paravelsystems.com>
* Added code to catch warning exception when processing image
	conversions in 'RDIMResizeImage()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-10 17:36:19 -05:00
Fred Gleason
3227e340c1 2022-11-09 Fred Gleason <fredg@paravelsystems.com>
* Added an image format check to rddbmgr(8) to prevent it from
	attempting to generate thumbnail images from non-JPEG/PNG images.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-09 12:57:11 -05:00
Fred Gleason
4a3454cb8d 2022-11-07 Fred Gleason <fredg@paravelsystems.com>
* Added a dependency for ImageMagick's 'Magick++' library interface.
	* Added a 'FEED_IMAGES.DATA_MID_THUMB' field to the database.
	* Added a 'FEED_IMAGES.DATA_SMALL_THUMB' field to the database.
	* Incremented the database version to 365.
	* Optimized loading of thumbnail image data in rdadmin(1),
	rdcastmanager(1) and rdcatch(1).
	* Re-enabled uploads to RSS feeds in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-07 16:52:13 -05:00
Fred Gleason
98957e1d62 2022-10-18 Fred Gleason <fredg@paravelsystems.com>
* Added values for the `IMPORTER_TEMPLATES.TRANS_TYPE_*` and
	`TIMPORTER_TEMPLATES.TIME_TYPE_*` parser settings for the
	'Rivendell Standard Import' profile.
	* Incremented the database version to 364.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-18 16:08:47 -04:00
Fred Gleason
7c8fbeacb8 2022-10-14 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.BYPASS_MODE' field to the database.
	* Added a 'SERVICES.MUS_TRANS_TYPE_OFFSET' field to the database.
	* Added a 'SERVICES.MUS_TRANS_TYPE_LENGTH' field to the database.
	* Added a 'SERVICES.MUS_TIME_TYPE_OFFSET' field to the database.
	* Added a 'SERVICES.MUS_TIME_TYPE_LENGTH' field to the database.
	* Added a 'IMPORT_TEMPLATES.TRANS_TYPE_OFFSET' field to the database.
	* Added a 'IMPORT_TEMPLATES.TRANS_TYPE_LENGTH' field to the database.
	* Added a 'IMPORT_TEMPLATES.TIME_TYPE_OFFSET' field to the database.
	* Added a 'IMPORT_TEMPLATES.TIME_TYPE_LENGTH' field to the database.
	* Added a 'IMPORTER_LINES.TRANS_TYPE' field to the database.
	* Added a 'IMPORTER_LINES.TIME_TYPE' field to the database.
	* Added a 'IMPORTER_LINES.GRACE_TIME' field to the database.
	* Incremented the database schema to 363.
	* Added a 'Bypass Grid Processing' dropdown to the 'Edit Service'
	dialog in rdadmin(1).
	* Added 'Transition Type' and 'Time Type' parameters to the music
	import parameters in the 'Edit Service' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-14 18:45:38 -04:00
Fred Gleason
844e10e1b6 2022-10-06 Fred Gleason <fredg@paravelsystems.com>
* Changed the type of the 'MATRICES.PASSWORD` field in the
	database to 'text'.
	* Changed the type of the 'MATRICES.PASSWORD_2` field in the
	database to 'text'.
	* Applied Base64 encoding to the 'MATRICES.PASSWORD' field in
	the database.
	* Applied Base64 encoding to the 'MATRICES.PASSWORD_2' field in
	the database.
	* Incremented the database version to 362.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-06 18:07:40 -04:00
Fred Gleason
ef4930caf9 2022-10-06 Fred Gleason <fredg@paravelsystems.com>
* Changed the type of the 'SWITCHER_NODES.PASSWORD` field in the
	database to 'text'.
	* Applied Base64 encoding to the 'SWITCHER_NODES.PASSWORD' field in
	the database.
	* Incremented the database version to 361.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-06 17:25:26 -04:00
Fred Gleason
ddd62c10ed 2022-10-06 Fred Gleason <fredg@paravelsystems.com>
* Changed the type of the 'REPLICATORS.URL_PASSWORD` field in the
	database to 'text'.
	* Applied Base64 encoding to the 'REPLICATORS.URL_PASSWORD' field in
	the database.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-06 16:48:01 -04:00
Fred Gleason
285a095ada 2022-10-06 Fred Gleason <fredg@paravelsystems.com>
* Changed the length of the 'USERS.PASSWORD' field in the database
	to 191 characters.
	* Applied Base64 encoding to the 'USERS.PASSWORD' field in the
	database.
	* Incremented the database version to 359.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-10-06 16:04:01 -04:00
Fred Gleason
5f45045849 2022-09-29 Fred Gleason <fredg@paravelsystems.com>
* Modified rddbmgr(8) to include the Realm name in its default
	output.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-09-29 13:51:05 -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
139c22dc7c 2022-09-07 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'STATIONS.EDITOR_PATH' field from the database.
	* Incremented the database version to 357.
	* Removed the 'RDStation::editorPath()' and
	'RDStation::setEditorPath()' methods.
	* Removed the 'Audio Editor' control from the 'Configure Host'
	dialog in rdadmin(1).
	* Removed the 'Send to Editor' button from 'RDCartDialog'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-09-07 13:46:21 -04:00
Fred Gleason
42a2b1a0dd 2022-05-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcartslots(1) that caused default settings
	to fail to be loaded correctly at startup.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-05-23 12:28:44 -04:00
Fred Gleason
2b2605ecf1 2022-02-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that could cause the 346=>347 schema
	conversion to hang indefinitely with databases containing large
	cart libraries.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-02-22 09:14:51 -05:00
Fred Gleason
a2f8ddd9bc 2022-02-22 Fred Gleason <fredg@paravelsystems.com>
* Added a '--print-progress' switch to rddbmgr(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-02-22 08:44:22 -05:00
Fred Gleason
eb2ec404a1 2021-11-24 Fred Gleason <fredg@paravelsystems.com>
* Added a '--check-strings' switch to rddbmgr(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-11-24 08:35:36 -05:00
Fred Gleason
db8652b13e 2021-09-16 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDAIRPLAY.LOGO_PATH' field to the database.
	* Incremented the database version to 355.
	* Added 'RDAirPlayConf::logoPath()' and
	'RDAirPlayConf::setLogoPath()' methods.
	* Added a 'Logo Image' control to the 'Configure RDAirPlay' dialog
	in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-16 14:03:37 -04:00
Fred Gleason
7220567b83 2021-09-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rddbmgr(8) in '--check' mode that caused
	alteration of a table's engine type to fail.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-11 13:11:10 -04:00
Fred Gleason
a559ec2bc0 2021-09-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that generated a SQL error when checking
	for orphaned scheduler code rules when no Clocks existed in the
	database.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-11 12:55:37 -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
e30fe2b0b7 2021-08-31 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.INCLUDE_MUS_IMPORT_MARKERS' field to the database.
	* Added a 'SERVICES.INCLUDE_TFC_IMPORT_MARKERS' field to the database.
	* Added a 'LOGS.INCLUDE_MUS_IMPORT_MARKERS' field to the database.
	* Added a 'LOGS.INCLUDE_TFC_IMPORT_MARKERS' field to the database.
	* Incremented the database version to 354.
	* Replaced the 'Include Import Marker in Finished Logs' checkbox
	with 'Include Music Import Markers in Finished Logs' and
	'Include Traffic Import Markers in Finished Logs' checkboxes in
	the 'Edit Service' dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-31 13:24:57 -04:00
Fred Gleason
abe00acce8 2021-08-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SYSTEM.REALM_NAME' field to the database.
	* Incremented the database version to 353.
	* Added 'RDSystem::realmName()' and 'RDSystem::setREalmName()'
	methods.
	* Added a 'realm_name' member to the 'rd_system_settings' struct
	in the RivWebCApi library.
	* Added a 'Realm Name' control to the 'System-Wide Settings'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-21 13:32:28 -04:00
Fred Gleason
22a2fd2f9c 2021-08-11 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'SYSTEM.TIME_FORMAT' field from the database.
	* Added a 'SYSTEM.SHOW_TWELVE_HOUR_TIME' field to the database.
	* Incremented the database version 352.
	* Added 'RDSystem::showTwelveHourTime()' and
	'RDSystem::setShowTwelveHourTime()' methods.
	* Refactored 'RDTimeEdit' to support 12 hour time format.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-11 11:14:06 -04:00
Fred Gleason
15ff31483d 2021-08-03 Fred Gleason <fredg@paravelsystems.com>
* Added 'SYSTEM.LONG_DATE_FORMAT', 'SYSTEM.SHORT_DATE_FORMAT'
	and 'SYSTEM.TIME_FORMAT' fields to the database.
	* Incremented the database version to 351.
	* Added 'RDSystem::longDateFormat()', 'RDSystem'setLongDateFormat()',
	'RDSystem::shortDateFormat()', 'RDSystem::setShortDateFormat()',
	'RDSystem::timeFormat()' and 'RDSystem::setTimeFormat()' methods.
	* Added a 'Date/Time Formats' section to the 'System-Wide Settings'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-03 20:44:58 -04:00
Fred Gleason
21d35faa50 2021-07-02 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AUDIO_INPUTS.LABEL' field to the database.
	* Added an 'AUDIO_OUTPUTS.LABEL' field to the database.
	* Incremented the database version to 350.
	* Added 'RDAudioPort::inputPortLabel()',
	'RDAudioPort::setInputPortLabel()' 'RDAudioPort::outputPortLabel()'
	and 'RDAudioPort::setOutputPortLabel()' methods.
	* Added 'Label' fields to the 'Input Port' and 'Output Port'
	sections of the 'Edit Audio Ports' dialog in rdadmin(1).
	* Added code to rdairplay(1) to use port labels on audio meters.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-02 20:00:39 -04:00
Fred Gleason
76e3d550ba 2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rddbmgr(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-06-02 17:19:13 -04:00
Fred Gleason
7a6537e2b3 2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rddbmgr(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-06-02 15:46:39 -04:00
Fred Gleason
dea9c478b7 2021-05-28 Fred Gleason <fredg@paravelsystems.com>
* Updated rddbmgr(8) to correctly recognize schema database
	schema 347 as belonging to v3.6.0.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-05-28 10:42:04 -04:00
David Klann
288fb02fed Fix a typo in lib/rdcut.cpp that threw a SQL error.
Fix typos in lib/rdsvc.cpp that threw SQL errors.

Fix typos in rdlibrary/list_reports.cpp that threw SQL errors.

Fix typos in utils/rdclilogedit/operations.cpp that threw SQL errors.

Fix typos in utils/rddbmgr/updateschema.cpp that threw SQL errors.

Signed-off-by: David Klann <dklann@broadcasttool.com>
2021-05-09 21:29:45 -05: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
6664a99f59 2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Collations=' directive to the [mySQL] section of
	rd.conf(5).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-26 19:12:01 -04:00
Fred Gleason
070e655f55 2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions that caused SQL errors when performing database
	creation in rddbmgr(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-26 16:50:26 -04:00
Fred Gleason
cc3ae5c1eb 2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions that caused SQL errors when performing
	schema upgrades and reversions.
	* Disabled the reversion from schema 257=>256 in rddbmgr(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-26 15:29:00 -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
7f44ad5780 2021-04-22 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'utils/rddbmgr/'.
	* Replaced " with ' delimiters in all SQL literal strings in
	'utils/rddbmgr/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-22 20:44:19 -04:00
Fred Gleason
460509efaf 2021-04-05 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compilation warnings in rddbmgr(8).
	* Rebased rddbmgr(8) to use 'QCoreApplication' rather than
	'QApplication'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-05 13:43:31 -04:00
Fred Gleason
de570896f1 2021-03-08 Fred Gleason <fredg@paravelsystems.com>
* Commented out code to initialize the 'NEXUS_STATIONS' table
	in rddbmgr(8).
	* Fixed a bug in 'CheckSchedCodeRules()' in rddbmgr(8) that
	would throw a SQL error when no schedule codes were defined.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-03-08 11:51:55 -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
f1703ba647 2021-02-11 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDSchedRulesModel'.
	* Added a pseudo-schema change to force checking of schedule code
	rules.
	* Incremented the database version to 348.
	* Added a check for scheduler code rules to rddbmgr(8).
	* Refactored the 'Scheduler Rules' dialog in rdlogmanager(1) to
	use the model based API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-11 15:28:48 -05:00
Fred Gleason
4d602a589b 2020-12-24 Fred Gleason <fredg@paravelsystems.com>
* Modified the schema map in rddbmgr(8) to position schema update
	347 as part of v3.6.x.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-24 13:40:44 -05: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
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
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
effc459d61 2020-10-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that could cause the 'RSS_SCHEMAS',
	'FEED_IMAGES' and 'SUPERFEED_MAPS' to be created with incorrect
	character set and engine type values.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-19 01:59:20 -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
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
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