237 Commits

Author SHA1 Message Date
Fred Gleason
f692a3ac0d 2018-01-30 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDApplication'class.
	* Converted rdlibrary(1) to use RDApplication.
2018-01-30 03:57:04 -05:00
Fred Gleason
c285801fbd 2017-12-27 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LOGS.LOCK_USER_NAME' field to the database.
	* Added a 'LOGS.LOCK_STATION_NAME' field to the database.
	* Added a 'LOGS.LOCK_IPV4_ADDRESS' field to the database.
	* Added a 'LOGS.LOCK_DATETIME' field to the database.
	* Incremented the database version to 273.
	* Added log locking logic to rdlogedit(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added log locking logic to the voice tracker in rdlogedit(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added log locking logic to rdclilogedit(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Modified the behavior of the 'new' command in rdclilogedit(1) to
	match that of rdlogedit(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added a 'LOGS.LOCK_GUID' field to the database.
	* Incremented the database version to 274.
	* Added a 'LockLog' call to the Web API.
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Cleaned up 'log in use" messages in rdlogedit(1) and
	rdclilogedit(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added log locking logic to the 'SaveLog' Web API call.
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added log locking logic to rdlogmanager(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added a lock check for before deleting logs in rdlogedit(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added a lock check for before deleting logs in rdclilogedit(1).
2017-12-27 Fred Gleason <fredg@paravelsystems.com>
	* Added log locking logic to rdairplay(1).
2017-12-27 15:09:06 -05:00
Fred Gleason
1771d40d52 2017-12-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs that caused creation of a new database to fail.
2017-12-22 12:33:20 -05:00
Fred Gleason
aec8bba723 2017-12-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LOGS.LOCK_GUID' field to the database.
	* Incremented the database version to 274.
	* Added a 'LockLog' call to the Web API.
2017-12-20 18:16:22 -05:00
Fred Gleason
d3e6912663 2017-12-18 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LOGS.LOCK_USER_NAME' field to the database.
	* Added a 'LOGS.LOCK_STATION_NAME' field to the database.
	* Added a 'LOGS.LOCK_IPV4_ADDRESS' field to the database.
	* Added a 'LOGS.LOCK_DATETIME' field to the database.
	* Incremented the database version to 273.
	* Added log locking logic to rdlogedit(1).
2017-12-19 18:14:59 -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
3b1ce13e77 2017-12-15 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDTempDir()' function.
2017-12-15 07:47:41 -05:00
Fred Gleason
4c56b3bd4c 2017-12-13 Fred Gleason <fredg@paravelsystems.com>
* Changed the title of the 'Edit TTYs' dialog in
	rdadmin(1) to 'Edit Serial Ports'.
	* Added a 'Configuring Serial Ports' section to the Operations Guide.
2017-12-13 11:53:35 -05:00
Fred Gleason
52383928f7 2017-12-08 Fred Gleason <fredg@paravelsystems.com>
* Changed the title of the 'RDLogEdit configuration' dialog in
	rdadmin(1) to 'Configure RDLogEdit'.
	* Added a 'Configuring RDLogEdit' section to the Operations Guide.
2017-12-08 16:37:31 -05:00
Fred Gleason
c14f06c9df 2017-12-08 Fred Gleason <fredg@paravelsystems.com>
* Changed the title of the 'RDPanel configuration' dialog in
	rdadmin(1) to 'Configure RDPanel'.
	* Added a 'Configuring RDPanel' section to the Operations Guide.
2017-12-08 16:09:54 -05:00
Fred Gleason
c712275644 2017-12-08 Fred Gleason <fredg@paravelsystems.com>
* Changed the title of the 'RDAirPlay configuration' dialog in
	rdadmin(1) to 'Configure RDAirPlay'.
	* Added a 'Configuring RDAirPlay' section to the Operations Guide.
2017-12-08 15:40:59 -05:00
Fred Gleason
16c9c404eb 2017-12-07 Fred Gleason <fredg@paravelsystems.com>
* Changed the title of rdadmin(1)'s 'Rivendell Workstation List'
	dialog to 'Rivendell Host List'.
	* Changed the title of rdadmin(1)'s 'RDLibrary config' dialog to
	'Configure RDLibrary'.
	* Renamed the 'Ripper Level' control to 'Normalization Level'
	and moved it to the 'Defaults' section of rdadmin(1)'s
	'Configure RDLibrary' dialog.
	* Added a 'Configuring RDLibrary' section to the Operations Guide.
2017-12-07 17:54:44 -05:00
Fred Gleason
6b27e35a04 2017-12-07 Fred Gleason <fredg@paravelsystems.com>
* Changed the title of rdadmin(1)'s 'Rivendell Workstation List' to
	'Rivendell Host List'.
2017-12-07 15:31:21 -05:00
Fred Gleason
6bff55ed72 2017-12-07 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'Contract #' field in the 'Edit Service' dialog in
	rdadmin(1) to 'Globally Unique ID'.
	* Completed the 'Managing Services' section of the Operations Guide.
2017-12-07 15:18:49 -05:00
Fred Gleason
a19799f0e6 2017-12-07 Fred Gleason <fredg@paravelsystems.com>
* Rearranged the 'Edit User' dialog in rdadmin(1) to improve
	functional groups of controls.
2017-12-07 11:11:32 -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
0ef051b9dd 2017-11-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the 'Edit Group dialog in rdadmin(1)
	that caused the 'Transmit Now & Next data' checkbox to be
	obscured.
2017-11-08 10:52:49 -05:00
Fred Gleason
39536e6514 2017-11-07 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal remnants of Host Security mode.
2017-11-07 14:43:21 -05:00
Fred Gleason
939cd03a30 2017-10-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused a segfault when opening the
	'Edit Host' dialog.
2017-10-25 08:49:06 -04:00
Fred Gleason
c38f4cbb4b 2017-10-16 Fred Gleason <fredg@paravelsystems.com>
* Removed policy to update cut expiration date/time automatically
	upon audio update.
2017-10-16 11:04:56 -04:00
Fred Gleason
ca08ba607b 2017-10-16 Fred Gleason <fredg@paravelsystems.com>
* Added 'DROPBOXES.SEGUE_LEVEL' and 'DROPBOXES.SEGUE_LENGTH' fields
	to the database.
	* Incremented the database version to 271.
	* Applied a pull request from Dennis Graiani <dennis.graiani@gmail.com>
	the added Segue parameters to the 'Edit Dropbox' dialog.
	* Modified the 'Segue Length' control in the 'Edit Dropbox' dialog
	to take mS as units.
2017-10-16 10:12:25 -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
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
Dennis Graiani
7734f7d0e0 Add segue marker options to dropboxes 2017-10-13 17:08:52 -04:00
Fred Gleason
fdb5917f64 2017-10-13 Fred Gleason <fredg@paravelsystems.com>
* Added a 'GROUPS.DEFAULT_CUT_LIFE' field to the database.
	* Incremented the database version to 269.
	* Added 'RDGroup::defaultCutLife()' and 'RDGroup::setDefaultCutLife()'
	methods.
	* Added a 'Set End Date/Time' control to the 'Edit Group' dialog in
	RDAdmin(1).
2017-10-13 13:53:19 -04:00
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