63 Commits

Author SHA1 Message Date
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
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
512d1a2575 2016-04-25 Fred Gleason <fredg@paravelsystems.com>
* 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.
2016-04-25 17:47:22 -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
c0446ea5f7 Merged 04bd883b65b9922c35216b92b4da52245fdc7f5b from master 2015-09-15 08:06:20 -04:00
Fred Gleason
436b090667 2015-08-29 Fred Gleason <fredg@paravelsystems.com>
* Removed instrumentation code in 'rdairplay/hourselector.cpp'.
	* Removed instrumentation code in 'rdairplay/log_play.cpp'.
	* Removed instrumentation code in 'rdairplay/rlmhost.cpp'.
2015-08-29 10:22:59 -04:00
Fred Gleason
188c6c4bb5 2015-08-13 Fred Gleason <fredg@paravelsystems.com>
* Commented out the 'qApp->processEvents()' call in the
	'refreshStatusChangedData()' method in 'rdairplay/rdairplay.cpp'.
2015-08-13 19:30:11 -04:00
Fred Gleason
81727799d1 2015-08-12 Fred Gleason <fredg@paravelsystems.com>
* Instrumented the cleanup phase of the 'LogPlay::refresh()' method in
	'rdairplay/log_play.cpp'.
2015-08-12 06:58:05 -04:00
Fred Gleason
3e1a26564f 2015-07-14 Fred Gleason <fredg@paravelsystems.com>
* Instrumented 'HourSelect::updateTimeData()' in
	'rdairplay/hourselector.cpp'.
	* Instrumented 'LogPlay::transTimerData()' in
	'rdairplay/log_play.cpp'.
	* Instrumented 'LogPlay::graceTimerData()' in
	'rdairplay/log_play.cpp'.
	* Instrumented 'RLMHost::timerData()' in 'rdairplay/rlmhost.cpp'.
2015-07-14 09:01:26 -04:00
Fred Gleason
44ab9010a6 2015-07-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'LogPlay::refresh()' that caused a segfault
	in 'rdairplay/log_play.cpp'.
	* Instrumented the 'LogPlay::refresh()' method in
	'rdairplay/log_play.cpp'.
2015-07-02 13:53:48 -04:00
Fred Gleason
6d3881bd2f 2015-06-10 Fred Gleason <fredg@paravelsystems.com>
* Refactored 'LogPlay' class to provide per-instance RDCae instances.
	in 'rdairplay/log_play.cpp' and 'rdairplay/log_play.h'.
2015-06-10 11:39:20 -04:00
Fred Gleason
16284179cc Consolidated .gitignore files 2015-05-28 12:05:07 -04:00
Fred Gleason
d44a6686bc Removed debugging printfs 2015-02-27 14:31:36 -05:00
Fred Gleason
741dc183da 2015-02-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdairplay/log_play.cpp' that caused
	the 'Play Tail' button to start from an incorrect position when
	non-zero Start Marker position was set for the cut.
2015-02-22 14:46:58 -05:00
Fred Gleason
30a9f6f823 2015-02-18 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDMatrix::SoftwareAuthority' to the 'RDMatrix::Type'
	enumeration in 'lib/rdmatrix.cpp' and 'lib/rdmatrix.h'.
	* Implemented a switcher driver for systems using Software Authority
	Protocol in 'ripcd/swauthority.cpp' and 'ripcd/swauthority.h'.
2015-02-18 21:19:07 -05:00
Fred Gleason
f4ae671a1f 2015-02-11 Fred Gleason <fredg@paravelsystems.com>
* Added support for 'Conductor', 'Song-ID', 'Year', 'Outcue' and
	'Description' fields in 'rlm/rlm_padpoint.c'.
	* Fixed a bug when generating the 'Year' field in RLM updates
	in 'rdairplay/rlmhost.cpp'.
2015-02-11 16:44:16 -05:00
Fred Gleason
a1414e0d08 2015-01-09 Fred Gleason <fredg@paravelsystems.com>
* Applied patch by Daniel Bair to add support for dark themes
	[GitHub pull request #000046].
2015-01-09 17:42:39 -05:00
Daniel Bair
d60f272b74 Patches to add support for dark themes 2014-12-03 11:32:12 +07:00
Daniel Bair
4a98ffc52c Patches to add support for dark themes 2014-11-30 20:18:19 +07:00
Fred Gleason
14a4645577 2014-11-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdairplay/log_traffic.cpp' that broke
	when writing ELR data to a service with a space in its name.
2014-11-24 15:17:26 -05:00
Fred Gleason
381726279e 2014-10-10 Fred Gleason <fredg@paravelsystems.com>
* Adjusted display of Talk Time in button widget to allow for display
	of lengths greater than :59 [GitHub issue #000018].
2014-10-10 16:33:16 -04:00
Chris Smowton
94e80606c5 Implement "holdover events," noting those log events which are not listed in the currently loaded log but which are present because they were playing when this log was loaded.
This fixes problems arising when the duplicate IDs thus introduced cause confusion.
2014-09-22 00:36:18 +01:00