* Dropped the 'SYSTEM.MAX_POST_LENGTH' field from the database.
* Incremented the database version to 370.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CDN_PURGE_PLUGIN_PATH' field to the database.
* Incremented the database version to 369.
* Added ' RDFeed::cdnPurgePluginPath()' and
'RDFeed::setCdnPurgePluginPath()' methods.
* Removed the RD_MODULES_DIR #define from 'lib/rd.h'.
* Changed the RD_PYPAD_SCRIPT_DIR #define in 'lib/rd.h' to be
a static value of "/usr/lib/rivendell/pypad".
* Added a 'CDN Purge Plug-In' control to the 'Feed' dialog in
rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.SHA1_HASH' field to the database.
* Incremented the database version to 368.
* Added 'RDFeed::sha1Hash()' and 'RDFeed::setSha1Hash()' methods.
* Added a 'RDSha1HashData()' function.
* Optimized the podcasting subsystem so as to upload feed XML only
when the XML contents have actually changed.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDLIBRARY.IS_SINGLETON' field to the database.
* Added a 'RDLOGEDIT.IS_SINGLETON' field to the database.
* Incremented the database version to 367.
* Added 'RDLibraryConf::isSingleton()' and
'RDLibraryConf::setIsSingleton()' methods.
* Added 'RDLogeditConf::isSingleton()' and
'RDLogeditConf::setIsSingleton()' methods.
* Modified rdcartslots(1), rdcastmanager(1), rdcatch(1),
rdlogmanager(1) and rdpanel(1) to allow only a single instance to
run at a time.
* Modified rdlibrary(1) and rdlogedit(1) to conditionally allow
only a single instance to run at a time.
* Added an rdsinglestart(1) utility.
* Added a 'wmctrl' dependency to the 'rivendell' RPM package.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'not null' constraint to the 'RDAIRPLAY.PAUSE_ENABLED'
field.
* Changed the default value of the 'RDAIRPLAY.PAUSE_ENABLED' field
from NULL to 'N'.
* Incremented the database version to 366.
* Fixed a bug in rddbmgr(8) that could throw a SQL error when
creating a new database.
Signed-off-by: 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* Changed the 'FEEDS.CHANNEL_LANGUAGE' database field from
'varchar(5)' to' 'varchar(8)'.
* Incremented the database version to 338.
* Increased the 5 character length limitation of the
'Channel Language' field for podcasts to 8.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added 'FEEDS.CHANNEL_IMAGE_ID_IDX', 'FEEDS.DEFAULT_ITEM_IMAGE_ID_IDX'
and 'PODCASTS.ITEM_IMAGE_ID_IDX' indexes to the database.
* Incremented the database version to 337.
* Added a sanity check to the 'Image Manager' dialog in
rdadmin(1) to prevent deletion of in-use images.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Modified the type of the 'FEED_IMAGES.DATA' database field
to 'longblob'.
* Incremented the database version to 336.
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>
* Changed the database field 'FEEDS.PURGE_PASSWORD' from
'varchar(64)' to 'text'.
* Changed the contents of the 'FEEDS.PURGE_PASSWORD' database
field from plaintext to Base64 encoding.
* Incremented the database version to 334.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.SSH_IDENTITY_FILE' field to the database.
* Added a 'RECORDINGS.URL_USE_ID_FILE' field to the database.
* Added a 'FEEDS.PURGE_USE_ID_FILE' field to the database.
* Incremented the database version to 333.
* Added 'RDStation::sshIdentityFile()' and
'RDStation::setSshIdentityFile()' methods.
* Added 'RDRecording::urlUseIdFile()' and
'RDRecording::setUrlUseIdFile()' methods.
* Added 'RDFeed::purgeUseIdFile()' and 'RDFeed::setPurgeUseIdFile()'
methods.
* Added a 'SSH Ident. File' control to the 'Host' dialog in
rdadmin(1).
* Added an 'Authenticate with local identity file' checkbox to
the 'Feed' dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CHANNEL_AUTHOR_IS_DEFAULT' field to the database.
* Incremented the database version to 332.
* Added 'RDFeed::channelAuthorIsDefault()' and
'RDFeed::setChannelAuthorIsDefault()' methods.
* Added a 'Use as default Item Author' checkbox to the 'Edit Feed'
dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'ENCODERS', 'ENCODER_BITRATES', 'ENCODER_BITRATES'
and 'ENCODER_CHANNELS' tables from the database.
* Incremented the database version to 331.
* Removed the 'RDSettings::customCommandLine()',
'RDSettings::setCustomCommandLine()' and
' RDSettings::resolvedCustomCommandLine()' methods.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'PODCASTS.ORIGIN_LOGIN_NAME' field to the database.
* Added a 'PODCASTS.ORIGIN_STATION' field to the database.
* Incremented the database version to 330.
* Changed the 'Origin' column to 'Start' in the 'Podcast Item List'
dialog in rdcastmanager(1).
* Added a 'Posted By' column to the 'Podcast Item List' dialog in
rdcastmanager(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'SYSTEM.RSS_PROCESSOR_STATION' field to the database.
* Added a 'PODCASTS.EXPIRATION_DATETIME' field to the database.
* Dropped the 'PODCASTS.SHELF_LIFE' field from the database.
* Incremented the database version to 329.
* Modified convention to use local system time for all podcast
components.
* Added 'RDPodcast::expirationDateTime()' and
'RDPodcast::setExpirationDateTime()' methods.
* Removed 'RDPodcast::shelfLife()' and 'RDPodcast::setShelfLife()'
methods.
* Added an rdrssd(8) daemon.
* Removed the rdpurgecasts(8) utility.
* Added 'RDSystem::rssProcessorStation()' and
'RDSystem::setRssProcessorStation()' methods.
* Added a 'Process RSS Updates' control to the 'System-Wide Settings'
dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'FEEDS.AUDIENCE_METRICS' field from the database.
* Dropped the 'FEEDS.KEEP_METADATA' field from the database.
* Dropped the 'FEEDS.MEDIA_LINK_MODE' field from the database.
* Dropped the 'FEEDS.REDIRECT_PATH' field from the database.
* Dropped the 'CAST_DOWNLOADS' table from the database.
* Incremented the database version to 328.
* Removed support for dynamically generated RSS feed metadata.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CHANNEL_SUB_CATEGORY' field to the database.
* Incremented the database version to 327.
* Added 'RDFeed::channelSubCategory()' and
'RDFeed::setChannelSubCategory()' methods.
* Added a 'RDRssCategoryBox' widget.
* Updated the 'Edit Feed' dialog in rdadmin(1) to use the
'RDRssCategoryBox' widget.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added 'FEEDS.CHANNEL_AUTHOR', 'FEEDS.CHANNEL_OWNER_NAME',
'FEEDS.CHANNEL_OWNER_EMAIL', 'FEEDS.CHANNEL_EXPLICIT' and
'PODCASTS.ITEM_EXPLICIT' fields to the database.
* Incremented the database version to 326.
* Added 'RDFeed::channelAuthor()', 'RDFeed::setChannelAuthor()',
'RDFeed::channelOwnerName()', 'RDFeed::setChannelOwnerName()',
'RDFeed::channelOwnerEmail(), 'RDFeed::setChannelOwnerEmail()',
'RDFeed::channelExplicit()', 'RDFeed::setChannelExplicit()',
'RDPodcast::itemExplicit()' and 'RDPodcast::setItemExplicit()'
methods.
* Added 'Author', Owner Name' and 'Owner E-Mail controls to the
'Edit Feed' dialog box in rdadmin(1).
* Added a 'Channel contains explicit content' checkbox to the
'Edit Feed' dialog box in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'RSS_SCHEMAS' table from the database.
* Incremented the database version to 325.
* Moved RSS template definitions to 'lib/rdfeed.h'.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CHANNEL_IMAGE_ID' field to the database.
* Added a 'FEEDS.DEFAULT_ITEM_IMAGE_ID' field to the database.
* Added a 'PODCASTS.ITEM_IMAGE_ID' field to the database.
* Incremented the database version to 324.
* Added an 'Image Manager' dialog to rdadmin(1).
* Added an 'Image Viewer' dialog on rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>