42 Commits

Author SHA1 Message Date
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
eded76eed9 2020-07-02 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDApplication::rssSchemas()' method.
	* Removed the 'RDFeed::rssSchemas()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-07-02 19:04:10 -04:00
Fred Gleason
5d6ec1e5ec 2020-07-02 Fred Gleason <fredg@paravelsystems.com>
* Added support for iTunes subcategories to the podcast subsystem.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-07-02 18:23:18 -04:00
Fred Gleason
8bae1332c0 2020-07-02 Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CHANNEL_SUB_CATEGORY' field to the database.
	* Incremented the database version to 327.
	* Added 'RDFeed::channelSubCategory()' and
	'RDFeed::setChannelSubCategory()' methods.
	* Added a 'RDRssCategoryBox' widget.
	* Updated the 'Edit Feed' dialog in rdadmin(1) to use the
	'RDRssCategoryBox' widget.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-07-02 17:26:39 -04:00
Fred Gleason
a3fcd11bab 2020-06-30 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'exemplar' parameter from the 'RDFeed::create()'
	method.
	* Removed the 'Base Feed On' dropdown from the 'Add Feed'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-06-30 15:34:35 -04:00
Fred Gleason
4f96349789 2020-06-30 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDFeed::publicUrl()' static method.
	* Added a 'Public URL' column in the 'List Feeds' dialog in
	rdadmin(1).
	* Removed the 'Superfeed' and 'Description' columns from the
	main window of rdcastmanager(1).
	* Added a 'Public URL' column and a 'Copy URL to Clipboard'
	button to the main window of rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-06-30 15:15:19 -04:00
Fred Gleason
7ff0b9626f 2020-06-04 Fred Gleason <fredg@paravelsystems.com>
* Added an 'iTunes + Superfeed' RSS schema.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-06-04 15:10:45 -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
491a08dfed 2020-05-21 Fred Gleason <fredg@paravelsystems.com>
* Added a check to verify correct size of imported images in
	'RDFeed::importImageFile()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-21 13:34:04 -04:00
Fred Gleason
de6288285d 2020-05-21 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'Edit Feed' dialog in rdadmin(1) that allowed
	superfeed setups to be saved with no member subfeeds.
	* Fixed a bug in the 'Edit Feed' dialog in rdadmin(1) that allowed
	a per-item default image to be configured for superfeeds.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-21 11:56:58 -04:00
Fred Gleason
b326c2d24f 2020-05-20 Fred Gleason <fredg@paravelsystems.com>
* Added 'FEEDS.CHANNEL_AUTHOR', 'FEEDS.CHANNEL_OWNER_NAME',
	'FEEDS.CHANNEL_OWNER_EMAIL', 'FEEDS.CHANNEL_EXPLICIT' and
	'PODCASTS.ITEM_EXPLICIT' fields to the database.
	* Incremented the database version to 326.
	* Added 'RDFeed::channelAuthor()', 'RDFeed::setChannelAuthor()',
	'RDFeed::channelOwnerName()', 'RDFeed::setChannelOwnerName()',
	'RDFeed::channelOwnerEmail(), 'RDFeed::setChannelOwnerEmail()',
	'RDFeed::channelExplicit()', 'RDFeed::setChannelExplicit()',
	'RDPodcast::itemExplicit()' and 'RDPodcast::setItemExplicit()'
	methods.
	* Added 'Author', Owner Name' and 'Owner E-Mail controls to the
	'Edit Feed' dialog box in rdadmin(1).
	* Added a 'Channel contains explicit content' checkbox to the
	'Edit Feed' dialog box in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-20 12:42:54 -04:00
Fred Gleason
e5c465fb57 2020-05-18 Fred Gleason <fredg@paravelsystems.com>
* Added code to remove remote imaging when deleting an RSS feed.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-18 16:02:06 -04:00
Fred Gleason
3e671d7697 2020-05-18 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDRssSchemas' class.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-18 11:29:54 -04:00
Fred Gleason
66a2924c6b 2020-05-17 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'RSS_SCHEMAS' table from the database.
	* Incremented the database version to 325.
	* Moved RSS template definitions to 'lib/rdfeed.h'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-17 17:29:51 -04:00
Fred Gleason
2e9f8b7608 2020-05-17 Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CHANNEL_IMAGE_ID' field to the database.
	* Added a 'FEEDS.DEFAULT_ITEM_IMAGE_ID' field to the database.
	* Added a 'PODCASTS.ITEM_IMAGE_ID' field to the database.
	* Incremented the database version to 324.
	* Added an 'Image Manager' dialog to rdadmin(1).
	* Added an 'Image Viewer' dialog on rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-05-17 10:36:04 -04:00
Fred Gleason
ff93b583f4 2020-03-16 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RSS_SCHEMAS' table to the database.
	* Incremented the database version to 319.
	* Added an 'RSS Schema' dropdown to the 'Edit Feed' dialog in
	rdadmin(1).
2020-03-17 16:12:36 -04:00
Fred Gleason
9eb6b5fae3 2020-03-16 Fred Gleason <fredg@paravelsystems.com>
* Updated the maximum length of RSS <channel> entries to match
	the current DB schema in the 'Edit Feed' dialog in rdadmin(1).
	* Added a 'FEEDS.CHANNEL_EDITOR' field to the database.
	* Incremented the database version to 318.
	* Added 'RDFeed::channelEditor()' and
	'RDFeed::setChannelEditor()' methods.
	* Added an 'Editor' control to the 'Channel' controls in the
	'Edit Feed' dialog in rdadmin(1).
2020-03-16 14:05:05 -04:00
Fred Gleason
75d2b80025 2020-03-12 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug where '<enclosure>' tags in RSS Superfeeds were rendered
	with an incorrect 'url=' attribute.
	* Added indentation formatting on RSS XML feeds.
2020-03-12 13:48:29 -04:00
Fred Gleason
7cc4b5f38e 2020-03-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a typo in the default channel XML template for RSS feeds.
2020-03-10 16:32:37 -04:00
Fred Gleason
74f354a1f0 2020-03-10 Fred Gleason <fredg@paravelsystems.com>
* Added a '%FEED_URL%' variable to the channel and item data
	resolver for RSS feeds.
	* Added an '<atom:link>' tag to the XML templates for RSS feeds.
2020-03-10 15:52:45 -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
95f8141fc9 2020-02-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'USERS.EMAIL_ADDRESS' field to the database.
	* Added 'RDUser::emailAddress()', 'RDUser::setEmaiAddress()' and
	'RDUser::emailContact()' methods.
	* Added 'RDUser::emailIsValid()' and 'RDUser::emailContact()'
	static methods.
	* Added logic to rdcastmanager(1) to insert the author's e-mail
	contact automatically when posting a new episode.
2020-02-21 13:13:06 -05:00
Fred Gleason
a75850637f 2020-02-20 Fred Gleason <fredg@paravelsystems.com>
* Rebased 'RDUpload' to 'RDTransfer'.
2020-02-20 11:42:32 -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
be839cc414 2020-02-11 Fred Gleason <fredg@paravelsys tems.com>
* Added an 'RDFeed::create()' method.
	* Added a 'Base Feed On' dropdown to the 'Add RSS Feed' dialog
	in rdadmin(1).
2020-02-11 16:51:55 -05:00
Fred Gleason
b5c6e2e7a6 2020-02-11 Fred Gleason <fredg@paravelsys tems.com>
* Added a 'FEEDS.IS_SUPERFEED' field to the database.
	* Added a 'FEED_KEY_NAMES' table to the database.
	* Incremented the database version to 315.
	* Added a 'Superfeed' column to the feed list in the 'Rivendell
	Feed List' dialog in rdadmin(1).
	* Added an 'Is Superfeed' dropdown to the 'Feed' dialog in
	rdadmin(1).
	* Added a 'Select Member Feeds' button to the 'Feed' dialog in
	rdadmin(1).
	* Added an 'RSS Superfeed' selection dialog to rdadmin(1).
2020-02-11 09:44:10 -05: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
94ff45a4dc 2018-07-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused the credentials fields to
	be greyed out when configuring a podcast feed to use SFTP uploads.
	* Fixed a bug in 'RDExport' that caused encoding of credentials
	to be corrupt.
	* Fixed a regression in the RDFeed service that caused detection
	of feed	names to fail.
2018-07-19 20:11:02 +00:00
Fred Gleason
363dbb7878 2018-07-12 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'lib/' ensure UTF-8 compatibility.
2018-07-12 13:47:20 -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
2df78cb26d 2018-02-06 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDUpload class to use RDApplication.
2018-02-06 07:29:11 -05:00
Fred Gleason
69817c1941 2018-02-04 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDAudioExport class to use RDApplication.
2018-02-04 06:49:12 -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
3b1ce13e77 2017-12-15 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDTempDir()' function.
2017-12-15 07:47:41 -05: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
Wayne Merricks
8baed5b104 Random Idiocy fixes
Compilation fixes due to idiocy as usual (apologies)
2016-06-09 22:46:07 +01:00
Wayne Merricks
f1175cd2f2 Fixes for invalid NULL sql on date/times
Most files are simple swaps to get rid of extra " as a NULL return will give
invalid SQL if used as follows UPDATE x SET y="NULL";

See github issue 121 for more info.

Extra changes have been made to the following files:
* lib/rdcartslot.cpp
- Added a QDateTime variable to prevent EVENT_DATETIME becoming
  "2016-06-09" "NULL" as it was checked separately for date and time
* lib/rdcut.cpp
- Reworked START_DATETIME and END_DATETIME to save the SQL ifs.  I believe this
  makes it easier to read and understand.
- The >QDate(1900,1,1) and < 8000 is probably not needed but I left it there
  just in case.
* lib/rdescape_string.cpp
- Reworked to add extra " if the date is not NULL see issue 121
* lib/rdfeed.cpp && lib/rdpodcast.cpp
- Had to add a SetRow for QDateTime as with the string conversion the existing
  SetRow would add an extra set of "
* lib/rdsound_panel.cpp && rdairplay/log_traffic.cpp
        && utils/rddgimport/rddgimport.cpp
- Added a QString to contain EVENT_DATETIME to prevent double checks of date
  and time separately (similar to lib/rdcartslot.cpp)
* rdcatchd/rdcatchd.cpp
- Reverted the changes.  The RML here is not touching the DB so is fine, plus
  with the RDCheckDateTime changes you'd have extra " unless it was NULL
* tests/sas_switch_torture.cpp && sas_torture.cpp
- Included missing rdescape_string.h
2016-06-09 00:01:38 +01:00
Wayne Merricks
1cf11af447 lib/rdfeed.cpp MySQL v5.7+ date/time null changes
Fixed in setX rather than Row as these are converted to QString before the DB
2016-06-04 20:03:10 +01:00
Fred Gleason
698b475933 2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags.
	* Removed 'const char *name' parameter from all QObject contructors.
2016-05-24 13:13:26 -04:00
Fred Gleason
89b846f7d6 2014-08-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed warnings in 'lib/rdaudioconvert.cpp'.
	* Fixed warnings in 'lib/rdaudioexport.cpp'.
	* Fixed warnings in 'lib/rdaudioimport.cpp'.
	* Fixed warnings in 'lib/rdcart_dialog.cpp'.
	* Fixed warnings in 'lib/rdconf.cpp'.
	* Fixed warnings in 'lib/rdcopyaudio.cpp'.
	* Fixed warnings in 'lib/rdescape_string.cpp'.
	* Fixed warnings in 'lib/rdevent_line.cpp'.
	* Fixed warnings in 'lib/rdfeed.cpp'.
	* Refactored 'RDOneShot' to use int values in 'lib/rdoneshot.cpp'
	and 'lib/rdoneshot.h'.
	* Fixed warnings in 'lib/rdpeaksexport.cpp'.
	* Fixed warnings in 'lib/rdtrimaudio.cpp'.
	* Fixed warnings in 'lib/rdwavefile.cpp'.
	* Fixed warnings in 'rdhpi/rdhpiplaystream.cpp'.
	* Fixed warnings in 'rdhpi/rdhpirecordstream.cpp'.
	* Fixed warnings in 'rdhpi/rdhpisoundcard.cpp'.
	* Fixed warnings in 'pam_rd/pam_rd.cpp'.
	* Fixed warnings in 'rdadmin/edit_rdairplay.cpp'.
	* Fixed warnings in 'rdairplay/list_log.cpp'.
	* Fixed warnings in 'rdairplay/log_play.cpp'.
	* Fixed warnings in 'rdairplay/pie_counter.cpp'.
	* Fixed warnings in 'rdairplay/rlm_host.cpp'.
	* Fixed warnings in 'rdcatchd/rdcatchd.cpp'.
	* Fixed warnings in 'rdlogedit/editlog.cpp'.
	* Fixed warnings in 'rdlogmanager/rdlogmanager.cpp'.
	* Fixed warnings in 'rdrepl/replfactory.h'.
	* Fixed warnings in 'ripcd/acu1p.cpp' and 'ripcd/acu1p.h'.
	* Fixed warnings in 'ripcd/bt16x2.cpp' and 'ripcd/bt16x2.h'.
	* Fixed warnings in 'ripcd/btss164.cpp' and 'ripcd/btss164.h'.
	* Fixed warnings in 'ripcd/btss42.cpp' and 'ripcd/btss42.h'.
	* Fixed warnings in 'ripcd/btss44.cpp' and 'ripcd/btss44.h'.
	* Fixed warnings in 'ripcd/btss82.cpp' and 'ripcd/btss82.h'.
	* Fixed warnings in 'ripcd/btsrc16.cpp' and 'ripcd/btsrc16.h'.
	* Fixed warnings in 'ripcd/btsrc8iii.cpp' and 'ripcd/btsrc8iii.h'.
	* Fixed warnings in 'ripcd/livewire_mcastgpio.cpp'.
	* Fixed warnings in 'ripcd/local_gpio.cpp' and 'ripcd/local_gpio.h'.
	* Fixed warnings in 'ripcd/sas64000gpi.cpp' and 'ripcd/sas64000gpi.h'.
	* Fixed warnings in 'ripcd/vguest.cpp' and 'ripcd/vguest.h'.
	* Fixed warnings in 'utils/rdhpiinfo/rdhpiinfo.cpp'
	* Fixed warnings in 'utils/rdgen/wavlib.cpp'
	* Fixed warnings in 'utils/rdimport/rdimport.cpp'
	* Fixed warnings in 'utils/rdsoftkeys/rdsoftkeys.cpp'
	* Fixed warnings in 'web/rdxport/export.cpp'
2014-08-14 19:08:38 -04:00
Fred Gleason
afd67c7af8 Initial import of CVS-v2_8_branch 2014-08-12 15:13:02 -04:00