368 Commits

Author SHA1 Message Date
Fred Gleason
ff23139470 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'setautorefresh' command to rdclilogedit(1).
	* Added a 'setdesc' command to rdclilogedit(1).
	* Added a 'setenddate' command to rdclilogedit(1).
	* Added a 'setpurgedate' command to rdclilogedit(1).
	* Added a 'setservice' command to rdclilogedit(1).
	* Added a 'setstartdate' command to rdclilogedit(1).
2016-07-21 19:26:30 -04:00
Fred Gleason
5ac5d8e60c 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'header' command to rdclilogedit(1).
2016-07-21 17:46:55 -04:00
Fred Gleason
93538cc483 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'new' command to rdclilogedit(1).
2016-07-21 17:26:11 -04:00
Fred Gleason
fb5010fa98 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdclilogedit(1) to use synchronous input.
2016-07-21 16:40:26 -04:00
Fred Gleason
985eb461f3 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Moved enforcement of user permissions to the
	'MainObject::DispatchCommand()' method in
	'utils/rdclilogedit/parser.cpp'.
2016-07-21 15:12:41 -04:00
Fred Gleason
d8a6fb56e4 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Implemented '!' override character in rdclilogedit(1) for the
	'exit' command.
2016-07-21 14:51:05 -04:00
Fred Gleason
933b318eb1 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'setcomment' command to rdclilogedit(1).
	* Added a 'setlabel' command to rdclilogedit(1).
2016-07-21 14:43:17 -04:00
Fred Gleason
2af6845d6e 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'settime' command to rdclilogedit(1).
	* Added a 'setmarker' command to rdclilogedit(1).
	* Added a 'settrack' command to rdclilogedit(1).
2016-07-21 14:21:25 -04:00
Fred Gleason
c388bda77b 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Implemented '!' override character in rdclilogedit(1).
2016-07-21 13:33:44 -04:00
Fred Gleason
deeadbf0e9 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdclilogedit/rdclilogedit.cpp' that caused
	large output listings to be truncated.
2016-07-21 12:41:41 -04:00
Fred Gleason
f4cf690ff3 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdclilogedit/rdclilogedit.cpp' that caused
	segfaults with certain commands when run without a log loaded.
2016-07-20 19:44:25 -04:00
Fred Gleason
27e674544c 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'settime' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp' and
	'utils/rdclilogedit/rdclilogedit.h'.
2016-07-20 19:29:23 -04:00
Fred Gleason
42d9286fd8 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'settrans' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp' and
	'utils/rdclilogedit/rdclilogedit.h'.
2016-07-20 18:54:01 -04:00
Fred Gleason
a166e4f731 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'remove' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp' and
	'utils/rdclilogedit/rdclilogedit.h'.
2016-07-20 18:40:10 -04:00
Fred Gleason
27e3113f27 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added an 'addcart' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp' and
	'utils/rdclilogedit/rdclilogedit.h'.
2016-07-20 18:27:54 -04:00
Fred Gleason
8e0d803ba3 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'save' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp' and
	'utils/rdclilogedit/rdclilogedit.h'.
	* Added a 'saveas' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp' and
	'utils/rdclilogedit/rdclilogedit.h'.
2016-07-20 18:00:03 -04:00
Fred Gleason
60ce6c966d 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'setcart' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp' and
	'utils/rdclilogedit/rdclilogedit.h'.
2016-07-20 17:08:16 -04:00
Fred Gleason
e83ba7317a 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'help' command to rdclilogedit(1) in
	'utils/rdclilogedit/rdclilogedit.cpp'.
2016-07-20 16:32:34 -04:00
Fred Gleason
0402781e01 2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Stubbed out a command-line log editor in 'utils/rdclilogedit/'.
2016-07-20 15:41:45 -04:00
Fred Gleason
fc332c3655 2016-07-12 Fred Gleason <fredg@paravelsystems.com>
* Added an '--xml' switch to rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2016-07-12 08:52:29 -04:00
Fred Gleason
f04fa15090 2016-06-17 Fred Gleason <fredg@paravelsystems.com>
* Modified rdexport(1) to list correct audio format parameters
	in the XML output.
2016-06-17 12:02:43 -04:00
Fred Gleason
d48935a00a 2016-06-15 Fred Gleason <fredg@paravelsystems.com>
* Added an '--xml' switch to rdexport(1) in
	'utils/rdexport/rdexport.cpp' and 'utils/rdexport/rdexport.h'.
2016-06-15 13:01:03 -04:00
Fred Gleason
aa610a739c 2016-06-15 Fred Gleason <fredg@paravelsystems.com>
* Added '--bitrate=', '--channels=', '--format=', '--quality='
	and '--samplerate=' to rdexport(1) in 'utils/rdexport/rdexport.cpp'
	and 'utils/rdexport/rdexport.h'.
2016-06-15 11:47:26 -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
6fd3788af7 2016-06-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdmaint/rdmaint.cpp' that failed to process
	SQL NULL date values correctly.
2016-06-10 17:52:59 -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
9f52968a02 utils/rdimport/rdimport.cpp MySQL v5.7+ date/time changes 2016-06-04 23:50:26 +01:00
Wayne Merricks
575856c47f utsil/rddgimport/rddgimport.cpp MySQL v5.7+ date/time changes 2016-06-04 23:49:56 +01:00
Fred Gleason
04b4db9157 2016-06-01 Fred Gleason <fredg@paravelsystems.com>
* Changed the default value of the 'CART_NUMBER' field in '_LOG'
	tables from NULL to 0.
	* Incremented the database version to 258.
2016-06-01 12:06:36 -04:00
Fred Gleason
da0ad47ffb 2016-05-26 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDAudioExport::cartNumber()', 'RDAudioExport::cutNumber()'
	and 'RDAudioExport::settings()' meethods in 'lib/rdaudioexport.cpp'
	and 'lib/rdaudioexport.h'.
	* Added expanded error logging in 'utils/rdexport/rdexport.cpp'.
2016-05-26 08:25:49 -04:00
Fred Gleason
f2d831f86c 2016-05-26 Fred Gleason <fredg@paravelsystems.com>
* Documented the '--escape-string' switch in
	'docs/docbook/rdexport.xml'.
2016-05-26 08:08:00 -04:00
Fred Gleason
be8c76f1f2 2016-05-25 Fred Gleason <fredg@paravelsystems.com>
Added a '--continue-after-error' parameter to rdexport(1).
	Added a '--allow-clobber' parameter to rdexport(1).
2016-05-25 19:35:20 -04:00
Fred Gleason
ef27640396 2016-05-25 Fred Gleason <fredg@paravelsystems.com>
Added a '--escape-string=' parameters to rdexport(1).
2016-05-25 18:49:31 -04: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
db9da6dc62 2016-05-20 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'not null' attribute from the 'LOGS.LINK_DATETIME',
	'LOGS.START_DATE' and 'LOGS.END_DATE' fields in the database
	[GitHub issue #000121].
	* Incremented the database version to 257.
2016-05-20 16:45:56 -04:00
Fred Gleason
3b766a5e7d 2016-05-18 Fred Gleason <fredg@paravelsystems.com>
* Added an entry for the Broadcast Tools SRC-16 in
	'docs/SWITCHERS.txt'.
	* Added a 'CUT_EVENTS' table to the database.
	* Added a 'DECK_EVENTS' table to the database.
	* Incremented the database version to 256.
	* Implemented a 'Cut Event' ['CE'] RML.
	* Added a 'Event Carts' section to the Edit Deck dialog in
	'rdadmin/edit_deck.cpp' and 'rdadmin/edit_deck.h'.
2016-05-18 13:43:21 -04:00
Fred Gleason
687a8c6fc8 2016-04-27 Brian McGlynn <brian.mcglynn@geneseemedia.net>
* Added a 'bitRate' field in the return for the AudioInfo web method.
	* Added an rdexport(1) utility in 'utils/rdexport/'.
2016-04-27 19:46:39 -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
c89208cf69 2016-03-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdmaint/rdmaint.cpp' that caused purging
	of ELR data from services containing a '-' in its name to fail.
2016-03-30 18:49:27 -04:00
Fred Gleason
c1e0e6f40b 2016-03-28 Fred Gleason <fredg@paravelsystems.com>
* Added revert methods for schemas 251-253 in
	'utils/rdrevert/rdrevert.cpp'.
2016-03-28 15:01:48 -04:00
Fred Gleason
3aac0356dd 2016-03-28 Fred Gleason <fredg@paravelsystems.com>
* Added an rdrevert(8) commmand in 'utils/rdrevert/'.
2016-03-28 10:40:23 -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
16284179cc Consolidated .gitignore files 2015-05-28 12:05:07 -04:00
Fred Gleason
988fe7f1eb 2015-05-28 Fred Gleason <fredg@paravelsystems.com>
* Added rdcleandirs(8) utility in 'utils/rdcleandirs/'.
2015-05-28 11:37:24 -04:00
Fred Gleason
10b626983f 2015-02-06 Fred Gleason <fredg@paravelsystems.com>
* Added a '--auto-segue' switch to rdmarkerset(8) in
	'utils/rdmarkerset.cpp' and 'utils/rdmarkerset.h'.
	* Created a man page for rdmarkerset(8).
	* Added a reference to rdmarkerset(8) in the rdimport(1) man page.
2015-02-06 14:00:29 -05:00
Fred Gleason
f8d2a7905c 2014-12-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdimport/rdimport.cpp' that failed to
	apply automatic segues correctly when the audio store was not
	locally accessible.
	* Fixed a bug in 'utils/rdimport/rdimport.cpp' that caused the
	value of the '--segue-level' options to be wrong by a factor of
	100.
	* Refactored the 'RDCut::autoSegue()' method to fetch trim data
	via 'RDTrimAudio'.
	* Added language in the rdimport(1) man page to resolve ambiguity
	regarding how the --segue-level location is dteremined when
	normalization is specified.
2014-12-01 17:50:54 -05:00
Fred Gleason
48f663763a 2014-11-21 Fred Gleason <fredg@paravelsystems.com>
* Added a '--clear-daypart-times' option to rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2014-11-21 18:58:37 -05:00
Fred Gleason
55d0a43edf 2014-11-21 Fred Gleason <fredg@paravelsystems.com>
* Added a '--clear-datetimes' option to rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2014-11-21 15:48:12 -05:00
Fred Gleason
98b3043fe1 2014-11-04 Fred Gleason <fredg@paravelsystems.com>
* Removed debugging printf from 'utils/rdhpiinfo/rdhpiinfo.cpp'.
2014-11-04 12:10:32 -05:00
Fred Gleason
20a2a2d9a2 2014-10-30 Fred Gleason <fredg@paravelsystems.com>
* Added a 'DSP Utilization' readout for rdhpiinfo(8) in
	'utils/rdhpiinfo/rdhpiinfo.cpp' and 'utils/rdhpiinfo/rdhpiinfo.h'.
	* Added a 'Profile Details' dialog for rdhpiinfo(8) in
	'utils/rdhpiinfo/virtdetails.cpp' and 'utils/rdhpiinfo/virtdetails.h'.
2014-10-30 17:30:16 -04:00