25 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
7cbacda0e2 2020-03-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that threw a SQL error when attempting
	to modify a DB containing tables set to use character set UTF-8
	to schema 297.
2020-03-09 17:26:42 -04:00
Patrick Linstruth
bbbea94710 Added new '--orphaned-*' command line switches. 2019-06-02 10:23:46 -07:00
Fred Gleason
7bfa5c12d9 2019-04-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that could cause database corruption
	when altering a table's charset/collation.
2019-04-04 14:06:28 -04:00
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
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
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
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
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
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
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
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
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