84 Commits

Author SHA1 Message Date
Fred Gleason
1f18f30cf8 2018-09-03 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'Add Next' ['PX'] RML to 'Insert Cart' ['PX'].
	* Added an 'offset' parameter to the 'Insert Cart' ['PX'] RML.
2018-09-03 14:15:47 +00:00
Fred Gleason
c3adee3c07 2018-08-28 Fred Gleason <fredg@paravelsystems.com>
* Added an optional third argument to the 'Add Next' ['PX'] RML
	to allow specication of the transition type.
2018-08-28 12:57:36 -04:00
Fred Gleason
eeeb359bc0 2018-08-20 Fred Gleason <fredg@paravelsystems.com>
* Changed column headings to lower-case in rdairplay(1).
	* Changed column headings to lower-case in rdlibrary(1).
	* Changed column headings to lower-case in rdcatch(1).
	* Changed column headings to lower-case in rdlogmanager(1).
2018-08-20 07:31:23 -04:00
Fred Gleason
8abcc89174 2018-08-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed problems with dragged carts setting the correct color
	when dropped on a sound panel button.
2018-08-17 12:29:41 -04:00
Fred Gleason
72b851ecfa 2018-08-17 Fred Gleason <fredg@paravelsystems.com>
* Corrected background colors of the Button Log and Message widgets
	in rdairplay(1).
2018-08-17 10:43:41 -04:00
Fred Gleason
0931e703f1 2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdairplay(1).
2018-08-15 16:01:24 +00:00
Fred Gleason
c588b4950a 2018-08-13 Fred Gleason <fredg@paravelsystems.com>
* Added code to force the 'Plastique' GUI style.
2018-08-13 19:22:24 -04:00
Fred Gleason
223bdc2f84 2018-08-10 Fred Gleason <fredg@paravelsystems.com>
* Changed installation location of caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8) from '@prefix@/bin' to '@prefix@/sbin'.
	* Removed code to detach from controlling terminal after startup
	from caed(8), ripcd(8), rdcatchd(8)
	and rdrepld(8).
	* Removed code to manage dropbox instances from rdcatchd(8).
	* Removed code to start service daemons automatically from
	user modules.
	* Added rdservice(8).
2018-08-10 06:09:16 -04:00
Fred Gleason
8d11616b4b 2018-08-08 Fred Gleason <fredg@paravelsystems.com>
* Modified all instances of 'QStringList::split()' calls to use
	'QString::split()'.
2018-08-08 18:11:23 -04: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
26c29e1d4e 2018-07-31 Fred Gleason <fredg@paravelsystems.com>
* Refactored 'RDMacro' to handle UTF-8 strings correctly.
2018-07-31 12:54:08 -04:00
Fred Gleason
71ed4888a5 2018-07-16 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'rdairplay/' ensure UTF-8 compatibility.
2018-07-16 18:03:45 -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
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
bb60b722d1 2018-06-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'card-num' parameter to the 'Meter Enable' ['ME'] command
	in caed(8).
	* Added an 'RDCae::enableMetering()' method.
	* Modified rdairplay(1) to enable metering explicitly.
	* Modified rdcartslots(1) to enable metering explicitly.
	* Modified rdlibrary(1) to enable metering explicitly.
	* Modified rdpanel(1) to enable metering explicitly.
2018-06-12 19:00:55 +00:00
Fred Gleason
b97f158435 2018-05-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that caused meters to fail when rdvairplayd(8)
	was operated with invalid channel assignments.
2018-05-29 19:12:21 +00:00
Fred Gleason
c4fcd6486e 2018-04-14 Fred Gleason <fredg@paravelsystems.com>
* Moved the 'LogPlay' class in rdairplay(1) to 'RDLogPlay' in
	the core library.
	* Moved the 'RLMHost' class in rdairplay(1) to 'RDRLMHost' in
	the core library.
2018-04-14 20:51:03 -04:00
Fred Gleason
1057fb16d2 2018-03-25 Fred Gleason <fredg@paravelsystems.com>
* Added support for log notifications to rdairplay(1).
2018-03-25 17:29:31 -04:00
Fred Gleason
04cc669175 2018-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added support for cart notifications to rdairplay(1).
2018-03-21 17:40:53 -04:00
Fred Gleason
7835be386e Merged from 'refactor' 2018-02-24 09:19:33 -05:00
Fred Gleason
8f1bd700cd 2018-02-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.LOG_SHELFLIFE_ORIGIN' field to the database.
	* Incremented the database version to 275.
	* Added a drop-down control to the 'Set Logs to auto-delete' control
	to allow origin to be specified in the 'Edit Service' dialog in
	rdadmin(1).
2018-02-15 09:39:37 -05:00
Fred Gleason
ed4fe367a8 2018-02-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDSoundPanel class to use RDApplication.
2018-02-06 07:14:13 -05:00
Fred Gleason
bdb4283794 2018-02-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDAddLog class to use RDApplication.
2018-02-05 23:31:54 -05:00
Fred Gleason
e9926053c8 2018-02-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDCartDialog class to use RDApplication.
2018-02-05 22:48:15 -05:00
Fred Gleason
2d2d52e408 2018-02-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDListLogs class to use RDApplication.
	* Converted rdadmin(1) to use RDApplication.
2018-02-05 22:22:50 -05:00
Fred Gleason
0e47266a4d 2018-02-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDApplication::userChanged() signal.
2018-01-31 17:17:31 -05:00
Fred Gleason
3d380c4de8 2018-02-01 Fred Gleason <fredg@paravelsystems.com>
* Moved command-switch processing into RDApplication.
2018-01-31 13:25:48 -05:00
Fred Gleason
a8ac305bdd 2018-01-31 Fred Gleason <fredg@paravelsystems.com>
* Converted rdairplay(1) to use RDApplication.
2018-01-30 18:18:57 -05:00
Fred Gleason
f624114e60 2017-12-27 Fred Gleason <fredg@paravelsystems.com>
* Added log locking logic to rdairplay(1).
2017-12-27 15:01:32 -05:00
Fred Gleason
f2d7fcbe7f 2017-12-18 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up hanging files from the 'make uninstall' target.
2017-12-18 09:17:06 -05:00
Fred Gleason
e07cabc72f 2017-12-16 Fred Gleason <fredg@paravelsystems.com>
* Added support for filepath wildcards in macro carts.
2017-12-16 16:45:51 -05:00
Fred Gleason
a8ae9f9bfa 2017-12-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'Engine=' directive to the [MySQL] section of
	rd.conf(5).
	* Refactored the schema update code to use standard form
	in rdadmin(1).
2017-12-01 17:37:37 -05:00
Fred Gleason
cbba0eb10a 2017-11-28 Fred Gleason <fredg@paravelsystems.com>
* Implemented application of the 'Purge Logs' setting when creating
	logs manually.
	* Changed the wording of the 'Purge Logs' and 'Purge ELR Data'
	control in the Edit Service dialog in rdadmin(1).
	* Added 'RDLog::create()' and 'RDLog::remove()' static methods.
2017-11-28 12:41:45 -05:00
Fred Gleason
d55a3b9115 2017-11-28 Fred Gleason <fredg@paravelsystems.com>
* Added a 'USER_SERVICE_PERMS' table to the database.
	* Incremented the database version to 272.
	* Added a 'Service Permissions' button to the Edit User dialog in
	rdadmin(1).
2017-11-28 09:01:42 -05:00
Fred Gleason
fb2c080d35 2017-11-08 Fred Gleason <fredg@paravelsystems.com>
* Added a filter widget to the 'List Logs' dialog in rdairplay(1).
2017-11-08 09:39:03 -05:00
Fred Gleason
aa42224568 2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Removed 'RDStation::broadcastSecurity()' and
	'RDStation::setBroadcastSecurity()' methods.
2017-10-19 13:46:10 -04:00
Fred Gleason
52d1d8be52 2017-10-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.SHORT_NAME' field to the database.
	* Incremented the database version to 270.
	* Added 'RDStation::shortName()' and 'RDStation::setShortName()'
	methods.
	* Removed the 'Broadcast Security Model' control from the 'Edit
	Host' dialog.
	* Added a 'Short Name' control to the 'Edit Host' dialog.
	* Implemented a '%R' wildcard for Rivendell Host Short Name.
2017-10-15 10:40:29 -04:00
Fred Gleason
a5861283c9 2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Implemented resolution of date wildcards for the RLM 'Path' and
	'Argument' parameters.
2017-10-14 11:22:35 -04:00
Fred Gleason
fb9487810b 2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Implemented a '%r' wildcard for Rivendell Host Name.
2017-10-14 10:38:55 -04: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
Fred Gleason
b62cbd42b9 2017-06-28 Fred Gleason <fredg@paravelsystems.com>
* Added a new icon set created by Josh Edelstein.
2017-06-28 17:31:29 -04:00
Fred Gleason
56f321976a 2017-03-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_event.cpp' that caused errors in
	predicted event start times in RDLogEdit(1).
2017-03-15 18:25:38 -04:00
Fred Gleason
3faa8dfbed 2016-10-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LockRdairplayMemory=' parameter to the [Hacks] section
	of rd.conf(5).
2016-10-20 09:06:58 -04:00
Fred Gleason
b257ba924c 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up warning in 'rdairplay/log_play.cpp'.
2016-07-22 18:32:59 -04:00
Fred Gleason
368c310a5e 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdairplay/log_play.cpp' that caused a SQL error.
2016-07-22 18:30:14 -04:00
Fred Gleason
7a399bca5b 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdairplay/log_traffic.cpp' that generated
	a SQL error when logging ELR data.
2016-07-22 17:51:55 -04:00
Fred Gleason
c21c1a0d5d Merge branch 'stable' of https://github.com/waynemerricks/rivendell into waynemerricks-stable 2016-06-14 11:25:43 -04:00
Fred Gleason
c19b241907 2016-06-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdairplay/list_logs.cpp' that failed to process
	SQL NULL date values correctly.
2016-06-10 17:14:22 -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
9eb97c5b27 rdairplay/log_traffic.cpp MySQL v5.7+ date/time changes 2016-06-04 23:22:05 +01:00