10 Commits

Author SHA1 Message Date
Fred Gleason
afc426226c 2018-02-03 Fred Gleason <fredg@paravelsystems.com>
* Converted rdcastmanager.cgi to use RDApplication.
2018-02-02 18:06:09 -05:00
Fred Gleason
aef7c2229b 2017-08-31 Fred Gleason <fredg@paravelsystems.com>
* Modified web client components to use a distinctive http USER_AGENT
	string.
2017-08-31 12:38:39 -04:00
Wayne Merricks
f1175cd2f2 Fixes for invalid NULL sql on date/times
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
2016-06-09 00:01:38 +01:00
Wayne Merricks
1bfd555d00 web/rdcastmanager/rdcastmanager.cpp MySQL v5.7+ date/time changes 2016-06-04 23:21:32 +01:00
Fred Gleason
698b475933 2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags.
	* Removed 'const char *name' parameter from all QObject contructors.
2016-05-24 13:13:26 -04:00
Fred Gleason
330a602fb5 2016-03-25 Fred Gleason <fredg@paravelsystems.com>
* Changed 'uninstall' to 'uninstall-local' targets in all
	'Makefile.am' files.
2016-03-25 10:30:45 -04:00
Fred Gleason
173fe17013 2014-08-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'web/rdcastmanager/Makefile.am' that caused
	the incorrect executable to be installed for 'rdcastmanager.cgi'.
	* Refactored SQL statements in 'lib/rdweb.cpp'.
2014-08-18 12:27:06 -04:00
Fred Gleason
ad27f32bfd 2014-08-15 Fred Gleason <fredg@paravelsystems.com>
* Modified 'conf/Makefile.am' to install 'rd-bin.conf' in
	$(sysconfdir).
	* Updated 'INSTALL' to include information about the '--sysconfdir'
	flag.
	* Updated 'get_distro.sh' to detect RHEL 7 correctly.
	* Modified the installation script to work on RHEL 7 in
	'rivendell.spec.in'.
2014-08-15 21:45:05 -04:00
Fred Gleason
6532b723b2 2014-08-14 Fred Gleason <fredg@paravelsystems.com>
* Amalgamated INCLUDE Makefile entries into AM_CPPFLAGS.
	* Added '-Wno-portability' to the invocation of 'automake' in
	'autogen.sh'.
2014-08-14 13:20:26 -04:00
Fred Gleason
afd67c7af8 Initial import of CVS-v2_8_branch 2014-08-12 15:13:02 -04:00