228 Commits

Author SHA1 Message Date
Fred Gleason
58d856a726 2018-10-08 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Charset=' and 'Collation=' parameters from the
	'[mySQL]' section of rd.conf(5).
	* Removed support for the --mysql-charset=' and '--mysql-collation='
	switches in rddbmgr(8).
	* Refactored handling of character set and collation attributes
	in rddbmgr(8) to treat them as immutable parts of the DB schema.
2018-10-08 18:38:12 -04:00
Fred Gleason
a564d0c0fc 2018-10-03 Fred Gleason <fredg@paravelsystems.com>
* Changed all instances of 'char' to 'varchar' in the database.
	* Changed the width of the 'CART.TITLE' field to 191.
	* Changed the width of the 'CART.ARTIST' field to 191.
	* Changed the width of the 'CART.ALBUM' field to 191.
	* Changed the width of the 'CART.USER_DEFINED' field to 191.
	* Changed the width of the 'CUTS.ORIGIN_LOGIN_NAME' field to 191.
	* Changed the width of the 'DROPBOXES.PATH' field to 191.
	* Changed the width of the 'DROPBOXES.LOG_PATH' field to 191.
	* Changed the width of the 'DROPBOXES.SET_USER_DEFINED' field to 191.
	* Changed the width of the 'DROPBOX_PATHS.FILE_PATH' field to 191.
	* Changed the width of the 'ELR_LINES.TITLE' field to 191.
	* Changed the width of the 'ELR_LINES.ARTIST' field to 191.
	* Changed the width of the 'ELR_LINES.USER_DEFINED' field to 191.
	* Changed the width of the 'ELR_LINES.ALBUM' field to 191.
	* Changed the width of the 'ENCODERS.COMMAND_LINE' field to 191.
	* Changed the width of the 'EVENTS.NOTE_TEXT' field to 191.
	* Changed the width of the 'EVENT_LINES.MARKER_COMMENT' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_TITLE' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_LINK' field to 191.
	* Changed the width of the 'FEEDS.BASE_URL' field to 191.
	* Changed the width of the 'FEEDS.BASE_PREAMBLE' field to 191.
	* Changed the width of the 'FEEDS.PURGE_URL' field to 191.
	* Changed the width of the 'FEEDS.REDIRECT_PATH' field to 191.
	* Changed the width of the 'FEED_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'GROUPS.DESCRIPTION' field to 191.
	* Changed the width of the 'GROUPS.DEFAULT_TITLE' field to 191.
	* Changed the width of the 'HOSTVARS.VARVALUE' field to 191.
	* Changed the width of the 'HOSTVARS.REMARK' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TITLE' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TRACK_STRING' field to 191.
	* Changed the width of the 'INPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'LOGS.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOGS.LOCK_USER_NAME' field to 191.
	* Changed the width of the 'LOG_LINES.COMMENT' field to 191.
	* Changed the width of the 'LOG_LINES.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_ADDR' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_STRING' field to 191.
	* Changed the width of the 'LOG_MACHINES.LOG_RML' field to 191.
	* Changed the width of the 'MATRICES.GPIO_DEVICE' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_PATH' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_ARG' field to 191.
	* Changed the width of the 'OUTPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_TITLE' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_LINK' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_COMMENTS' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_AUTHOR' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_SOURCE_URL' field to 191.
	* Changed the width of the 'PODCASTS.AUDIO_FILENAME' field to 191.
	* Changed the width of the 'RDAIRPLAY.SKIN_PATH' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RDCATCH.ERROR_RML' field to 191.
	* Changed the width of the 'RDPANEL.SKIN_PATH' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RECORDINGS.URL' field to 191.
	* Changed the width of the 'REPLICATORS.URL' field to 191.
	* Changed the width of the 'REPL_CART_STATE.POSTED_FILENAME' field
	to 191.
	* Changed the width of the 'REPORTS.EXPORT_PATH' field to 191.
	* Changed the width of the 'REPORTS.WIN_EXPORT_PATH' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION' field to 191.
	* Changed the width of the 'SERVICES.NAME_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.PROGRAM_CODE' field to 191.
	* Changed the width of the 'SERVICES.TFC_PATH' field to 191.
	* Changed the width of the 'SERVICES.TFC_WIN_PATH' field to 191.
	* Changed the width of the 'SERVICES.MUS_PATH' field to 191.
	* Changed the width of the 'SERVICES_MUS_WIN_PATH' field to 191.
	* Changed the width of the 'STATIONS.USER_NAME' field to 191.
	* Changed the width of the 'STATIONS.DEFAULT_NAME' field to 191.
	* Changed the width of the 'STATIONS.EDITOR_PATH' field to 191.
	* Changed the width of the 'STATIONS.JACK_COMMAND_LINE' field to 191.
	* Changed the width of the 'SWITCHER_NODES.DESCRIPTION' field to 191.
	* Changed the width of the 'SYSTEM.ISCI_XREFERENCE_PATH' field to 191.
	* Changed the width of the 'USERS.LOGIN_NAME' field to 191.
	* Changed the width of the 'USERS.FULL_NAME' field to 191.
	* Changed the width of the 'USERS.DESCRIPTION' field to 191.
	* Changed the width of the 'USER_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'USER_SERVICE_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'WEBAPI_AUTHS.LOGIN_NAME' field to 191.
	* Changed the width of the 'WEB_CONNECTIONS.LOGIN_NAME' field to 191.
	* Incremented the database version to 297.
	* Changed the default DB charset to 'utf8mb4'.
	* Changed the default DB collation to 'utf8mb4_general_ci'.
	* Removed the MYSQL_BUILTIN_DATABASE define from 'lib/rd.h'.
	* Removed the POSTGRESQL_BUILTIN_DATABASE define from 'lib/rd.h'.
2018-10-03 18:13:51 -04:00
Fred Gleason
110fdf856f 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Added table rewriting when converting tables to a different
	character set in rddbmgr(8).
2018-08-16 19:25:50 +00:00
Fred Gleason
f59d5f2396 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Added a database attributes check to rddbmgr(8).
2018-08-16 16:42:23 +00:00
Fred Gleason
807758b610 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused --check options not to be
	recognized.
2018-08-16 15:32:29 +00:00
Fred Gleason
aeedeef9af 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Removed obsolete DB checks from rddbmgr(8).
2018-08-16 15:20:04 +00:00
Fred Gleason
be35efdd86 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rmlsend(1).
2018-08-16 15:02:55 +00:00
Fred Gleason
841610ec0d 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdsoftkeys(1).
2018-08-16 15:00:05 +00:00
Fred Gleason
bd45c2ef77 2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdgpimon(1).
	* Fixed style inconsistencies in dialogs within rdpopup(1).
2018-08-16 14:55:56 +00:00
Fred Gleason
f0f5730e76 2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused unreliable calculation of
	the correct schema version from a package version string.
2018-08-15 23:03:28 +00:00
Fred Gleason
e6ea8a59d0 2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rddgimport(1).
2018-08-15 20:26:59 +00:00
Fred Gleason
db366815bc 2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Remved 'rdcheckcuts.pro'.
2018-08-15 20:22:15 +00:00
Fred Gleason
3ac098d2b9 2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdalsaconfig(8).
2018-08-15 20:16:03 +00:00
Fred Gleason
c588b4950a 2018-08-13 Fred Gleason <fredg@paravelsystems.com>
* Added code to force the 'Plastique' GUI style.
2018-08-13 19:22:24 -04:00
Fred Gleason
77f35e52f5 2018-08-13 Fred Gleason <fredg@paravelsystems.com>
* Removed support for the 'Backup Database' ['DB'] RML.
	* Removed support for automatic DB backup.
	* Dropped the 'STATIONS.BACKUP_DIR' and 'STATIONS.BACKUP_LIFE'
	fields drom the database.
	* Incremented the database version to 296.
2018-08-13 17:12:20 -04:00
Fred Gleason
3d99fb9a87 2018-08-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that could cause segfaults when
	determining the current schema verion.
2018-08-11 22:14:00 +00:00
Fred Gleason
8d11616b4b 2018-08-08 Fred Gleason <fredg@paravelsystems.com>
* Modified all instances of 'QStringList::split()' calls to use
	'QString::split()'.
2018-08-08 18:11:23 -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
6b1a06a910 2018-08-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in 'RDWaveFile' that caused corruption of UTF-8
	strings in RDXL chunks.
2018-08-03 15:21:39 -04:00
Fred Gleason
7881ec7770 2018-08-02 Fred Gleason <fredg@paravelsystems.com>
* Modified reports in rdgpimon(1) to display UTF-8 strings
	correctly.
2018-08-02 19:06:07 -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
dbb0d9c415 2018-07-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in 'RDCmdSwitch' that caused corruption in UTF-8
	strings.
	* Refactored rmlsend(1) to handle UTF-8 strings correctly.
2018-07-31 08:42:05 -04:00
Fred Gleason
c52c9b9f8a 2018-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added an 'IMPORTER_LINES' table to the database.
	* Incremented the database version to 295.
	* Refactored the log importer code to use the static 'IMPORTER_LINES'
	table.
2018-07-20 19:24:11 -04:00
Fred Gleason
c2f11d76be 2018-07-19 Fred Gleason <fredg@paravelsystems.com>
* Added a 'CAST_DOWNLOADS' table to the database.
	* Incremented the database version to 294.
2018-07-19 21:42:11 +00:00
Fred Gleason
604648a7e4 2018-07-19 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'utils/rdpurgecasts/' to ensure UTF-8
	compatibility.
2018-07-19 14:06:39 +00:00
Fred Gleason
d144db3736 2018-07-19 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'utils/rdmaint/' to ensure UTF-8
	compatibility.
2018-07-19 13:59:41 +00:00
Fred Gleason
e8d7d204cc 2018-07-19 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'utils/rdimport/' to ensure UTF-8
	compatibility.
2018-07-19 13:51:17 +00:00
Fred Gleason
53fee4a393 2018-07-18 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'utils/rdgpimon/' to ensure UTF-8
	compatibility.
2018-07-18 21:31:10 +00:00
Fred Gleason
7e9aa59c94 2018-07-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddgmgr(8) that would cause an abort if a '_STACK'
	table was found missing when updating to schema 293.
2018-07-17 15:23:48 +00:00
Fred Gleason
35fd327e69 2018-07-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused reversion 289 to fail.
2018-07-11 08:11:05 -04:00
Fred Gleason
3973ab5f01 2018-07-10 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STACK_LINES' table to the database.
	* Incremented the database version to 293.
2018-07-10 11:05:46 -04:00
Fred Gleason
08c01373cb 2018-07-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RULE_LINES' table to the database.
	* Incremented the database version to 292.
2018-07-10 08:30:06 -04:00
Fred Gleason
1008b69076 2018-07-09 Fred Gleason <fredg@paravelsystems.com>
* Added code in rddbmgr(8) to update the registered schema number
	in the DB after each schema modification.
2018-07-09 13:55:56 -04:00
Fred Gleason
0c17eb841a 2018-07-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'CLOCK_LINES' table to the database.
	* Incremented the database version to 291.
	* Removed the 'RDClock::tableName()' method.
2018-07-06 13:52:35 -04:00
Fred Gleason
bd5bd2246b 2018-07-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused the 'EVENT_LINES'
	table to be created with the incorrect engine type when using
	'--modify'.
2018-07-06 11:39:55 -04:00
Fred Gleason
d3795f5d0c Merged 'stable' 2018-07-06 11:34:42 -04:00
Fred Gleason
7cc4e2df57 2018-07-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused the 'AUDIO_CARDS',
	'AUDIO_INPUTS' and 'AUDIO_OUTPUTS' table to be created with the
	incorrect engine type when using '--modify'.
	* Updated the 'init_template_host.py' script to work with
	schema version 287.
2018-07-06 11:29:25 -04:00
Fred Gleason
08f8b87af4 2018-07-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'EVENT_LINES' table to the database.
	* Incremented the database version to 290.
	* Removed the 'RDEvent::preimportTableName()' method.
	* Removed the 'RDEvent::postimportTableName()' method.
2018-07-06 07:38:18 -04:00
Fred Gleason
db70aa4550 2018-07-05 Fred Gleason <fredg@paravelsystems.com>
* Added an 'ELR_LINES' table to the database.
	* Incremented the database version to 289.
	* Removed the 'RDSvc::serviceTableName()' method.
2018-07-05 08:52:38 -04:00
Fred Gleason
300aebdc04 2018-07-03 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LOG_LINES' table to the database.
	* Incremented the database version to 288.
	* Removed the 'RDLog::tableName()' method.
2018-07-03 12:32:41 -04:00
Fred Gleason
913e27c304 2018-07-02 Fred Gleason <fredg@paravelsystems.com>
* Removed 'RDAIRPLAY.INSTANCE' field from schema update/reversion
	284 in rddbmgr(8).
2018-07-02 07:52:34 -04:00
Fred Gleason
a96be157a2 2018-06-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused incorrect version strings
	to be generated when displaying current database status.
2018-06-13 12:26:46 +00:00
Fred Gleason
96fdfff8a0 2018-06-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.JACK_PORT' field to the database.
	* Incremented the database version to 287.
	* Added an 'Initial Audio Ports' control to the 'JACK Configuration'
	dialog in rdadmin(1).
	* Implemented 'Activate JACK Port' ['JA'] and 'Remove JACK Port' ['JR']
	RMLs.
2018-06-11 15:59:05 +00:00
Fred Gleason
047e2d05be 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Added a sanity check to rddbmgr(8) to prevent reverting from an
	unknown schema.
	* Added a sanity check to rddbmgr(8) to prevent inadvertent
	reversion to an	implied schema.
2018-06-08 18:13:49 +00:00
Fred Gleason
a6bed61842 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Removed rddbcheck(8).
	* Removed rdrevert(8).
2018-06-08 12:47:46 +00:00
Fred Gleason
bc4f1b3ca5 2018-06-07 Fred Gleason <fredg@paravelsystems.com>
* Implemented the '--check' command in rddbmgr(8).
2018-06-07 18:07:10 +00:00
Fred Gleason
b791ca8a04 2018-06-07 Fred Gleason <fredg@paravelsystems.com>
* Implemented show database status in rddbmgr(8).
2018-06-07 14:01:38 +00:00
Fred Gleason
f8b0970b7b 2018-06-05 Fred Gleason <fredg@paravelsystems.com>
* Implemented the '--modify' command in rddbmgr(8).
2018-06-06 00:11:08 +00:00
Fred Gleason
7133d0f388 2018-06-01 Fred Gleason <fredg@paravelsystems.com>
* Stubbed out rddbmgr(8).
	* Implemented the '--create' command in rddbmgr(8).
	* Fixed a bug in 'RDStation::create()' that generated corrupt records
	in the 'AUDIO_INPUT' and 'AUDIO_OUTPUTS' tables when creating a
	new host with no exemplar.
2018-06-01 23:23:58 +00:00
Fred Gleason
15b0f638d8 2018-05-31 Patrick Linstruth <patrick@deltecent.com>
* Implemented purging of STACK_* tables for RDMaint(1) in
        'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.
2018-05-31 16:54:23 +00:00