* Fixed regressions in the CAE subsystem that broke play-out positing
and active output port reporting.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDSoundPanel' that kept the current panel view
from being updated when the logged-in user changed.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'RDSoundPanel' that caused updates to
station buttons to fail to be applied.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'RDSoundPanel' that caused the output
indicator on the buttons to fail to be cleared after events stopped.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) and rdpanel(1) that caused
extraneous buttons to appear when resizing the sound panel.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDJsonEscape(const QString &str)' function in
'lib/rdweb.cpp' and 'lib/rdweb.h'.
* Added a '--dump-panel-updates' switch to rdpanel(1).
* Added a rdpanel(1) man page.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDSoundPanel' where clicking a non-configured
button in Setup mode would fail to open the 'Edit Button' dialog.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'RDSoundPanel', 'RDPanelButton' and 'RDButtonPanel'
classes to avoid races when changing the current Rivendell user.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Moved the PANEL_MAX_OUTPUTS define in 'lib/rdsound_panel.h' to
RD_SOUNDPANEL_MAX_OUTPUTS in 'lib/rd.h'.
* Added a 'RDPortNames' class.
* Added a 'RDCoreApplication::portNames()' method.
* Refactored rdairplay(1) to use 'RDPortNames'.
* Refactored rdpanel(1) to use 'RDPortNames'.
* Removed the 'RDAirPlayConf::portName()' method.
* Removed the 'RDAirPlayConf::soundPanelChannelName()' method.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a shaded rectangle background to the 'Button Log' and
right-side widgets in rdairplay(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Left-Justified the position of the 'Reset', 'Setup' and 'All'
buttons in the SoundPanel widget.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Made the sound panel resizeable in rdairplay(1).
* Make the sound panel resizeable in rdpanel(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'lib/'.
* Replaced " with ' delimiters in all SQL literal strings in 'lib/'.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in sound panels where changing the name of
a panel would fail to be reflected in the panel selector.
* Fixed regressions in sound panels where configuration changes
would not be updated properly.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that broke the ability to scroll through
Sound Panel panels by means of the mouse wheel.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Refactored logging system to use syslog(3) exclusively.
* Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory='
and 'LogPattern=' directives from rd.conf(5).
Most files are simple swaps to get rid of extra " as a NULL return will give
invalid SQL if used as follows UPDATE x SET y="NULL";
See github issue 121 for more info.
Extra changes have been made to the following files:
* lib/rdcartslot.cpp
- Added a QDateTime variable to prevent EVENT_DATETIME becoming
"2016-06-09" "NULL" as it was checked separately for date and time
* lib/rdcut.cpp
- Reworked START_DATETIME and END_DATETIME to save the SQL ifs. I believe this
makes it easier to read and understand.
- The >QDate(1900,1,1) and < 8000 is probably not needed but I left it there
just in case.
* lib/rdescape_string.cpp
- Reworked to add extra " if the date is not NULL see issue 121
* lib/rdfeed.cpp && lib/rdpodcast.cpp
- Had to add a SetRow for QDateTime as with the string conversion the existing
SetRow would add an extra set of "
* lib/rdsound_panel.cpp && rdairplay/log_traffic.cpp
&& utils/rddgimport/rddgimport.cpp
- Added a QString to contain EVENT_DATETIME to prevent double checks of date
and time separately (similar to lib/rdcartslot.cpp)
* rdcatchd/rdcatchd.cpp
- Reverted the changes. The RML here is not touching the DB so is fine, plus
with the RDCheckDateTime changes you'd have extra " unless it was NULL
* tests/sas_switch_torture.cpp && sas_torture.cpp
- Included missing rdescape_string.h
* Added a 'Cut Log' report in 'lib/export_cutlog.cpp'.
* Added 'DESCRIPTION' and 'OUTCUE' fields to the '_SRT' table
schema.
* Incremented the database version to 255.