* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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.
* 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.