328 Commits

Author SHA1 Message Date
Fred Gleason
23df8ca675 2017-04-05 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'lib/carts.cpp' that broke cut listings
	in the 'ListCarts' web API call.
2017-04-05 14:39:06 -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
5b5800d27f 2017-03-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdaudioconvert.cpp' that caused conversions
	from MPEG Layer 3 VBR data to be truncated when no end point
	was specified.
	* Fixed a bug in 'web/rdxport/import.cpp' that caused the
	end marker to be positioned incorrectly when importing MPEG
	Layer 3 VBR files.
2017-03-16 16:11:41 -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
052593f0f1 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 logs containing voice tracks.
2017-03-15 11:57:24 -04:00
Fred Gleason
c8ec4248a4 2017-03-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that introduced round-off errors when calculating
	event start times in RDLogEdit(1) in 'lib/rdlog_event.cpp'.
2017-03-06 10:41:21 -05:00
Fred Gleason
b41fb8c657 2017-03-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlibrary/audio_cart.cpp' where the 'Conductor'
	failed to be imported from RDXL chunks.
	* Added a 'songId' field to the cart metadata XML.
2017-03-01 12:58:12 -05:00
Fred Gleason
0a934357c4 2017-03-01 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDCart::xmlSql()' and second 'RDCart::xml()' methods.
	* Refactored the 'RDCart::xml()' method to use a SQL query.
	* Refactored the Cart and Cut web methods in 'web/rdxport/carts.cpp'
	to use SQL queries.
2017-03-01 11:52:14 -05:00
Fred Gleason
839aa239c8 2017-02-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'lib/rdformpost.cpp'.
2017-02-28 12:04:27 -05:00
Fred Gleason
db0e842496 2017-02-21 Fred Gleason <fredg@paravelsystems.com>
* Modified 'lib/rdformpost.cpp' to use read-only accessors for
	std::map values.
	* Added a check for valid event IDs for the 'SaveLog' method in
	'web/rdxport/logs.cpp'.
2017-02-21 16:51:25 -05:00
Fred Gleason
d4682f6e1b 2017-02-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the '<forcedLength>', '<averageLength>',
	'<lengthDeviation>', '<averageSegueLength>' and
	'<averageHookLength>' fields in the return of the 'ListCart'
	and 'ListCarts' web methods to return a two-digit hours field.
2017-02-16 08:15:07 -05:00
Fred Gleason
ef5dd121b7 2017-02-10 Fred Gleason <fredg@paravelsystems.com>
* Added a '<conductor>' field to the output of the 'ListLog' web
	API method.
2017-02-10 10:10:17 -05:00
Fred Gleason
dcff3e6f4f 2017-02-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_line.cpp' that caused the event start
	time to be incorrect in the 'ListLog' Web API method for times of
	'00:00:00.0' for 'hard' type.
2017-02-10 08:39:14 -05:00
Fred Gleason
af592fa200 2017-02-07 Fred Gleason <fredg@paravelsystems.com>
* Changed the DLL load target for libmad from 'libmad.so' to
	'libmad.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'.
	* Changed the DLL load target for lame from 'libmp3lame.so' to
	'libmp3lame.so.0' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'.
	* Changed the DLL load target for faad from 'libfaad.so' to
	'libfaad.so.2' in 'cae/cae.cpp' and 'lib/rdmp4.cpp'.
	* Changed the DLL load target for mp4v2 from 'libmp4v2.so' to
	'libmp4v2.so.2' in 'cae/cae.cpp' and 'lib/rdaudioconvert.cpp'.
2017-02-07 08:45:05 -05:00
Fred Gleason
34db6c3237 2017-02-02 Fred Gleason <fredg@paravelsystems.com>
* Added a 'linkStartTime' tag to the output of 'RDLogLine::xml()'.
2017-02-02 11:59:51 -05:00
Fred Gleason
41b3db2408 2017-01-31 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AddLog' method to the Web API.
	* Added an 'DeleteLog' method to the Web API.
	* Added a 'SaveLog' method to the Web API.
	* Added 'eventLength', 'linkEventName', 'linkStartSlop',
	'linkEndSlop', 'linkId', 'linkEmbedded', 'extStartTime',
	'extLength', 'extCartName', 'extData', 'extEventId',
	and 'extAnncType' XML fields to the return of the ListLog web
	API method
2017-01-31 18:01:46 -05:00
Fred Gleason
28d8425b94 2017-01-18 Fred Gleason <fredg@paravelsystems.com>
* Added a <purgeDate> tag to the return document for the 'ListLogs'
	web service call.
2017-01-18 14:17:48 -05:00
Fred Gleason
9d5618c90c 2017-01-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_line.cpp' that caused invalid 'Type' values
	to be returned for Chain events.
2017-01-17 11:42:23 -05:00
Fred Gleason
0ba509eb1a 2017-01-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_line.cpp' that caused invalid 'Type' values
	to be returned for Traffic and Music Link events.
2017-01-17 11:38:22 -05:00
Fred Gleason
e65f9a9716 2017-01-13 Fred Gleason <fredg@paravelsystems.com>
* Implemented automatic cart/cut creation as part of the 'Import'
	web method.
2017-01-13 19:15:31 -05:00
Fred Gleason
21dcac3e4a 2017-01-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rduser.cpp' that caused the
	'RDUser::groupAuthorized()' to return false positive results.
2017-01-13 19:03:22 -05: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
38dc64c548 2016-09-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdsimpleplayer.cpp' that caused RDAirPlay
	to freeze when attempting to audition an expired cart
	[GitHub issue #000051].
2016-09-26 09:07:08 -04:00
Fred Gleason
23c9d6136e 2016-09-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'lib/rdwavefile.cpp' that caused RDXL
	chunks to be written with odd chunk lengths.
2016-09-13 08:29:33 -04:00
Fred Gleason
51cdcfb9be 2016-08-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlibrary(1) that caused exports to contain incorrect
	marker data in the RDXL file structure.
2016-08-03 12:21:05 -04:00
Fred Gleason
d232842b0c 2016-08-02 Fred Gleason <fredg@paravelsystems.com>
* Added a work-around in 'lib/rdwavefile.cpp' to ensure that RDXL
	chunks are always of even length.
2016-08-02 17:43:41 -04:00
Fred Gleason
1c52c13a7b 2016-08-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdwavefile.cpp' that caused WAV files to
	be written with incorrect LEVL chunk data.
2016-08-02 16:18:30 -04:00
Fred Gleason
a55afed800 2016-07-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'lib/rdsvc.cpp' that broke log data imports
	for data lines with leading whitespace.
2016-07-27 08:02:52 -04:00
Fred Gleason
232743415c 2016-07-27 Fred Gleason <fredg@paravelsystems.com>
* Removed dead code from 'lib/rdsvc.cpp'.
2016-07-27 07:29:28 -04:00
Fred Gleason
a20b7f2437 2016-07-26 Fred Gleason <fredg@paravelsystems.com>
* Added a sanity check in the 'RDCut::setMetadata()' method in
	'lib/rdcut.cpp' to ensure that the cut 'Description' field is always
	populated.
2016-07-26 11:55:43 -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
fdc40e8bbb 2016-07-23 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up warning in 'lib/rdlog_line.cpp'.
	* Cleaned up warning in 'lib/rdwavefile.cpp'.
	* Cleaned up warning in 'rdlogmanager/edit_event.cpp'.
2016-07-23 12:13:30 -04:00
Fred Gleason
29927e7709 2016-07-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in 'lib/lib.pro', 'lib/rdweb.cpp, 'lib/rdweb.h' and
	'rdlogedit/edit_logline.cpp' that broke the build under Windows.
2016-07-15 14:16:32 -04:00
Fred Gleason
6c31c9e1d4 2016-07-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'RDCart::GetXmlValue()' method that caused
	XML field values not to be unescaped correctly.
2016-07-13 10:47:42 -04:00
Fred Gleason
d8636ebb2c 2016-07-13 Fred Gleason <fredg@paravelsystems.com>
* Implemented storage of RDXML data structures within a 'rdxl'
	user defined information frame in ID3 tags 'lib/rdwavefile.cpp' and
	'lib/rdaudio_convert.cpp'.
2016-07-13 10:11:08 -04:00
Fred Gleason
b508b7a0ca 2016-07-12 Fred Gleason <fredg@paravelsystems.com>
* Added support for reading conductor field values (TPE3) from
	ID3 tags in 'lib/rdwavefile.cpp'.
2016-07-12 15:22:20 -04:00
Fred Gleason
b64b01b148 2016-07-12 Fred Gleason <fredg@paravelsystems.com>
* Implemented storage of RDXML data structures within a 'rdxl' chunk
	in WAV files.
2016-07-12 14:36:17 -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
edd8221b6f 2016-07-11 Fred Gleason <fredg@paravelsystems.com>
* Added rdxml_parse_test(1) in 'tests/'.
	* Added a RDCart::readXml()' method in 'lib/rdcart.cpp' and
	'lib/rdcart.h'.
	* Fixed a typo in the 'averageSegueLength' field in the 'RDCart::xml()'
	method in 'lib/rdcart.cpp'.
	* Removed the 'validity' field from the output of the 'RDCart::xml()'
	method in 'lib/rdcart.cpp'.
	* Removed the 'validity' and 'localCounter' fields from the output
	of the 'RDCut::xml()' method in 'lib/rdcut.cpp'.
2016-07-11 14:01:30 -04:00
Fred Gleason
5c82d99de7 2016-06-23 Fred Gleason <fredg@paravelsystems.com>
* Refactored layout of dialogs in rdlogedit(1) so as to display
	dialog heirarchy correctly.
2016-06-23 10:37:43 -04:00
Fred Gleason
c1675087aa 2016-06-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdsvc.cpp' that caused import events with
	minute field values greater than '59' in the Start Time to fail
	to be imported.
2016-06-17 14:55:03 -04:00
Fred Gleason
ec79802cb6 2016-06-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rddownload.cpp' that caused download URLs
	using 'https' protocol to fail to be properly escaped.
2016-06-17 14:06:19 -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
605dfbb964 2016-06-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdcut.cpp' that caused a SQL error when
	generating an XML 'cutList' object.
2016-06-17 10:39:30 -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
d90a226e70 Minor formatting tweaks 2016-06-14 12:31:02 -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
815dea346c 2016-06-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlist_logs.cpp' that failed to process
	SQL NULL date values correctly.
2016-06-10 17:38:15 -04:00