149 Commits

Author SHA1 Message Date
Fred Gleason
374db8fd3b 2022-09-02 Fred Gleason <fredg@paravelsystems.com>
* Added commented-out debug code to 'web/rdxport/podcasts.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-09-02 14:37:47 -04:00
Fred Gleason
40f52e7ca1 2022-08-25 Fred Gleason <fredg@paravelsystems.com>
* Added an Online Feed Report to rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-08-25 13:03:30 -04:00
Fred Gleason
e26328562f 2021-12-17 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-17 14:49:00 -05:00
Fred Gleason
49cbc37d8d 2021-10-05 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-05 17:05:39 -04:00
Fred Gleason
429a41deac 2021-09-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the mode of files generated by the
	'SaveWebgetFilesDirectory=' directive 0440 to 0664.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-16 11:45:53 -04:00
Fred Gleason
0b030e45c2 2021-09-15 Fred Gleason <fredg@paravelsystems.com>
* Added a ' SaveWebgetFilesDirectory=' directive to rd.conf(5).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-15 19:00:45 -04: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
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
783ce2fc9a 2020-08-13 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Unly Show Unexpired Items' checkbox from the
	'Podcast Feed Item List' dialog in rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-08-13 18:14:32 -04:00
Fred Gleason
2eba546453 2020-07-03 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'FEEDS.AUDIENCE_METRICS' field from the database.
	* Dropped the 'FEEDS.KEEP_METADATA' field from the database.
	* Dropped the 'FEEDS.MEDIA_LINK_MODE' field from the database.
	* Dropped the 'FEEDS.REDIRECT_PATH' field from the database.
	* Dropped the 'CAST_DOWNLOADS' table from the database.
	* Incremented the database version to 328.
	* Removed support for dynamically generated RSS feed metadata.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-07-03 12:57:13 -04:00
Fred Gleason
69e253649e 2020-05-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in the podcasting system that caused corrupt URLs
	to be generated for GUID and image tags for items contained in
	a superfeed.
	* Commented out file posting code in the web version of
	RDCastManager.
	* Disabled the 'Post from Cart/Cut', 'Post from File', 'Edit' and
	'Delete' buttons when showing a superfeed in the 'Podcast List'
	dialog of rdcastmanager(1).
2020-05-21 16:29:59 -04:00
Fred Gleason
4f6c0eb2c9 2020-02-23 Fred Gleason <fredg@paravelsystems.com>
* Implemented superfeed in 'rdfeed.xml'.
2020-02-23 17:24:48 -05:00
Fred Gleason
d7f395f7db 2020-02-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.AUDIENCE_METRICS' field to the database.
	* Incremented the database version to 316.
	* Added a 'Collect Audience Metrics' checkbox to the 'Feed'
	dialog in rdadmin(1).
	* Added an 'RDTransfer' base class.
	* Rebased 'RDDelete' to 'RDTransfer'.
	* Added 'sftp' support to 'RDDelete'.
	* Added 'file' support to 'RDDelete'.
	* Refactored RSS generation to occur in 'RDFeed'.
	* Added a 'delete_test' test harness.
2020-02-20 11:06:46 -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
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
1322487bb0 2019-05-14 Fred Gleason <fredg@paravelsystems.com>
* Modified the query in the Webget service to always return
	the lowest numbered matching cart/cut found.
2019-05-14 16:40:22 -04:00
Fred Gleason
ca949be8f2 2019-05-14 Fred Gleason <fredg@paravelsystems.com>
* Removed 'web/webget/webget.py'.
2019-05-14 16:01:14 -04:00
Fred Gleason
1159caad4a 2019-05-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the Webget service that caused audio to be
	generated with a normalization level of -100 dBFS.
	* Fixed a bug in the Webget service that caused all audio to
	be generated as monoaural.
2019-05-14 15:10:09 -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