mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-19 14:17:42 +02:00
2020-10-16 Fred Gleason <fredg@paravelsystems.com>
* Removed 'rdcastmanager.cgi'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
5bc8337f00
commit
b67fefb3fc
@ -20479,3 +20479,5 @@
|
|||||||
2020-10-16 Fred Gleason <fredg@paravelsystems.com>
|
2020-10-16 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Modified the 'WebGet' service to supply a sane default
|
* Modified the 'WebGet' service to supply a sane default
|
||||||
filename for downloaded content.
|
filename for downloaded content.
|
||||||
|
2020-10-16 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Removed 'rdcastmanager.cgi'.
|
||||||
|
@ -526,7 +526,6 @@ AC_CONFIG_FILES([rivendell.spec \
|
|||||||
rdhpi/Makefile \
|
rdhpi/Makefile \
|
||||||
cae/Makefile \
|
cae/Makefile \
|
||||||
web/Makefile \
|
web/Makefile \
|
||||||
web/rdcastmanager/Makefile \
|
|
||||||
web/rdxport/Makefile \
|
web/rdxport/Makefile \
|
||||||
web/tests/Makefile \
|
web/tests/Makefile \
|
||||||
web/webget/Makefile \
|
web/webget/Makefile \
|
||||||
|
@ -380,7 +380,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
@libexecdir@/*.html
|
@libexecdir@/*.html
|
||||||
@libexecdir@/*.js
|
@libexecdir@/*.js
|
||||||
@libexecdir@/*.png
|
@libexecdir@/*.png
|
||||||
@libexecdir@/rdcastmanager.cgi
|
|
||||||
%attr(6755,root,root) @libexecdir@/rdxport.cgi
|
%attr(6755,root,root) @libexecdir@/rdxport.cgi
|
||||||
%attr(6755,root,root) @libexecdir@/webget.cgi
|
%attr(6755,root,root) @libexecdir@/webget.cgi
|
||||||
@sysconfdir@/rd-bin.conf
|
@sysconfdir@/rd-bin.conf
|
||||||
|
@ -20,8 +20,7 @@
|
|||||||
##
|
##
|
||||||
## Use automake to process this into a Makefile.in
|
## Use automake to process this into a Makefile.in
|
||||||
|
|
||||||
SUBDIRS = rdcastmanager\
|
SUBDIRS = rdxport\
|
||||||
rdxport\
|
|
||||||
tests\
|
tests\
|
||||||
webget
|
webget
|
||||||
|
|
||||||
|
@ -1,56 +0,0 @@
|
|||||||
## Makefile.am
|
|
||||||
##
|
|
||||||
## (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
|
|
||||||
##
|
|
||||||
## This program is free software; you can redistribute it and/or modify
|
|
||||||
## it under the terms of the GNU General Public License version 2 as
|
|
||||||
## published by the Free Software Foundation.
|
|
||||||
##
|
|
||||||
## This program is distributed in the hope that it will be useful,
|
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
## GNU General Public License for more details.
|
|
||||||
##
|
|
||||||
## You should have received a copy of the GNU General Public
|
|
||||||
## License along with this program; if not, write to the Free Software
|
|
||||||
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
||||||
##
|
|
||||||
## Use automake to process this into a Makefile.in
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -I$(top_srcdir)/lib @QT4_CFLAGS@ @MUSICBRAINZ_CFLAGS@ -DQT3_SUPPORT -I/usr/include/Qt3Support
|
|
||||||
LIBS = -L$(top_srcdir)/lib
|
|
||||||
MOC = @QT_MOC@
|
|
||||||
|
|
||||||
# The dependency for qt's Meta Object Compiler (moc)
|
|
||||||
moc_%.cpp: %.h
|
|
||||||
$(MOC) $< -o $@
|
|
||||||
|
|
||||||
install-exec-am:
|
|
||||||
mkdir -p $(DESTDIR)/$(libexecdir)
|
|
||||||
cp .libs/rdcastmanager.cgi $(DESTDIR)$(libexecdir)/
|
|
||||||
cat rdcastmanager.js | $(top_srcdir)/helpers/jsmin > $(DESTDIR)$(libexecdir)/rdcastmanager.js
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
rm -f $(DESTDIR)/$(libexecdir)/rdcastmanager.cgi
|
|
||||||
rm -f $(DESTDIR)/$(libexecdir)/rdcastmanager.js
|
|
||||||
|
|
||||||
libexec_PROGRAMS = rdcastmanager.cgi
|
|
||||||
|
|
||||||
dist_rdcastmanager_cgi_SOURCES = rdcastmanager.cpp rdcastmanager.h
|
|
||||||
|
|
||||||
rdcastmanager_cgi_LDADD = @LIB_RDLIBS@ @LIBVORBIS@ @QT4_LIBS@ @MUSICBRAINZ_LIBS@ -lQt3Support
|
|
||||||
|
|
||||||
EXTRA_DIST = rdcastmanager.js\
|
|
||||||
rdcastmanager.pro
|
|
||||||
|
|
||||||
CLEANFILES = *~\
|
|
||||||
*.idb\
|
|
||||||
*ilk\
|
|
||||||
*.obj\
|
|
||||||
*.pdb\
|
|
||||||
*.qm\
|
|
||||||
moc_*
|
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = *~\
|
|
||||||
Makefile.in\
|
|
||||||
moc_*
|
|
File diff suppressed because it is too large
Load Diff
@ -1,91 +0,0 @@
|
|||||||
// rdcastmanager.h
|
|
||||||
//
|
|
||||||
// Web-Based RSS Podcast Manager for Rivendell.
|
|
||||||
//
|
|
||||||
// (C) Copyright 2002-2007,2016-2018 Fred Gleason <fredg@paravelsystems.com>
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU General Public License version 2 as
|
|
||||||
// published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public
|
|
||||||
// License along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef RDCASTMANAGER_H
|
|
||||||
#define RDCASTMANAGER_H
|
|
||||||
|
|
||||||
#include <qobject.h>
|
|
||||||
#include <qhostaddress.h>
|
|
||||||
|
|
||||||
#include <rdformpost.h>
|
|
||||||
|
|
||||||
#define RDCASTMANAGER_CGI_USAGE "\n"
|
|
||||||
|
|
||||||
//
|
|
||||||
// CGI Values
|
|
||||||
//
|
|
||||||
#define RDCASTMANAGER_POST_SIZE 4096
|
|
||||||
#define RDCASTMANAGER_MAX_FILTER_LENGTH 256
|
|
||||||
#define RDCASTMANAGER_COMMAND_LOGIN 0
|
|
||||||
#define RDCASTMANAGER_COMMAND_LOGOUT 1
|
|
||||||
#define RDCASTMANAGER_COMMAND_LIST_FEEDS 2
|
|
||||||
#define RDCASTMANAGER_COMMAND_LIST_CASTS 3
|
|
||||||
#define RDCASTMANAGER_COMMAND_EDIT_CAST 4
|
|
||||||
#define RDCASTMANAGER_COMMAND_COMMIT_CAST 5
|
|
||||||
#define RDCASTMANAGER_COMMAND_CONFIRM_DELETE_CAST 6
|
|
||||||
#define RDCASTMANAGER_COMMAND_DELETE_CAST 7
|
|
||||||
#define RDCASTMANAGER_COMMAND_SUBSCRIPTION_PICK_DATES 8
|
|
||||||
#define RDCASTMANAGER_COMMAND_SUBSCRIPTION_REPORT 9
|
|
||||||
#define RDCASTMANAGER_COMMAND_EPISODE_PICK_DATES 10
|
|
||||||
#define RDCASTMANAGER_COMMAND_EPISODE_REPORT 11
|
|
||||||
#define RDCASTMANAGER_COMMAND_PLAY_CAST 12
|
|
||||||
#define RDCASTMANAGER_COMMAND_POST_EPISODE 13
|
|
||||||
|
|
||||||
class MainObject : public QObject
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
MainObject(QObject *parent=0);
|
|
||||||
|
|
||||||
private:
|
|
||||||
int AuthenticatePost();
|
|
||||||
void ServeLogin();
|
|
||||||
void ServeLogout();
|
|
||||||
void ServeListFeeds();
|
|
||||||
void ServeListCasts();
|
|
||||||
void ServeEditCast(int cast_id=-1);
|
|
||||||
void ServePlay();
|
|
||||||
void CommitCast();
|
|
||||||
void ConfirmDeleteCast();
|
|
||||||
void DeleteCast();
|
|
||||||
void ServeSubscriptionReport();
|
|
||||||
void ServeEpisodeReport();
|
|
||||||
void PostEpisode();
|
|
||||||
void ServeDatePicker(int cmd);
|
|
||||||
void TitleSection(const QString &title,int cmd,int colspan) const;
|
|
||||||
void GetUserPerms();
|
|
||||||
void GetContext();
|
|
||||||
void SetContext(int cmd) const;
|
|
||||||
void Exit(int code);
|
|
||||||
RDFormPost *cast_post;
|
|
||||||
QString cast_login_name;
|
|
||||||
long int cast_session_id;
|
|
||||||
QHostAddress cast_client_addr;
|
|
||||||
QString cast_key_name;
|
|
||||||
int cast_feed_id;
|
|
||||||
int cast_cast_id;
|
|
||||||
bool cast_add_priv;
|
|
||||||
bool cast_edit_priv;
|
|
||||||
bool cast_delete_priv;
|
|
||||||
QDate cast_start_date;
|
|
||||||
QDate cast_end_date;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
#endif // RDCASTMANAGER_H
|
|
@ -1,37 +0,0 @@
|
|||||||
// rdcastmanager.js
|
|
||||||
//
|
|
||||||
// Script for displaying an upload progress dialog in a web browser.
|
|
||||||
//
|
|
||||||
// (C) Copyright 2009,2016 Fred Gleason <fredg@paravelsystems.com>
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU General Public License version 2 as
|
|
||||||
// published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public
|
|
||||||
// License along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
||||||
//
|
|
||||||
|
|
||||||
function StartProgressbar()
|
|
||||||
{
|
|
||||||
var html='<table cellpadding=\"10\" cellspacing=\"0\" border=\"0\" width=\"600\" height=\"400\">\n'+
|
|
||||||
'<tr height=\"200\" bgcolor=\"#e0e0e0\">'+
|
|
||||||
'<td align=\"center\" valign=\"bottom\">\n'+
|
|
||||||
'<big><big>File uploading, please stand by...</big></big></td></tr>\n'+
|
|
||||||
'<tr bgcolor=\"#e0e0e0\"><td align=\"center\" valign=\"top\">\n'+
|
|
||||||
'<img src=\"progressbar.gif\" border=\"1\"></td></tr>\n'+
|
|
||||||
'</table>\n';
|
|
||||||
|
|
||||||
document.getElementById("bigframe").innerHTML=html;
|
|
||||||
}
|
|
||||||
|
|
||||||
function PostCast()
|
|
||||||
{
|
|
||||||
window.setTimeout('StartProgressbar()',10);
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user