* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* Consolidated ticket processing operations in new
'RDUser::createTicket()' and 'RDUser::ticketIsValid()' methods.
Signed-off-by: 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* Refactored logging system to use syslog(3) exclusively.
* Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory='
and 'LogPattern=' directives from rd.conf(5).
* 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.
* 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.