160 Commits

Author SHA1 Message Date
Fred Gleason
cf0ac6c8d9 Merged provisioning 2017-10-03 09:16:36 -04:00
Fred Gleason
70147e9345 2017-10-03 Fred Gleason <fredg@paravelsystems.com>
* Implemented the '%s' wildcard in the report file path.
2017-10-03 09:04:30 -04:00
Fred Gleason
f17a4ca509 2017-09-30 Fred Gleason <fredg@paravelsystems.com>
* Added a [Provisioning] section to rd.conf(5).
	* Moved code to create new hosts to the 'RDStation::create()' method.
	* Moved code to delete hosts to the 'RDStation::remove()' method.
	* Implemented 'CreateHost=' and 'NewHostTemplate=' parameters
	in the [Provisioning] section of rd.conf(5).
2017-09-30 18:01:24 -04:00
Fred Gleason
0ba0267de3 2017-09-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Reset' button to the 'Edit Dropbox' dialog
	in rdadmin(1).
2017-09-20 13:46:56 -04:00
Fred Gleason
674bab322e 2017-09-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'DROPBOXES.FORCE_TO_MONO' field to the database.
	* Incremented the database version to 268.
	* 'RDDropbox::forceToMono()' and 'RDDropbox::setForceToMon()' methods
	in 'lib/rddropbox.cpp' and 'lib/rddropbox.h'.
	* Added a 'Force to Monaural' checkbox to the 'Edit Dropbox' dialog
	in rdadmin(1).
2017-09-20 12:44:31 -04:00
Fred Gleason
96d829fca1 2017-09-18 Fred Gleason <fredg@paravelsystems.com>
* Fixed a typo in 'rdadmin/createdb.cpp' that broke creation of a
	new database.
2017-09-18 07:29:38 -04:00
Fred Gleason
796164403c 2017-09-01 Fred Gleason <fredg@paravelsystems.com>
* Added 'CUTS.ORIGIN_LOGIN_NAME' and 'CUTS.SOURCE_HOSTNAME' fields to
	the database.
	* Incremented the database version to 267.
	* Added 'RDCut::originLoginName()', 'RDCut::setOriginLoginName()',
	'RDCut::sourceHostname()' and 'RDCut::setSourceHostname()' methods
	in 'lib/rdcut.cpp' and 'lib/rdcut.h'.
	* Added '<originLoginName>' and '<sourceHostname>' tags to the cut
	XML schema in 'RDCart::xmlSql()' and 'RDCut::xml()' methods.
	* Refactored the layout of the 'Cut Info/Record' dialog in RDLibrary.
	* Added a 'Source Host' control to the 'Cut Info/Record' dialog
	in RDLibrary.
2017-09-01 09:34:25 -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
040efdd3f0 2017-08-16 Fred Gleason <fredg@paravelsystems.com>
* Added fixup code in 'rdadmin/createdb.cpp' to recalculate
	voice track counts.
	* Incremented the database version to 266.
2017-08-16 12:18:59 -04:00
Fred Gleason
b2c6f3b9ac 2017-07-14 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SYSTEM.SHOW_USER_LIST' field to the database.
	* Incremented the database version to 265.
	* Added 'RDSystem::showUserList()' and 'RDSystem::setShowUserList()'
	methods in 'lib/rdsystem.cpp' and 'lib/rdsystem.h'.
	* Added a 'Show User List in RDLogin' control to the 'Edit System'
	dialog in 'rdadmin/edit_settings.cpp' and 'rdadmin/edit_settings.h'.
	* Altered RDLogin to display a text  input field for the user name
	when 'Show User List in RDLogin' is unchecked.
2017-07-14 12:25:21 -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
108fd8c40c 2017-06-19 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SYSTEM.FIX_DUP_CART_TITLES' field to the database.
	* Incremented the database version to 264.
	* Added 'RDSystem::fixDuplicateCartTitles()' and
	'RDSystem::setFixDuplicateCartTitles()' methods in 'lib/rdsystem.cpp'
	and 'lib/rdsystem.h'.
	* Added an 'Auto-Correct Duplicate Cart Titles' checkbox to the
	'System Settings' dialog in 'rdadmin/edit_settings.cpp' and
	'rdadmin/edit_settings.h'.
	* Modified the 'EditCart' web call to enforce the 'Auto-Correct
	Duplicate Cart Titles' setting.
2017-06-19 13:16:33 -04:00
Fred Gleason
1a94f58fff 2017-05-18 Fred Gleason <fredg@paravelsystems.com>
* Added pseudo-schema change 263 to restore missing LOG_MODES table
	records [GitHub issue #000175].
	* Added code to create and remove LOG_MODES table records when
	adding and removing Host definitions.
	* Incremented the database version to 263.
2017-05-18 15:26:49 -04:00
Fred Gleason
275c08b156 2017-04-03 Fred Gleason <fredg@paravelsystems.com>
* Added a 'USERS.LOCAL_AUTH' field to the database.
	* Added a 'USERS.PAM_SERVICE' field to the database.
	* Added an index on 'STATIONS.IPV4_ADDRESS' to the database.
	* Incremented the database version to 262.
	* Added 'RDUser::localAuthentication()',
	'RDUser::setLocalAuthentication()', 'RDUser::pamService()' and
	'RDUser::setPamService()' methods in 'lib/rduser.cpp' and
	'lib/rduser.h'.
	* Added 'PAM Service' and 'Authenticate This User Locally' controls
	to the Edit User dialog in 'rdadmin/edit_user.cpp' and
	'rdadmin/edit_user.h'.
	* Added a PAM service configuration in 'conf/rivendell.pam'.
2017-04-03 18:15:07 -04:00
Fred Gleason
5dc6fa92a9 2017-03-29 Fred Gleason <fredg@paravelsystems.com>
* Added a 'CUTS.SHA1_HASH' field to the database.
	* Incremented the database version to 261.
	* Added a 'Sha1' column to the Cut List in 'rdlibrary/audio_cart.cpp'.
	* Added 'RDCut::sha1Hash()' and 'RDCut::setSha1Hash()' methods in
	'lib/rdcut.cpp' and 'lib/rdcut.h'.
	* Added a '--rehash=' directive to rddbcheck(8).
	* Added a 'Rehash' Web API call.
	* Added an 'RDRehash' class in 'lib/rdrehash.cpp' and 'lib/rdrehash.h'.
2017-03-29 11:09:15 -04:00
Fred Gleason
bc2c441680 2017-03-27 Fred Gleason <fredg@paravelsystems.com>
* Added a 'WEBAPI_AUTHS' table to the database.
	* Added a 'USERS.WEBAPI_AUTH_TIMEOUT' field to the database.
	* Incremented the database version to 260.
	* Added 'RDUser::webapiAuthTimeout()' and
	'RDUser::setWebapiAuthTimeout()' methods in 'lib/rduser.cpp' and
	'lib/rduser.h'.
	* Added a 'WebAPI Timeout' control to the Edit User dialog in
	'rdadmin/edit_user.cpp' and 'rdadmin/edit_user.h'.
	* Implemented a 'CreateTicket' Web API call.
2017-03-27 13:43:42 -04:00
Fred Gleason
dff01de517 2016-09-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdadmin/createdb.cpp' that caused obsolete fields
	in the 'SERVICES' table to be included when creating a new database.
2016-09-12 11:13:14 -04:00
Fred Gleason
a6066fe39a 2016-08-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdadmin/createdb.cpp' that caused the
	'SERVICE_CLOCKS' table to fail to be created when generating
	a new database.
2016-08-01 10:41:12 -04:00
Fred Gleason
9550815023 2016-07-25 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICE_CLOCKS' table to the database.
	* Incremented the database version to 259.
	* Modified 'rdlogmanager/edit_clock.cpp' to use the new
	'SERVICE_CLOCKS' table.
	* Modified 'rdlogmanager/list_clocks.cpp' to use the new
	'SERVICE_CLOCKS' table.
2016-07-25 15:18:14 -04:00
Fred Gleason
5342d41f8d 2016-06-07 Fred Gleason <fredg@paravelsystems.com>
* Made the 'Test Import' dialog resizeable in
	'rdadmin/test_import.cpp' and 'rdadmin/test_import.h'.
2016-06-07 13:49:25 -04: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
c0999387eb Merge branch 'stable' of https://github.com/waynemerricks/rivendell into waynemerricks-stable 2016-05-25 07:23:39 -04:00
Wayne Merricks
5ff24a1374 Fix unable to create rduser in MySQL v5.7+
The original insert into user's method of creating rduser is not compatible with MySQL v5.7+.

This moves to a standard create user statement.  Also moved to grant statements rather than
inserting directly into the db table to prevent possible changes to that causing issues in the
future.
2016-05-24 20:24:31 +01:00
Wayne Merricks
57aa913e6f Fix rdairplay password and rdpanel segfault
Removes the INSTANCE column from RDAIRPLAY and RDPANEL tables.  This was removed in schema 219 but persists if you create a db from scratch.

This makes rdairplay prompt for a password when exiting and seg faults rdpanel if not removed due to an attempt to insert a record into RDAIRPLAY/RDPANEL without setting a value for INSTANCE which is NOT NULL with no default.
2016-05-24 20:20:55 +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
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
5d0ee9cd38 2016-05-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdadmin/createdb.cpp' that caused creation
	of a new DB to fail.
2016-05-20 15:55:26 -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
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
44d368295b 2016-03-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdadmin/createdb.cpp' that caused schema conversion
	199 to fail.
2016-03-28 11:41:06 -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
6d168b0a8f 2016-03-23 Fred Gleason <fredg@paravelsystems.com>
* Added a 'CART.USE_WEIGHTING' field to the database.
	* Added a 'CUTS.PLAY_ORDER' field to the database.
	* Incremented the database version to 254.
	* Added a 'Schedule Cuts By' control to the Edit Cart dialog in
	'rdlibrary/edit_cart.cpp' and 'rdlibrary/edit_cart.h'.
	* Added 'RDCart::useWeighting()' and 'RDCart::setUseWeighting()'
	methods in 'lib/rdcart.cpp' and 'lib/rdcart.h'.
	* Added 'RDCut::playOrder()' and 'RDCut::setPlayOrder()' methods
	in 'lib/rdcut.cpp' and 'lib/rdcut.h'.
2016-03-24 11:38:21 -04:00
Fred Gleason
20ff6176b4 2015-09-16 Fred Gleason <fredg@paravelsystems.com>
* Added 'PCM24' to the list of supported import and export formats
	in 'rdadmin/view_adapters.cpp'.
2015-09-16 09:48:29 -04:00
Fred Gleason
c0446ea5f7 Merged 04bd883b65b9922c35216b92b4da52245fdc7f5b from master 2015-09-15 08:06:20 -04:00
Fred Gleason
4de09b9eaf 2015-09-05 Fred Gleason <fredg@paravelsystems.com>
* Added 'PCM24' to the list of available formats in
	'rdadmin/edit_rdlogedit.cpp' and 'rdadmin/edit_rdlogedit.h'.
	* Added PCM24 support for voice tracking in
	'rdlogedit/voice_tracker.cpp'.
2015-09-05 09:40:52 -04:00
Fred Gleason
398408476c 2015-08-30 Fred Gleason <fredg@paravelsystems.com>
* Added PCM24 to 'lib/export_settings_dialog.cpp'.
2015-08-30 08:14:59 -04:00
Fred Gleason
8d70a79387 2015-08-29 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDAudioConvert::Stage3Pcm24()' method in
	'lib/rdaudioconvert.cpp' and 'lib/rdaudioconvert.h'.
	* Added a 'Format::Pcm24' value to the 'RDSettings::Format'
	enumeration in 'lib/rdsettings.h'.
	* Modified the 'RDAudioConvert' class to support generating PCM24
	output in 'lib/rdaudioconvert.cpp' and 'lib/rdaudioconvert.h'.
	* Modified the 'RDPlayStream' class to support playing PCM24
	data in 'rdhpi/rdplaystream.cpp'.
	* Modified the 'RDRecordStream' class to support capturing PCM24
	data in 'rdhpi/rdrecordstream.cpp'.
	* Added an 'audio_peaks_test' harness in 'tests/audio_peaks_test.cpp'
	and 'tests/audio_peaks_test.h'.
	* Added 'PCM24' to the list of available formats in
	'rdadmin/edit_rdlibrary.cpp' and 'rdadmin/edit_rdlibrary.h'.
	* Added 'PCM24' to the list of available formats in
	'rdadmin/edit_decks.cpp'.
	* Added PCM24 support for file importation in
	'web/rdxport/import.cpp'.
	* Added an 'RDCae::Pcm24' value to the 'RDCae::AudioCoding
	enumeration in 'lib/rdcae.h'.
2015-08-30 07:49:44 -04:00
Fred Gleason
16284179cc Consolidated .gitignore files 2015-05-28 12:05:07 -04:00
Fred Gleason
153c0b4b0b 2015-04-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDLIBRARY.READ_ISRC' field to the database.
	* Incremented the database version to 245.
	* Added 'RDLibraryConf::readIsrc()' and 'RDLibraryConf::setReadIsrc()'
	methods in 'lib/rdlibrary_conf.cpp' and 'lib/rdlibrary_conf.h'.
	* Added a 'Read ISRCs from CD' control to the 'Edit RDLibrary' dialog
	in 'rdadmin/edit_rdlibrary.cpp' and 'rdadmin/edi_rdlibrary.h'.
	* Implemented the 'Read ISRCs from CD' option in the full disc
	ripper in 'rdlibrary/disk_ripper.cpp'.
	* Implemented the 'Read ISRCs from CD' option in the per-track disc
	ripper in 'rdlibrary/cdripper.cpp'.
2015-04-07 14:09:55 -04:00
Fred Gleason
12b8566af9 2015-04-02 Fred Gleason <fredg@paravelsystems.com>
* Modified the definition of the 'JACK_CLIENTS.COMMAND_LINE'
	field from 'char(255)' to 'text' in the database.
	* Incremented the database version to 244.
2015-04-02 10:48:37 -04:00
Fred Gleason
da8cf74df8 2015-03-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.HAVE_MP4_DECODE' field to the database.
	* Incremented the database version to 243.
	* Added a 'Capability::HaveMp4Decode' value to the
	'RDStation::Capability' enumeration in 'lib/rdstation.cpp' and
	'lib/rdstation.h'.
2015-03-09 21:37:10 -04:00
Fred Gleason
0fbbfc5f19 2015-03-05 Fred Gleason <fredg@paravelsystems.com>
* Increased digit count on endpoints from 3 to 4 in
	'rdadmin/list_endpoints.cpp'.
2015-03-05 21:37:56 -05:00
Fred Gleason
5656687db5 2015-03-04 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'SAS USI (3 digit)' driver to
	'SAS User Serial Interface'.
	* Renamed the 'SAS USI (2 digit)' driver to
	'SAS 16000(D)'.
2015-03-05 12:41:31 -05:00
Fred Gleason
d1962d1c4f 2015-02-27 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'SAS User Serial Interface' driver to
	'SAS USI (3 digit)'.
2015-02-27 14:55:17 -05:00
Fred Gleason
482aebf204 2015-02-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlivewire.cpp' that caused long LWRP
	messages to be truncated.
	* Refactored parser code in 'lib/rdlivewire.cpp' for greater
	robustness.
	* Fixed a bug in 'rdadmin/view_node_info.cpp' that caused
	slots to be sorted in incorrect order.
	* Renamed the 'STREAMING' column to 'ACTIVE' in
	'rdadmin/view_node_info.cpp'.
2015-02-22 21:20:32 -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
7d46f597a2 2014-11-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed missing 'EVENTS.HAVE_CODE2' field in the DB creation code
	in 'rdadmin/createdb.cpp'.
2014-11-30 16:03:12 -05:00
Fred Gleason
7effa38adf 2014-10-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'lib/rdreport.cpp' that caused RDLogManager
	events to be omitted from reports even when the
	'Export Event Types - All' checkbox was selected in combination with
	'Traffic Log' or 'Music Log' checkboxes.  [Fixes GitHub issue
	#000021].
2014-10-27 14:45:19 -04:00
Fred Gleason
4e48c93cb0 2014-10-24 Fred Gleason <fredg@paravelsystems.com>
* Added 'REPORTS.POST_EXPORT_CMD' and 'REPORTS.WIN_POST_EXPORT_CMD'
	fields to the database.
	* Incremented the database version to 242.
	* Added 'RDReport::postExportCommand()' and
	'RDReport::setPostExportCommand()' methods in 'lib/rdreport.cpp' and
	'lib/rdreport.h'.
	* Added 'Linux Post Export Cmd' and 'Windows Post Export Cmd' controls
	to the 'Edit Report' dialog in 'rdadmin/edit_report.cpp' and
	'rdadmin/edit_report.h'.
	* Implemented post export commands in 'lib/rdreport.cpp'.
2014-10-24 15:35:20 -04:00
Fred Gleason
829029a634 2014-10-08 Fred Gleason <fredg@paravelsystems.com>
* Applied a patch from albanpeignier that adds a second scheduler
	code for music events.
	* Added an 'EVENTS.HAVE_CODE2' field to the database.
	* Incremented the database version to 241.
2014-10-08 18:48:34 -04:00