60 Commits

Author SHA1 Message Date
Fred Gleason
c92b4dc703 2023-06-29 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDCoreApplication::isUniqueProcess()' static method.
	* Added processuniqueness checks to caed(8), rdairplay(1),
	rdrepld(8), rdrssd(8), rdservice(8), rdvairplayd(8), ripcd(8) and
	rdalsaconfig(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-06-29 14:54:48 -04:00
Fred Gleason
210bb8bca7 2023-06-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that would cause 'failed to load translation file'
	warnings to be sent to the Apache error log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-06-01 15:48:34 -04:00
Fred Gleason
12bdbfc948 2022-12-30 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDLIBRARY.IS_SINGLETON' field to the database.
	* Added a 'RDLOGEDIT.IS_SINGLETON' field to the database.
	* Incremented the database version to 367.
	* Added 'RDLibraryConf::isSingleton()' and
	'RDLibraryConf::setIsSingleton()' methods.
	* Added 'RDLogeditConf::isSingleton()' and
	'RDLogeditConf::setIsSingleton()' methods.
	* Modified rdcartslots(1), rdcastmanager(1), rdcatch(1),
	rdlogmanager(1) and rdpanel(1) to allow only a single instance to
	run at a time.
	* Modified rdlibrary(1) and rdlogedit(1) to conditionally allow
	only a single instance to run at a time.
	* Added an rdsinglestart(1) utility.
	* Added a 'wmctrl' dependency to the 'rivendell' RPM package.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-12-30 15:41:22 -05:00
Fred Gleason
4a3454cb8d 2022-11-07 Fred Gleason <fredg@paravelsystems.com>
* Added a dependency for ImageMagick's 'Magick++' library interface.
	* Added a 'FEED_IMAGES.DATA_MID_THUMB' field to the database.
	* Added a 'FEED_IMAGES.DATA_SMALL_THUMB' field to the database.
	* Incremented the database version to 365.
	* Optimized loading of thumbnail image data in rdadmin(1),
	rdcastmanager(1) and rdcatch(1).
	* Re-enabled uploads to RSS feeds in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-07 16:52:13 -05:00
Fred Gleason
427a964e6b 2022-03-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdclilogedit(1) that caused startup to fail if
	an X11 display context was not available.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-03-25 13:29:20 -04:00
Fred Gleason
2fbc9681b4 2022-03-25 Fred Gleason <fredg@paravelsystems.com>
* Reverted the following changes:
	2022-03-09 Fred Gleason <fredg@paravelsystems.com>
 	  * Fixed a regression in rdlogedit(1) that caused events from
	  previously viewed logs to be prepended to subsequent logs viewed
	  during the same session.
	2022-03-09 Fred Gleason <fredg@paravelsystems.com>
	  * Refactored the 'RDAddLog' dialog to allow for instance reuse.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-03-25 12:04:39 -04:00
Fred Gleason
3a41e13afd 2022-03-09 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'RDAddLog' dialog to allow for instance reuse.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-03-09 15:42:55 -05:00
Fred Gleason
ac594cc68b 2021-09-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up deprecation warnings for 'QString::sprintf()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-01 19:59:37 -04:00
David Klann
288fb02fed Fix a typo in lib/rdcut.cpp that threw a SQL error.
Fix typos in lib/rdsvc.cpp that threw SQL errors.

Fix typos in rdlibrary/list_reports.cpp that threw SQL errors.

Fix typos in utils/rdclilogedit/operations.cpp that threw SQL errors.

Fix typos in utils/rddbmgr/updateschema.cpp that threw SQL errors.

Signed-off-by: David Klann <dklann@broadcasttool.com>
2021-05-09 21:29:45 -05:00
Fred Gleason
cf29c18364 2021-04-20 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'utils/rdclilogedit/'.
	* Replaced " with ' delimiters in all SQL literal strings in
	'utils/rdclilogedit/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-20 11:27:56 -04:00
Fred Gleason
57abeada3c 2021-02-24 Fred Gleason <fredg@paravelsystems.com>
* Updated build system to use Qt5 instead of Qt4.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-24 16:12:22 -05:00
Fred Gleason
89a0d72439 2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-23 18:07:21 -05:00
Fred Gleason
a3525c88e2 2021-01-20 Fred Gleason <fredg@paravelsystems.com>
* Split the 'RDApplication' class into the base class
	'RDCoreApplication' and 'RDApplication'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-01-20 19:50:24 -05:00
Fred Gleason
1ce6d0ddc3 2020-12-29 Fred Gleason <fredg@paravelsystems.com>
* Refactored the Full Log widget in rdairplay to use the model-based
	API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-29 12:47:31 -05:00
Fred Gleason
ca7ead3ea3 2020-12-27 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDLogEvent' class.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-27 17:20:58 -05:00
Fred Gleason
f036872fd6 2020-01-28 Fred Gleason <fredg@paravelsystems.com>
* Added a 'libmusicbrainz5' dependency.
	* Added a 'libdiscid' dependency.
	* Added a 'readcd_test' test harness.
2020-01-28 17:26:09 -05:00
Fred Gleason
0b472716d6 2019-01-29 Fred Gleason <fredg@paravelsystems.com>
* Refactored routines for parsing/writing standard date/time strings
	(RFC822 and XML xs:dateTime formats) into 'lib/rddatetime.[cpp|h].
	* Removed the 'RDWebDateTime()', 'RDGetWebDateTime()',
	'RDGetWebDate()', 'RDGetWebTime()', 'RDGetWebMonth()',
	'RDXmlDate()', 'RDXmlTime()', 'RDXmlDateTime()' and
	'RDXmlTimeZoneSuffix()' functions from 'lib/rdweb.[cpp|h].
	* Added a 'dateparse_test' test harness.
2019-01-29 15:40:14 -05:00
Fred Gleason
8d11616b4b 2018-08-08 Fred Gleason <fredg@paravelsystems.com>
* Modified all instances of 'QStringList::split()' calls to use
	'QString::split()'.
2018-08-08 18:11:23 -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
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
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
e915b2f3a8 2018-03-25 Fred Gleason <fredg@paravelsystems.com>
* Added support for notifications to rdclilogedit(1).
2018-03-25 16:07:36 -04:00
Fred Gleason
0e47266a4d 2018-02-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDApplication::userChanged() signal.
2018-01-31 17:17:31 -05:00
Fred Gleason
941f846060 2018-02-01 Fred Gleason <fredg@paravelsystems.com>
* Converted rdclilogedit(1) to use RDApplication.
2018-01-31 14:44:08 -05:00
Fred Gleason
afa98a737f 2017-12-22 Fred Gleason <fredg@paravelsystems.com>
* Added a lock check for before deleting logs in rdclilogedit(1).
2017-12-22 16:25:52 -05:00
Fred Gleason
0224380581 2017-12-20 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up 'log in use" messages in rdlogedit(1) and
	rdclilogedit(1).
2017-12-20 18:31:16 -05:00
Fred Gleason
6b34f4d70e 2017-12-20 Fred Gleason <fredg@paravelsystems.com>
* Modified the behavior of the 'new' command in rdclilogedit(1) to
	match that of rdlogedit(1).
2017-12-20 11:40:06 -05:00
Fred Gleason
941aece664 2017-12-20 Fred Gleason <fredg@paravelsystems.com>
* Added log locking logic to rdclilogedit(1).
2017-12-20 11:24:30 -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
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
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
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
b41c243de9 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Implemented a 'deletelog' command for rdclilogedit(1).
2016-07-22 13:53:54 -04:00
Fred Gleason
d4e2b65796 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdclilogedit/operations.cpp' where attempting
	to load a log with mismatched case in the name would generate a SQL
	error.
2016-07-22 13:23:01 -04:00
Fred Gleason
f92e2ea142 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Renamed the '--script' option in rdclilogedit(1) to be '-n' or
	'--quiet' or '--silent'.
2016-07-22 13:13:35 -04:00
Fred Gleason
797b6e5849 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdclilogedit/operations.cpp' that caused
	spurious 'no such service' errors when using the 'setservice'
	command on new logs.
2016-07-22 13:05:02 -04:00
Fred Gleason
ef248a0c57 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Added support for using the ';' character as the command separator
	for rdclilogedit(1).
2016-07-22 12:59:02 -04:00
Fred Gleason
c769a571dc 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Implemented an end-of-log delimiter in the output of the 'list'
	command for rdclilogedit(1).
2016-07-22 12:50:42 -04:00
Fred Gleason
7bf1cfef9b 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed bug in 'utils/rdclilogedit/rdclilogedit.cpp' that would
	cause the DB connection to time out.
2016-07-22 12:42:23 -04:00
Fred Gleason
b5629494d4 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a '--script' option to rdclilogedit(1).
2016-07-21 19:38:27 -04:00
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