56 Commits

Author SHA1 Message Date
Fred Gleason
f556f23647 2023-01-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused the slop factors for
	inline traffic events to fail to be applied when importing a traffic
	log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-01-26 10:53:57 -05:00
Fred Gleason
e3e6b46816 2022-09-15 Fred Gleason <fredg@paravelsystems.com>
* Added support for a 'SuppressLinkParameterInheritance=' directive
	in the '[Hacks]' section of rd.conf(5).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-09-16 13:45:14 -04:00
Fred Gleason
a20eb3a317 2022-09-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that could cause a segfault when
	merging a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-09-01 16:03:43 -04:00
Fred Gleason
9d9dce3f34 2021-09-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused leading event
	attributes to fail to be preserved when suppressing Music of
	Traffic import markers.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-07 13:25:23 -04:00
Fred Gleason
b1cdb4e87b 2021-08-25 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SuppressMusicImportLinks=' directive to the [Hacks]
	section of rd.conf(5).

Signed-off-by: Fred Gleason <fredg@paraelsystems.com>
2021-08-25 14:17:11 -04:00
Patrick Linstruth
828d761f9c Fixed title separation in rdlogmanager(1) scheduler.
Added a 'STACK_LINES.TITLE' field to the database.
Incremented the database version to 347.
2020-12-22 12:07:16 -08:00
Fred Gleason
f6b4be8e29 2020-10-23 Fred Gleason <fredg@paravelsystems.com>
* Added generation of an 'RDLogManager Error Report' when errors
	are detected when importing voice track markers from an external
	scheduler file in rdlogmanager(1).
	* Restored operation of Label/Note carts in rdlogmanager(1).
	* Fixed a bug in rdlogmanager(1) that caused inline events
	without explicit start time/length data to fail to be placed.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-23 09:58:12 -04:00
Fred Gleason
b9f84fca37 2020-10-08 Fred Gleason <fredg@paravelsystems.com>
* Added an 'IMPORTER_LINES.FILE_LINE' field to the database.
	* Added an 'IMPORTER_LINES.LINK_START_TIME' field to the database.
	* Added an 'IMPORTER_LINES.LINK_LENGTH' field to the database.
	* Incremented the database version to 341.
	* Reimplemented the 'RDSvc::linkLog()' and 'RDEventLine::linkLog()'
	methods to use the updated 'IMPORTER_LINES' table schema.
	* Added generation of an 'RDLogManager Error Report' when errors
	are detected when importing an external scheduler file in
	rdlogmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-08 20:08:57 -04:00
Fred Gleason
8637def359 2020-04-18 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'EVENTS.PROPERTIES' field from the database.
	* Incremented the database version to 316.
	* Removed the 'RDEventLine::properties()' and
	'RDEventLine::setProperties()' methods.
	* Added 'RDEventLine::propertiesText()' methods.
	* Added a 'Trans' column to the event list in the 'Edit Clock'
	dialog in rdlogmanager(1).
	* Added a 'Trans' column to the event list in the 'List Events'
	dialog in rdlogmanager(1).

Signed-off-by: Fred Gleason <fredg@paraelsystems.com>
2020-04-18 10:09:20 -04:00
Fred Gleason
2e6a13eba1 2020-04-16 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'EVENTS.POST_POINT' field from the database.
	* Removed the 'LOG_LINES.POST_POINT' field from the database.
	* Incremented the database version tp 315.
	* Removed 'RDEventLine::postPoint()' and
	'RDEventLine::setPostPoint()' methods.
	* Removed the 'Post Point' checkbox from the 'Editing Event' dialog
	in rdlogmanager(1).
2020-04-16 17:26:18 -04:00
Fred Gleason
b06791ae27 2020-04-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused the initial event
	in an imported set to fail receive the proper time and transition
	type if the 'Include Import Markers in Finished Logs' checkbox in
	rdadmin(1) had not been ticked.
2020-04-08 16:49:25 -04:00
Fred Gleason
5fff25c5d4 Fixed conflicts 2020-02-21 16:56:03 -05:00
Fred Gleason
2e9b1e7d74 2020-02-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogmanager(1) that caused trailer
	whitespace to be generated in the 'EXT_DATA', 'EXT_EVENT',
	'EXT_ANNC_TYPE' and 'EXT_CART_NAME' log fields when importing
	from a CounterPoint format log.
2020-02-21 15:49:11 -05:00
Fred Gleason
755a84604f 2019-12-13 Fred Gleason <fredg@paravelsystems.com>
* Removed dead code from 'lib/rdevent_line.cpp'.
2019-12-13 12:30:34 -05:00
Fred Gleason
edec9cb07d 2019-12-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogmanager(1) that caused incorrect
	logged start times to be generated for imported events.
2019-12-11 14:10:15 -05:00
Fred Gleason
1d336f23af 2019-12-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused spurious log events
	to be inserted when generating a log.
2019-12-04 15:22:39 -05:00
Patrick Linstruth
dcbf96b037 Fixed bug in rdlogmanager(1) deconflicting rules. 2019-05-27 18:18:59 -07:00
Patrick Linstruth
bdc006e924 Fixed regression in scheduler when using two schedule codes. 2019-05-02 06:35:12 -07:00
Fred Gleason
5589d3fc97 2019-04-23 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STACK_SCHED_CODES' table to the database.
	* Dropped the 'STACK_LINES.SCHED_CODES' field from the database.
	* Incremented the database version to 308.
	* Renamed the 'SchedCartList' class to 'RDSchedCartList' and
	refactored it to be idiomatic Qt.
	* Renamed the 'SchedRulesList' class to 'RDSchedRulesList'.
2019-04-23 18:30:30 -04:00
Patrick Linstruth
2a51c4c788 Fixed a regression that broke clock scheduler rules in rdlogmanager(1). 2019-04-02 18:02:09 -07:00
Patrick Linstruth
5d82d16eef Move rdlogmanager(1) scheduler artist separation from clock to event. 2019-02-25 16:46:38 -08:00
Patrick Linstruth
29b59ed46e Add comments about the possible removed from sched codes from SchedCartList::insertItem 2019-01-12 10:49:42 -08:00
Patrick Linstruth
dfcd8b1b65 Fixed regression in scheduler that caused events with two scheduler codes to fail.
Updated scheduler reports to indicate scheduler codes.
2019-01-12 10:43:06 -08:00
Fred Gleason
a9a3f385ad 2018-11-29 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.INCLUDE_IMPORT_MARKERS' field to the database.
	* Added a 'LOGS.INCLUDE_IMPORT_MARKERS' field to the database.
	* Incremented the database version to 301.
	* Added an 'Inlcude Import Markers in Finished Logs' checkbox to
	the 'Edit Service' dialog in rdadmin(1).
2018-11-29 14:44:38 -05:00
Patrick Linstruth
612a63ef32 Scheduler optimization 2018-11-13 18:47:34 -08:00
Patrick Linstruth
3ed7a7ca6f Move 'CART.SCHED_CODES' field to 'CART_SCHED_CODES' table. 2018-11-13 13:16:26 -08:00
Patrick Linstruth
f820d118df Default event_start_time to 00:00:00.0 instead of null 2018-09-18 19:42:54 -07:00
Fred Gleason
07396cb96d 2018-06-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogmanager(1) that caused a segfault
	when generating a log.
2018-08-24 14:48:49 -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
c52c9b9f8a 2018-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added an 'IMPORTER_LINES' table to the database.
	* Incremented the database version to 295.
	* Refactored the log importer code to use the static 'IMPORTER_LINES'
	table.
2018-07-20 19:24:11 -04:00
Fred Gleason
363dbb7878 2018-07-12 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'lib/' ensure UTF-8 compatibility.
2018-07-12 13:47:20 -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
08c01373cb 2018-07-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RULE_LINES' table to the database.
	* Incremented the database version to 292.
2018-07-10 08:30:06 -04:00
Fred Gleason
08f8b87af4 2018-07-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'EVENT_LINES' table to the database.
	* Incremented the database version to 290.
	* Removed the 'RDEvent::preimportTableName()' method.
	* Removed the 'RDEvent::postimportTableName()' method.
2018-07-06 07:38:18 -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
18cd34ce3f
Merge pull request #200 from deltecent/issue192-scheduledat
Merged into 'stable'. Thanks!
2018-05-30 17:34:03 +00:00
Fred Gleason
9e9eb4ac8e Merge branch 'issue198-scheduler' of https://github.com/deltecent/rivendell into deltecent-issue198-scheduler 2018-05-25 19:41:23 +00:00
Fred Gleason
84147dfd90 2018-05-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused the initial transition
	type specified in the 'IMPORT' section of the 'Editing Event' dialog
	to be applied to both the parent log link and the first imported
	event when the 'PRE-IMPORT CARTS' list was empty and no Timed Start
	was enabled.
2018-05-08 18:10:33 +00:00
Patrick Linstruth
209c1fee8c Prioritize scheduler code over artist/title separation 2018-04-29 12:44:33 -07:00
Patrick Linstruth
796bc27476 Removed syslog.h for debugging 2018-02-23 12:34:08 -08:00
Patrick Linstruth
500aad7a7e Set SCHEDULED_AT when adding to the STACK 2018-02-23 12:32:24 -08:00
Fred Gleason
20cf2abb65 2018-01-12 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that caused rdlogmanager(1) to throw SQL errors when
	importing music/traffic data.
2018-01-12 13:07:21 -05:00
Fred Gleason
9ae18f2559 2018-01-09 Fred Gleason <fredg@paravelsystems.com>
* Modified log linking to retain parent link events in linked logs.
	* Fixed a bug where re-merging linked logs would generate an
	'Event not placed' exception for avails that were previously
	unpopulated.
2018-01-09 13:55:30 -05:00
Fred Gleason
012fbb80a4 2018-01-08 Fred Gleason <fredg@paravelsystems.com>
* Removed implicit ASCII casts from RDEventLine.
2018-01-08 13:15:09 -05:00
Fred Gleason
140f8fe500 2017-12-05 Fred Gleason <fredg@paravelsystems.com>
* Modified log linking to retain parent link events in linked logs.
	* Fixed a bug where re-merging linked logs would generate an
	'Event not placed' exception for avails that were previously
	unpopulated.
2017-12-05 12:41:10 -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
96a6640a7e 2017-07-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdevent_line.cpp' that caused an embedded traffic
	import event to be assigned incorrect link parameters when scheduled
	at midnight.
2017-07-28 16:34:00 -04:00
Fred Gleason
e9b46ea873 2017-07-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdevent_line.cpp' that caused embedded traffic
	import events to be assigned incorrect link parameters when scheduled
	immediately after a voice track.
2017-07-28 07:48:38 -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
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