107 Commits

Author SHA1 Message Date
Fred Gleason
75c04995e7 2021-07-17 Fred Gleason <fredg@paravelsystems.com>
* Disabled host key validation for SFTP transfers in the podcast
	subsystem.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-17 09:27:53 -04:00
Fred Gleason
8289db9f9e 2021-07-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the error dialogs in rdadmin(1) to make it possible
	to create a new RSS feed even with an inoperable upload URL.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-16 14:50:52 -04:00
Fred Gleason
ad1dd66629 2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in rdxport.cgi.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-06-02 17:34:32 -04:00
Fred Gleason
9a65658267 2021-04-27 Fred Gleason <fredg@paravelsystems.com>
* Changed the 'RDAIRPLAY_EXIT_PASSWORD' field from 'varchar(41)'
	to 'varchar(48)'.
	* Incremented the database version to 349.
	* Renamed the 'RDSha1Hash()' function to 'RDSha1HashFile()'.
	* Added 'RDSha1HashPassword()' function in 'lib/rdhash.[cpp|h]'.
	* Added 'RDSha1HashCheckPassword()' function in 'lib/rdhash.[cpp|h]'.
	* Changed the hashing algorithm used for the Exit Password for
	rdairplay(1) to salted SHA1.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-27 16:52:26 -04:00
Fred Gleason
65d249a9e1 2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions caused by changes in behavior in the null
	constructor of 'QTime' between Qt4 and Qt5.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-26 11:28:14 -04:00
Fred Gleason
703299899c 2021-04-23 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'web/rdxport/'.
	* Replaced " with ' delimiters in all SQL literal strings in
	'web/rdxport/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-23 13:55:42 -04:00
Fred Gleason
c5ab8337de 2021-04-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdxport.cgi' that broke the build when compiling
	without the '--enable-rdxport-debug' switch.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-15 12:01:50 -04:00
Fred Gleason
3cd1001d51 2021-03-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression rdxport.cgi that caused early termination
	of CGI processes.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-03-08 17:03:35 -05: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
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
b4002b2357 2020-11-06 Fred Gleason <fredg@paravelsystems.com>
* Consolidated ticket processing operations in new
	'RDUser::createTicket()' and 'RDUser::ticketIsValid()' methods.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-06 16:42:10 -05:00
Fred Gleason
169e0e9baa 2020-10-29 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDFormPost::authenticate()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-29 16:05:09 -04:00
Fred Gleason
4bc6a54052 2020-10-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDApplication::logAuthenticationFailure()' method.
	* Added a sample Fail2Ban jail filter for the WebAPI in
	'conf/rivendell-webapi.conf'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-15 09:41:02 -04:00
Fred Gleason
49fec8296e 2020-09-29 Fred Gleason <fredg@paravelsystems.com>
* Added debugging messages to syslog for the podcasting subsystem.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-29 18:48:49 -04:00
Fred Gleason
944e14bb6d 2020-09-29 Fred Gleason <fredg@paravelsystems.com>
* Added debugging messages to syslog for the podcasting subsystem.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-29 13:43:33 -04:00
Fred Gleason
24d0080511 2020-09-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdxport.cgi(1) that caused segfaults when
	processing the 'PostRss' for feeds enclosed by one or more
	superfeeds.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-24 16:56:33 -04:00
Fred Gleason
c1fce3006e 2020-09-22 Fred Gleason <fredg@paravelsystems.com>
* Implemented the 'Repost' button on the 'Rivendell Feed List'
	dialog in rdadmin(1).
	* Added an 'Unpost' button to the 'Rivendell Feed List' dialog
	in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-23 16:41:13 -04:00
Fred Gleason
9ae7f909cb 2020-09-22 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostImage' method to the Web API.
	* Added a 'RemoveImage' method to the Web API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-23 13:11:11 -04:00
Fred Gleason
5a549b7866 2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostPodcast' method to the Web API.
	* Added a 'RemovePodcast' method to the Web API.
	* Added a 'PostRss' method to the Web API.
	* Added a 'RemoveRss' method to the Web API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-22 15:20:01 -04:00
Fred Gleason
6d3a60d174 2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PODCASTS.SHA1_HASH' field to the database.
	* Incremented the database version to 335.
	* Added 'RDPodcast::sha1Hash()' and 'RDPodcast::setSha1Hash()'
	methods.
	* Implemented audio relinking for podcast media files.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-21 10:24:00 -04:00
Fred Gleason
6516c20ff6 2020-09-17 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDUser::feedAuthorized()' method.
	* Added a 'SavePodcast' method to the Web API.
	* Added a 'GetPodcast' method to the Web API.
	* Added a 'DeletePodcast' method to the Web API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-09-17 16:19:26 -04: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
525573a245 2019-12-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the rdxport service that could cause MODIFY
	notifications to fail to be sent by the 'SaveLog' WebAPI call.
2019-12-09 01:05:13 -05:00
Fred Gleason
8a2dd87545 2019-10-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdxport.cgi' that caused a check of the
	Rivendell services to be triggered each time a WebAPI function was
	invoked.
2019-10-28 15:27:40 -04:00
Fred Gleason
ac4d9305bc 2019-06-25 Fred Gleason <fredg@paravelsystems.com>
* Adjusted to priority of 'operations' system events to use
	LOG_INFO priority.
2019-06-25 15:08:12 -04:00
Fred Gleason
f50447eb8b 2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDApplication::syslog()' methods.
2019-06-24 16:40:18 -04:00
Fred Gleason
a094fbc788 2019-06-17 Fred Gleason <fredg@paravelsystems.com>
* Refactored logging system to use syslog(3) exclusively.
	* Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory='
	and 'LogPattern=' directives from rd.conf(5).
2019-06-17 17:46:26 -04:00
Fred Gleason
efa4999fa2 2019-01-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'EditCut' web API call that caused attempts
	to clear the 'START_DAYPART' and 'END_DAYPART' fields to return
	an error.
2019-01-29 16:32:06 -05:00
Patrick Linstruth
3ed7a7ca6f Move 'CART.SCHED_CODES' field to 'CART_SCHED_CODES' table. 2018-11-13 13:16:26 -08:00
Patrick Linstruth
3e56afec0c Only log error if code is >= 400 2018-10-16 09:47:32 -07:00
Patrick Linstruth
cff45fdc83 Add rda->log() to Xport::XmlExit 2018-10-04 12:02:22 -07:00
Fred Gleason
116e790af4 Merged 'stable' 2018-08-23 16:02:45 +00: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
79974da3f7 2018-07-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'EditCart' web API call that caused updates to
	the 'SongID' field to be ignored.
	* Fixed a bug in the 'EditCart' web API call that caused updates to
	the 'Conductor' field to be ignored.
2018-07-30 09:23:30 -04:00
Fred Gleason
542fb7d6a6 2018-07-27 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SaveFile' test method to the web API.
	* Added a 'SaveString' test method to the web API.
	* Refactored the multipart-mime parser in 'RDFormPost' to process
	UTF-8 strings correctly.
2018-07-27 14:28:55 -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
32714fb6f7 2018-06-16 Fred Gleason <fredg@paravelsystems.com>
* Added a 'TranscodingDelay=' parameter to the '[Tuning]' section
	of rd.conf(5).
2018-06-16 13:39:03 +00:00
Fred Gleason
de202521da 2018-03-25 Fred Gleason <fredg@paravelsystems.com>
* Added support for log notifications to the RDXport service.
2018-03-25 16:20:56 -04:00
Fred Gleason
471c6498fd 2018-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added support for cart notifications to the RDXport service.
	* Added support for notifications to rdimport(1).
2018-03-21 15:54:50 -04:00
Fred Gleason
7835be386e Merged from 'refactor' 2018-02-24 09:19:33 -05:00
Fred Gleason
8f1bd700cd 2018-02-15 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.LOG_SHELFLIFE_ORIGIN' field to the database.
	* Incremented the database version to 275.
	* Added a drop-down control to the 'Set Logs to auto-delete' control
	to allow origin to be specified in the 'Edit Service' dialog in
	rdadmin(1).
2018-02-15 09:39:37 -05:00
Fred Gleason
948ccf4d8f 2018-02-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a typo in an error message for the 'CopyAudio' web API call.
2018-02-14 18:17:21 -05:00
Fred Gleason
e305344e6b 2018-02-04 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDAudioConvert class to use RDApplication.
	* Converted rdcatchd(8) to use RDApplication.
2018-02-04 06:18:52 -05:00
Fred Gleason
0b59fa865a 2018-02-03 Fred Gleason <fredg@paravelsystems.com>
* Converted rdxport.cgi to use RDApplication.
2018-02-02 19:18:58 -05:00
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
c63ae45991 2018-01-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed races in creation of new carts.
2018-01-03 15:36:45 -05:00
Fred Gleason
97a6045992 2017-12-21 Fred Gleason <fredg@paravelsystems.com>
* Added log locking logic to the 'SaveLog' Web API call.
2017-12-21 11:47:34 -05:00