168 Commits

Author SHA1 Message Date
Fred Gleason
b519674128 2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdxport(8) that caused the 'SaveLog' WebAPI call
	to fail if the target log didn't exist.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-12 14:59:57 -05:00
Fred Gleason
04ea0f0ca6 2021-11-11 Fred Gleason <fredg@paravelsystems.com>
* Removed debugging code from 'web/rdxport/carts.cpp'.
	* Removed debugging code from 'apis/rivwebpyapi/api/rivwebpyapi.py'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-11-11 17:12:04 -05:00
Fred Gleason
5bb2211cea 2021-11-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'ListCarts()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-11-11 16:35:11 -05:00
Fred Gleason
73b5ca405e 2021-11-10 Fred Gleason <fredg@paravelsystems.com>
* Added 'all' to the set of available cart types in
	'web/tests/listcarts.html'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-11-10 12:14:16 -05:00
Fred Gleason
5226c7c926 2021-11-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the rdxport.cgi service that caused XML output
	to be encoded with the incorrect character set.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-11-08 16:46:45 -05:00
Fred Gleason
6d34ca7ee8 2021-10-06 Fred Gleason <fredg@paravelsystems.com>
* Increased the import process timeout for the WebGet service
	to 1200 seconds.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-10-06 13:50:00 -04:00
Fred Gleason
9e1ed40a9f 2021-10-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a compile time warning in 'web/webget/webget.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-10-02 12:35:11 -04:00
Fred Gleason
e574184d79 2021-09-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the WebGet service that could cause 'Put'
	operations to return an incomplete status message to the user
	when posting large files.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-29 17:57:32 -04:00
Fred Gleason
1bf1d94bfe 2021-09-16 Fred Gleason <fredg@paravelsystems.com>
* Added a ' SaveWebgetFilesDirectory=' directive to rd.conf(5).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-16 12:16:08 -04: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
Fred Gleason
60f39a8c17 2021-07-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions in rdimport(1) and the WebGet service
	that threw 500 errors when connecting to WebGet.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-29 13:13:27 -04:00
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
1b8c758ad5 2021-06-02 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in webget.cgi.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-06-02 17:37:17 -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
5d32b1b6df 2021-04-23 Fred Gleason <fredg@paravelsystems.com>
* Escaped all SQL identifiers in 'web/webget/'.
	* Replaced " with ' delimiters in all SQL literal strings in
	'web/webget/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-23 14:25:09 -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
0a54812cfa 2020-12-24 Fred Gleason <fredg@paravelsystems.com>
* Modified rdimport(1) so as to send e-mail reports to the address
	of the current Rivendell user in addition to the group's
	Notification E-Mail Address.
	* Modified the Webget service so as to send e-mail reports to the
	address	of the current Rivendell user in addition to the group's
	Notification E-Mail Address.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-24 12:29:06 -05:00
Fred Gleason
eeb356f5cf 2020-12-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'Webget' service that caused it to automatically
	unique-ify the title even when 'Auto-Correct Duplicate Cart Titles'
	in rdadmin(1) was unchecked.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-08 13:46:19 -05:00
Fred Gleason
50a06191d9 2020-11-23 Fred Gleason <fredg@paravelsystems.com>
* Added a '--ticket=' option to rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-23 16:22:20 -05:00
Fred Gleason
4b76e2e79e 2020-11-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the Webget service to require the 'Create Carts'
	priviledge in order to upload content.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-16 18:59:54 -05:00
Fred Gleason
a8b48763c3 2020-11-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the Webget service that caused it to ignore
	the value of the 'Default Channels' setting in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-07 14:11:41 -05:00
Fred Gleason
d858de6f09 2020-11-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the quotation marks around the title field in the
	put response dialog in WebGet.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-07 14:00:17 -05:00
Fred Gleason
0385548139 2020-11-06 Fred Gleason <fredg@paravelsystems.com>
* Modified Webget to use tickets for authenticating media transfer
	requests.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-06 18:34:53 -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
6d8e3f0fb7 2020-11-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in Webget that caused authentication to fail
	when using PAM.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-06 14:27:43 -05:00
Fred Gleason
7d87f6e93f 2020-11-02 Fred Gleason <fredg@paravelsystems.com>
* Added a 'donut-spinner' indicator to Webget.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-02 10:57:33 -05:00
Fred Gleason
22a931de4a 2020-11-01 Fred Gleason <fredg@paravelsystems.com>
* Modified Webget to issue all error messages as mimetype
	'text/html'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-01 19:43:56 -05:00
Fred Gleason
0904c2cbe3 2020-10-30 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'RDFormPost' that broke file control
	processing.
	* Added a 'put' section to the WebGet interface.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-30 20:13:27 -04: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
3a73af55cb 2020-10-16 Fred Gleason <fredg@paravelsystems.com>
* Tweaked the layout of the WebGet UI.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-16 13:57:41 -04:00
Fred Gleason
bc050f937f 2020-10-16 Fred Gleason <fredg@paravelsystems.com>
* Prepended 'RD_' to the names of all common Javascript functions
	in 'web/common/utils.js'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-16 13:53:24 -04:00
Fred Gleason
b67fefb3fc 2020-10-16 Fred Gleason <fredg@paravelsystems.com>
* Removed 'rdcastmanager.cgi'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-16 13:27:43 -04:00
Fred Gleason
5bc8337f00 2020-10-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'WebGet' service to supply a sane default
	filename for downloaded content.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-16 13:13:25 -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
f5905315eb 2020-10-13 Fred Gleason <fredg@paravelsystems.com>
* Added an 'ENCODER_PRESETS' table to the database.
	* Incremented the database verssion to 343.
	* Added an 'Encoder Profiles' dialog to rdadmin(1).
	* Removed static content dependencies from the WebGet service.
	* Refactored the WebGet service to use Encoder Profiles.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-13 14:41:44 -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